1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1045 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1047 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1051 SWIGRUNTIMEINLINE
void
1052 SWIG_Python_NullRef(const char *type
)
1055 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1057 PyErr_Format(PyExc_TypeError
, "null reference was received");
1062 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1064 if (PyErr_Occurred()) {
1066 PyObject
*value
= 0;
1067 PyObject
*traceback
= 0;
1068 PyErr_Fetch(&type
, &value
, &traceback
);
1070 PyObject
*old_str
= PyObject_Str(value
);
1074 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1076 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1087 SWIG_Python_ArgFail(int argnum
)
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1092 sprintf(mesg
, "argument number %d:", argnum
);
1093 return SWIG_Python_AddErrMesg(mesg
, 1);
1100 /* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
1104 /* Convert a pointer value */
1106 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1109 static PyObject
*SWIG_this
= 0;
1111 PyObject
*pyobj
= 0;
1115 if (obj
== Py_None
) {
1120 #ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj
))) {
1123 SWIG_this
= PyString_FromString("this");
1125 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1127 if (!obj
) goto type_error
;
1128 if (!PySwigObject_Check(obj
)) {
1133 vptr
= PySwigObject_AsVoidPtr(obj
);
1134 c
= (const char *) PySwigObject_GetDesc(obj
);
1135 if (newref
) { Py_DECREF(obj
); }
1138 if (!(PyString_Check(obj
))) {
1140 SWIG_this
= PyString_FromString("this");
1142 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1144 if (!obj
) goto type_error
;
1145 if (!PyString_Check(obj
)) {
1150 c
= PyString_AS_STRING(obj
);
1151 /* Pointer values must start with leading underscore */
1152 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1153 if (newref
) { Py_DECREF(obj
); }
1154 if (!c
) goto type_error
;
1160 tc
= SWIG_TypeCheck(c
,ty
);
1161 if (!tc
) goto type_error
;
1162 *ptr
= SWIG_TypeCast(tc
,vptr
);
1167 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1168 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1174 if (pyobj
&& !obj
) {
1176 if (PyCFunction_Check(obj
)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1179 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1181 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1182 if (!c
) goto type_error
;
1187 if (flags
& SWIG_POINTER_EXCEPTION
) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1191 SWIG_Python_TypeError("C/C++ pointer", obj
);
1197 /* Convert a pointer value, signal an exception on a type mismatch */
1199 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1201 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1203 if (flags
& SWIG_POINTER_EXCEPTION
) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1205 SWIG_Python_ArgFail(argnum
);
1211 /* Convert a packed value value */
1213 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1217 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1220 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1221 c
= PyString_AS_STRING(obj
);
1222 /* Pointer values must start with leading underscore */
1223 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1225 if (!c
) goto type_error
;
1227 tc
= SWIG_TypeCheck(c
,ty
);
1228 if (!tc
) goto type_error
;
1234 if (flags
& SWIG_POINTER_EXCEPTION
) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1238 SWIG_Python_TypeError("C/C++ packed data", obj
);
1244 /* Create a new array object */
1245 SWIGRUNTIME PyObject
*
1246 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1252 #ifdef SWIG_COBJECT_TYPES
1253 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1256 char result
[SWIG_BUFFER_SIZE
];
1257 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1258 PyString_FromString(result
) : 0;
1261 if (!robj
|| (robj
== Py_None
)) return robj
;
1262 if (type
->clientdata
) {
1264 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1266 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1270 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1278 SWIGRUNTIME PyObject
*
1279 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1285 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1289 char result
[SWIG_BUFFER_SIZE
];
1290 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1291 PyString_FromString(result
) : 0;
1297 /* -----------------------------------------------------------------------------*
1299 * -----------------------------------------------------------------------------*/
1301 #ifdef SWIG_LINK_RUNTIME
1302 void *SWIG_ReturnGlobalTypeList(void *);
1305 SWIGRUNTIME swig_type_info
**
1306 SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer
= (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer
) {
1310 #ifdef SWIG_LINK_RUNTIME
1311 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1313 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1315 if (PyErr_Occurred()) {
1317 type_pointer
= (void *)0;
1321 return (swig_type_info
**) type_pointer
;
1325 Search for a swig_type_info structure
1327 SWIGRUNTIMEINLINE swig_type_info
*
1328 SWIG_Python_GetTypeList() {
1329 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1330 return tlh
? *tlh
: (swig_type_info
*)0;
1333 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1340 /* -------- TYPES TABLE (BEGIN) -------- */
1342 #define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
1343 #define SWIGTYPE_p_wxRealPoint swig_types[1]
1344 #define SWIGTYPE_p_wxSizerItem swig_types[2]
1345 #define SWIGTYPE_p_wxGBSizerItem swig_types[3]
1346 #define SWIGTYPE_p_wxScrollEvent swig_types[4]
1347 #define SWIGTYPE_p_wxEventLoop swig_types[5]
1348 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[6]
1349 #define SWIGTYPE_p_wxSizer swig_types[7]
1350 #define SWIGTYPE_p_wxBoxSizer swig_types[8]
1351 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[9]
1352 #define SWIGTYPE_p_wxGridBagSizer swig_types[10]
1353 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[11]
1354 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[12]
1355 #define SWIGTYPE_p_wxEvent swig_types[13]
1356 #define SWIGTYPE_p_buffer swig_types[14]
1357 #define SWIGTYPE_p_wxMenu swig_types[15]
1358 #define SWIGTYPE_p_wxGridSizer swig_types[16]
1359 #define SWIGTYPE_p_wxFlexGridSizer swig_types[17]
1360 #define SWIGTYPE_p_wxInitDialogEvent swig_types[18]
1361 #define SWIGTYPE_p_wxItemContainer swig_types[19]
1362 #define SWIGTYPE_p_wxNcPaintEvent swig_types[20]
1363 #define SWIGTYPE_p_wxPaintEvent swig_types[21]
1364 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[22]
1365 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[23]
1366 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[24]
1367 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[25]
1368 #define SWIGTYPE_p_wxControl swig_types[26]
1369 #define SWIGTYPE_p_wxFont swig_types[27]
1370 #define SWIGTYPE_p_wxMenuBarBase swig_types[28]
1371 #define SWIGTYPE_p_wxSetCursorEvent swig_types[29]
1372 #define SWIGTYPE_p_wxFSFile swig_types[30]
1373 #define SWIGTYPE_p_wxCaret swig_types[31]
1374 #define SWIGTYPE_ptrdiff_t swig_types[32]
1375 #define SWIGTYPE_std__ptrdiff_t swig_types[33]
1376 #define SWIGTYPE_p_wxRegion swig_types[34]
1377 #define SWIGTYPE_p_wxPoint2D swig_types[35]
1378 #define SWIGTYPE_p_int swig_types[36]
1379 #define SWIGTYPE_p_wxSize swig_types[37]
1380 #define SWIGTYPE_p_wxDC swig_types[38]
1381 #define SWIGTYPE_p_wxPySizer swig_types[39]
1382 #define SWIGTYPE_p_wxVisualAttributes swig_types[40]
1383 #define SWIGTYPE_p_wxNotifyEvent swig_types[41]
1384 #define SWIGTYPE_p_wxPyEvent swig_types[42]
1385 #define SWIGTYPE_p_wxPropagationDisabler swig_types[43]
1386 #define SWIGTYPE_p_form_ops_t swig_types[44]
1387 #define SWIGTYPE_p_wxAppTraits swig_types[45]
1388 #define SWIGTYPE_p_wxArrayString swig_types[46]
1389 #define SWIGTYPE_p_wxShowEvent swig_types[47]
1390 #define SWIGTYPE_p_wxToolTip swig_types[48]
1391 #define SWIGTYPE_p_wxMoveEvent swig_types[49]
1392 #define SWIGTYPE_p_wxSizeEvent swig_types[50]
1393 #define SWIGTYPE_p_wxActivateEvent swig_types[51]
1394 #define SWIGTYPE_p_wxIconizeEvent swig_types[52]
1395 #define SWIGTYPE_p_wxMaximizeEvent swig_types[53]
1396 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[54]
1397 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[55]
1398 #define SWIGTYPE_p_wxIdleEvent swig_types[56]
1399 #define SWIGTYPE_p_wxDateEvent swig_types[57]
1400 #define SWIGTYPE_p_wxMenuItem swig_types[58]
1401 #define SWIGTYPE_p_wxStaticBox swig_types[59]
1402 #define SWIGTYPE_p_long swig_types[60]
1403 #define SWIGTYPE_p_wxDuplexMode swig_types[61]
1404 #define SWIGTYPE_p_wxTIFFHandler swig_types[62]
1405 #define SWIGTYPE_p_wxXPMHandler swig_types[63]
1406 #define SWIGTYPE_p_wxPNMHandler swig_types[64]
1407 #define SWIGTYPE_p_wxJPEGHandler swig_types[65]
1408 #define SWIGTYPE_p_wxPCXHandler swig_types[66]
1409 #define SWIGTYPE_p_wxGIFHandler swig_types[67]
1410 #define SWIGTYPE_p_wxPNGHandler swig_types[68]
1411 #define SWIGTYPE_p_wxANIHandler swig_types[69]
1412 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[70]
1413 #define SWIGTYPE_p_wxZipFSHandler swig_types[71]
1414 #define SWIGTYPE_p_wxInternetFSHandler swig_types[72]
1415 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[73]
1416 #define SWIGTYPE_p_wxEvtHandler swig_types[74]
1417 #define SWIGTYPE_p_wxCURHandler swig_types[75]
1418 #define SWIGTYPE_p_wxICOHandler swig_types[76]
1419 #define SWIGTYPE_p_wxBMPHandler swig_types[77]
1420 #define SWIGTYPE_p_wxImageHandler swig_types[78]
1421 #define SWIGTYPE_p_wxFileSystemHandler swig_types[79]
1422 #define SWIGTYPE_p_wxRect swig_types[80]
1423 #define SWIGTYPE_p_wxButton swig_types[81]
1424 #define SWIGTYPE_p_wxGBSpan swig_types[82]
1425 #define SWIGTYPE_p_wxPropagateOnce swig_types[83]
1426 #define SWIGTYPE_p_wxAcceleratorTable swig_types[84]
1427 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[85]
1428 #define SWIGTYPE_p_char swig_types[86]
1429 #define SWIGTYPE_p_wxGBPosition swig_types[87]
1430 #define SWIGTYPE_p_wxImage swig_types[88]
1431 #define SWIGTYPE_p_wxFrame swig_types[89]
1432 #define SWIGTYPE_p_wxScrollWinEvent swig_types[90]
1433 #define SWIGTYPE_p_wxPaperSize swig_types[91]
1434 #define SWIGTYPE_p_wxImageHistogram swig_types[92]
1435 #define SWIGTYPE_p_wxPoint swig_types[93]
1436 #define SWIGTYPE_p_wxCursor swig_types[94]
1437 #define SWIGTYPE_p_wxObject swig_types[95]
1438 #define SWIGTYPE_p_wxInputStream swig_types[96]
1439 #define SWIGTYPE_p_wxOutputStream swig_types[97]
1440 #define SWIGTYPE_p_wxPyInputStream swig_types[98]
1441 #define SWIGTYPE_p_wxDateTime swig_types[99]
1442 #define SWIGTYPE_p_wxKeyEvent swig_types[100]
1443 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[101]
1444 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[102]
1445 #define SWIGTYPE_p_unsigned_long swig_types[103]
1446 #define SWIGTYPE_p_wxWindow swig_types[104]
1447 #define SWIGTYPE_p_wxMenuBar swig_types[105]
1448 #define SWIGTYPE_p_wxFileSystem swig_types[106]
1449 #define SWIGTYPE_p_wxBitmap swig_types[107]
1450 #define SWIGTYPE_unsigned_int swig_types[108]
1451 #define SWIGTYPE_p_unsigned_int swig_types[109]
1452 #define SWIGTYPE_p_wxMenuEvent swig_types[110]
1453 #define SWIGTYPE_p_wxContextMenuEvent swig_types[111]
1454 #define SWIGTYPE_p_unsigned_char swig_types[112]
1455 #define SWIGTYPE_p_wxEraseEvent swig_types[113]
1456 #define SWIGTYPE_p_wxMouseEvent swig_types[114]
1457 #define SWIGTYPE_p_wxCloseEvent swig_types[115]
1458 #define SWIGTYPE_p_wxPyApp swig_types[116]
1459 #define SWIGTYPE_p_wxCommandEvent swig_types[117]
1460 #define SWIGTYPE_p_wxPyCommandEvent swig_types[118]
1461 #define SWIGTYPE_p_wxPyDropTarget swig_types[119]
1462 #define SWIGTYPE_p_wxQuantize swig_types[120]
1463 #define SWIGTYPE_p_wxFocusEvent swig_types[121]
1464 #define SWIGTYPE_p_wxChildFocusEvent swig_types[122]
1465 #define SWIGTYPE_p_wxDropFilesEvent swig_types[123]
1466 #define SWIGTYPE_p_wxControlWithItems swig_types[124]
1467 #define SWIGTYPE_p_wxColour swig_types[125]
1468 #define SWIGTYPE_p_wxValidator swig_types[126]
1469 #define SWIGTYPE_p_wxPyValidator swig_types[127]
1470 static swig_type_info
*swig_types
[129];
1472 /* -------- TYPES TABLE (END) -------- */
1475 /*-----------------------------------------------
1476 @(target):= _core_.so
1477 ------------------------------------------------*/
1478 #define SWIG_init init_core_
1480 #define SWIG_name "_core_"
1482 #include "wx/wxPython/wxPython_int.h"
1483 #include "wx/wxPython/pyclasses.h"
1486 #ifndef wxPyUSE_EXPORT
1487 // Helper functions for dealing with SWIG objects and such. These are
1488 // located here so they know about the SWIG types and functions declared
1489 // in the wrapper code.
1491 #include <wx/hashmap.h>
1492 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
1495 // Maintains a hashmap of className to swig_type_info pointers. Given the
1496 // name of a class either looks up the type info in the cache, or scans the
1497 // SWIG tables for it.
1498 extern PyObject
* wxPyPtrTypeMap
;
1500 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
1502 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
1504 if (typeInfoCache
== NULL
)
1505 typeInfoCache
= new wxPyTypeInfoHashMap
;
1507 wxString
name(className
);
1508 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
1511 // it wasn't in the cache, so look it up from SWIG
1512 name
.Append(wxT(" *"));
1513 swigType
= SWIG_TypeQuery(name
.mb_str());
1515 // if it still wasn't found, try looking for a mapped name
1520 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
1521 (char*)(const char*)name
.mbc_str())) != NULL
) {
1522 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
1523 name
.Append(wxT(" *"));
1524 swigType
= SWIG_TypeQuery(name
.mb_str());
1528 // and add it to the map if found
1529 (*typeInfoCache
)[className
] = swigType
;
1536 // Check if a class name is a type known to SWIG
1537 bool wxPyCheckSwigType(const wxChar
* className
) {
1539 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1540 return swigType
!= NULL
;
1544 // Given a pointer to a C++ object and a class name, construct a Python proxy
1546 PyObject
* wxPyConstructObject(void* ptr
,
1547 const wxChar
* className
,
1550 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1551 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
1553 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
1557 // Extract a pointer to the wrapped C++ object from a Python proxy object.
1558 // Ensures that the proxy object is of the specified (or derived) type. If
1559 // not able to perform the conversion then a Python exception is set and the
1560 // error should be handled properly in the caller. Returns True on success.
1561 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
1562 const wxChar
* className
) {
1564 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1565 wxCHECK_MSG(swigType
!= NULL
, false, wxT("Unknown type in wxPyConvertSwigPtr"));
1567 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
1571 // Make a SWIGified pointer object suitable for a .this attribute
1572 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
1574 PyObject
* robj
= NULL
;
1576 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1577 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
1579 #ifdef SWIG_COBJECT_TYPES
1580 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)swigType
->name
);
1584 robj
= SWIG_PackVoidPtr(result
, ptr
, swigType
->name
, sizeof(result
)) ?
1585 PyString_FromString(result
) : 0;
1595 // Export a C API in a struct. Other modules will be able to load this from
1596 // the wx._core_ module and will then have safe access to these functions,
1597 // even if they are located in another shared library.
1598 static wxPyCoreAPI API
= {
1601 wxPyConstructObject
,
1605 wxPyBeginAllowThreads
,
1606 wxPyEndAllowThreads
,
1607 wxPyBeginBlockThreads
,
1608 wxPyEndBlockThreads
,
1620 wxPoint_LIST_helper
,
1621 wxBitmap_LIST_helper
,
1622 wxString_LIST_helper
,
1623 wxAcceleratorEntry_LIST_helper
,
1632 wxPySimple_typecheck
,
1635 wxPyCBH_setCallbackInfo
,
1636 wxPyCBH_findCallback
,
1637 wxPyCBH_callCallback
,
1638 wxPyCBH_callCallbackObj
,
1644 wxPy2int_seq_helper
,
1645 wxPy4int_seq_helper
,
1646 wxArrayString2PyList_helper
,
1647 wxArrayInt2PyList_helper
,
1649 wxPyClientData_dtor
,
1651 wxPyOORClientData_dtor
,
1653 wxPyCBInputStream_create
,
1654 wxPyCBInputStream_copy
,
1657 wxPySwigInstance_Check
,
1666 #if !WXWIN_COMPATIBILITY_2_4
1667 #define wxHIDE_READONLY 0
1671 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1672 #define SWIG_From_int PyInt_FromLong
1677 enum wxHotkeyModifier
1685 #define wxEVT_HOTKEY 9999
1688 static const wxString
wxPyEmptyString(wxEmptyString
);
1689 static wxString
wxObject_GetClassName(wxObject
*self
){
1690 return self
->GetClassInfo()->GetClassName();
1692 static void wxObject_Destroy(wxObject
*self
){
1697 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
1705 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1708 if (value
< min_value
) {
1710 PyErr_Format(PyExc_OverflowError
,
1711 "value %ld is less than '%s' minimum %ld",
1712 value
, errmsg
, min_value
);
1715 } else if (value
> max_value
) {
1717 PyErr_Format(PyExc_OverflowError
,
1718 "value %ld is greater than '%s' maximum %ld",
1719 value
, errmsg
, max_value
);
1728 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1730 if (PyNumber_Check(obj
)) {
1731 if (val
) *val
= PyInt_AsLong(obj
);
1735 SWIG_type_error("number", obj
);
1741 #if INT_MAX != LONG_MAX
1743 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1745 const char* errmsg
= val
? "int" : (char*)0;
1747 if (SWIG_AsVal_long(obj
, &v
)) {
1748 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1749 if (val
) *val
= (int)(v
);
1758 SWIG_type_error(errmsg
, obj
);
1764 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1766 return SWIG_AsVal_long(obj
,(long*)val
);
1772 SWIG_As_int(PyObject
* obj
)
1775 if (!SWIG_AsVal_int(obj
, &v
)) {
1777 this is needed to make valgrind/purify happier.
1779 memset((void*)&v
, 0, sizeof(int));
1786 SWIG_Check_int(PyObject
* obj
)
1788 return SWIG_AsVal_int(obj
, (int*)0);
1791 static PyObject
*wxSize_Get(wxSize
*self
){
1792 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1793 PyObject
* tup
= PyTuple_New(2);
1794 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1795 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1796 wxPyEndBlockThreads(blocked
);
1801 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1803 if (PyNumber_Check(obj
)) {
1804 if (val
) *val
= PyFloat_AsDouble(obj
);
1808 SWIG_type_error("number", obj
);
1814 SWIGINTERNSHORT
double
1815 SWIG_As_double(PyObject
* obj
)
1818 if (!SWIG_AsVal_double(obj
, &v
)) {
1820 this is needed to make valgrind/purify happier.
1822 memset((void*)&v
, 0, sizeof(double));
1829 SWIG_Check_double(PyObject
* obj
)
1831 return SWIG_AsVal_double(obj
, (double*)0);
1835 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1836 #define SWIG_From_double PyFloat_FromDouble
1839 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
1843 static PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
1844 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1845 PyObject
* tup
= PyTuple_New(2);
1846 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1847 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1848 wxPyEndBlockThreads(blocked
);
1852 SWIGINTERNSHORT
long
1853 SWIG_As_long(PyObject
* obj
)
1856 if (!SWIG_AsVal_long(obj
, &v
)) {
1858 this is needed to make valgrind/purify happier.
1860 memset((void*)&v
, 0, sizeof(long));
1867 SWIG_Check_long(PyObject
* obj
)
1869 return SWIG_AsVal_long(obj
, (long*)0);
1872 static void wxPoint_Set(wxPoint
*self
,long x
,long y
){
1876 static PyObject
*wxPoint_Get(wxPoint
*self
){
1877 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1878 PyObject
* tup
= PyTuple_New(2);
1879 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1880 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1881 wxPyEndBlockThreads(blocked
);
1884 static void wxRect_Set(wxRect
*self
,int x
=0,int y
=0,int width
=0,int height
=0){
1887 self
->width
= width
;
1888 self
->height
= height
;
1890 static PyObject
*wxRect_Get(wxRect
*self
){
1891 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1892 PyObject
* tup
= PyTuple_New(4);
1893 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1894 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1895 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
1896 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
1897 wxPyEndBlockThreads(blocked
);
1901 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
1904 wxRect
dest(0,0,0,0);
1907 reg1
.Intersect(reg2
);
1908 dest
= reg1
.GetBox();
1910 if (dest
!= wxRect(0,0,0,0)) {
1911 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1912 wxRect
* newRect
= new wxRect(dest
);
1913 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), true);
1914 wxPyEndBlockThreads(blocked
);
1922 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1928 } else if (target
== Py_None
) {
1932 if (!PyTuple_Check(target
)) {
1934 target
= PyTuple_New(1);
1935 PyTuple_SetItem(target
, 0, o2
);
1937 o3
= PyTuple_New(1);
1938 PyTuple_SetItem(o3
, 0, o
);
1941 target
= PySequence_Concat(o2
, o3
);
1949 static void wxPoint2D_Set(wxPoint2D
*self
,double x
=0,double y
=0){
1953 static PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
1954 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1955 PyObject
* tup
= PyTuple_New(2);
1956 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
1957 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
1958 wxPyEndBlockThreads(blocked
);
1962 #include "wx/wxPython/pyistream.h"
1964 static wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
1965 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
1967 return new wxPyInputStream(wxis
);
1972 SWIGINTERNSHORT PyObject
*
1973 SWIG_From_char(char c
)
1975 return PyString_FromStringAndSize(&c
,1);
1979 SWIGINTERNSHORT PyObject
*
1980 SWIG_From_unsigned_SS_long(unsigned long value
)
1982 return (value
> LONG_MAX
) ?
1983 PyLong_FromUnsignedLong(value
)
1984 : PyInt_FromLong((long)(value
));
1988 /* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */
1990 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* psize
)
1992 static swig_type_info
* pchar_info
= 0;
1994 if (!pchar_info
) pchar_info
= SWIG_TypeQuery("char *");
1995 if (SWIG_ConvertPtr(obj
, (void**)&vptr
, pchar_info
, 0) != -1) {
1996 if (cptr
) *cptr
= vptr
;
1997 if (psize
) *psize
= vptr
? (strlen(vptr
) + 1) : 0;
2001 if (PyString_Check(obj
)) {
2003 *cptr
= PyString_AS_STRING(obj
);
2005 *psize
= PyString_GET_SIZE(obj
) + 1;
2012 SWIG_type_error("char *", obj
);
2019 SWIG_AsCharArray(PyObject
*obj
, char *val
, size_t size
)
2021 char* cptr
; size_t csize
;
2022 if (SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
)) {
2025 char x[5] = "hello";
2027 ie, assing the array using an extra '0' char.
2029 if ((csize
== size
+ 1) && !(cptr
[csize
-1])) --csize
;
2030 if (csize
<= size
) {
2032 if (csize
) memcpy(val
, cptr
, csize
);
2033 if (csize
< size
) memset(val
+ csize
, 0, size
- csize
);
2039 PyErr_Format(PyExc_TypeError
,
2040 "a char array of maximum size %lu is expected",
2041 (unsigned long) size
);
2048 SWIG_AsVal_char(PyObject
*obj
, char *val
)
2050 const char* errmsg
= val
? "char" : (char*)0;
2052 if (SWIG_AsVal_long(obj
, &v
)) {
2053 if (SWIG_CheckLongInRange(v
, CHAR_MIN
,CHAR_MAX
, errmsg
)) {
2054 if (val
) *val
= (char)(v
);
2061 return SWIG_AsCharArray(obj
, val
, 1);
2066 SWIGINTERNSHORT
char
2067 SWIG_As_char(PyObject
* obj
)
2070 if (!SWIG_AsVal_char(obj
, &v
)) {
2072 this is needed to make valgrind/purify happier.
2074 memset((void*)&v
, 0, sizeof(char));
2081 SWIG_Check_char(PyObject
* obj
)
2083 return SWIG_AsVal_char(obj
, (char*)0);
2087 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2088 #define SWIG_From_long PyInt_FromLong
2091 static void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
2092 // We use only strings for the streams, not unicode
2093 PyObject
* str
= PyObject_Str(obj
);
2095 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
2098 self
->Write(PyString_AS_STRING(str
),
2099 PyString_GET_SIZE(str
));
2103 #include "wx/wxPython/pyistream.h"
2106 class wxPyFileSystemHandler
: public wxFileSystemHandler
2109 wxPyFileSystemHandler() : wxFileSystemHandler() {}
2111 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
2112 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
2113 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
2114 DEC_PYCALLBACK_STRING__pure(FindNext
);
2116 wxString
GetProtocol(const wxString
& location
) {
2117 return wxFileSystemHandler::GetProtocol(location
);
2120 wxString
GetLeftLocation(const wxString
& location
) {
2121 return wxFileSystemHandler::GetLeftLocation(location
);
2124 wxString
GetAnchor(const wxString
& location
) {
2125 return wxFileSystemHandler::GetAnchor(location
);
2128 wxString
GetRightLocation(const wxString
& location
) {
2129 return wxFileSystemHandler::GetRightLocation(location
);
2132 wxString
GetMimeTypeFromExt(const wxString
& location
) {
2133 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
2140 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
2141 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
2142 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
2143 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
2147 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
2149 if (obj
== Py_True
) {
2150 if (val
) *val
= true;
2153 if (obj
== Py_False
) {
2154 if (val
) *val
= false;
2158 if (SWIG_AsVal_int(obj
, &res
)) {
2159 if (val
) *val
= res
? true : false;
2165 SWIG_type_error("bool", obj
);
2171 SWIGINTERNSHORT
bool
2172 SWIG_As_bool(PyObject
* obj
)
2175 if (!SWIG_AsVal_bool(obj
, &v
)) {
2177 this is needed to make valgrind/purify happier.
2179 memset((void*)&v
, 0, sizeof(bool));
2186 SWIG_Check_bool(PyObject
* obj
)
2188 return SWIG_AsVal_bool(obj
, (bool*)0);
2191 static wxString
FileSystem_URLToFileName(wxString
const &url
){
2192 wxFileName fname
= wxFileSystem::URLToFileName(url
);
2193 return fname
.GetFullPath();
2196 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
2199 wxMemoryFSHandler::AddFile(filename
, image
, type
);
2202 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
2203 const wxBitmap
& bitmap
,
2205 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
2208 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
2210 if (! PyString_Check(data
)) {
2211 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2212 "Expected string object"));
2216 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2217 void* ptr
= (void*)PyString_AsString(data
);
2218 size_t size
= PyString_Size(data
);
2219 wxPyEndBlockThreads(blocked
);
2221 wxMemoryFSHandler::AddFile(filename
, ptr
, size
);
2225 #include "wx/wxPython/pyistream.h"
2229 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
2232 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2233 SWIG_type_error("unsigned number", obj
);
2236 *val
= (unsigned long)v
;
2242 SWIG_CheckUnsignedLongInRange(unsigned long value
,
2243 unsigned long max_value
,
2246 if (value
> max_value
) {
2248 PyErr_Format(PyExc_OverflowError
,
2249 "value %lu is greater than '%s' minimum %lu",
2250 value
, errmsg
, max_value
);
2259 SWIG_AsVal_unsigned_SS_char(PyObject
*obj
, unsigned char *val
)
2261 const char* errmsg
= val
? "unsigned char" : (char*)0;
2263 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2264 if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) {
2265 if (val
) *val
= (unsigned char)(v
);
2274 SWIG_type_error(errmsg
, obj
);
2280 SWIGINTERNSHORT
unsigned char
2281 SWIG_As_unsigned_SS_char(PyObject
* obj
)
2284 if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) {
2286 this is needed to make valgrind/purify happier.
2288 memset((void*)&v
, 0, sizeof(unsigned char));
2295 SWIG_Check_unsigned_SS_char(PyObject
* obj
)
2297 return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0);
2301 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2302 #define SWIG_From_unsigned_SS_char PyInt_FromLong
2307 SWIGINTERNSHORT
unsigned long
2308 SWIG_As_unsigned_SS_long(PyObject
* obj
)
2311 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2313 this is needed to make valgrind/purify happier.
2315 memset((void*)&v
, 0, sizeof(unsigned long));
2322 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
2324 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
2327 static unsigned long wxImageHistogram_GetCount(wxImageHistogram
*self
,unsigned long key
){
2328 wxImageHistogramEntry e
= (*self
)[key
];
2331 static unsigned long wxImageHistogram_GetCountRGB(wxImageHistogram
*self
,byte r
,byte g
,byte b
){
2332 unsigned long key
= wxImageHistogram::MakeKey(r
, g
, b
);
2333 wxImageHistogramEntry e
= (*self
)[key
];
2336 static unsigned long wxImageHistogram_GetCountColour(wxImageHistogram
*self
,wxColour
const &colour
){
2337 unsigned long key
= wxImageHistogram::MakeKey(colour
.Red(),
2340 wxImageHistogramEntry e
= (*self
)[key
];
2344 typedef unsigned char* buffer
;
2346 static wxImage
*new_wxImage(int width
=0,int height
=0,bool clear
=true){
2347 if (width
> 0 && height
> 0)
2348 return new wxImage(width
, height
, clear
);
2352 static wxImage
*new_wxImage(wxBitmap
const &bitmap
){
2353 return new wxImage(bitmap
.ConvertToImage());
2355 static wxImage
*new_wxImage(int width
,int height
,buffer data
,int DATASIZE
){
2356 if (DATASIZE
!= width
*height
*3) {
2357 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2361 // Copy the source data so the wxImage can clean it up later
2362 buffer copy
= (buffer
)malloc(DATASIZE
);
2364 wxPyBLOCK_THREADS(PyErr_NoMemory());
2367 memcpy(copy
, data
, DATASIZE
);
2368 return new wxImage(width
, height
, copy
, false);
2370 static wxImage
*new_wxImage(int width
,int height
,buffer data
,int DATASIZE
,buffer alpha
,int ALPHASIZE
){
2371 if (DATASIZE
!= width
*height
*3) {
2372 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2375 if (ALPHASIZE
!= width
*height
) {
2376 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2380 // Copy the source data so the wxImage can clean it up later
2381 buffer dcopy
= (buffer
)malloc(DATASIZE
);
2382 if (dcopy
== NULL
) {
2383 wxPyBLOCK_THREADS(PyErr_NoMemory());
2386 memcpy(dcopy
, data
, DATASIZE
);
2388 buffer acopy
= (buffer
)malloc(ALPHASIZE
);
2389 if (acopy
== NULL
) {
2390 wxPyBLOCK_THREADS(PyErr_NoMemory());
2393 memcpy(acopy
, alpha
, ALPHASIZE
);
2395 return new wxImage(width
, height
, dcopy
, acopy
, false);
2397 static wxSize
wxImage_GetSize(wxImage
*self
){
2398 wxSize
size(self
->GetWidth(), self
->GetHeight());
2401 static PyObject
*wxImage_GetData(wxImage
*self
){
2402 buffer data
= self
->GetData();
2403 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2405 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
2408 static void wxImage_SetData(wxImage
*self
,buffer data
,int DATASIZE
){
2409 if (DATASIZE
!= self
->GetWidth() * self
->GetHeight() * 3) {
2410 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2413 buffer copy
= (buffer
)malloc(DATASIZE
);
2415 wxPyBLOCK_THREADS(PyErr_NoMemory());
2418 memcpy(copy
, data
, DATASIZE
);
2419 self
->SetData(copy
, false);
2420 // wxImage takes ownership of copy...
2422 static PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
2423 buffer data
= self
->GetData();
2424 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2426 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2429 static void wxImage_SetDataBuffer(wxImage
*self
,buffer data
,int DATASIZE
){
2430 if (DATASIZE
!= self
->GetWidth() * self
->GetHeight() * 3) {
2431 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2434 self
->SetData(data
, true);
2436 static PyObject
*wxImage_GetAlphaData(wxImage
*self
){
2437 buffer data
= self
->GetAlpha();
2441 int len
= self
->GetWidth() * self
->GetHeight();
2443 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
2447 static void wxImage_SetAlphaData(wxImage
*self
,buffer alpha
,int ALPHASIZE
){
2448 if (ALPHASIZE
!= self
->GetWidth() * self
->GetHeight()) {
2449 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2452 buffer acopy
= (buffer
)malloc(ALPHASIZE
);
2453 if (acopy
== NULL
) {
2454 wxPyBLOCK_THREADS(PyErr_NoMemory());
2457 memcpy(acopy
, alpha
, ALPHASIZE
);
2458 self
->SetAlpha(acopy
, false);
2459 // wxImage takes ownership of acopy...
2461 static PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
2462 buffer data
= self
->GetAlpha();
2463 int len
= self
->GetWidth() * self
->GetHeight();
2465 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2468 static void wxImage_SetAlphaBuffer(wxImage
*self
,buffer alpha
,int ALPHASIZE
){
2469 if (ALPHASIZE
!= self
->GetWidth() * self
->GetHeight()) {
2470 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2473 self
->SetAlpha(alpha
, true);
2475 static wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
,int depth
=-1){
2476 wxBitmap
bitmap(*self
, depth
);
2479 static wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,byte red
,byte green
,byte blue
){
2480 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
2481 wxBitmap
bitmap( mono
, 1 );
2484 static const wxString
wxPyIMAGE_OPTION_FILENAME(wxIMAGE_OPTION_FILENAME
);
2485 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
2486 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
2487 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
2488 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
2489 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONX(wxIMAGE_OPTION_RESOLUTIONX
);
2490 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONY(wxIMAGE_OPTION_RESOLUTIONY
);
2491 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
2492 static const wxString
wxPyIMAGE_OPTION_QUALITY(wxIMAGE_OPTION_QUALITY
);
2493 static const wxString
wxPyIMAGE_OPTION_BITSPERSAMPLE(wxIMAGE_OPTION_BITSPERSAMPLE
);
2494 static const wxString
wxPyIMAGE_OPTION_SAMPLESPERPIXEL(wxIMAGE_OPTION_SAMPLESPERPIXEL
);
2495 static const wxString
wxPyIMAGE_OPTION_COMPRESSION(wxIMAGE_OPTION_COMPRESSION
);
2496 static const wxString
wxPyIMAGE_OPTION_IMAGEDESCRIPTOR(wxIMAGE_OPTION_IMAGEDESCRIPTOR
);
2497 static const wxString
wxPyIMAGE_OPTION_PNG_FORMAT(wxIMAGE_OPTION_PNG_FORMAT
);
2498 static const wxString
wxPyIMAGE_OPTION_PNG_BITDEPTH(wxIMAGE_OPTION_PNG_BITDEPTH
);
2500 #include <wx/quantize.h>
2502 static bool Quantize_Quantize(wxImage
const &src
,wxImage
&dest
,int desiredNoColours
=236,int flags
=wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
){
2503 return wxQuantize::Quantize(src
, dest
,
2506 NULL
, // eightBitData
2509 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
2510 if (PyCallable_Check(func
)) {
2511 self
->Connect(id
, lastId
, eventType
,
2512 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
2513 new wxPyCallback(func
));
2515 else if (func
== Py_None
) {
2516 self
->Disconnect(id
, lastId
, eventType
,
2517 (wxObjectEventFunction
)
2518 &wxPyCallback::EventThunker
);
2522 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
2525 static bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
=-1,wxEventType eventType
=wxEVT_NULL
){
2526 return self
->Disconnect(id
, lastId
, eventType
,
2527 (wxObjectEventFunction
)
2528 &wxPyCallback::EventThunker
);
2530 static void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
,bool incref
=true){
2531 if (_self
&& _self
!= Py_None
) {
2532 self
->SetClientObject(new wxPyOORClientData(_self
, incref
));
2535 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
2537 self
->SetClientObject(NULL
); // This will delete it too
2542 static int wxKeyEvent_GetUnicodeKey(wxKeyEvent
*self
){
2544 return self
->GetUnicodeKey();
2550 #if UINT_MAX < LONG_MAX
2551 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2552 #define SWIG_From_unsigned_SS_int SWIG_From_long
2555 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2556 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2561 #if UINT_MAX != ULONG_MAX
2563 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2565 const char* errmsg
= val
? "unsigned int" : (char*)0;
2567 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2568 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2569 if (val
) *val
= (unsigned int)(v
);
2576 SWIG_type_error(errmsg
, obj
);
2581 SWIGINTERNSHORT
unsigned int
2582 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2584 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2589 SWIGINTERNSHORT
unsigned int
2590 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2593 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2595 this is needed to make valgrind/purify happier.
2597 memset((void*)&v
, 0, sizeof(unsigned int));
2604 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2606 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2609 static void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
2610 self
->m_size
= size
;
2612 static PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
2613 int count
= self
->GetNumberOfFiles();
2614 wxString
* files
= self
->GetFiles();
2615 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2616 PyObject
* list
= PyList_New(count
);
2619 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
2620 wxPyEndBlockThreads(blocked
);
2624 for (int i
=0; i
<count
; i
++) {
2625 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
2627 wxPyEndBlockThreads(blocked
);
2632 static wxPyApp
*new_wxPyApp(){
2633 wxPythonApp
= new wxPyApp();
2636 static int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
2638 void wxApp_CleanUp() {
2643 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
2647 SWIG_AsCharPtr(PyObject
*obj
, char **val
)
2649 if (SWIG_AsCharPtrAndSize(obj
, val
, (size_t*)(0))) {
2654 SWIG_type_error("char *", obj
);
2660 SWIGINTERN PyObject
*
2661 SWIG_FromCharPtr(const char* cptr
)
2664 size_t size
= strlen(cptr
);
2665 if (size
> INT_MAX
) {
2666 return SWIG_NewPointerObj((char*)(cptr
),
2667 SWIG_TypeQuery("char *"), 0);
2670 return PyString_FromStringAndSize(cptr
, size
);
2672 return PyString_FromString(cptr
);
2683 // A dummy class that raises an exception if used...
2687 wxEventLoop() { wxPyRaiseNotImplemented(); }
2688 int Run() { return 0; }
2689 void Exit(int rc
= 0) {}
2690 bool Pending() const { return false; }
2691 bool Dispatch() { return false; }
2692 bool IsRunning() const { return false; }
2693 static wxEventLoop
*GetActive() { wxPyRaiseNotImplemented(); return NULL
; }
2694 static void SetActive(wxEventLoop
* loop
) { wxPyRaiseNotImplemented(); }
2699 #include <wx/evtloop.h>
2705 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2706 static wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
2707 static void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
2708 static PyObject
*wxWindow_GetChildren(wxWindow
*self
){
2709 wxWindowList
& list
= self
->GetChildren();
2710 return wxPy_ConvertList(&list
);
2712 static bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
2714 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
2719 static bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
2726 static long wxWindow_GetHandle(wxWindow
*self
){
2727 return wxPyGetWinHandle(self
);
2729 static void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
2730 self
->AssociateHandle((WXWidget
)handle
);
2732 static void wxWindow_DragAcceptFiles(wxWindow
*self
,bool accept
){}
2734 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
2735 return wxWindow::FindWindowById(id
, parent
);
2738 wxWindow
* wxFindWindowByName( const wxString
& name
,
2739 const wxWindow
*parent
= NULL
) {
2740 return wxWindow::FindWindowByName(name
, parent
);
2743 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
2744 const wxWindow
*parent
= NULL
) {
2745 return wxWindow::FindWindowByLabel(label
, parent
);
2750 #include <wx/msw/private.h> // to get wxGetWindowId
2754 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
2756 WXHWND hWnd
= (WXHWND
)_hWnd
;
2757 long id
= wxGetWindowId(hWnd
);
2758 wxWindow
* win
= new wxWindow
;
2759 parent
->AddChild(win
);
2760 win
->SetEventHandler(win
);
2763 win
->SubclassWin(hWnd
);
2764 win
->AdoptAttributesFromHWND();
2765 win
->SetupColours();
2768 wxPyRaiseNotImplemented();
2774 PyObject
* GetTopLevelWindows() {
2775 return wxPy_ConvertList(&wxTopLevelWindows
);
2779 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
2780 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
2781 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
2783 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
2785 static void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
2786 static PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
2787 wxMenuItemList
& list
= self
->GetMenuItems();
2788 return wxPy_ConvertList(&list
);
2790 static void wxMenuItem_SetFont(wxMenuItem
*self
,wxFont
const &font
){}
2791 static wxFont
wxMenuItem_GetFont(wxMenuItem
*self
){ return wxNullFont
; }
2792 static void wxMenuItem_SetTextColour(wxMenuItem
*self
,wxColour
const &colText
){}
2793 static wxColour
wxMenuItem_GetTextColour(wxMenuItem
*self
){ return wxNullColour
; }
2794 static void wxMenuItem_SetBackgroundColour(wxMenuItem
*self
,wxColour
const &colBack
){}
2795 static wxColour
wxMenuItem_GetBackgroundColour(wxMenuItem
*self
){ return wxNullColour
; }
2796 static void wxMenuItem_SetBitmaps(wxMenuItem
*self
,wxBitmap
const &bmpChecked
,wxBitmap
const &bmpUnchecked
=wxNullBitmap
){}
2797 static void wxMenuItem_SetDisabledBitmap(wxMenuItem
*self
,wxBitmap
const &bmpDisabled
){}
2798 static wxBitmap
const &wxMenuItem_GetDisabledBitmap(wxMenuItem
const *self
){ return wxNullBitmap
; }
2799 static void wxMenuItem_SetMarginWidth(wxMenuItem
*self
,int nWidth
){}
2800 static int wxMenuItem_GetMarginWidth(wxMenuItem
*self
){ return 0; }
2801 static int MenuItem_GetDefaultMarginWidth(){ return 0; }
2802 static bool wxMenuItem_IsOwnerDrawn(wxMenuItem
*self
){ return false; }
2803 static void wxMenuItem_SetOwnerDrawn(wxMenuItem
*self
,bool ownerDrawn
=true){}
2804 static void wxMenuItem_ResetOwnerDrawn(wxMenuItem
*self
){}
2805 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2806 static int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
=NULL
){
2808 wxPyClientData
* data
= new wxPyClientData(clientData
);
2809 return self
->Append(item
, data
);
2811 return self
->Append(item
);
2813 static int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2815 wxPyClientData
* data
= new wxPyClientData(clientData
);
2816 return self
->Insert(item
, pos
, data
);
2818 return self
->Insert(item
, pos
);
2820 static PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
2821 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
2823 Py_INCREF(data
->m_obj
);
2830 static void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
2831 wxPyClientData
* data
= new wxPyClientData(clientData
);
2832 self
->SetClientObject(n
, data
);
2836 static wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2837 wxPyUserData
* data
= NULL
;
2839 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2840 data
= new wxPyUserData(userData
);
2841 wxPyEndBlockThreads(blocked
);
2843 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
2845 static wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2846 wxPyUserData
* data
= NULL
;
2848 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2849 data
= new wxPyUserData(userData
);
2850 wxPyEndBlockThreads(blocked
);
2852 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
2854 static wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2855 wxPyUserData
* data
= NULL
;
2857 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2858 data
= new wxPyUserData(userData
);
2859 wxPyEndBlockThreads(blocked
);
2861 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
2866 SWIG_CheckDoubleInRange(double value
, double min_value
,
2867 double max_value
, const char* errmsg
)
2869 if (value
< min_value
) {
2871 PyErr_Format(PyExc_OverflowError
,
2872 "value %g is less than %s minimum %g",
2873 value
, errmsg
, min_value
);
2876 } else if (value
> max_value
) {
2878 PyErr_Format(PyExc_OverflowError
,
2879 "value %g is greater than %s maximum %g",
2880 value
, errmsg
, max_value
);
2889 SWIG_AsVal_float(PyObject
*obj
, float *val
)
2891 const char* errmsg
= val
? "float" : (char*)0;
2893 if (SWIG_AsVal_double(obj
, &v
)) {
2894 if (SWIG_CheckDoubleInRange(v
, -FLT_MAX
, FLT_MAX
, errmsg
)) {
2895 if (val
) *val
= (float)(v
);
2904 SWIG_type_error(errmsg
, obj
);
2910 SWIGINTERNSHORT
float
2911 SWIG_As_float(PyObject
* obj
)
2914 if (!SWIG_AsVal_float(obj
, &v
)) {
2916 this is needed to make valgrind/purify happier.
2918 memset((void*)&v
, 0, sizeof(float));
2925 SWIG_Check_float(PyObject
* obj
)
2927 return SWIG_AsVal_float(obj
, (float*)0);
2931 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2932 #define SWIG_From_float PyFloat_FromDouble
2935 static PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
2936 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
2938 Py_INCREF(data
->m_obj
);
2946 // Figure out the type of the sizer item
2948 struct wxPySizerItemInfo
{
2950 : window(NULL
), sizer(NULL
), gotSize(false),
2951 size(wxDefaultSize
), gotPos(false), pos(-1)
2962 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
2964 wxPySizerItemInfo info
;
2966 wxSize
* sizePtr
= &size
;
2968 // Find out what the type of the item is
2970 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
2975 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
2979 // try wxSize or (w,h)
2980 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
2981 info
.size
= *sizePtr
;
2982 info
.gotSize
= true;
2986 if (checkIdx
&& PyInt_Check(item
)) {
2987 info
.pos
= PyInt_AsLong(item
);
2993 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
2994 // no expected type, figure out what kind of error message to generate
2995 if ( !checkSize
&& !checkIdx
)
2996 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
2997 else if ( checkSize
&& !checkIdx
)
2998 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
2999 else if ( !checkSize
&& checkIdx
)
3000 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
3002 // can this one happen?
3003 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
3009 static void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
3010 if (!self
->GetClientObject())
3011 self
->SetClientObject(new wxPyOORClientData(_self
));
3013 static wxSizerItem
*wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3015 wxPyUserData
* data
= NULL
;
3016 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3017 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3018 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3019 data
= new wxPyUserData(userData
);
3020 wxPyEndBlockThreads(blocked
);
3022 // Now call the real Add method if a valid item type was found
3024 return self
->Add(info
.window
, proportion
, flag
, border
, data
);
3025 else if ( info
.sizer
)
3026 return self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
3027 else if (info
.gotSize
)
3028 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3029 proportion
, flag
, border
, data
);
3033 static wxSizerItem
*wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3035 wxPyUserData
* data
= NULL
;
3036 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3037 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3038 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3039 data
= new wxPyUserData(userData
);
3040 wxPyEndBlockThreads(blocked
);
3042 // Now call the real Insert method if a valid item type was found
3044 return self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
3045 else if ( info
.sizer
)
3046 return self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
3047 else if (info
.gotSize
)
3048 return self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
3049 proportion
, flag
, border
, data
);
3053 static wxSizerItem
*wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3055 wxPyUserData
* data
= NULL
;
3056 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3057 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3058 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3059 data
= new wxPyUserData(userData
);
3060 wxPyEndBlockThreads(blocked
);
3062 // Now call the real Prepend method if a valid item type was found
3064 return self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
3065 else if ( info
.sizer
)
3066 return self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
3067 else if (info
.gotSize
)
3068 return self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
3069 proportion
, flag
, border
, data
);
3073 static bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
3074 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3075 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3076 wxPyEndBlockThreads(blocked
);
3078 return self
->Remove(info
.window
);
3079 else if ( info
.sizer
)
3080 return self
->Remove(info
.sizer
);
3081 else if ( info
.gotPos
)
3082 return self
->Remove(info
.pos
);
3086 static bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
3087 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3088 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3089 wxPyEndBlockThreads(blocked
);
3091 return self
->Detach(info
.window
);
3092 else if ( info
.sizer
)
3093 return self
->Detach(info
.sizer
);
3094 else if ( info
.gotPos
)
3095 return self
->Detach(info
.pos
);
3099 static wxSizerItem
*wxSizer_GetItem(wxSizer
*self
,PyObject
*item
){
3100 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3101 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3102 wxPyEndBlockThreads(blocked
);
3104 return self
->GetItem(info
.window
);
3105 else if ( info
.sizer
)
3106 return self
->GetItem(info
.sizer
);
3107 else if ( info
.gotPos
)
3108 return self
->GetItem(info
.pos
);
3112 static void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
3113 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3114 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3115 wxPyEndBlockThreads(blocked
);
3117 self
->SetItemMinSize(info
.window
, size
);
3118 else if ( info
.sizer
)
3119 self
->SetItemMinSize(info
.sizer
, size
);
3120 else if ( info
.gotPos
)
3121 self
->SetItemMinSize(info
.pos
, size
);
3123 static PyObject
*wxSizer_GetChildren(wxSizer
*self
){
3124 wxSizerItemList
& list
= self
->GetChildren();
3125 return wxPy_ConvertList(&list
);
3127 static bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
=true,bool recursive
=false){
3128 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3129 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3130 wxPyEndBlockThreads(blocked
);
3132 return self
->Show(info
.window
, show
, recursive
);
3133 else if ( info
.sizer
)
3134 return self
->Show(info
.sizer
, show
, recursive
);
3135 else if ( info
.gotPos
)
3136 return self
->Show(info
.pos
, show
);
3140 static bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
3141 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3142 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
3143 wxPyEndBlockThreads(blocked
);
3145 return self
->IsShown(info
.window
);
3146 else if ( info
.sizer
)
3147 return self
->IsShown(info
.sizer
);
3148 else if ( info
.gotPos
)
3149 return self
->IsShown(info
.pos
);
3155 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
3156 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
3157 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
3162 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
3164 if (source
== Py_None
) {
3165 **obj
= wxGBPosition(-1,-1);
3168 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
3171 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
3173 if (source
== Py_None
) {
3174 **obj
= wxGBSpan(-1,-1);
3177 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
3181 static void wxGBPosition_Set(wxGBPosition
*self
,int row
=0,int col
=0){
3185 static PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
3186 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3187 PyObject
* tup
= PyTuple_New(2);
3188 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
3189 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
3190 wxPyEndBlockThreads(blocked
);
3193 static void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
=1,int colspan
=1){
3194 self
->SetRowspan(rowspan
);
3195 self
->SetColspan(colspan
);
3197 static PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
3198 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3199 PyObject
* tup
= PyTuple_New(2);
3200 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
3201 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
3202 wxPyEndBlockThreads(blocked
);
3205 static wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3206 wxPyUserData
* data
= NULL
;
3208 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3209 data
= new wxPyUserData(userData
);
3210 wxPyEndBlockThreads(blocked
);
3212 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
3214 static wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3215 wxPyUserData
* data
= NULL
;
3217 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3218 data
= new wxPyUserData(userData
);
3219 wxPyEndBlockThreads(blocked
);
3221 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
3223 static wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3224 wxPyUserData
* data
= NULL
;
3226 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3227 data
= new wxPyUserData(userData
);
3228 wxPyEndBlockThreads(blocked
);
3230 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
3232 static wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
3234 self
->GetEndPos(row
, col
);
3235 return wxGBPosition(row
, col
);
3237 static wxGBSizerItem
*wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
=wxDefaultSpan
,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3239 wxPyUserData
* data
= NULL
;
3240 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3241 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3242 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3243 data
= new wxPyUserData(userData
);
3244 wxPyEndBlockThreads(blocked
);
3246 // Now call the real Add method if a valid item type was found
3248 return (wxGBSizerItem
*)self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
3249 else if ( info
.sizer
)
3250 return (wxGBSizerItem
*)self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
3251 else if (info
.gotSize
)
3252 return (wxGBSizerItem
*)self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3253 pos
, span
, flag
, border
, data
);
3261 static int _wrap_EmptyString_set(PyObject
*) {
3262 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
3267 static PyObject
*_wrap_EmptyString_get(void) {
3272 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3274 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3281 static PyObject
*_wrap_Object_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3282 PyObject
*resultobj
;
3283 wxObject
*arg1
= (wxObject
*) 0 ;
3285 PyObject
* obj0
= 0 ;
3287 (char *) "self", NULL
3290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
3291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3292 if (SWIG_arg_fail(1)) SWIG_fail
;
3294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3295 result
= wxObject_GetClassName(arg1
);
3297 wxPyEndAllowThreads(__tstate
);
3298 if (PyErr_Occurred()) SWIG_fail
;
3302 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3304 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3313 static PyObject
*_wrap_Object_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3314 PyObject
*resultobj
;
3315 wxObject
*arg1
= (wxObject
*) 0 ;
3316 PyObject
* obj0
= 0 ;
3318 (char *) "self", NULL
3321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
3322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3323 if (SWIG_arg_fail(1)) SWIG_fail
;
3325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3326 wxObject_Destroy(arg1
);
3328 wxPyEndAllowThreads(__tstate
);
3329 if (PyErr_Occurred()) SWIG_fail
;
3331 Py_INCREF(Py_None
); resultobj
= Py_None
;
3338 static PyObject
* Object_swigregister(PyObject
*, PyObject
*args
) {
3340 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3341 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
3343 return Py_BuildValue((char *)"");
3345 static PyObject
*_wrap_Size_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3346 PyObject
*resultobj
;
3347 wxSize
*arg1
= (wxSize
*) 0 ;
3349 PyObject
* obj0
= 0 ;
3350 PyObject
* obj1
= 0 ;
3352 (char *) "self",(char *) "x", NULL
3355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3357 if (SWIG_arg_fail(1)) SWIG_fail
;
3359 arg2
= (int)(SWIG_As_int(obj1
));
3360 if (SWIG_arg_fail(2)) SWIG_fail
;
3362 if (arg1
) (arg1
)->x
= arg2
;
3364 Py_INCREF(Py_None
); resultobj
= Py_None
;
3371 static PyObject
*_wrap_Size_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3372 PyObject
*resultobj
;
3373 wxSize
*arg1
= (wxSize
*) 0 ;
3375 PyObject
* obj0
= 0 ;
3377 (char *) "self", NULL
3380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
3381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3382 if (SWIG_arg_fail(1)) SWIG_fail
;
3383 result
= (int) ((arg1
)->x
);
3386 resultobj
= SWIG_From_int((int)(result
));
3394 static PyObject
*_wrap_Size_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3395 PyObject
*resultobj
;
3396 wxSize
*arg1
= (wxSize
*) 0 ;
3398 PyObject
* obj0
= 0 ;
3399 PyObject
* obj1
= 0 ;
3401 (char *) "self",(char *) "y", NULL
3404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3406 if (SWIG_arg_fail(1)) SWIG_fail
;
3408 arg2
= (int)(SWIG_As_int(obj1
));
3409 if (SWIG_arg_fail(2)) SWIG_fail
;
3411 if (arg1
) (arg1
)->y
= arg2
;
3413 Py_INCREF(Py_None
); resultobj
= Py_None
;
3420 static PyObject
*_wrap_Size_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3421 PyObject
*resultobj
;
3422 wxSize
*arg1
= (wxSize
*) 0 ;
3424 PyObject
* obj0
= 0 ;
3426 (char *) "self", NULL
3429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
3430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3431 if (SWIG_arg_fail(1)) SWIG_fail
;
3432 result
= (int) ((arg1
)->y
);
3435 resultobj
= SWIG_From_int((int)(result
));
3443 static PyObject
*_wrap_new_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3444 PyObject
*resultobj
;
3445 int arg1
= (int) 0 ;
3446 int arg2
= (int) 0 ;
3448 PyObject
* obj0
= 0 ;
3449 PyObject
* obj1
= 0 ;
3451 (char *) "w",(char *) "h", NULL
3454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
3457 arg1
= (int)(SWIG_As_int(obj0
));
3458 if (SWIG_arg_fail(1)) SWIG_fail
;
3463 arg2
= (int)(SWIG_As_int(obj1
));
3464 if (SWIG_arg_fail(2)) SWIG_fail
;
3468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3469 result
= (wxSize
*)new wxSize(arg1
,arg2
);
3471 wxPyEndAllowThreads(__tstate
);
3472 if (PyErr_Occurred()) SWIG_fail
;
3474 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
3481 static PyObject
*_wrap_delete_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3482 PyObject
*resultobj
;
3483 wxSize
*arg1
= (wxSize
*) 0 ;
3484 PyObject
* obj0
= 0 ;
3486 (char *) "self", NULL
3489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
3490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3491 if (SWIG_arg_fail(1)) SWIG_fail
;
3493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3496 wxPyEndAllowThreads(__tstate
);
3497 if (PyErr_Occurred()) SWIG_fail
;
3499 Py_INCREF(Py_None
); resultobj
= Py_None
;
3506 static PyObject
*_wrap_Size___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3507 PyObject
*resultobj
;
3508 wxSize
*arg1
= (wxSize
*) 0 ;
3512 PyObject
* obj0
= 0 ;
3513 PyObject
* obj1
= 0 ;
3515 (char *) "self",(char *) "sz", NULL
3518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3520 if (SWIG_arg_fail(1)) SWIG_fail
;
3523 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3527 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
3529 wxPyEndAllowThreads(__tstate
);
3530 if (PyErr_Occurred()) SWIG_fail
;
3533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3541 static PyObject
*_wrap_Size___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3542 PyObject
*resultobj
;
3543 wxSize
*arg1
= (wxSize
*) 0 ;
3547 PyObject
* obj0
= 0 ;
3548 PyObject
* obj1
= 0 ;
3550 (char *) "self",(char *) "sz", NULL
3553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3555 if (SWIG_arg_fail(1)) SWIG_fail
;
3558 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3562 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
3564 wxPyEndAllowThreads(__tstate
);
3565 if (PyErr_Occurred()) SWIG_fail
;
3568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3576 static PyObject
*_wrap_Size___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3577 PyObject
*resultobj
;
3578 wxSize
*arg1
= (wxSize
*) 0 ;
3582 PyObject
* obj0
= 0 ;
3583 PyObject
* obj1
= 0 ;
3585 (char *) "self",(char *) "sz", NULL
3588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3590 if (SWIG_arg_fail(1)) SWIG_fail
;
3593 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3597 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
3599 wxPyEndAllowThreads(__tstate
);
3600 if (PyErr_Occurred()) SWIG_fail
;
3604 resultptr
= new wxSize((wxSize
&)(result
));
3605 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3613 static PyObject
*_wrap_Size___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3614 PyObject
*resultobj
;
3615 wxSize
*arg1
= (wxSize
*) 0 ;
3619 PyObject
* obj0
= 0 ;
3620 PyObject
* obj1
= 0 ;
3622 (char *) "self",(char *) "sz", NULL
3625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3627 if (SWIG_arg_fail(1)) SWIG_fail
;
3630 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3634 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
3636 wxPyEndAllowThreads(__tstate
);
3637 if (PyErr_Occurred()) SWIG_fail
;
3641 resultptr
= new wxSize((wxSize
&)(result
));
3642 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3650 static PyObject
*_wrap_Size_IncTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3651 PyObject
*resultobj
;
3652 wxSize
*arg1
= (wxSize
*) 0 ;
3655 PyObject
* obj0
= 0 ;
3656 PyObject
* obj1
= 0 ;
3658 (char *) "self",(char *) "sz", NULL
3661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3663 if (SWIG_arg_fail(1)) SWIG_fail
;
3666 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3670 (arg1
)->IncTo((wxSize
const &)*arg2
);
3672 wxPyEndAllowThreads(__tstate
);
3673 if (PyErr_Occurred()) SWIG_fail
;
3675 Py_INCREF(Py_None
); resultobj
= Py_None
;
3682 static PyObject
*_wrap_Size_DecTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3683 PyObject
*resultobj
;
3684 wxSize
*arg1
= (wxSize
*) 0 ;
3687 PyObject
* obj0
= 0 ;
3688 PyObject
* obj1
= 0 ;
3690 (char *) "self",(char *) "sz", NULL
3693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3695 if (SWIG_arg_fail(1)) SWIG_fail
;
3698 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3702 (arg1
)->DecTo((wxSize
const &)*arg2
);
3704 wxPyEndAllowThreads(__tstate
);
3705 if (PyErr_Occurred()) SWIG_fail
;
3707 Py_INCREF(Py_None
); resultobj
= Py_None
;
3714 static PyObject
*_wrap_Size_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3715 PyObject
*resultobj
;
3716 wxSize
*arg1
= (wxSize
*) 0 ;
3719 PyObject
* obj0
= 0 ;
3720 PyObject
* obj1
= 0 ;
3721 PyObject
* obj2
= 0 ;
3723 (char *) "self",(char *) "w",(char *) "h", NULL
3726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3728 if (SWIG_arg_fail(1)) SWIG_fail
;
3730 arg2
= (int)(SWIG_As_int(obj1
));
3731 if (SWIG_arg_fail(2)) SWIG_fail
;
3734 arg3
= (int)(SWIG_As_int(obj2
));
3735 if (SWIG_arg_fail(3)) SWIG_fail
;
3738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3739 (arg1
)->Set(arg2
,arg3
);
3741 wxPyEndAllowThreads(__tstate
);
3742 if (PyErr_Occurred()) SWIG_fail
;
3744 Py_INCREF(Py_None
); resultobj
= Py_None
;
3751 static PyObject
*_wrap_Size_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3752 PyObject
*resultobj
;
3753 wxSize
*arg1
= (wxSize
*) 0 ;
3755 PyObject
* obj0
= 0 ;
3756 PyObject
* obj1
= 0 ;
3758 (char *) "self",(char *) "w", NULL
3761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3763 if (SWIG_arg_fail(1)) SWIG_fail
;
3765 arg2
= (int)(SWIG_As_int(obj1
));
3766 if (SWIG_arg_fail(2)) SWIG_fail
;
3769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3770 (arg1
)->SetWidth(arg2
);
3772 wxPyEndAllowThreads(__tstate
);
3773 if (PyErr_Occurred()) SWIG_fail
;
3775 Py_INCREF(Py_None
); resultobj
= Py_None
;
3782 static PyObject
*_wrap_Size_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3783 PyObject
*resultobj
;
3784 wxSize
*arg1
= (wxSize
*) 0 ;
3786 PyObject
* obj0
= 0 ;
3787 PyObject
* obj1
= 0 ;
3789 (char *) "self",(char *) "h", NULL
3792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3794 if (SWIG_arg_fail(1)) SWIG_fail
;
3796 arg2
= (int)(SWIG_As_int(obj1
));
3797 if (SWIG_arg_fail(2)) SWIG_fail
;
3800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3801 (arg1
)->SetHeight(arg2
);
3803 wxPyEndAllowThreads(__tstate
);
3804 if (PyErr_Occurred()) SWIG_fail
;
3806 Py_INCREF(Py_None
); resultobj
= Py_None
;
3813 static PyObject
*_wrap_Size_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3814 PyObject
*resultobj
;
3815 wxSize
*arg1
= (wxSize
*) 0 ;
3817 PyObject
* obj0
= 0 ;
3819 (char *) "self", NULL
3822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
3823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3824 if (SWIG_arg_fail(1)) SWIG_fail
;
3826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3827 result
= (int)((wxSize
const *)arg1
)->GetWidth();
3829 wxPyEndAllowThreads(__tstate
);
3830 if (PyErr_Occurred()) SWIG_fail
;
3833 resultobj
= SWIG_From_int((int)(result
));
3841 static PyObject
*_wrap_Size_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3842 PyObject
*resultobj
;
3843 wxSize
*arg1
= (wxSize
*) 0 ;
3845 PyObject
* obj0
= 0 ;
3847 (char *) "self", NULL
3850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
3851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3852 if (SWIG_arg_fail(1)) SWIG_fail
;
3854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3855 result
= (int)((wxSize
const *)arg1
)->GetHeight();
3857 wxPyEndAllowThreads(__tstate
);
3858 if (PyErr_Occurred()) SWIG_fail
;
3861 resultobj
= SWIG_From_int((int)(result
));
3869 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3870 PyObject
*resultobj
;
3871 wxSize
*arg1
= (wxSize
*) 0 ;
3873 PyObject
* obj0
= 0 ;
3875 (char *) "self", NULL
3878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
3879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3880 if (SWIG_arg_fail(1)) SWIG_fail
;
3882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3883 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
3885 wxPyEndAllowThreads(__tstate
);
3886 if (PyErr_Occurred()) SWIG_fail
;
3889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3897 static PyObject
*_wrap_Size_SetDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3898 PyObject
*resultobj
;
3899 wxSize
*arg1
= (wxSize
*) 0 ;
3902 PyObject
* obj0
= 0 ;
3903 PyObject
* obj1
= 0 ;
3905 (char *) "self",(char *) "size", NULL
3908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
3909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3910 if (SWIG_arg_fail(1)) SWIG_fail
;
3913 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3917 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
3919 wxPyEndAllowThreads(__tstate
);
3920 if (PyErr_Occurred()) SWIG_fail
;
3922 Py_INCREF(Py_None
); resultobj
= Py_None
;
3929 static PyObject
*_wrap_Size_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3930 PyObject
*resultobj
;
3931 wxSize
*arg1
= (wxSize
*) 0 ;
3933 PyObject
* obj0
= 0 ;
3935 (char *) "self", NULL
3938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
3939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3940 if (SWIG_arg_fail(1)) SWIG_fail
;
3942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3943 result
= (PyObject
*)wxSize_Get(arg1
);
3945 wxPyEndAllowThreads(__tstate
);
3946 if (PyErr_Occurred()) SWIG_fail
;
3955 static PyObject
* Size_swigregister(PyObject
*, PyObject
*args
) {
3957 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3958 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
3960 return Py_BuildValue((char *)"");
3962 static PyObject
*_wrap_RealPoint_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3963 PyObject
*resultobj
;
3964 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3966 PyObject
* obj0
= 0 ;
3967 PyObject
* obj1
= 0 ;
3969 (char *) "self",(char *) "x", NULL
3972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3974 if (SWIG_arg_fail(1)) SWIG_fail
;
3976 arg2
= (double)(SWIG_As_double(obj1
));
3977 if (SWIG_arg_fail(2)) SWIG_fail
;
3979 if (arg1
) (arg1
)->x
= arg2
;
3981 Py_INCREF(Py_None
); resultobj
= Py_None
;
3988 static PyObject
*_wrap_RealPoint_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3989 PyObject
*resultobj
;
3990 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3992 PyObject
* obj0
= 0 ;
3994 (char *) "self", NULL
3997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
3998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3999 if (SWIG_arg_fail(1)) SWIG_fail
;
4000 result
= (double) ((arg1
)->x
);
4003 resultobj
= SWIG_From_double((double)(result
));
4011 static PyObject
*_wrap_RealPoint_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4012 PyObject
*resultobj
;
4013 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4015 PyObject
* obj0
= 0 ;
4016 PyObject
* obj1
= 0 ;
4018 (char *) "self",(char *) "y", NULL
4021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4023 if (SWIG_arg_fail(1)) SWIG_fail
;
4025 arg2
= (double)(SWIG_As_double(obj1
));
4026 if (SWIG_arg_fail(2)) SWIG_fail
;
4028 if (arg1
) (arg1
)->y
= arg2
;
4030 Py_INCREF(Py_None
); resultobj
= Py_None
;
4037 static PyObject
*_wrap_RealPoint_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4038 PyObject
*resultobj
;
4039 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4041 PyObject
* obj0
= 0 ;
4043 (char *) "self", NULL
4046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
4047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4048 if (SWIG_arg_fail(1)) SWIG_fail
;
4049 result
= (double) ((arg1
)->y
);
4052 resultobj
= SWIG_From_double((double)(result
));
4060 static PyObject
*_wrap_new_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4061 PyObject
*resultobj
;
4062 double arg1
= (double) 0.0 ;
4063 double arg2
= (double) 0.0 ;
4064 wxRealPoint
*result
;
4065 PyObject
* obj0
= 0 ;
4066 PyObject
* obj1
= 0 ;
4068 (char *) "x",(char *) "y", NULL
4071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4074 arg1
= (double)(SWIG_As_double(obj0
));
4075 if (SWIG_arg_fail(1)) SWIG_fail
;
4080 arg2
= (double)(SWIG_As_double(obj1
));
4081 if (SWIG_arg_fail(2)) SWIG_fail
;
4085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4086 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
4088 wxPyEndAllowThreads(__tstate
);
4089 if (PyErr_Occurred()) SWIG_fail
;
4091 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
4098 static PyObject
*_wrap_delete_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4099 PyObject
*resultobj
;
4100 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4101 PyObject
* obj0
= 0 ;
4103 (char *) "self", NULL
4106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
4107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4108 if (SWIG_arg_fail(1)) SWIG_fail
;
4110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4113 wxPyEndAllowThreads(__tstate
);
4114 if (PyErr_Occurred()) SWIG_fail
;
4116 Py_INCREF(Py_None
); resultobj
= Py_None
;
4123 static PyObject
*_wrap_RealPoint___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4124 PyObject
*resultobj
;
4125 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4126 wxRealPoint
*arg2
= 0 ;
4129 PyObject
* obj0
= 0 ;
4130 PyObject
* obj1
= 0 ;
4132 (char *) "self",(char *) "pt", NULL
4135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4137 if (SWIG_arg_fail(1)) SWIG_fail
;
4140 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4144 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
4146 wxPyEndAllowThreads(__tstate
);
4147 if (PyErr_Occurred()) SWIG_fail
;
4150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4158 static PyObject
*_wrap_RealPoint___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4159 PyObject
*resultobj
;
4160 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4161 wxRealPoint
*arg2
= 0 ;
4164 PyObject
* obj0
= 0 ;
4165 PyObject
* obj1
= 0 ;
4167 (char *) "self",(char *) "pt", NULL
4170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4172 if (SWIG_arg_fail(1)) SWIG_fail
;
4175 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4179 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
4181 wxPyEndAllowThreads(__tstate
);
4182 if (PyErr_Occurred()) SWIG_fail
;
4185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4193 static PyObject
*_wrap_RealPoint___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4194 PyObject
*resultobj
;
4195 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4196 wxRealPoint
*arg2
= 0 ;
4199 PyObject
* obj0
= 0 ;
4200 PyObject
* obj1
= 0 ;
4202 (char *) "self",(char *) "pt", NULL
4205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4207 if (SWIG_arg_fail(1)) SWIG_fail
;
4210 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4214 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
4216 wxPyEndAllowThreads(__tstate
);
4217 if (PyErr_Occurred()) SWIG_fail
;
4220 wxRealPoint
* resultptr
;
4221 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4222 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4230 static PyObject
*_wrap_RealPoint___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4231 PyObject
*resultobj
;
4232 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4233 wxRealPoint
*arg2
= 0 ;
4236 PyObject
* obj0
= 0 ;
4237 PyObject
* obj1
= 0 ;
4239 (char *) "self",(char *) "pt", NULL
4242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4244 if (SWIG_arg_fail(1)) SWIG_fail
;
4247 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4251 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
4253 wxPyEndAllowThreads(__tstate
);
4254 if (PyErr_Occurred()) SWIG_fail
;
4257 wxRealPoint
* resultptr
;
4258 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4259 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4267 static PyObject
*_wrap_RealPoint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4268 PyObject
*resultobj
;
4269 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4272 PyObject
* obj0
= 0 ;
4273 PyObject
* obj1
= 0 ;
4274 PyObject
* obj2
= 0 ;
4276 (char *) "self",(char *) "x",(char *) "y", NULL
4279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4281 if (SWIG_arg_fail(1)) SWIG_fail
;
4283 arg2
= (double)(SWIG_As_double(obj1
));
4284 if (SWIG_arg_fail(2)) SWIG_fail
;
4287 arg3
= (double)(SWIG_As_double(obj2
));
4288 if (SWIG_arg_fail(3)) SWIG_fail
;
4291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4292 wxRealPoint_Set(arg1
,arg2
,arg3
);
4294 wxPyEndAllowThreads(__tstate
);
4295 if (PyErr_Occurred()) SWIG_fail
;
4297 Py_INCREF(Py_None
); resultobj
= Py_None
;
4304 static PyObject
*_wrap_RealPoint_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4305 PyObject
*resultobj
;
4306 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4308 PyObject
* obj0
= 0 ;
4310 (char *) "self", NULL
4313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
4314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4315 if (SWIG_arg_fail(1)) SWIG_fail
;
4317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4318 result
= (PyObject
*)wxRealPoint_Get(arg1
);
4320 wxPyEndAllowThreads(__tstate
);
4321 if (PyErr_Occurred()) SWIG_fail
;
4330 static PyObject
* RealPoint_swigregister(PyObject
*, PyObject
*args
) {
4332 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4333 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
4335 return Py_BuildValue((char *)"");
4337 static PyObject
*_wrap_Point_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4338 PyObject
*resultobj
;
4339 wxPoint
*arg1
= (wxPoint
*) 0 ;
4341 PyObject
* obj0
= 0 ;
4342 PyObject
* obj1
= 0 ;
4344 (char *) "self",(char *) "x", NULL
4347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4349 if (SWIG_arg_fail(1)) SWIG_fail
;
4351 arg2
= (int)(SWIG_As_int(obj1
));
4352 if (SWIG_arg_fail(2)) SWIG_fail
;
4354 if (arg1
) (arg1
)->x
= arg2
;
4356 Py_INCREF(Py_None
); resultobj
= Py_None
;
4363 static PyObject
*_wrap_Point_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4364 PyObject
*resultobj
;
4365 wxPoint
*arg1
= (wxPoint
*) 0 ;
4367 PyObject
* obj0
= 0 ;
4369 (char *) "self", NULL
4372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
4373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4374 if (SWIG_arg_fail(1)) SWIG_fail
;
4375 result
= (int) ((arg1
)->x
);
4378 resultobj
= SWIG_From_int((int)(result
));
4386 static PyObject
*_wrap_Point_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4387 PyObject
*resultobj
;
4388 wxPoint
*arg1
= (wxPoint
*) 0 ;
4390 PyObject
* obj0
= 0 ;
4391 PyObject
* obj1
= 0 ;
4393 (char *) "self",(char *) "y", NULL
4396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4398 if (SWIG_arg_fail(1)) SWIG_fail
;
4400 arg2
= (int)(SWIG_As_int(obj1
));
4401 if (SWIG_arg_fail(2)) SWIG_fail
;
4403 if (arg1
) (arg1
)->y
= arg2
;
4405 Py_INCREF(Py_None
); resultobj
= Py_None
;
4412 static PyObject
*_wrap_Point_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4413 PyObject
*resultobj
;
4414 wxPoint
*arg1
= (wxPoint
*) 0 ;
4416 PyObject
* obj0
= 0 ;
4418 (char *) "self", NULL
4421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
4422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4423 if (SWIG_arg_fail(1)) SWIG_fail
;
4424 result
= (int) ((arg1
)->y
);
4427 resultobj
= SWIG_From_int((int)(result
));
4435 static PyObject
*_wrap_new_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4436 PyObject
*resultobj
;
4437 int arg1
= (int) 0 ;
4438 int arg2
= (int) 0 ;
4440 PyObject
* obj0
= 0 ;
4441 PyObject
* obj1
= 0 ;
4443 (char *) "x",(char *) "y", NULL
4446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
4449 arg1
= (int)(SWIG_As_int(obj0
));
4450 if (SWIG_arg_fail(1)) SWIG_fail
;
4455 arg2
= (int)(SWIG_As_int(obj1
));
4456 if (SWIG_arg_fail(2)) SWIG_fail
;
4460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4461 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
4463 wxPyEndAllowThreads(__tstate
);
4464 if (PyErr_Occurred()) SWIG_fail
;
4466 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4473 static PyObject
*_wrap_delete_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4474 PyObject
*resultobj
;
4475 wxPoint
*arg1
= (wxPoint
*) 0 ;
4476 PyObject
* obj0
= 0 ;
4478 (char *) "self", NULL
4481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
4482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4483 if (SWIG_arg_fail(1)) SWIG_fail
;
4485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4488 wxPyEndAllowThreads(__tstate
);
4489 if (PyErr_Occurred()) SWIG_fail
;
4491 Py_INCREF(Py_None
); resultobj
= Py_None
;
4498 static PyObject
*_wrap_Point___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4499 PyObject
*resultobj
;
4500 wxPoint
*arg1
= (wxPoint
*) 0 ;
4504 PyObject
* obj0
= 0 ;
4505 PyObject
* obj1
= 0 ;
4507 (char *) "self",(char *) "pt", NULL
4510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4512 if (SWIG_arg_fail(1)) SWIG_fail
;
4515 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4519 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
4521 wxPyEndAllowThreads(__tstate
);
4522 if (PyErr_Occurred()) SWIG_fail
;
4525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4533 static PyObject
*_wrap_Point___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4534 PyObject
*resultobj
;
4535 wxPoint
*arg1
= (wxPoint
*) 0 ;
4539 PyObject
* obj0
= 0 ;
4540 PyObject
* obj1
= 0 ;
4542 (char *) "self",(char *) "pt", NULL
4545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4547 if (SWIG_arg_fail(1)) SWIG_fail
;
4550 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4554 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
4556 wxPyEndAllowThreads(__tstate
);
4557 if (PyErr_Occurred()) SWIG_fail
;
4560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4568 static PyObject
*_wrap_Point___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4569 PyObject
*resultobj
;
4570 wxPoint
*arg1
= (wxPoint
*) 0 ;
4574 PyObject
* obj0
= 0 ;
4575 PyObject
* obj1
= 0 ;
4577 (char *) "self",(char *) "pt", NULL
4580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4582 if (SWIG_arg_fail(1)) SWIG_fail
;
4585 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4589 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
4591 wxPyEndAllowThreads(__tstate
);
4592 if (PyErr_Occurred()) SWIG_fail
;
4595 wxPoint
* resultptr
;
4596 resultptr
= new wxPoint((wxPoint
&)(result
));
4597 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4605 static PyObject
*_wrap_Point___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4606 PyObject
*resultobj
;
4607 wxPoint
*arg1
= (wxPoint
*) 0 ;
4611 PyObject
* obj0
= 0 ;
4612 PyObject
* obj1
= 0 ;
4614 (char *) "self",(char *) "pt", NULL
4617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4619 if (SWIG_arg_fail(1)) SWIG_fail
;
4622 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4626 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
4628 wxPyEndAllowThreads(__tstate
);
4629 if (PyErr_Occurred()) SWIG_fail
;
4632 wxPoint
* resultptr
;
4633 resultptr
= new wxPoint((wxPoint
&)(result
));
4634 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4642 static PyObject
*_wrap_Point___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4643 PyObject
*resultobj
;
4644 wxPoint
*arg1
= (wxPoint
*) 0 ;
4648 PyObject
* obj0
= 0 ;
4649 PyObject
* obj1
= 0 ;
4651 (char *) "self",(char *) "pt", NULL
4654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4656 if (SWIG_arg_fail(1)) SWIG_fail
;
4659 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4664 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
4665 result
= (wxPoint
*) &_result_ref
;
4668 wxPyEndAllowThreads(__tstate
);
4669 if (PyErr_Occurred()) SWIG_fail
;
4671 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4678 static PyObject
*_wrap_Point___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4679 PyObject
*resultobj
;
4680 wxPoint
*arg1
= (wxPoint
*) 0 ;
4684 PyObject
* obj0
= 0 ;
4685 PyObject
* obj1
= 0 ;
4687 (char *) "self",(char *) "pt", NULL
4690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4692 if (SWIG_arg_fail(1)) SWIG_fail
;
4695 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4700 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
4701 result
= (wxPoint
*) &_result_ref
;
4704 wxPyEndAllowThreads(__tstate
);
4705 if (PyErr_Occurred()) SWIG_fail
;
4707 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4714 static PyObject
*_wrap_Point_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4715 PyObject
*resultobj
;
4716 wxPoint
*arg1
= (wxPoint
*) 0 ;
4719 PyObject
* obj0
= 0 ;
4720 PyObject
* obj1
= 0 ;
4721 PyObject
* obj2
= 0 ;
4723 (char *) "self",(char *) "x",(char *) "y", NULL
4726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4728 if (SWIG_arg_fail(1)) SWIG_fail
;
4730 arg2
= (long)(SWIG_As_long(obj1
));
4731 if (SWIG_arg_fail(2)) SWIG_fail
;
4734 arg3
= (long)(SWIG_As_long(obj2
));
4735 if (SWIG_arg_fail(3)) SWIG_fail
;
4738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4739 wxPoint_Set(arg1
,arg2
,arg3
);
4741 wxPyEndAllowThreads(__tstate
);
4742 if (PyErr_Occurred()) SWIG_fail
;
4744 Py_INCREF(Py_None
); resultobj
= Py_None
;
4751 static PyObject
*_wrap_Point_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4752 PyObject
*resultobj
;
4753 wxPoint
*arg1
= (wxPoint
*) 0 ;
4755 PyObject
* obj0
= 0 ;
4757 (char *) "self", NULL
4760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
4761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4762 if (SWIG_arg_fail(1)) SWIG_fail
;
4764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4765 result
= (PyObject
*)wxPoint_Get(arg1
);
4767 wxPyEndAllowThreads(__tstate
);
4768 if (PyErr_Occurred()) SWIG_fail
;
4777 static PyObject
* Point_swigregister(PyObject
*, PyObject
*args
) {
4779 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4780 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
4782 return Py_BuildValue((char *)"");
4784 static PyObject
*_wrap_new_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4785 PyObject
*resultobj
;
4786 int arg1
= (int) 0 ;
4787 int arg2
= (int) 0 ;
4788 int arg3
= (int) 0 ;
4789 int arg4
= (int) 0 ;
4791 PyObject
* obj0
= 0 ;
4792 PyObject
* obj1
= 0 ;
4793 PyObject
* obj2
= 0 ;
4794 PyObject
* obj3
= 0 ;
4796 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4802 arg1
= (int)(SWIG_As_int(obj0
));
4803 if (SWIG_arg_fail(1)) SWIG_fail
;
4808 arg2
= (int)(SWIG_As_int(obj1
));
4809 if (SWIG_arg_fail(2)) SWIG_fail
;
4814 arg3
= (int)(SWIG_As_int(obj2
));
4815 if (SWIG_arg_fail(3)) SWIG_fail
;
4820 arg4
= (int)(SWIG_As_int(obj3
));
4821 if (SWIG_arg_fail(4)) SWIG_fail
;
4825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4826 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
4828 wxPyEndAllowThreads(__tstate
);
4829 if (PyErr_Occurred()) SWIG_fail
;
4831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4838 static PyObject
*_wrap_new_RectPP(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4839 PyObject
*resultobj
;
4845 PyObject
* obj0
= 0 ;
4846 PyObject
* obj1
= 0 ;
4848 (char *) "topLeft",(char *) "bottomRight", NULL
4851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
4854 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4858 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4862 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
4864 wxPyEndAllowThreads(__tstate
);
4865 if (PyErr_Occurred()) SWIG_fail
;
4867 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4874 static PyObject
*_wrap_new_RectPS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4875 PyObject
*resultobj
;
4881 PyObject
* obj0
= 0 ;
4882 PyObject
* obj1
= 0 ;
4884 (char *) "pos",(char *) "size", NULL
4887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
4890 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4894 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4898 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
4900 wxPyEndAllowThreads(__tstate
);
4901 if (PyErr_Occurred()) SWIG_fail
;
4903 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4910 static PyObject
*_wrap_new_RectS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4911 PyObject
*resultobj
;
4915 PyObject
* obj0
= 0 ;
4917 (char *) "size", NULL
4920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RectS",kwnames
,&obj0
)) goto fail
;
4923 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
4926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4927 result
= (wxRect
*)new wxRect((wxSize
const &)*arg1
);
4929 wxPyEndAllowThreads(__tstate
);
4930 if (PyErr_Occurred()) SWIG_fail
;
4932 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4939 static PyObject
*_wrap_delete_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4940 PyObject
*resultobj
;
4941 wxRect
*arg1
= (wxRect
*) 0 ;
4942 PyObject
* obj0
= 0 ;
4944 (char *) "self", NULL
4947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
4948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4949 if (SWIG_arg_fail(1)) SWIG_fail
;
4951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4954 wxPyEndAllowThreads(__tstate
);
4955 if (PyErr_Occurred()) SWIG_fail
;
4957 Py_INCREF(Py_None
); resultobj
= Py_None
;
4964 static PyObject
*_wrap_Rect_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4965 PyObject
*resultobj
;
4966 wxRect
*arg1
= (wxRect
*) 0 ;
4968 PyObject
* obj0
= 0 ;
4970 (char *) "self", NULL
4973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
4974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4975 if (SWIG_arg_fail(1)) SWIG_fail
;
4977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4978 result
= (int)((wxRect
const *)arg1
)->GetX();
4980 wxPyEndAllowThreads(__tstate
);
4981 if (PyErr_Occurred()) SWIG_fail
;
4984 resultobj
= SWIG_From_int((int)(result
));
4992 static PyObject
*_wrap_Rect_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4993 PyObject
*resultobj
;
4994 wxRect
*arg1
= (wxRect
*) 0 ;
4996 PyObject
* obj0
= 0 ;
4997 PyObject
* obj1
= 0 ;
4999 (char *) "self",(char *) "x", NULL
5002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
5003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5004 if (SWIG_arg_fail(1)) SWIG_fail
;
5006 arg2
= (int)(SWIG_As_int(obj1
));
5007 if (SWIG_arg_fail(2)) SWIG_fail
;
5010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5013 wxPyEndAllowThreads(__tstate
);
5014 if (PyErr_Occurred()) SWIG_fail
;
5016 Py_INCREF(Py_None
); resultobj
= Py_None
;
5023 static PyObject
*_wrap_Rect_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5024 PyObject
*resultobj
;
5025 wxRect
*arg1
= (wxRect
*) 0 ;
5027 PyObject
* obj0
= 0 ;
5029 (char *) "self", NULL
5032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
5033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5034 if (SWIG_arg_fail(1)) SWIG_fail
;
5036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5037 result
= (int)(arg1
)->GetY();
5039 wxPyEndAllowThreads(__tstate
);
5040 if (PyErr_Occurred()) SWIG_fail
;
5043 resultobj
= SWIG_From_int((int)(result
));
5051 static PyObject
*_wrap_Rect_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5052 PyObject
*resultobj
;
5053 wxRect
*arg1
= (wxRect
*) 0 ;
5055 PyObject
* obj0
= 0 ;
5056 PyObject
* obj1
= 0 ;
5058 (char *) "self",(char *) "y", NULL
5061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
5062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5063 if (SWIG_arg_fail(1)) SWIG_fail
;
5065 arg2
= (int)(SWIG_As_int(obj1
));
5066 if (SWIG_arg_fail(2)) SWIG_fail
;
5069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5072 wxPyEndAllowThreads(__tstate
);
5073 if (PyErr_Occurred()) SWIG_fail
;
5075 Py_INCREF(Py_None
); resultobj
= Py_None
;
5082 static PyObject
*_wrap_Rect_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5083 PyObject
*resultobj
;
5084 wxRect
*arg1
= (wxRect
*) 0 ;
5086 PyObject
* obj0
= 0 ;
5088 (char *) "self", NULL
5091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
5092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5093 if (SWIG_arg_fail(1)) SWIG_fail
;
5095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5096 result
= (int)((wxRect
const *)arg1
)->GetWidth();
5098 wxPyEndAllowThreads(__tstate
);
5099 if (PyErr_Occurred()) SWIG_fail
;
5102 resultobj
= SWIG_From_int((int)(result
));
5110 static PyObject
*_wrap_Rect_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5111 PyObject
*resultobj
;
5112 wxRect
*arg1
= (wxRect
*) 0 ;
5114 PyObject
* obj0
= 0 ;
5115 PyObject
* obj1
= 0 ;
5117 (char *) "self",(char *) "w", NULL
5120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5122 if (SWIG_arg_fail(1)) SWIG_fail
;
5124 arg2
= (int)(SWIG_As_int(obj1
));
5125 if (SWIG_arg_fail(2)) SWIG_fail
;
5128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5129 (arg1
)->SetWidth(arg2
);
5131 wxPyEndAllowThreads(__tstate
);
5132 if (PyErr_Occurred()) SWIG_fail
;
5134 Py_INCREF(Py_None
); resultobj
= Py_None
;
5141 static PyObject
*_wrap_Rect_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5142 PyObject
*resultobj
;
5143 wxRect
*arg1
= (wxRect
*) 0 ;
5145 PyObject
* obj0
= 0 ;
5147 (char *) "self", NULL
5150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
5151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5152 if (SWIG_arg_fail(1)) SWIG_fail
;
5154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5155 result
= (int)((wxRect
const *)arg1
)->GetHeight();
5157 wxPyEndAllowThreads(__tstate
);
5158 if (PyErr_Occurred()) SWIG_fail
;
5161 resultobj
= SWIG_From_int((int)(result
));
5169 static PyObject
*_wrap_Rect_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5170 PyObject
*resultobj
;
5171 wxRect
*arg1
= (wxRect
*) 0 ;
5173 PyObject
* obj0
= 0 ;
5174 PyObject
* obj1
= 0 ;
5176 (char *) "self",(char *) "h", NULL
5179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5181 if (SWIG_arg_fail(1)) SWIG_fail
;
5183 arg2
= (int)(SWIG_As_int(obj1
));
5184 if (SWIG_arg_fail(2)) SWIG_fail
;
5187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5188 (arg1
)->SetHeight(arg2
);
5190 wxPyEndAllowThreads(__tstate
);
5191 if (PyErr_Occurred()) SWIG_fail
;
5193 Py_INCREF(Py_None
); resultobj
= Py_None
;
5200 static PyObject
*_wrap_Rect_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5201 PyObject
*resultobj
;
5202 wxRect
*arg1
= (wxRect
*) 0 ;
5204 PyObject
* obj0
= 0 ;
5206 (char *) "self", NULL
5209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
5210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5211 if (SWIG_arg_fail(1)) SWIG_fail
;
5213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5214 result
= ((wxRect
const *)arg1
)->GetPosition();
5216 wxPyEndAllowThreads(__tstate
);
5217 if (PyErr_Occurred()) SWIG_fail
;
5220 wxPoint
* resultptr
;
5221 resultptr
= new wxPoint((wxPoint
&)(result
));
5222 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5230 static PyObject
*_wrap_Rect_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5231 PyObject
*resultobj
;
5232 wxRect
*arg1
= (wxRect
*) 0 ;
5235 PyObject
* obj0
= 0 ;
5236 PyObject
* obj1
= 0 ;
5238 (char *) "self",(char *) "p", NULL
5241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
5242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5243 if (SWIG_arg_fail(1)) SWIG_fail
;
5246 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5250 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
5252 wxPyEndAllowThreads(__tstate
);
5253 if (PyErr_Occurred()) SWIG_fail
;
5255 Py_INCREF(Py_None
); resultobj
= Py_None
;
5262 static PyObject
*_wrap_Rect_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5263 PyObject
*resultobj
;
5264 wxRect
*arg1
= (wxRect
*) 0 ;
5266 PyObject
* obj0
= 0 ;
5268 (char *) "self", NULL
5271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
5272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5273 if (SWIG_arg_fail(1)) SWIG_fail
;
5275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5276 result
= ((wxRect
const *)arg1
)->GetSize();
5278 wxPyEndAllowThreads(__tstate
);
5279 if (PyErr_Occurred()) SWIG_fail
;
5283 resultptr
= new wxSize((wxSize
&)(result
));
5284 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5292 static PyObject
*_wrap_Rect_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5293 PyObject
*resultobj
;
5294 wxRect
*arg1
= (wxRect
*) 0 ;
5297 PyObject
* obj0
= 0 ;
5298 PyObject
* obj1
= 0 ;
5300 (char *) "self",(char *) "s", NULL
5303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5305 if (SWIG_arg_fail(1)) SWIG_fail
;
5308 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5312 (arg1
)->SetSize((wxSize
const &)*arg2
);
5314 wxPyEndAllowThreads(__tstate
);
5315 if (PyErr_Occurred()) SWIG_fail
;
5317 Py_INCREF(Py_None
); resultobj
= Py_None
;
5324 static PyObject
*_wrap_Rect_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5325 PyObject
*resultobj
;
5326 wxRect
*arg1
= (wxRect
*) 0 ;
5328 PyObject
* obj0
= 0 ;
5330 (char *) "self", NULL
5333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_IsEmpty",kwnames
,&obj0
)) goto fail
;
5334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5335 if (SWIG_arg_fail(1)) SWIG_fail
;
5337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5338 result
= (bool)((wxRect
const *)arg1
)->IsEmpty();
5340 wxPyEndAllowThreads(__tstate
);
5341 if (PyErr_Occurred()) SWIG_fail
;
5344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5352 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5353 PyObject
*resultobj
;
5354 wxRect
*arg1
= (wxRect
*) 0 ;
5356 PyObject
* obj0
= 0 ;
5358 (char *) "self", NULL
5361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
5362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5363 if (SWIG_arg_fail(1)) SWIG_fail
;
5365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5366 result
= ((wxRect
const *)arg1
)->GetTopLeft();
5368 wxPyEndAllowThreads(__tstate
);
5369 if (PyErr_Occurred()) SWIG_fail
;
5372 wxPoint
* resultptr
;
5373 resultptr
= new wxPoint((wxPoint
&)(result
));
5374 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5382 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5383 PyObject
*resultobj
;
5384 wxRect
*arg1
= (wxRect
*) 0 ;
5387 PyObject
* obj0
= 0 ;
5388 PyObject
* obj1
= 0 ;
5390 (char *) "self",(char *) "p", NULL
5393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5395 if (SWIG_arg_fail(1)) SWIG_fail
;
5398 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5402 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
5404 wxPyEndAllowThreads(__tstate
);
5405 if (PyErr_Occurred()) SWIG_fail
;
5407 Py_INCREF(Py_None
); resultobj
= Py_None
;
5414 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5415 PyObject
*resultobj
;
5416 wxRect
*arg1
= (wxRect
*) 0 ;
5418 PyObject
* obj0
= 0 ;
5420 (char *) "self", NULL
5423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
5424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5425 if (SWIG_arg_fail(1)) SWIG_fail
;
5427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5428 result
= ((wxRect
const *)arg1
)->GetBottomRight();
5430 wxPyEndAllowThreads(__tstate
);
5431 if (PyErr_Occurred()) SWIG_fail
;
5434 wxPoint
* resultptr
;
5435 resultptr
= new wxPoint((wxPoint
&)(result
));
5436 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5444 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5445 PyObject
*resultobj
;
5446 wxRect
*arg1
= (wxRect
*) 0 ;
5449 PyObject
* obj0
= 0 ;
5450 PyObject
* obj1
= 0 ;
5452 (char *) "self",(char *) "p", NULL
5455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5457 if (SWIG_arg_fail(1)) SWIG_fail
;
5460 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5464 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
5466 wxPyEndAllowThreads(__tstate
);
5467 if (PyErr_Occurred()) SWIG_fail
;
5469 Py_INCREF(Py_None
); resultobj
= Py_None
;
5476 static PyObject
*_wrap_Rect_GetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5477 PyObject
*resultobj
;
5478 wxRect
*arg1
= (wxRect
*) 0 ;
5480 PyObject
* obj0
= 0 ;
5482 (char *) "self", NULL
5485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
5486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5487 if (SWIG_arg_fail(1)) SWIG_fail
;
5489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5490 result
= (int)((wxRect
const *)arg1
)->GetLeft();
5492 wxPyEndAllowThreads(__tstate
);
5493 if (PyErr_Occurred()) SWIG_fail
;
5496 resultobj
= SWIG_From_int((int)(result
));
5504 static PyObject
*_wrap_Rect_GetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5505 PyObject
*resultobj
;
5506 wxRect
*arg1
= (wxRect
*) 0 ;
5508 PyObject
* obj0
= 0 ;
5510 (char *) "self", NULL
5513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
5514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5515 if (SWIG_arg_fail(1)) SWIG_fail
;
5517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5518 result
= (int)((wxRect
const *)arg1
)->GetTop();
5520 wxPyEndAllowThreads(__tstate
);
5521 if (PyErr_Occurred()) SWIG_fail
;
5524 resultobj
= SWIG_From_int((int)(result
));
5532 static PyObject
*_wrap_Rect_GetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5533 PyObject
*resultobj
;
5534 wxRect
*arg1
= (wxRect
*) 0 ;
5536 PyObject
* obj0
= 0 ;
5538 (char *) "self", NULL
5541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
5542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5543 if (SWIG_arg_fail(1)) SWIG_fail
;
5545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5546 result
= (int)((wxRect
const *)arg1
)->GetBottom();
5548 wxPyEndAllowThreads(__tstate
);
5549 if (PyErr_Occurred()) SWIG_fail
;
5552 resultobj
= SWIG_From_int((int)(result
));
5560 static PyObject
*_wrap_Rect_GetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5561 PyObject
*resultobj
;
5562 wxRect
*arg1
= (wxRect
*) 0 ;
5564 PyObject
* obj0
= 0 ;
5566 (char *) "self", NULL
5569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
5570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5571 if (SWIG_arg_fail(1)) SWIG_fail
;
5573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5574 result
= (int)((wxRect
const *)arg1
)->GetRight();
5576 wxPyEndAllowThreads(__tstate
);
5577 if (PyErr_Occurred()) SWIG_fail
;
5580 resultobj
= SWIG_From_int((int)(result
));
5588 static PyObject
*_wrap_Rect_SetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5589 PyObject
*resultobj
;
5590 wxRect
*arg1
= (wxRect
*) 0 ;
5592 PyObject
* obj0
= 0 ;
5593 PyObject
* obj1
= 0 ;
5595 (char *) "self",(char *) "left", NULL
5598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5600 if (SWIG_arg_fail(1)) SWIG_fail
;
5602 arg2
= (int)(SWIG_As_int(obj1
));
5603 if (SWIG_arg_fail(2)) SWIG_fail
;
5606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5607 (arg1
)->SetLeft(arg2
);
5609 wxPyEndAllowThreads(__tstate
);
5610 if (PyErr_Occurred()) SWIG_fail
;
5612 Py_INCREF(Py_None
); resultobj
= Py_None
;
5619 static PyObject
*_wrap_Rect_SetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5620 PyObject
*resultobj
;
5621 wxRect
*arg1
= (wxRect
*) 0 ;
5623 PyObject
* obj0
= 0 ;
5624 PyObject
* obj1
= 0 ;
5626 (char *) "self",(char *) "right", NULL
5629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5631 if (SWIG_arg_fail(1)) SWIG_fail
;
5633 arg2
= (int)(SWIG_As_int(obj1
));
5634 if (SWIG_arg_fail(2)) SWIG_fail
;
5637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5638 (arg1
)->SetRight(arg2
);
5640 wxPyEndAllowThreads(__tstate
);
5641 if (PyErr_Occurred()) SWIG_fail
;
5643 Py_INCREF(Py_None
); resultobj
= Py_None
;
5650 static PyObject
*_wrap_Rect_SetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5651 PyObject
*resultobj
;
5652 wxRect
*arg1
= (wxRect
*) 0 ;
5654 PyObject
* obj0
= 0 ;
5655 PyObject
* obj1
= 0 ;
5657 (char *) "self",(char *) "top", NULL
5660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
5661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5662 if (SWIG_arg_fail(1)) SWIG_fail
;
5664 arg2
= (int)(SWIG_As_int(obj1
));
5665 if (SWIG_arg_fail(2)) SWIG_fail
;
5668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5669 (arg1
)->SetTop(arg2
);
5671 wxPyEndAllowThreads(__tstate
);
5672 if (PyErr_Occurred()) SWIG_fail
;
5674 Py_INCREF(Py_None
); resultobj
= Py_None
;
5681 static PyObject
*_wrap_Rect_SetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5682 PyObject
*resultobj
;
5683 wxRect
*arg1
= (wxRect
*) 0 ;
5685 PyObject
* obj0
= 0 ;
5686 PyObject
* obj1
= 0 ;
5688 (char *) "self",(char *) "bottom", NULL
5691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
5692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5693 if (SWIG_arg_fail(1)) SWIG_fail
;
5695 arg2
= (int)(SWIG_As_int(obj1
));
5696 if (SWIG_arg_fail(2)) SWIG_fail
;
5699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5700 (arg1
)->SetBottom(arg2
);
5702 wxPyEndAllowThreads(__tstate
);
5703 if (PyErr_Occurred()) SWIG_fail
;
5705 Py_INCREF(Py_None
); resultobj
= Py_None
;
5712 static PyObject
*_wrap_Rect_Inflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5713 PyObject
*resultobj
;
5714 wxRect
*arg1
= (wxRect
*) 0 ;
5718 PyObject
* obj0
= 0 ;
5719 PyObject
* obj1
= 0 ;
5720 PyObject
* obj2
= 0 ;
5722 (char *) "self",(char *) "dx",(char *) "dy", NULL
5725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5727 if (SWIG_arg_fail(1)) SWIG_fail
;
5729 arg2
= (int)(SWIG_As_int(obj1
));
5730 if (SWIG_arg_fail(2)) SWIG_fail
;
5733 arg3
= (int)(SWIG_As_int(obj2
));
5734 if (SWIG_arg_fail(3)) SWIG_fail
;
5737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5739 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
5740 result
= (wxRect
*) &_result_ref
;
5743 wxPyEndAllowThreads(__tstate
);
5744 if (PyErr_Occurred()) SWIG_fail
;
5746 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5753 static PyObject
*_wrap_Rect_Deflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5754 PyObject
*resultobj
;
5755 wxRect
*arg1
= (wxRect
*) 0 ;
5759 PyObject
* obj0
= 0 ;
5760 PyObject
* obj1
= 0 ;
5761 PyObject
* obj2
= 0 ;
5763 (char *) "self",(char *) "dx",(char *) "dy", NULL
5766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5768 if (SWIG_arg_fail(1)) SWIG_fail
;
5770 arg2
= (int)(SWIG_As_int(obj1
));
5771 if (SWIG_arg_fail(2)) SWIG_fail
;
5774 arg3
= (int)(SWIG_As_int(obj2
));
5775 if (SWIG_arg_fail(3)) SWIG_fail
;
5778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5780 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
5781 result
= (wxRect
*) &_result_ref
;
5784 wxPyEndAllowThreads(__tstate
);
5785 if (PyErr_Occurred()) SWIG_fail
;
5787 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5794 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5795 PyObject
*resultobj
;
5796 wxRect
*arg1
= (wxRect
*) 0 ;
5799 PyObject
* obj0
= 0 ;
5800 PyObject
* obj1
= 0 ;
5801 PyObject
* obj2
= 0 ;
5803 (char *) "self",(char *) "dx",(char *) "dy", NULL
5806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5808 if (SWIG_arg_fail(1)) SWIG_fail
;
5810 arg2
= (int)(SWIG_As_int(obj1
));
5811 if (SWIG_arg_fail(2)) SWIG_fail
;
5814 arg3
= (int)(SWIG_As_int(obj2
));
5815 if (SWIG_arg_fail(3)) SWIG_fail
;
5818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5819 (arg1
)->Offset(arg2
,arg3
);
5821 wxPyEndAllowThreads(__tstate
);
5822 if (PyErr_Occurred()) SWIG_fail
;
5824 Py_INCREF(Py_None
); resultobj
= Py_None
;
5831 static PyObject
*_wrap_Rect_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5832 PyObject
*resultobj
;
5833 wxRect
*arg1
= (wxRect
*) 0 ;
5836 PyObject
* obj0
= 0 ;
5837 PyObject
* obj1
= 0 ;
5839 (char *) "self",(char *) "pt", NULL
5842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
5843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5844 if (SWIG_arg_fail(1)) SWIG_fail
;
5847 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5851 (arg1
)->Offset((wxPoint
const &)*arg2
);
5853 wxPyEndAllowThreads(__tstate
);
5854 if (PyErr_Occurred()) SWIG_fail
;
5856 Py_INCREF(Py_None
); resultobj
= Py_None
;
5863 static PyObject
*_wrap_Rect_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5864 PyObject
*resultobj
;
5865 wxRect
*arg1
= (wxRect
*) 0 ;
5869 PyObject
* obj0
= 0 ;
5870 PyObject
* obj1
= 0 ;
5872 (char *) "self",(char *) "rect", NULL
5875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
5876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5877 if (SWIG_arg_fail(1)) SWIG_fail
;
5880 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5884 result
= (arg1
)->Intersect((wxRect
const &)*arg2
);
5886 wxPyEndAllowThreads(__tstate
);
5887 if (PyErr_Occurred()) SWIG_fail
;
5891 resultptr
= new wxRect((wxRect
&)(result
));
5892 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5900 static PyObject
*_wrap_Rect_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5901 PyObject
*resultobj
;
5902 wxRect
*arg1
= (wxRect
*) 0 ;
5906 PyObject
* obj0
= 0 ;
5907 PyObject
* obj1
= 0 ;
5909 (char *) "self",(char *) "rect", NULL
5912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Union",kwnames
,&obj0
,&obj1
)) goto fail
;
5913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5914 if (SWIG_arg_fail(1)) SWIG_fail
;
5917 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5921 result
= (arg1
)->Union((wxRect
const &)*arg2
);
5923 wxPyEndAllowThreads(__tstate
);
5924 if (PyErr_Occurred()) SWIG_fail
;
5928 resultptr
= new wxRect((wxRect
&)(result
));
5929 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5937 static PyObject
*_wrap_Rect___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5938 PyObject
*resultobj
;
5939 wxRect
*arg1
= (wxRect
*) 0 ;
5943 PyObject
* obj0
= 0 ;
5944 PyObject
* obj1
= 0 ;
5946 (char *) "self",(char *) "rect", NULL
5949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
5950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5951 if (SWIG_arg_fail(1)) SWIG_fail
;
5954 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5958 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
5960 wxPyEndAllowThreads(__tstate
);
5961 if (PyErr_Occurred()) SWIG_fail
;
5965 resultptr
= new wxRect((wxRect
&)(result
));
5966 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5974 static PyObject
*_wrap_Rect___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5975 PyObject
*resultobj
;
5976 wxRect
*arg1
= (wxRect
*) 0 ;
5980 PyObject
* obj0
= 0 ;
5981 PyObject
* obj1
= 0 ;
5983 (char *) "self",(char *) "rect", NULL
5986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
5988 if (SWIG_arg_fail(1)) SWIG_fail
;
5991 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5996 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
5997 result
= (wxRect
*) &_result_ref
;
6000 wxPyEndAllowThreads(__tstate
);
6001 if (PyErr_Occurred()) SWIG_fail
;
6003 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
6010 static PyObject
*_wrap_Rect___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6011 PyObject
*resultobj
;
6012 wxRect
*arg1
= (wxRect
*) 0 ;
6016 PyObject
* obj0
= 0 ;
6017 PyObject
* obj1
= 0 ;
6019 (char *) "self",(char *) "rect", NULL
6022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
6023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6024 if (SWIG_arg_fail(1)) SWIG_fail
;
6027 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6031 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
6033 wxPyEndAllowThreads(__tstate
);
6034 if (PyErr_Occurred()) SWIG_fail
;
6037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6045 static PyObject
*_wrap_Rect___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6046 PyObject
*resultobj
;
6047 wxRect
*arg1
= (wxRect
*) 0 ;
6051 PyObject
* obj0
= 0 ;
6052 PyObject
* obj1
= 0 ;
6054 (char *) "self",(char *) "rect", NULL
6057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
6058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6059 if (SWIG_arg_fail(1)) SWIG_fail
;
6062 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6066 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
6068 wxPyEndAllowThreads(__tstate
);
6069 if (PyErr_Occurred()) SWIG_fail
;
6072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6080 static PyObject
*_wrap_Rect_InsideXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6081 PyObject
*resultobj
;
6082 wxRect
*arg1
= (wxRect
*) 0 ;
6086 PyObject
* obj0
= 0 ;
6087 PyObject
* obj1
= 0 ;
6088 PyObject
* obj2
= 0 ;
6090 (char *) "self",(char *) "x",(char *) "y", NULL
6093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6095 if (SWIG_arg_fail(1)) SWIG_fail
;
6097 arg2
= (int)(SWIG_As_int(obj1
));
6098 if (SWIG_arg_fail(2)) SWIG_fail
;
6101 arg3
= (int)(SWIG_As_int(obj2
));
6102 if (SWIG_arg_fail(3)) SWIG_fail
;
6105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6106 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
6108 wxPyEndAllowThreads(__tstate
);
6109 if (PyErr_Occurred()) SWIG_fail
;
6112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6120 static PyObject
*_wrap_Rect_Inside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6121 PyObject
*resultobj
;
6122 wxRect
*arg1
= (wxRect
*) 0 ;
6126 PyObject
* obj0
= 0 ;
6127 PyObject
* obj1
= 0 ;
6129 (char *) "self",(char *) "pt", NULL
6132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
6133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6134 if (SWIG_arg_fail(1)) SWIG_fail
;
6137 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6141 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
6143 wxPyEndAllowThreads(__tstate
);
6144 if (PyErr_Occurred()) SWIG_fail
;
6147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6155 static PyObject
*_wrap_Rect_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6156 PyObject
*resultobj
;
6157 wxRect
*arg1
= (wxRect
*) 0 ;
6161 PyObject
* obj0
= 0 ;
6162 PyObject
* obj1
= 0 ;
6164 (char *) "self",(char *) "rect", NULL
6167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
6168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6169 if (SWIG_arg_fail(1)) SWIG_fail
;
6172 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6176 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
6178 wxPyEndAllowThreads(__tstate
);
6179 if (PyErr_Occurred()) SWIG_fail
;
6182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6190 static PyObject
*_wrap_Rect_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6191 PyObject
*resultobj
;
6192 wxRect
*arg1
= (wxRect
*) 0 ;
6194 PyObject
* obj0
= 0 ;
6195 PyObject
* obj1
= 0 ;
6197 (char *) "self",(char *) "x", NULL
6200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6202 if (SWIG_arg_fail(1)) SWIG_fail
;
6204 arg2
= (int)(SWIG_As_int(obj1
));
6205 if (SWIG_arg_fail(2)) SWIG_fail
;
6207 if (arg1
) (arg1
)->x
= arg2
;
6209 Py_INCREF(Py_None
); resultobj
= Py_None
;
6216 static PyObject
*_wrap_Rect_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6217 PyObject
*resultobj
;
6218 wxRect
*arg1
= (wxRect
*) 0 ;
6220 PyObject
* obj0
= 0 ;
6222 (char *) "self", NULL
6225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
6226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6227 if (SWIG_arg_fail(1)) SWIG_fail
;
6228 result
= (int) ((arg1
)->x
);
6231 resultobj
= SWIG_From_int((int)(result
));
6239 static PyObject
*_wrap_Rect_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6240 PyObject
*resultobj
;
6241 wxRect
*arg1
= (wxRect
*) 0 ;
6243 PyObject
* obj0
= 0 ;
6244 PyObject
* obj1
= 0 ;
6246 (char *) "self",(char *) "y", NULL
6249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6251 if (SWIG_arg_fail(1)) SWIG_fail
;
6253 arg2
= (int)(SWIG_As_int(obj1
));
6254 if (SWIG_arg_fail(2)) SWIG_fail
;
6256 if (arg1
) (arg1
)->y
= arg2
;
6258 Py_INCREF(Py_None
); resultobj
= Py_None
;
6265 static PyObject
*_wrap_Rect_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6266 PyObject
*resultobj
;
6267 wxRect
*arg1
= (wxRect
*) 0 ;
6269 PyObject
* obj0
= 0 ;
6271 (char *) "self", NULL
6274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
6275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6276 if (SWIG_arg_fail(1)) SWIG_fail
;
6277 result
= (int) ((arg1
)->y
);
6280 resultobj
= SWIG_From_int((int)(result
));
6288 static PyObject
*_wrap_Rect_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6289 PyObject
*resultobj
;
6290 wxRect
*arg1
= (wxRect
*) 0 ;
6292 PyObject
* obj0
= 0 ;
6293 PyObject
* obj1
= 0 ;
6295 (char *) "self",(char *) "width", NULL
6298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6300 if (SWIG_arg_fail(1)) SWIG_fail
;
6302 arg2
= (int)(SWIG_As_int(obj1
));
6303 if (SWIG_arg_fail(2)) SWIG_fail
;
6305 if (arg1
) (arg1
)->width
= arg2
;
6307 Py_INCREF(Py_None
); resultobj
= Py_None
;
6314 static PyObject
*_wrap_Rect_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6315 PyObject
*resultobj
;
6316 wxRect
*arg1
= (wxRect
*) 0 ;
6318 PyObject
* obj0
= 0 ;
6320 (char *) "self", NULL
6323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
6324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6325 if (SWIG_arg_fail(1)) SWIG_fail
;
6326 result
= (int) ((arg1
)->width
);
6329 resultobj
= SWIG_From_int((int)(result
));
6337 static PyObject
*_wrap_Rect_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6338 PyObject
*resultobj
;
6339 wxRect
*arg1
= (wxRect
*) 0 ;
6341 PyObject
* obj0
= 0 ;
6342 PyObject
* obj1
= 0 ;
6344 (char *) "self",(char *) "height", NULL
6347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6349 if (SWIG_arg_fail(1)) SWIG_fail
;
6351 arg2
= (int)(SWIG_As_int(obj1
));
6352 if (SWIG_arg_fail(2)) SWIG_fail
;
6354 if (arg1
) (arg1
)->height
= arg2
;
6356 Py_INCREF(Py_None
); resultobj
= Py_None
;
6363 static PyObject
*_wrap_Rect_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6364 PyObject
*resultobj
;
6365 wxRect
*arg1
= (wxRect
*) 0 ;
6367 PyObject
* obj0
= 0 ;
6369 (char *) "self", NULL
6372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
6373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6374 if (SWIG_arg_fail(1)) SWIG_fail
;
6375 result
= (int) ((arg1
)->height
);
6378 resultobj
= SWIG_From_int((int)(result
));
6386 static PyObject
*_wrap_Rect_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6387 PyObject
*resultobj
;
6388 wxRect
*arg1
= (wxRect
*) 0 ;
6389 int arg2
= (int) 0 ;
6390 int arg3
= (int) 0 ;
6391 int arg4
= (int) 0 ;
6392 int arg5
= (int) 0 ;
6393 PyObject
* obj0
= 0 ;
6394 PyObject
* obj1
= 0 ;
6395 PyObject
* obj2
= 0 ;
6396 PyObject
* obj3
= 0 ;
6397 PyObject
* obj4
= 0 ;
6399 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6404 if (SWIG_arg_fail(1)) SWIG_fail
;
6407 arg2
= (int)(SWIG_As_int(obj1
));
6408 if (SWIG_arg_fail(2)) SWIG_fail
;
6413 arg3
= (int)(SWIG_As_int(obj2
));
6414 if (SWIG_arg_fail(3)) SWIG_fail
;
6419 arg4
= (int)(SWIG_As_int(obj3
));
6420 if (SWIG_arg_fail(4)) SWIG_fail
;
6425 arg5
= (int)(SWIG_As_int(obj4
));
6426 if (SWIG_arg_fail(5)) SWIG_fail
;
6430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6431 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
6433 wxPyEndAllowThreads(__tstate
);
6434 if (PyErr_Occurred()) SWIG_fail
;
6436 Py_INCREF(Py_None
); resultobj
= Py_None
;
6443 static PyObject
*_wrap_Rect_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6444 PyObject
*resultobj
;
6445 wxRect
*arg1
= (wxRect
*) 0 ;
6447 PyObject
* obj0
= 0 ;
6449 (char *) "self", NULL
6452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
6453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6454 if (SWIG_arg_fail(1)) SWIG_fail
;
6456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6457 result
= (PyObject
*)wxRect_Get(arg1
);
6459 wxPyEndAllowThreads(__tstate
);
6460 if (PyErr_Occurred()) SWIG_fail
;
6469 static PyObject
* Rect_swigregister(PyObject
*, PyObject
*args
) {
6471 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6472 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
6474 return Py_BuildValue((char *)"");
6476 static PyObject
*_wrap_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6477 PyObject
*resultobj
;
6478 wxRect
*arg1
= (wxRect
*) 0 ;
6479 wxRect
*arg2
= (wxRect
*) 0 ;
6481 PyObject
* obj0
= 0 ;
6482 PyObject
* obj1
= 0 ;
6484 (char *) "r1",(char *) "r2", NULL
6487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6489 if (SWIG_arg_fail(1)) SWIG_fail
;
6490 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6491 if (SWIG_arg_fail(2)) SWIG_fail
;
6493 if (!wxPyCheckForApp()) SWIG_fail
;
6494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6495 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
6497 wxPyEndAllowThreads(__tstate
);
6498 if (PyErr_Occurred()) SWIG_fail
;
6507 static PyObject
*_wrap_new_Point2D(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6508 PyObject
*resultobj
;
6509 double arg1
= (double) 0.0 ;
6510 double arg2
= (double) 0.0 ;
6512 PyObject
* obj0
= 0 ;
6513 PyObject
* obj1
= 0 ;
6515 (char *) "x",(char *) "y", NULL
6518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
6521 arg1
= (double)(SWIG_As_double(obj0
));
6522 if (SWIG_arg_fail(1)) SWIG_fail
;
6527 arg2
= (double)(SWIG_As_double(obj1
));
6528 if (SWIG_arg_fail(2)) SWIG_fail
;
6532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6533 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
6535 wxPyEndAllowThreads(__tstate
);
6536 if (PyErr_Occurred()) SWIG_fail
;
6538 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6545 static PyObject
*_wrap_new_Point2DCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6546 PyObject
*resultobj
;
6547 wxPoint2D
*arg1
= 0 ;
6550 PyObject
* obj0
= 0 ;
6555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
6558 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
6561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6562 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
6564 wxPyEndAllowThreads(__tstate
);
6565 if (PyErr_Occurred()) SWIG_fail
;
6567 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6574 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6575 PyObject
*resultobj
;
6579 PyObject
* obj0
= 0 ;
6584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
6587 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6591 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
6593 wxPyEndAllowThreads(__tstate
);
6594 if (PyErr_Occurred()) SWIG_fail
;
6596 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6603 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6604 PyObject
*resultobj
;
6605 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6606 int *arg2
= (int *) 0 ;
6607 int *arg3
= (int *) 0 ;
6612 PyObject
* obj0
= 0 ;
6614 (char *) "self", NULL
6617 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6618 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
6620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6621 if (SWIG_arg_fail(1)) SWIG_fail
;
6623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6624 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
6626 wxPyEndAllowThreads(__tstate
);
6627 if (PyErr_Occurred()) SWIG_fail
;
6629 Py_INCREF(Py_None
); resultobj
= Py_None
;
6630 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6631 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6632 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6633 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6640 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6641 PyObject
*resultobj
;
6642 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6643 int *arg2
= (int *) 0 ;
6644 int *arg3
= (int *) 0 ;
6649 PyObject
* obj0
= 0 ;
6651 (char *) "self", NULL
6654 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6655 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
6657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6658 if (SWIG_arg_fail(1)) SWIG_fail
;
6660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6661 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
6663 wxPyEndAllowThreads(__tstate
);
6664 if (PyErr_Occurred()) SWIG_fail
;
6666 Py_INCREF(Py_None
); resultobj
= Py_None
;
6667 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6668 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6669 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6670 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6677 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6678 PyObject
*resultobj
;
6679 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6681 PyObject
* obj0
= 0 ;
6683 (char *) "self", NULL
6686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
6687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6688 if (SWIG_arg_fail(1)) SWIG_fail
;
6690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6691 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
6693 wxPyEndAllowThreads(__tstate
);
6694 if (PyErr_Occurred()) SWIG_fail
;
6697 resultobj
= SWIG_From_double((double)(result
));
6705 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6706 PyObject
*resultobj
;
6707 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6709 PyObject
* obj0
= 0 ;
6711 (char *) "self", NULL
6714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
6715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6716 if (SWIG_arg_fail(1)) SWIG_fail
;
6718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6719 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
6721 wxPyEndAllowThreads(__tstate
);
6722 if (PyErr_Occurred()) SWIG_fail
;
6725 resultobj
= SWIG_From_double((double)(result
));
6733 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6734 PyObject
*resultobj
;
6735 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6737 PyObject
* obj0
= 0 ;
6738 PyObject
* obj1
= 0 ;
6740 (char *) "self",(char *) "length", NULL
6743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
6744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6745 if (SWIG_arg_fail(1)) SWIG_fail
;
6747 arg2
= (double)(SWIG_As_double(obj1
));
6748 if (SWIG_arg_fail(2)) SWIG_fail
;
6751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6752 (arg1
)->SetVectorLength(arg2
);
6754 wxPyEndAllowThreads(__tstate
);
6755 if (PyErr_Occurred()) SWIG_fail
;
6757 Py_INCREF(Py_None
); resultobj
= Py_None
;
6764 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6765 PyObject
*resultobj
;
6766 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6768 PyObject
* obj0
= 0 ;
6769 PyObject
* obj1
= 0 ;
6771 (char *) "self",(char *) "degrees", NULL
6774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
6775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6776 if (SWIG_arg_fail(1)) SWIG_fail
;
6778 arg2
= (double)(SWIG_As_double(obj1
));
6779 if (SWIG_arg_fail(2)) SWIG_fail
;
6782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6783 (arg1
)->SetVectorAngle(arg2
);
6785 wxPyEndAllowThreads(__tstate
);
6786 if (PyErr_Occurred()) SWIG_fail
;
6788 Py_INCREF(Py_None
); resultobj
= Py_None
;
6795 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6796 PyObject
*resultobj
;
6797 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6798 wxPoint2D
*arg2
= 0 ;
6801 PyObject
* obj0
= 0 ;
6802 PyObject
* obj1
= 0 ;
6804 (char *) "self",(char *) "pt", NULL
6807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
6808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6809 if (SWIG_arg_fail(1)) SWIG_fail
;
6812 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6816 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
6818 wxPyEndAllowThreads(__tstate
);
6819 if (PyErr_Occurred()) SWIG_fail
;
6822 resultobj
= SWIG_From_double((double)(result
));
6830 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6831 PyObject
*resultobj
;
6832 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6833 wxPoint2D
*arg2
= 0 ;
6836 PyObject
* obj0
= 0 ;
6837 PyObject
* obj1
= 0 ;
6839 (char *) "self",(char *) "pt", NULL
6842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
6843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6844 if (SWIG_arg_fail(1)) SWIG_fail
;
6847 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6851 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
6853 wxPyEndAllowThreads(__tstate
);
6854 if (PyErr_Occurred()) SWIG_fail
;
6857 resultobj
= SWIG_From_double((double)(result
));
6865 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6866 PyObject
*resultobj
;
6867 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6868 wxPoint2D
*arg2
= 0 ;
6871 PyObject
* obj0
= 0 ;
6872 PyObject
* obj1
= 0 ;
6874 (char *) "self",(char *) "vec", NULL
6877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6879 if (SWIG_arg_fail(1)) SWIG_fail
;
6882 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6886 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
6888 wxPyEndAllowThreads(__tstate
);
6889 if (PyErr_Occurred()) SWIG_fail
;
6892 resultobj
= SWIG_From_double((double)(result
));
6900 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6901 PyObject
*resultobj
;
6902 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6903 wxPoint2D
*arg2
= 0 ;
6906 PyObject
* obj0
= 0 ;
6907 PyObject
* obj1
= 0 ;
6909 (char *) "self",(char *) "vec", NULL
6912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6914 if (SWIG_arg_fail(1)) SWIG_fail
;
6917 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6921 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
6923 wxPyEndAllowThreads(__tstate
);
6924 if (PyErr_Occurred()) SWIG_fail
;
6927 resultobj
= SWIG_From_double((double)(result
));
6935 static PyObject
*_wrap_Point2D___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6936 PyObject
*resultobj
;
6937 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6939 PyObject
* obj0
= 0 ;
6941 (char *) "self", NULL
6944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
6945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6946 if (SWIG_arg_fail(1)) SWIG_fail
;
6948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6949 result
= (arg1
)->operator -();
6951 wxPyEndAllowThreads(__tstate
);
6952 if (PyErr_Occurred()) SWIG_fail
;
6955 wxPoint2D
* resultptr
;
6956 resultptr
= new wxPoint2D((wxPoint2D
&)(result
));
6957 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
6965 static PyObject
*_wrap_Point2D___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6966 PyObject
*resultobj
;
6967 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6968 wxPoint2D
*arg2
= 0 ;
6971 PyObject
* obj0
= 0 ;
6972 PyObject
* obj1
= 0 ;
6974 (char *) "self",(char *) "pt", NULL
6977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
6978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6979 if (SWIG_arg_fail(1)) SWIG_fail
;
6982 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6987 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
6988 result
= (wxPoint2D
*) &_result_ref
;
6991 wxPyEndAllowThreads(__tstate
);
6992 if (PyErr_Occurred()) SWIG_fail
;
6994 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7001 static PyObject
*_wrap_Point2D___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7002 PyObject
*resultobj
;
7003 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7004 wxPoint2D
*arg2
= 0 ;
7007 PyObject
* obj0
= 0 ;
7008 PyObject
* obj1
= 0 ;
7010 (char *) "self",(char *) "pt", NULL
7013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
7014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7015 if (SWIG_arg_fail(1)) SWIG_fail
;
7018 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7023 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
7024 result
= (wxPoint2D
*) &_result_ref
;
7027 wxPyEndAllowThreads(__tstate
);
7028 if (PyErr_Occurred()) SWIG_fail
;
7030 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7037 static PyObject
*_wrap_Point2D___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7038 PyObject
*resultobj
;
7039 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7040 wxPoint2D
*arg2
= 0 ;
7043 PyObject
* obj0
= 0 ;
7044 PyObject
* obj1
= 0 ;
7046 (char *) "self",(char *) "pt", NULL
7049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
7050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7051 if (SWIG_arg_fail(1)) SWIG_fail
;
7054 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7059 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
7060 result
= (wxPoint2D
*) &_result_ref
;
7063 wxPyEndAllowThreads(__tstate
);
7064 if (PyErr_Occurred()) SWIG_fail
;
7066 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7073 static PyObject
*_wrap_Point2D___idiv__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7074 PyObject
*resultobj
;
7075 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7076 wxPoint2D
*arg2
= 0 ;
7079 PyObject
* obj0
= 0 ;
7080 PyObject
* obj1
= 0 ;
7082 (char *) "self",(char *) "pt", NULL
7085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
7086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7087 if (SWIG_arg_fail(1)) SWIG_fail
;
7090 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7095 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
7096 result
= (wxPoint2D
*) &_result_ref
;
7099 wxPyEndAllowThreads(__tstate
);
7100 if (PyErr_Occurred()) SWIG_fail
;
7102 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7109 static PyObject
*_wrap_Point2D___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7110 PyObject
*resultobj
;
7111 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7112 wxPoint2D
*arg2
= 0 ;
7115 PyObject
* obj0
= 0 ;
7116 PyObject
* obj1
= 0 ;
7118 (char *) "self",(char *) "pt", NULL
7121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7123 if (SWIG_arg_fail(1)) SWIG_fail
;
7126 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7130 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
7132 wxPyEndAllowThreads(__tstate
);
7133 if (PyErr_Occurred()) SWIG_fail
;
7136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7144 static PyObject
*_wrap_Point2D___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7145 PyObject
*resultobj
;
7146 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7147 wxPoint2D
*arg2
= 0 ;
7150 PyObject
* obj0
= 0 ;
7151 PyObject
* obj1
= 0 ;
7153 (char *) "self",(char *) "pt", NULL
7156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7158 if (SWIG_arg_fail(1)) SWIG_fail
;
7161 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7165 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
7167 wxPyEndAllowThreads(__tstate
);
7168 if (PyErr_Occurred()) SWIG_fail
;
7171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7179 static PyObject
*_wrap_Point2D_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7180 PyObject
*resultobj
;
7181 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7183 PyObject
* obj0
= 0 ;
7184 PyObject
* obj1
= 0 ;
7186 (char *) "self",(char *) "m_x", NULL
7189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7191 if (SWIG_arg_fail(1)) SWIG_fail
;
7193 arg2
= (double)(SWIG_As_double(obj1
));
7194 if (SWIG_arg_fail(2)) SWIG_fail
;
7196 if (arg1
) (arg1
)->m_x
= arg2
;
7198 Py_INCREF(Py_None
); resultobj
= Py_None
;
7205 static PyObject
*_wrap_Point2D_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7206 PyObject
*resultobj
;
7207 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7209 PyObject
* obj0
= 0 ;
7211 (char *) "self", NULL
7214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
7215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7216 if (SWIG_arg_fail(1)) SWIG_fail
;
7217 result
= (double) ((arg1
)->m_x
);
7220 resultobj
= SWIG_From_double((double)(result
));
7228 static PyObject
*_wrap_Point2D_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7229 PyObject
*resultobj
;
7230 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7232 PyObject
* obj0
= 0 ;
7233 PyObject
* obj1
= 0 ;
7235 (char *) "self",(char *) "m_y", NULL
7238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7240 if (SWIG_arg_fail(1)) SWIG_fail
;
7242 arg2
= (double)(SWIG_As_double(obj1
));
7243 if (SWIG_arg_fail(2)) SWIG_fail
;
7245 if (arg1
) (arg1
)->m_y
= arg2
;
7247 Py_INCREF(Py_None
); resultobj
= Py_None
;
7254 static PyObject
*_wrap_Point2D_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7255 PyObject
*resultobj
;
7256 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7258 PyObject
* obj0
= 0 ;
7260 (char *) "self", NULL
7263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
7264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7265 if (SWIG_arg_fail(1)) SWIG_fail
;
7266 result
= (double) ((arg1
)->m_y
);
7269 resultobj
= SWIG_From_double((double)(result
));
7277 static PyObject
*_wrap_Point2D_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7278 PyObject
*resultobj
;
7279 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7280 double arg2
= (double) 0 ;
7281 double arg3
= (double) 0 ;
7282 PyObject
* obj0
= 0 ;
7283 PyObject
* obj1
= 0 ;
7284 PyObject
* obj2
= 0 ;
7286 (char *) "self",(char *) "x",(char *) "y", NULL
7289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7291 if (SWIG_arg_fail(1)) SWIG_fail
;
7294 arg2
= (double)(SWIG_As_double(obj1
));
7295 if (SWIG_arg_fail(2)) SWIG_fail
;
7300 arg3
= (double)(SWIG_As_double(obj2
));
7301 if (SWIG_arg_fail(3)) SWIG_fail
;
7305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7306 wxPoint2D_Set(arg1
,arg2
,arg3
);
7308 wxPyEndAllowThreads(__tstate
);
7309 if (PyErr_Occurred()) SWIG_fail
;
7311 Py_INCREF(Py_None
); resultobj
= Py_None
;
7318 static PyObject
*_wrap_Point2D_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7319 PyObject
*resultobj
;
7320 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7322 PyObject
* obj0
= 0 ;
7324 (char *) "self", NULL
7327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
7328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7329 if (SWIG_arg_fail(1)) SWIG_fail
;
7331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7332 result
= (PyObject
*)wxPoint2D_Get(arg1
);
7334 wxPyEndAllowThreads(__tstate
);
7335 if (PyErr_Occurred()) SWIG_fail
;
7344 static PyObject
* Point2D_swigregister(PyObject
*, PyObject
*args
) {
7346 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7347 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
7349 return Py_BuildValue((char *)"");
7351 static int _wrap_DefaultPosition_set(PyObject
*) {
7352 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
7357 static PyObject
*_wrap_DefaultPosition_get(void) {
7360 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
7365 static int _wrap_DefaultSize_set(PyObject
*) {
7366 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
7371 static PyObject
*_wrap_DefaultSize_get(void) {
7374 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
7379 static PyObject
*_wrap_new_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7380 PyObject
*resultobj
;
7381 PyObject
*arg1
= (PyObject
*) 0 ;
7382 wxPyInputStream
*result
;
7383 PyObject
* obj0
= 0 ;
7388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
7391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7392 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
7394 wxPyEndAllowThreads(__tstate
);
7395 if (PyErr_Occurred()) SWIG_fail
;
7397 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
7404 static PyObject
*_wrap_delete_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7405 PyObject
*resultobj
;
7406 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7407 PyObject
* obj0
= 0 ;
7409 (char *) "self", NULL
7412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_InputStream",kwnames
,&obj0
)) goto fail
;
7413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7414 if (SWIG_arg_fail(1)) SWIG_fail
;
7416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7419 wxPyEndAllowThreads(__tstate
);
7420 if (PyErr_Occurred()) SWIG_fail
;
7422 Py_INCREF(Py_None
); resultobj
= Py_None
;
7429 static PyObject
*_wrap_InputStream_close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7430 PyObject
*resultobj
;
7431 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7432 PyObject
* obj0
= 0 ;
7434 (char *) "self", NULL
7437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
7438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7439 if (SWIG_arg_fail(1)) SWIG_fail
;
7441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7444 wxPyEndAllowThreads(__tstate
);
7445 if (PyErr_Occurred()) SWIG_fail
;
7447 Py_INCREF(Py_None
); resultobj
= Py_None
;
7454 static PyObject
*_wrap_InputStream_flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7455 PyObject
*resultobj
;
7456 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7457 PyObject
* obj0
= 0 ;
7459 (char *) "self", NULL
7462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
7463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7464 if (SWIG_arg_fail(1)) SWIG_fail
;
7466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7469 wxPyEndAllowThreads(__tstate
);
7470 if (PyErr_Occurred()) SWIG_fail
;
7472 Py_INCREF(Py_None
); resultobj
= Py_None
;
7479 static PyObject
*_wrap_InputStream_eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7480 PyObject
*resultobj
;
7481 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7483 PyObject
* obj0
= 0 ;
7485 (char *) "self", NULL
7488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
7489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7490 if (SWIG_arg_fail(1)) SWIG_fail
;
7492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7493 result
= (bool)(arg1
)->eof();
7495 wxPyEndAllowThreads(__tstate
);
7496 if (PyErr_Occurred()) SWIG_fail
;
7499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7507 static PyObject
*_wrap_InputStream_read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7508 PyObject
*resultobj
;
7509 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7510 int arg2
= (int) -1 ;
7512 PyObject
* obj0
= 0 ;
7513 PyObject
* obj1
= 0 ;
7515 (char *) "self",(char *) "size", NULL
7518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
7519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7520 if (SWIG_arg_fail(1)) SWIG_fail
;
7523 arg2
= (int)(SWIG_As_int(obj1
));
7524 if (SWIG_arg_fail(2)) SWIG_fail
;
7528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7529 result
= (PyObject
*)(arg1
)->read(arg2
);
7531 wxPyEndAllowThreads(__tstate
);
7532 if (PyErr_Occurred()) SWIG_fail
;
7541 static PyObject
*_wrap_InputStream_readline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7542 PyObject
*resultobj
;
7543 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7544 int arg2
= (int) -1 ;
7546 PyObject
* obj0
= 0 ;
7547 PyObject
* obj1
= 0 ;
7549 (char *) "self",(char *) "size", NULL
7552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
7553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7554 if (SWIG_arg_fail(1)) SWIG_fail
;
7557 arg2
= (int)(SWIG_As_int(obj1
));
7558 if (SWIG_arg_fail(2)) SWIG_fail
;
7562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7563 result
= (PyObject
*)(arg1
)->readline(arg2
);
7565 wxPyEndAllowThreads(__tstate
);
7566 if (PyErr_Occurred()) SWIG_fail
;
7575 static PyObject
*_wrap_InputStream_readlines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7576 PyObject
*resultobj
;
7577 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7578 int arg2
= (int) -1 ;
7580 PyObject
* obj0
= 0 ;
7581 PyObject
* obj1
= 0 ;
7583 (char *) "self",(char *) "sizehint", NULL
7586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
7587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7588 if (SWIG_arg_fail(1)) SWIG_fail
;
7591 arg2
= (int)(SWIG_As_int(obj1
));
7592 if (SWIG_arg_fail(2)) SWIG_fail
;
7596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7597 result
= (PyObject
*)(arg1
)->readlines(arg2
);
7599 wxPyEndAllowThreads(__tstate
);
7600 if (PyErr_Occurred()) SWIG_fail
;
7609 static PyObject
*_wrap_InputStream_seek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7610 PyObject
*resultobj
;
7611 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7613 int arg3
= (int) 0 ;
7614 PyObject
* obj0
= 0 ;
7615 PyObject
* obj1
= 0 ;
7616 PyObject
* obj2
= 0 ;
7618 (char *) "self",(char *) "offset",(char *) "whence", NULL
7621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7623 if (SWIG_arg_fail(1)) SWIG_fail
;
7625 arg2
= (int)(SWIG_As_int(obj1
));
7626 if (SWIG_arg_fail(2)) SWIG_fail
;
7630 arg3
= (int)(SWIG_As_int(obj2
));
7631 if (SWIG_arg_fail(3)) SWIG_fail
;
7635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7636 (arg1
)->seek(arg2
,arg3
);
7638 wxPyEndAllowThreads(__tstate
);
7639 if (PyErr_Occurred()) SWIG_fail
;
7641 Py_INCREF(Py_None
); resultobj
= Py_None
;
7648 static PyObject
*_wrap_InputStream_tell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7649 PyObject
*resultobj
;
7650 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7652 PyObject
* obj0
= 0 ;
7654 (char *) "self", NULL
7657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
7658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7659 if (SWIG_arg_fail(1)) SWIG_fail
;
7661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7662 result
= (int)(arg1
)->tell();
7664 wxPyEndAllowThreads(__tstate
);
7665 if (PyErr_Occurred()) SWIG_fail
;
7668 resultobj
= SWIG_From_int((int)(result
));
7676 static PyObject
*_wrap_InputStream_Peek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7677 PyObject
*resultobj
;
7678 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7680 PyObject
* obj0
= 0 ;
7682 (char *) "self", NULL
7685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
7686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7687 if (SWIG_arg_fail(1)) SWIG_fail
;
7689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7690 result
= (char)(arg1
)->Peek();
7692 wxPyEndAllowThreads(__tstate
);
7693 if (PyErr_Occurred()) SWIG_fail
;
7696 resultobj
= SWIG_From_char((char)(result
));
7704 static PyObject
*_wrap_InputStream_GetC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7705 PyObject
*resultobj
;
7706 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7708 PyObject
* obj0
= 0 ;
7710 (char *) "self", NULL
7713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
7714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7715 if (SWIG_arg_fail(1)) SWIG_fail
;
7717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7718 result
= (char)(arg1
)->GetC();
7720 wxPyEndAllowThreads(__tstate
);
7721 if (PyErr_Occurred()) SWIG_fail
;
7724 resultobj
= SWIG_From_char((char)(result
));
7732 static PyObject
*_wrap_InputStream_LastRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7733 PyObject
*resultobj
;
7734 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7736 PyObject
* obj0
= 0 ;
7738 (char *) "self", NULL
7741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
7742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7743 if (SWIG_arg_fail(1)) SWIG_fail
;
7745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7746 result
= (size_t)(arg1
)->LastRead();
7748 wxPyEndAllowThreads(__tstate
);
7749 if (PyErr_Occurred()) SWIG_fail
;
7752 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
7760 static PyObject
*_wrap_InputStream_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7761 PyObject
*resultobj
;
7762 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7764 PyObject
* obj0
= 0 ;
7766 (char *) "self", NULL
7769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
7770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7771 if (SWIG_arg_fail(1)) SWIG_fail
;
7773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7774 result
= (bool)(arg1
)->CanRead();
7776 wxPyEndAllowThreads(__tstate
);
7777 if (PyErr_Occurred()) SWIG_fail
;
7780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7788 static PyObject
*_wrap_InputStream_Eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7789 PyObject
*resultobj
;
7790 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7792 PyObject
* obj0
= 0 ;
7794 (char *) "self", NULL
7797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
7798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7799 if (SWIG_arg_fail(1)) SWIG_fail
;
7801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7802 result
= (bool)(arg1
)->Eof();
7804 wxPyEndAllowThreads(__tstate
);
7805 if (PyErr_Occurred()) SWIG_fail
;
7808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7816 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7817 PyObject
*resultobj
;
7818 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7821 PyObject
* obj0
= 0 ;
7822 PyObject
* obj1
= 0 ;
7824 (char *) "self",(char *) "c", NULL
7827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
7828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7829 if (SWIG_arg_fail(1)) SWIG_fail
;
7831 arg2
= (char)(SWIG_As_char(obj1
));
7832 if (SWIG_arg_fail(2)) SWIG_fail
;
7835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7836 result
= (bool)(arg1
)->Ungetch(arg2
);
7838 wxPyEndAllowThreads(__tstate
);
7839 if (PyErr_Occurred()) SWIG_fail
;
7842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7850 static PyObject
*_wrap_InputStream_SeekI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7851 PyObject
*resultobj
;
7852 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7854 wxSeekMode arg3
= (wxSeekMode
) wxFromStart
;
7856 PyObject
* obj0
= 0 ;
7857 PyObject
* obj1
= 0 ;
7858 PyObject
* obj2
= 0 ;
7860 (char *) "self",(char *) "pos",(char *) "mode", NULL
7863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7865 if (SWIG_arg_fail(1)) SWIG_fail
;
7867 arg2
= (long)(SWIG_As_long(obj1
));
7868 if (SWIG_arg_fail(2)) SWIG_fail
;
7872 arg3
= (wxSeekMode
)(SWIG_As_int(obj2
));
7873 if (SWIG_arg_fail(3)) SWIG_fail
;
7877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7878 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
7880 wxPyEndAllowThreads(__tstate
);
7881 if (PyErr_Occurred()) SWIG_fail
;
7884 resultobj
= SWIG_From_long((long)(result
));
7892 static PyObject
*_wrap_InputStream_TellI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7893 PyObject
*resultobj
;
7894 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7896 PyObject
* obj0
= 0 ;
7898 (char *) "self", NULL
7901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
7902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7903 if (SWIG_arg_fail(1)) SWIG_fail
;
7905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7906 result
= (long)(arg1
)->TellI();
7908 wxPyEndAllowThreads(__tstate
);
7909 if (PyErr_Occurred()) SWIG_fail
;
7912 resultobj
= SWIG_From_long((long)(result
));
7920 static PyObject
* InputStream_swigregister(PyObject
*, PyObject
*args
) {
7922 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7923 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
7925 return Py_BuildValue((char *)"");
7927 static PyObject
*_wrap_OutputStream_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7928 PyObject
*resultobj
;
7929 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
7930 PyObject
*arg2
= (PyObject
*) 0 ;
7931 PyObject
* obj0
= 0 ;
7932 PyObject
* obj1
= 0 ;
7934 (char *) "self",(char *) "obj", NULL
7937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
7938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxOutputStream
, SWIG_POINTER_EXCEPTION
| 0);
7939 if (SWIG_arg_fail(1)) SWIG_fail
;
7942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7943 wxOutputStream_write(arg1
,arg2
);
7945 wxPyEndAllowThreads(__tstate
);
7946 if (PyErr_Occurred()) SWIG_fail
;
7948 Py_INCREF(Py_None
); resultobj
= Py_None
;
7955 static PyObject
* OutputStream_swigregister(PyObject
*, PyObject
*args
) {
7957 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7958 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
7960 return Py_BuildValue((char *)"");
7962 static PyObject
*_wrap_new_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7963 PyObject
*resultobj
;
7964 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
7965 wxString
*arg2
= 0 ;
7966 wxString
*arg3
= 0 ;
7967 wxString
*arg4
= 0 ;
7970 wxPyInputStream
*temp1
;
7971 bool temp2
= false ;
7972 bool temp3
= false ;
7973 bool temp4
= false ;
7974 PyObject
* obj0
= 0 ;
7975 PyObject
* obj1
= 0 ;
7976 PyObject
* obj2
= 0 ;
7977 PyObject
* obj3
= 0 ;
7978 PyObject
* obj4
= 0 ;
7980 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
7983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7985 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
7986 arg1
= wxPyCBInputStream_copy((wxPyCBInputStream
*)temp1
->m_wxis
);
7988 PyErr_Clear(); // clear the failure of the wxPyConvert above
7989 arg1
= wxPyCBInputStream_create(obj0
, true);
7991 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
7997 arg2
= wxString_in_helper(obj1
);
7998 if (arg2
== NULL
) SWIG_fail
;
8002 arg3
= wxString_in_helper(obj2
);
8003 if (arg3
== NULL
) SWIG_fail
;
8007 arg4
= wxString_in_helper(obj3
);
8008 if (arg4
== NULL
) SWIG_fail
;
8013 SWIG_Python_ConvertPtr(obj4
, (void **)&argp
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
);
8014 if (SWIG_arg_fail(5)) SWIG_fail
;
8016 SWIG_null_ref("wxDateTime");
8018 if (SWIG_arg_fail(5)) SWIG_fail
;
8022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8023 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
8025 wxPyEndAllowThreads(__tstate
);
8026 if (PyErr_Occurred()) SWIG_fail
;
8029 resultobj
= wxPyMake_wxObject(result
, 1);
8061 static PyObject
*_wrap_delete_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8062 PyObject
*resultobj
;
8063 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8064 PyObject
* obj0
= 0 ;
8066 (char *) "self", NULL
8069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
8070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8071 if (SWIG_arg_fail(1)) SWIG_fail
;
8073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8076 wxPyEndAllowThreads(__tstate
);
8077 if (PyErr_Occurred()) SWIG_fail
;
8079 Py_INCREF(Py_None
); resultobj
= Py_None
;
8086 static PyObject
*_wrap_FSFile_GetStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8087 PyObject
*resultobj
;
8088 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8089 wxInputStream
*result
;
8090 PyObject
* obj0
= 0 ;
8092 (char *) "self", NULL
8095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
8096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8097 if (SWIG_arg_fail(1)) SWIG_fail
;
8099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8100 result
= (wxInputStream
*)(arg1
)->GetStream();
8102 wxPyEndAllowThreads(__tstate
);
8103 if (PyErr_Occurred()) SWIG_fail
;
8106 wxPyInputStream
* _ptr
= NULL
;
8109 _ptr
= new wxPyInputStream(result
);
8111 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
8119 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8120 PyObject
*resultobj
;
8121 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8123 PyObject
* obj0
= 0 ;
8125 (char *) "self", NULL
8128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
8129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8130 if (SWIG_arg_fail(1)) SWIG_fail
;
8132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8134 wxString
const &_result_ref
= (arg1
)->GetMimeType();
8135 result
= (wxString
*) &_result_ref
;
8138 wxPyEndAllowThreads(__tstate
);
8139 if (PyErr_Occurred()) SWIG_fail
;
8143 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8145 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8154 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8155 PyObject
*resultobj
;
8156 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8158 PyObject
* obj0
= 0 ;
8160 (char *) "self", NULL
8163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
8164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8165 if (SWIG_arg_fail(1)) SWIG_fail
;
8167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8169 wxString
const &_result_ref
= (arg1
)->GetLocation();
8170 result
= (wxString
*) &_result_ref
;
8173 wxPyEndAllowThreads(__tstate
);
8174 if (PyErr_Occurred()) SWIG_fail
;
8178 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8180 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8189 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8190 PyObject
*resultobj
;
8191 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8193 PyObject
* obj0
= 0 ;
8195 (char *) "self", NULL
8198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
8199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8200 if (SWIG_arg_fail(1)) SWIG_fail
;
8202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8204 wxString
const &_result_ref
= (arg1
)->GetAnchor();
8205 result
= (wxString
*) &_result_ref
;
8208 wxPyEndAllowThreads(__tstate
);
8209 if (PyErr_Occurred()) SWIG_fail
;
8213 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8215 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8224 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8225 PyObject
*resultobj
;
8226 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8228 PyObject
* obj0
= 0 ;
8230 (char *) "self", NULL
8233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
8234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8235 if (SWIG_arg_fail(1)) SWIG_fail
;
8237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8238 result
= (arg1
)->GetModificationTime();
8240 wxPyEndAllowThreads(__tstate
);
8241 if (PyErr_Occurred()) SWIG_fail
;
8244 wxDateTime
* resultptr
;
8245 resultptr
= new wxDateTime((wxDateTime
&)(result
));
8246 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
8254 static PyObject
* FSFile_swigregister(PyObject
*, PyObject
*args
) {
8256 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8257 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
8259 return Py_BuildValue((char *)"");
8261 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8263 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8264 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
8266 return Py_BuildValue((char *)"");
8268 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8269 PyObject
*resultobj
;
8270 wxPyFileSystemHandler
*result
;
8275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
8277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8278 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
8280 wxPyEndAllowThreads(__tstate
);
8281 if (PyErr_Occurred()) SWIG_fail
;
8283 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
8290 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8291 PyObject
*resultobj
;
8292 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8293 PyObject
*arg2
= (PyObject
*) 0 ;
8294 PyObject
*arg3
= (PyObject
*) 0 ;
8295 PyObject
* obj0
= 0 ;
8296 PyObject
* obj1
= 0 ;
8297 PyObject
* obj2
= 0 ;
8299 (char *) "self",(char *) "self",(char *) "_class", NULL
8302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8304 if (SWIG_arg_fail(1)) SWIG_fail
;
8308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8309 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8311 wxPyEndAllowThreads(__tstate
);
8312 if (PyErr_Occurred()) SWIG_fail
;
8314 Py_INCREF(Py_None
); resultobj
= Py_None
;
8321 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8322 PyObject
*resultobj
;
8323 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8324 wxString
*arg2
= 0 ;
8326 bool temp2
= false ;
8327 PyObject
* obj0
= 0 ;
8328 PyObject
* obj1
= 0 ;
8330 (char *) "self",(char *) "location", NULL
8333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
8334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8335 if (SWIG_arg_fail(1)) SWIG_fail
;
8337 arg2
= wxString_in_helper(obj1
);
8338 if (arg2
== NULL
) SWIG_fail
;
8342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8343 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
8345 wxPyEndAllowThreads(__tstate
);
8346 if (PyErr_Occurred()) SWIG_fail
;
8349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8365 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8366 PyObject
*resultobj
;
8367 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8368 wxFileSystem
*arg2
= 0 ;
8369 wxString
*arg3
= 0 ;
8371 bool temp3
= false ;
8372 PyObject
* obj0
= 0 ;
8373 PyObject
* obj1
= 0 ;
8374 PyObject
* obj2
= 0 ;
8376 (char *) "self",(char *) "fs",(char *) "location", NULL
8379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8381 if (SWIG_arg_fail(1)) SWIG_fail
;
8383 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8384 if (SWIG_arg_fail(2)) SWIG_fail
;
8386 SWIG_null_ref("wxFileSystem");
8388 if (SWIG_arg_fail(2)) SWIG_fail
;
8391 arg3
= wxString_in_helper(obj2
);
8392 if (arg3
== NULL
) SWIG_fail
;
8396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8397 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8399 wxPyEndAllowThreads(__tstate
);
8400 if (PyErr_Occurred()) SWIG_fail
;
8403 resultobj
= wxPyMake_wxObject(result
, 1);
8419 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8420 PyObject
*resultobj
;
8421 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8422 wxString
*arg2
= 0 ;
8423 int arg3
= (int) 0 ;
8425 bool temp2
= false ;
8426 PyObject
* obj0
= 0 ;
8427 PyObject
* obj1
= 0 ;
8428 PyObject
* obj2
= 0 ;
8430 (char *) "self",(char *) "spec",(char *) "flags", NULL
8433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8435 if (SWIG_arg_fail(1)) SWIG_fail
;
8437 arg2
= wxString_in_helper(obj1
);
8438 if (arg2
== NULL
) SWIG_fail
;
8443 arg3
= (int)(SWIG_As_int(obj2
));
8444 if (SWIG_arg_fail(3)) SWIG_fail
;
8448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8449 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8451 wxPyEndAllowThreads(__tstate
);
8452 if (PyErr_Occurred()) SWIG_fail
;
8456 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8458 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8475 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8476 PyObject
*resultobj
;
8477 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8479 PyObject
* obj0
= 0 ;
8481 (char *) "self", NULL
8484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8486 if (SWIG_arg_fail(1)) SWIG_fail
;
8488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8489 result
= (arg1
)->FindNext();
8491 wxPyEndAllowThreads(__tstate
);
8492 if (PyErr_Occurred()) SWIG_fail
;
8496 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8498 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8507 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8508 PyObject
*resultobj
;
8509 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8510 wxString
*arg2
= 0 ;
8512 bool temp2
= false ;
8513 PyObject
* obj0
= 0 ;
8514 PyObject
* obj1
= 0 ;
8516 (char *) "self",(char *) "location", NULL
8519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
8520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8521 if (SWIG_arg_fail(1)) SWIG_fail
;
8523 arg2
= wxString_in_helper(obj1
);
8524 if (arg2
== NULL
) SWIG_fail
;
8528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8529 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
8531 wxPyEndAllowThreads(__tstate
);
8532 if (PyErr_Occurred()) SWIG_fail
;
8536 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8538 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8555 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8556 PyObject
*resultobj
;
8557 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8558 wxString
*arg2
= 0 ;
8560 bool temp2
= false ;
8561 PyObject
* obj0
= 0 ;
8562 PyObject
* obj1
= 0 ;
8564 (char *) "self",(char *) "location", NULL
8567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8569 if (SWIG_arg_fail(1)) SWIG_fail
;
8571 arg2
= wxString_in_helper(obj1
);
8572 if (arg2
== NULL
) SWIG_fail
;
8576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8577 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
8579 wxPyEndAllowThreads(__tstate
);
8580 if (PyErr_Occurred()) SWIG_fail
;
8584 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8586 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8603 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8604 PyObject
*resultobj
;
8605 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8606 wxString
*arg2
= 0 ;
8608 bool temp2
= false ;
8609 PyObject
* obj0
= 0 ;
8610 PyObject
* obj1
= 0 ;
8612 (char *) "self",(char *) "location", NULL
8615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
8616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8617 if (SWIG_arg_fail(1)) SWIG_fail
;
8619 arg2
= wxString_in_helper(obj1
);
8620 if (arg2
== NULL
) SWIG_fail
;
8624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8625 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
8627 wxPyEndAllowThreads(__tstate
);
8628 if (PyErr_Occurred()) SWIG_fail
;
8632 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8634 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8651 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8652 PyObject
*resultobj
;
8653 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8654 wxString
*arg2
= 0 ;
8656 bool temp2
= false ;
8657 PyObject
* obj0
= 0 ;
8658 PyObject
* obj1
= 0 ;
8660 (char *) "self",(char *) "location", NULL
8663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8665 if (SWIG_arg_fail(1)) SWIG_fail
;
8667 arg2
= wxString_in_helper(obj1
);
8668 if (arg2
== NULL
) SWIG_fail
;
8672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8673 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
8675 wxPyEndAllowThreads(__tstate
);
8676 if (PyErr_Occurred()) SWIG_fail
;
8680 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8682 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8699 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8700 PyObject
*resultobj
;
8701 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8702 wxString
*arg2
= 0 ;
8704 bool temp2
= false ;
8705 PyObject
* obj0
= 0 ;
8706 PyObject
* obj1
= 0 ;
8708 (char *) "self",(char *) "location", NULL
8711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
8712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8713 if (SWIG_arg_fail(1)) SWIG_fail
;
8715 arg2
= wxString_in_helper(obj1
);
8716 if (arg2
== NULL
) SWIG_fail
;
8720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8721 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
8723 wxPyEndAllowThreads(__tstate
);
8724 if (PyErr_Occurred()) SWIG_fail
;
8728 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8730 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8747 static PyObject
* FileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8749 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8750 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
8752 return Py_BuildValue((char *)"");
8754 static PyObject
*_wrap_new_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8755 PyObject
*resultobj
;
8756 wxFileSystem
*result
;
8761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
8763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8764 result
= (wxFileSystem
*)new wxFileSystem();
8766 wxPyEndAllowThreads(__tstate
);
8767 if (PyErr_Occurred()) SWIG_fail
;
8770 resultobj
= wxPyMake_wxObject(result
, 1);
8778 static PyObject
*_wrap_delete_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8779 PyObject
*resultobj
;
8780 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8781 PyObject
* obj0
= 0 ;
8783 (char *) "self", NULL
8786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
8787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8788 if (SWIG_arg_fail(1)) SWIG_fail
;
8790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8793 wxPyEndAllowThreads(__tstate
);
8794 if (PyErr_Occurred()) SWIG_fail
;
8796 Py_INCREF(Py_None
); resultobj
= Py_None
;
8803 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8804 PyObject
*resultobj
;
8805 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8806 wxString
*arg2
= 0 ;
8807 bool arg3
= (bool) false ;
8808 bool temp2
= false ;
8809 PyObject
* obj0
= 0 ;
8810 PyObject
* obj1
= 0 ;
8811 PyObject
* obj2
= 0 ;
8813 (char *) "self",(char *) "location",(char *) "is_dir", NULL
8816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8818 if (SWIG_arg_fail(1)) SWIG_fail
;
8820 arg2
= wxString_in_helper(obj1
);
8821 if (arg2
== NULL
) SWIG_fail
;
8826 arg3
= (bool)(SWIG_As_bool(obj2
));
8827 if (SWIG_arg_fail(3)) SWIG_fail
;
8831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8832 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
8834 wxPyEndAllowThreads(__tstate
);
8835 if (PyErr_Occurred()) SWIG_fail
;
8837 Py_INCREF(Py_None
); resultobj
= Py_None
;
8852 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8853 PyObject
*resultobj
;
8854 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8856 PyObject
* obj0
= 0 ;
8858 (char *) "self", NULL
8861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
8862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8863 if (SWIG_arg_fail(1)) SWIG_fail
;
8865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8866 result
= (arg1
)->GetPath();
8868 wxPyEndAllowThreads(__tstate
);
8869 if (PyErr_Occurred()) SWIG_fail
;
8873 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8875 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8884 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8885 PyObject
*resultobj
;
8886 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8887 wxString
*arg2
= 0 ;
8889 bool temp2
= false ;
8890 PyObject
* obj0
= 0 ;
8891 PyObject
* obj1
= 0 ;
8893 (char *) "self",(char *) "location", NULL
8896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8898 if (SWIG_arg_fail(1)) SWIG_fail
;
8900 arg2
= wxString_in_helper(obj1
);
8901 if (arg2
== NULL
) SWIG_fail
;
8905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8906 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
8908 wxPyEndAllowThreads(__tstate
);
8909 if (PyErr_Occurred()) SWIG_fail
;
8912 resultobj
= wxPyMake_wxObject(result
, 1);
8928 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8929 PyObject
*resultobj
;
8930 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8931 wxString
*arg2
= 0 ;
8932 int arg3
= (int) 0 ;
8934 bool temp2
= false ;
8935 PyObject
* obj0
= 0 ;
8936 PyObject
* obj1
= 0 ;
8937 PyObject
* obj2
= 0 ;
8939 (char *) "self",(char *) "spec",(char *) "flags", NULL
8942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8944 if (SWIG_arg_fail(1)) SWIG_fail
;
8946 arg2
= wxString_in_helper(obj1
);
8947 if (arg2
== NULL
) SWIG_fail
;
8952 arg3
= (int)(SWIG_As_int(obj2
));
8953 if (SWIG_arg_fail(3)) SWIG_fail
;
8957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8958 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8960 wxPyEndAllowThreads(__tstate
);
8961 if (PyErr_Occurred()) SWIG_fail
;
8965 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8967 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8984 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8985 PyObject
*resultobj
;
8986 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8988 PyObject
* obj0
= 0 ;
8990 (char *) "self", NULL
8993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
8994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8995 if (SWIG_arg_fail(1)) SWIG_fail
;
8997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8998 result
= (arg1
)->FindNext();
9000 wxPyEndAllowThreads(__tstate
);
9001 if (PyErr_Occurred()) SWIG_fail
;
9005 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9007 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9016 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9017 PyObject
*resultobj
;
9018 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
9019 PyObject
* obj0
= 0 ;
9021 (char *) "handler", NULL
9024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
9025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
9026 if (SWIG_arg_fail(1)) SWIG_fail
;
9028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9029 wxFileSystem::AddHandler(arg1
);
9031 wxPyEndAllowThreads(__tstate
);
9032 if (PyErr_Occurred()) SWIG_fail
;
9034 Py_INCREF(Py_None
); resultobj
= Py_None
;
9041 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9042 PyObject
*resultobj
;
9047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
9049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9050 wxFileSystem::CleanUpHandlers();
9052 wxPyEndAllowThreads(__tstate
);
9053 if (PyErr_Occurred()) SWIG_fail
;
9055 Py_INCREF(Py_None
); resultobj
= Py_None
;
9062 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9063 PyObject
*resultobj
;
9064 wxString
*arg1
= 0 ;
9066 bool temp1
= false ;
9067 PyObject
* obj0
= 0 ;
9069 (char *) "filename", NULL
9072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
9074 arg1
= wxString_in_helper(obj0
);
9075 if (arg1
== NULL
) SWIG_fail
;
9079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9080 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
9082 wxPyEndAllowThreads(__tstate
);
9083 if (PyErr_Occurred()) SWIG_fail
;
9087 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9089 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9106 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9107 PyObject
*resultobj
;
9108 wxString
*arg1
= 0 ;
9110 bool temp1
= false ;
9111 PyObject
* obj0
= 0 ;
9113 (char *) "url", NULL
9116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
9118 arg1
= wxString_in_helper(obj0
);
9119 if (arg1
== NULL
) SWIG_fail
;
9123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9124 result
= FileSystem_URLToFileName((wxString
const &)*arg1
);
9126 wxPyEndAllowThreads(__tstate
);
9127 if (PyErr_Occurred()) SWIG_fail
;
9131 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9133 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9150 static PyObject
* FileSystem_swigregister(PyObject
*, PyObject
*args
) {
9152 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9153 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
9155 return Py_BuildValue((char *)"");
9157 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9158 PyObject
*resultobj
;
9159 wxInternetFSHandler
*result
;
9164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
9166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9167 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
9169 wxPyEndAllowThreads(__tstate
);
9170 if (PyErr_Occurred()) SWIG_fail
;
9172 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
9179 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9180 PyObject
*resultobj
;
9181 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9182 wxString
*arg2
= 0 ;
9184 bool temp2
= false ;
9185 PyObject
* obj0
= 0 ;
9186 PyObject
* obj1
= 0 ;
9188 (char *) "self",(char *) "location", NULL
9191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9193 if (SWIG_arg_fail(1)) SWIG_fail
;
9195 arg2
= wxString_in_helper(obj1
);
9196 if (arg2
== NULL
) SWIG_fail
;
9200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9201 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9203 wxPyEndAllowThreads(__tstate
);
9204 if (PyErr_Occurred()) SWIG_fail
;
9207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9223 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9224 PyObject
*resultobj
;
9225 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9226 wxFileSystem
*arg2
= 0 ;
9227 wxString
*arg3
= 0 ;
9229 bool temp3
= false ;
9230 PyObject
* obj0
= 0 ;
9231 PyObject
* obj1
= 0 ;
9232 PyObject
* obj2
= 0 ;
9234 (char *) "self",(char *) "fs",(char *) "location", NULL
9237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9239 if (SWIG_arg_fail(1)) SWIG_fail
;
9241 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9242 if (SWIG_arg_fail(2)) SWIG_fail
;
9244 SWIG_null_ref("wxFileSystem");
9246 if (SWIG_arg_fail(2)) SWIG_fail
;
9249 arg3
= wxString_in_helper(obj2
);
9250 if (arg3
== NULL
) SWIG_fail
;
9254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9255 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9257 wxPyEndAllowThreads(__tstate
);
9258 if (PyErr_Occurred()) SWIG_fail
;
9261 resultobj
= wxPyMake_wxObject(result
, 1);
9277 static PyObject
* InternetFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9279 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9280 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
9282 return Py_BuildValue((char *)"");
9284 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9285 PyObject
*resultobj
;
9286 wxZipFSHandler
*result
;
9291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
9293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9294 result
= (wxZipFSHandler
*)new wxZipFSHandler();
9296 wxPyEndAllowThreads(__tstate
);
9297 if (PyErr_Occurred()) SWIG_fail
;
9299 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
9306 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9307 PyObject
*resultobj
;
9308 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9309 wxString
*arg2
= 0 ;
9311 bool temp2
= false ;
9312 PyObject
* obj0
= 0 ;
9313 PyObject
* obj1
= 0 ;
9315 (char *) "self",(char *) "location", NULL
9318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9320 if (SWIG_arg_fail(1)) SWIG_fail
;
9322 arg2
= wxString_in_helper(obj1
);
9323 if (arg2
== NULL
) SWIG_fail
;
9327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9328 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9330 wxPyEndAllowThreads(__tstate
);
9331 if (PyErr_Occurred()) SWIG_fail
;
9334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9350 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9351 PyObject
*resultobj
;
9352 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9353 wxFileSystem
*arg2
= 0 ;
9354 wxString
*arg3
= 0 ;
9356 bool temp3
= false ;
9357 PyObject
* obj0
= 0 ;
9358 PyObject
* obj1
= 0 ;
9359 PyObject
* obj2
= 0 ;
9361 (char *) "self",(char *) "fs",(char *) "location", NULL
9364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9366 if (SWIG_arg_fail(1)) SWIG_fail
;
9368 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9369 if (SWIG_arg_fail(2)) SWIG_fail
;
9371 SWIG_null_ref("wxFileSystem");
9373 if (SWIG_arg_fail(2)) SWIG_fail
;
9376 arg3
= wxString_in_helper(obj2
);
9377 if (arg3
== NULL
) SWIG_fail
;
9381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9382 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9384 wxPyEndAllowThreads(__tstate
);
9385 if (PyErr_Occurred()) SWIG_fail
;
9388 resultobj
= wxPyMake_wxObject(result
, 1);
9404 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9405 PyObject
*resultobj
;
9406 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9407 wxString
*arg2
= 0 ;
9408 int arg3
= (int) 0 ;
9410 bool temp2
= false ;
9411 PyObject
* obj0
= 0 ;
9412 PyObject
* obj1
= 0 ;
9413 PyObject
* obj2
= 0 ;
9415 (char *) "self",(char *) "spec",(char *) "flags", NULL
9418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9420 if (SWIG_arg_fail(1)) SWIG_fail
;
9422 arg2
= wxString_in_helper(obj1
);
9423 if (arg2
== NULL
) SWIG_fail
;
9428 arg3
= (int)(SWIG_As_int(obj2
));
9429 if (SWIG_arg_fail(3)) SWIG_fail
;
9433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9434 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9436 wxPyEndAllowThreads(__tstate
);
9437 if (PyErr_Occurred()) SWIG_fail
;
9441 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9443 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9460 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9461 PyObject
*resultobj
;
9462 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9464 PyObject
* obj0
= 0 ;
9466 (char *) "self", NULL
9469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9471 if (SWIG_arg_fail(1)) SWIG_fail
;
9473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9474 result
= (arg1
)->FindNext();
9476 wxPyEndAllowThreads(__tstate
);
9477 if (PyErr_Occurred()) SWIG_fail
;
9481 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9483 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9492 static PyObject
* ZipFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9494 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9495 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
9497 return Py_BuildValue((char *)"");
9499 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9500 PyObject
*resultobj
;
9501 wxString
*arg1
= 0 ;
9504 bool temp1
= false ;
9505 PyObject
* obj0
= 0 ;
9506 PyObject
* obj1
= 0 ;
9507 PyObject
* obj2
= 0 ;
9509 (char *) "filename",(char *) "image",(char *) "type", NULL
9512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9514 arg1
= wxString_in_helper(obj0
);
9515 if (arg1
== NULL
) SWIG_fail
;
9519 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
9520 if (SWIG_arg_fail(2)) SWIG_fail
;
9522 SWIG_null_ref("wxImage");
9524 if (SWIG_arg_fail(2)) SWIG_fail
;
9527 arg3
= (long)(SWIG_As_long(obj2
));
9528 if (SWIG_arg_fail(3)) SWIG_fail
;
9531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9532 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
9534 wxPyEndAllowThreads(__tstate
);
9535 if (PyErr_Occurred()) SWIG_fail
;
9537 Py_INCREF(Py_None
); resultobj
= Py_None
;
9552 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9553 PyObject
*resultobj
;
9554 wxString
*arg1
= 0 ;
9555 wxBitmap
*arg2
= 0 ;
9557 bool temp1
= false ;
9558 PyObject
* obj0
= 0 ;
9559 PyObject
* obj1
= 0 ;
9560 PyObject
* obj2
= 0 ;
9562 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
9565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9567 arg1
= wxString_in_helper(obj0
);
9568 if (arg1
== NULL
) SWIG_fail
;
9572 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
9573 if (SWIG_arg_fail(2)) SWIG_fail
;
9575 SWIG_null_ref("wxBitmap");
9577 if (SWIG_arg_fail(2)) SWIG_fail
;
9580 arg3
= (long)(SWIG_As_long(obj2
));
9581 if (SWIG_arg_fail(3)) SWIG_fail
;
9584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9585 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
9587 wxPyEndAllowThreads(__tstate
);
9588 if (PyErr_Occurred()) SWIG_fail
;
9590 Py_INCREF(Py_None
); resultobj
= Py_None
;
9605 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9606 PyObject
*resultobj
;
9607 wxString
*arg1
= 0 ;
9608 PyObject
*arg2
= (PyObject
*) 0 ;
9609 bool temp1
= false ;
9610 PyObject
* obj0
= 0 ;
9611 PyObject
* obj1
= 0 ;
9613 (char *) "filename",(char *) "data", NULL
9616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
9618 arg1
= wxString_in_helper(obj0
);
9619 if (arg1
== NULL
) SWIG_fail
;
9624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9625 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
9627 wxPyEndAllowThreads(__tstate
);
9628 if (PyErr_Occurred()) SWIG_fail
;
9630 Py_INCREF(Py_None
); resultobj
= Py_None
;
9645 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9646 PyObject
*resultobj
;
9647 wxMemoryFSHandler
*result
;
9652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
9654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9655 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
9657 wxPyEndAllowThreads(__tstate
);
9658 if (PyErr_Occurred()) SWIG_fail
;
9660 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
9667 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9668 PyObject
*resultobj
;
9669 wxString
*arg1
= 0 ;
9670 bool temp1
= false ;
9671 PyObject
* obj0
= 0 ;
9673 (char *) "filename", NULL
9676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
9678 arg1
= wxString_in_helper(obj0
);
9679 if (arg1
== NULL
) SWIG_fail
;
9683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9684 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
9686 wxPyEndAllowThreads(__tstate
);
9687 if (PyErr_Occurred()) SWIG_fail
;
9689 Py_INCREF(Py_None
); resultobj
= Py_None
;
9704 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9705 PyObject
*resultobj
;
9706 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9707 wxString
*arg2
= 0 ;
9709 bool temp2
= false ;
9710 PyObject
* obj0
= 0 ;
9711 PyObject
* obj1
= 0 ;
9713 (char *) "self",(char *) "location", NULL
9716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9718 if (SWIG_arg_fail(1)) SWIG_fail
;
9720 arg2
= wxString_in_helper(obj1
);
9721 if (arg2
== NULL
) SWIG_fail
;
9725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9726 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9728 wxPyEndAllowThreads(__tstate
);
9729 if (PyErr_Occurred()) SWIG_fail
;
9732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9748 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9749 PyObject
*resultobj
;
9750 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9751 wxFileSystem
*arg2
= 0 ;
9752 wxString
*arg3
= 0 ;
9754 bool temp3
= false ;
9755 PyObject
* obj0
= 0 ;
9756 PyObject
* obj1
= 0 ;
9757 PyObject
* obj2
= 0 ;
9759 (char *) "self",(char *) "fs",(char *) "location", NULL
9762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9764 if (SWIG_arg_fail(1)) SWIG_fail
;
9766 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9767 if (SWIG_arg_fail(2)) SWIG_fail
;
9769 SWIG_null_ref("wxFileSystem");
9771 if (SWIG_arg_fail(2)) SWIG_fail
;
9774 arg3
= wxString_in_helper(obj2
);
9775 if (arg3
== NULL
) SWIG_fail
;
9779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9780 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9782 wxPyEndAllowThreads(__tstate
);
9783 if (PyErr_Occurred()) SWIG_fail
;
9786 resultobj
= wxPyMake_wxObject(result
, 1);
9802 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9803 PyObject
*resultobj
;
9804 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9805 wxString
*arg2
= 0 ;
9806 int arg3
= (int) 0 ;
9808 bool temp2
= false ;
9809 PyObject
* obj0
= 0 ;
9810 PyObject
* obj1
= 0 ;
9811 PyObject
* obj2
= 0 ;
9813 (char *) "self",(char *) "spec",(char *) "flags", NULL
9816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9818 if (SWIG_arg_fail(1)) SWIG_fail
;
9820 arg2
= wxString_in_helper(obj1
);
9821 if (arg2
== NULL
) SWIG_fail
;
9826 arg3
= (int)(SWIG_As_int(obj2
));
9827 if (SWIG_arg_fail(3)) SWIG_fail
;
9831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9832 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9834 wxPyEndAllowThreads(__tstate
);
9835 if (PyErr_Occurred()) SWIG_fail
;
9839 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9841 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9858 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9859 PyObject
*resultobj
;
9860 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9862 PyObject
* obj0
= 0 ;
9864 (char *) "self", NULL
9867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9869 if (SWIG_arg_fail(1)) SWIG_fail
;
9871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9872 result
= (arg1
)->FindNext();
9874 wxPyEndAllowThreads(__tstate
);
9875 if (PyErr_Occurred()) SWIG_fail
;
9879 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9881 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9890 static PyObject
* MemoryFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9892 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9893 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
9895 return Py_BuildValue((char *)"");
9897 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9898 PyObject
*resultobj
;
9899 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9901 PyObject
* obj0
= 0 ;
9903 (char *) "self", NULL
9906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
9907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9908 if (SWIG_arg_fail(1)) SWIG_fail
;
9910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9911 result
= (arg1
)->GetName();
9913 wxPyEndAllowThreads(__tstate
);
9914 if (PyErr_Occurred()) SWIG_fail
;
9918 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9920 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9929 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9930 PyObject
*resultobj
;
9931 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9933 PyObject
* obj0
= 0 ;
9935 (char *) "self", NULL
9938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
9939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9940 if (SWIG_arg_fail(1)) SWIG_fail
;
9942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9943 result
= (arg1
)->GetExtension();
9945 wxPyEndAllowThreads(__tstate
);
9946 if (PyErr_Occurred()) SWIG_fail
;
9950 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9952 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9961 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9962 PyObject
*resultobj
;
9963 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9965 PyObject
* obj0
= 0 ;
9967 (char *) "self", NULL
9970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
9971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9972 if (SWIG_arg_fail(1)) SWIG_fail
;
9974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9975 result
= (long)(arg1
)->GetType();
9977 wxPyEndAllowThreads(__tstate
);
9978 if (PyErr_Occurred()) SWIG_fail
;
9981 resultobj
= SWIG_From_long((long)(result
));
9989 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9990 PyObject
*resultobj
;
9991 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9993 PyObject
* obj0
= 0 ;
9995 (char *) "self", NULL
9998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
9999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10000 if (SWIG_arg_fail(1)) SWIG_fail
;
10002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10003 result
= (arg1
)->GetMimeType();
10005 wxPyEndAllowThreads(__tstate
);
10006 if (PyErr_Occurred()) SWIG_fail
;
10010 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10012 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10021 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10022 PyObject
*resultobj
;
10023 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10024 wxString
*arg2
= 0 ;
10026 bool temp2
= false ;
10027 PyObject
* obj0
= 0 ;
10028 PyObject
* obj1
= 0 ;
10029 char *kwnames
[] = {
10030 (char *) "self",(char *) "name", NULL
10033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
10034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10035 if (SWIG_arg_fail(1)) SWIG_fail
;
10037 arg2
= wxString_in_helper(obj1
);
10038 if (arg2
== NULL
) SWIG_fail
;
10042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10043 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
10045 wxPyEndAllowThreads(__tstate
);
10046 if (PyErr_Occurred()) SWIG_fail
;
10049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10065 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10066 PyObject
*resultobj
;
10067 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10068 wxString
*arg2
= 0 ;
10069 bool temp2
= false ;
10070 PyObject
* obj0
= 0 ;
10071 PyObject
* obj1
= 0 ;
10072 char *kwnames
[] = {
10073 (char *) "self",(char *) "name", NULL
10076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
10077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10078 if (SWIG_arg_fail(1)) SWIG_fail
;
10080 arg2
= wxString_in_helper(obj1
);
10081 if (arg2
== NULL
) SWIG_fail
;
10085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10086 (arg1
)->SetName((wxString
const &)*arg2
);
10088 wxPyEndAllowThreads(__tstate
);
10089 if (PyErr_Occurred()) SWIG_fail
;
10091 Py_INCREF(Py_None
); resultobj
= Py_None
;
10106 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10107 PyObject
*resultobj
;
10108 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10109 wxString
*arg2
= 0 ;
10110 bool temp2
= false ;
10111 PyObject
* obj0
= 0 ;
10112 PyObject
* obj1
= 0 ;
10113 char *kwnames
[] = {
10114 (char *) "self",(char *) "extension", NULL
10117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
10118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10119 if (SWIG_arg_fail(1)) SWIG_fail
;
10121 arg2
= wxString_in_helper(obj1
);
10122 if (arg2
== NULL
) SWIG_fail
;
10126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10127 (arg1
)->SetExtension((wxString
const &)*arg2
);
10129 wxPyEndAllowThreads(__tstate
);
10130 if (PyErr_Occurred()) SWIG_fail
;
10132 Py_INCREF(Py_None
); resultobj
= Py_None
;
10147 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10148 PyObject
*resultobj
;
10149 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10151 PyObject
* obj0
= 0 ;
10152 PyObject
* obj1
= 0 ;
10153 char *kwnames
[] = {
10154 (char *) "self",(char *) "type", NULL
10157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
10158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10159 if (SWIG_arg_fail(1)) SWIG_fail
;
10161 arg2
= (long)(SWIG_As_long(obj1
));
10162 if (SWIG_arg_fail(2)) SWIG_fail
;
10165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10166 (arg1
)->SetType(arg2
);
10168 wxPyEndAllowThreads(__tstate
);
10169 if (PyErr_Occurred()) SWIG_fail
;
10171 Py_INCREF(Py_None
); resultobj
= Py_None
;
10178 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10179 PyObject
*resultobj
;
10180 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10181 wxString
*arg2
= 0 ;
10182 bool temp2
= false ;
10183 PyObject
* obj0
= 0 ;
10184 PyObject
* obj1
= 0 ;
10185 char *kwnames
[] = {
10186 (char *) "self",(char *) "mimetype", NULL
10189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
10190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10191 if (SWIG_arg_fail(1)) SWIG_fail
;
10193 arg2
= wxString_in_helper(obj1
);
10194 if (arg2
== NULL
) SWIG_fail
;
10198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10199 (arg1
)->SetMimeType((wxString
const &)*arg2
);
10201 wxPyEndAllowThreads(__tstate
);
10202 if (PyErr_Occurred()) SWIG_fail
;
10204 Py_INCREF(Py_None
); resultobj
= Py_None
;
10219 static PyObject
* ImageHandler_swigregister(PyObject
*, PyObject
*args
) {
10221 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10222 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
10224 return Py_BuildValue((char *)"");
10226 static PyObject
*_wrap_new_ImageHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10227 PyObject
*resultobj
;
10228 wxImageHistogram
*result
;
10229 char *kwnames
[] = {
10233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
10235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10236 result
= (wxImageHistogram
*)new wxImageHistogram();
10238 wxPyEndAllowThreads(__tstate
);
10239 if (PyErr_Occurred()) SWIG_fail
;
10241 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
10248 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10249 PyObject
*resultobj
;
10253 unsigned long result
;
10254 PyObject
* obj0
= 0 ;
10255 PyObject
* obj1
= 0 ;
10256 PyObject
* obj2
= 0 ;
10257 char *kwnames
[] = {
10258 (char *) "r",(char *) "g",(char *) "b", NULL
10261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10263 arg1
= (byte
)(SWIG_As_unsigned_SS_char(obj0
));
10264 if (SWIG_arg_fail(1)) SWIG_fail
;
10267 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
10268 if (SWIG_arg_fail(2)) SWIG_fail
;
10271 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
10272 if (SWIG_arg_fail(3)) SWIG_fail
;
10275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10276 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
10278 wxPyEndAllowThreads(__tstate
);
10279 if (PyErr_Occurred()) SWIG_fail
;
10282 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10290 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10291 PyObject
*resultobj
;
10292 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10293 byte
*arg2
= (byte
*) 0 ;
10294 byte
*arg3
= (byte
*) 0 ;
10295 byte
*arg4
= (byte
*) 0 ;
10296 byte arg5
= (byte
) 1 ;
10297 byte arg6
= (byte
) 0 ;
10298 byte arg7
= (byte
) 0 ;
10306 PyObject
* obj0
= 0 ;
10307 PyObject
* obj1
= 0 ;
10308 PyObject
* obj2
= 0 ;
10309 PyObject
* obj3
= 0 ;
10310 char *kwnames
[] = {
10311 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
10314 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10315 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10316 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10319 if (SWIG_arg_fail(1)) SWIG_fail
;
10322 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
10323 if (SWIG_arg_fail(5)) SWIG_fail
;
10328 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
10329 if (SWIG_arg_fail(6)) SWIG_fail
;
10334 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
10335 if (SWIG_arg_fail(7)) SWIG_fail
;
10339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10340 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10342 wxPyEndAllowThreads(__tstate
);
10343 if (PyErr_Occurred()) SWIG_fail
;
10346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10348 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10349 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
10350 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10351 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
10352 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10353 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
10360 static PyObject
*_wrap_ImageHistogram_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10361 PyObject
*resultobj
;
10362 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10363 unsigned long arg2
;
10364 unsigned long result
;
10365 PyObject
* obj0
= 0 ;
10366 PyObject
* obj1
= 0 ;
10367 char *kwnames
[] = {
10368 (char *) "self",(char *) "key", NULL
10371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10373 if (SWIG_arg_fail(1)) SWIG_fail
;
10375 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
10376 if (SWIG_arg_fail(2)) SWIG_fail
;
10379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10380 result
= (unsigned long)wxImageHistogram_GetCount(arg1
,arg2
);
10382 wxPyEndAllowThreads(__tstate
);
10383 if (PyErr_Occurred()) SWIG_fail
;
10386 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10394 static PyObject
*_wrap_ImageHistogram_GetCountRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10395 PyObject
*resultobj
;
10396 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10400 unsigned long result
;
10401 PyObject
* obj0
= 0 ;
10402 PyObject
* obj1
= 0 ;
10403 PyObject
* obj2
= 0 ;
10404 PyObject
* obj3
= 0 ;
10405 char *kwnames
[] = {
10406 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ImageHistogram_GetCountRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10411 if (SWIG_arg_fail(1)) SWIG_fail
;
10413 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
10414 if (SWIG_arg_fail(2)) SWIG_fail
;
10417 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
10418 if (SWIG_arg_fail(3)) SWIG_fail
;
10421 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
10422 if (SWIG_arg_fail(4)) SWIG_fail
;
10425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10426 result
= (unsigned long)wxImageHistogram_GetCountRGB(arg1
,arg2
,arg3
,arg4
);
10428 wxPyEndAllowThreads(__tstate
);
10429 if (PyErr_Occurred()) SWIG_fail
;
10432 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10440 static PyObject
*_wrap_ImageHistogram_GetCountColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10441 PyObject
*resultobj
;
10442 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10443 wxColour
*arg2
= 0 ;
10444 unsigned long result
;
10446 PyObject
* obj0
= 0 ;
10447 PyObject
* obj1
= 0 ;
10448 char *kwnames
[] = {
10449 (char *) "self",(char *) "colour", NULL
10452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCountColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10454 if (SWIG_arg_fail(1)) SWIG_fail
;
10457 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10461 result
= (unsigned long)wxImageHistogram_GetCountColour(arg1
,(wxColour
const &)*arg2
);
10463 wxPyEndAllowThreads(__tstate
);
10464 if (PyErr_Occurred()) SWIG_fail
;
10467 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10475 static PyObject
* ImageHistogram_swigregister(PyObject
*, PyObject
*args
) {
10477 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10478 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
10480 return Py_BuildValue((char *)"");
10482 static PyObject
*_wrap_new_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10483 PyObject
*resultobj
;
10484 wxString
*arg1
= 0 ;
10485 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10486 int arg3
= (int) -1 ;
10488 bool temp1
= false ;
10489 PyObject
* obj0
= 0 ;
10490 PyObject
* obj1
= 0 ;
10491 PyObject
* obj2
= 0 ;
10492 char *kwnames
[] = {
10493 (char *) "name",(char *) "type",(char *) "index", NULL
10496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10498 arg1
= wxString_in_helper(obj0
);
10499 if (arg1
== NULL
) SWIG_fail
;
10504 arg2
= (long)(SWIG_As_long(obj1
));
10505 if (SWIG_arg_fail(2)) SWIG_fail
;
10510 arg3
= (int)(SWIG_As_int(obj2
));
10511 if (SWIG_arg_fail(3)) SWIG_fail
;
10515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10516 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
10518 wxPyEndAllowThreads(__tstate
);
10519 if (PyErr_Occurred()) SWIG_fail
;
10521 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10536 static PyObject
*_wrap_delete_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10537 PyObject
*resultobj
;
10538 wxImage
*arg1
= (wxImage
*) 0 ;
10539 PyObject
* obj0
= 0 ;
10540 char *kwnames
[] = {
10541 (char *) "self", NULL
10544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
10545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10546 if (SWIG_arg_fail(1)) SWIG_fail
;
10548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10551 wxPyEndAllowThreads(__tstate
);
10552 if (PyErr_Occurred()) SWIG_fail
;
10554 Py_INCREF(Py_None
); resultobj
= Py_None
;
10561 static PyObject
*_wrap_new_ImageFromMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10562 PyObject
*resultobj
;
10563 wxString
*arg1
= 0 ;
10564 wxString
*arg2
= 0 ;
10565 int arg3
= (int) -1 ;
10567 bool temp1
= false ;
10568 bool temp2
= false ;
10569 PyObject
* obj0
= 0 ;
10570 PyObject
* obj1
= 0 ;
10571 PyObject
* obj2
= 0 ;
10572 char *kwnames
[] = {
10573 (char *) "name",(char *) "mimetype",(char *) "index", NULL
10576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10578 arg1
= wxString_in_helper(obj0
);
10579 if (arg1
== NULL
) SWIG_fail
;
10583 arg2
= wxString_in_helper(obj1
);
10584 if (arg2
== NULL
) SWIG_fail
;
10589 arg3
= (int)(SWIG_As_int(obj2
));
10590 if (SWIG_arg_fail(3)) SWIG_fail
;
10594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10595 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10597 wxPyEndAllowThreads(__tstate
);
10598 if (PyErr_Occurred()) SWIG_fail
;
10600 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10623 static PyObject
*_wrap_new_ImageFromStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10624 PyObject
*resultobj
;
10625 wxInputStream
*arg1
= 0 ;
10626 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10627 int arg3
= (int) -1 ;
10629 wxPyInputStream
*temp1
;
10631 PyObject
* obj0
= 0 ;
10632 PyObject
* obj1
= 0 ;
10633 PyObject
* obj2
= 0 ;
10634 char *kwnames
[] = {
10635 (char *) "stream",(char *) "type",(char *) "index", NULL
10638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10640 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10641 arg1
= temp1
->m_wxis
;
10644 PyErr_Clear(); // clear the failure of the wxPyConvert above
10645 arg1
= wxPyCBInputStream_create(obj0
, false);
10646 if (arg1
== NULL
) {
10647 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
10655 arg2
= (long)(SWIG_As_long(obj1
));
10656 if (SWIG_arg_fail(2)) SWIG_fail
;
10661 arg3
= (int)(SWIG_As_int(obj2
));
10662 if (SWIG_arg_fail(3)) SWIG_fail
;
10666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10667 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
10669 wxPyEndAllowThreads(__tstate
);
10670 if (PyErr_Occurred()) SWIG_fail
;
10672 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10674 if (created1
) delete arg1
;
10679 if (created1
) delete arg1
;
10685 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10686 PyObject
*resultobj
;
10687 wxInputStream
*arg1
= 0 ;
10688 wxString
*arg2
= 0 ;
10689 int arg3
= (int) -1 ;
10691 wxPyInputStream
*temp1
;
10693 bool temp2
= false ;
10694 PyObject
* obj0
= 0 ;
10695 PyObject
* obj1
= 0 ;
10696 PyObject
* obj2
= 0 ;
10697 char *kwnames
[] = {
10698 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
10701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10703 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10704 arg1
= temp1
->m_wxis
;
10707 PyErr_Clear(); // clear the failure of the wxPyConvert above
10708 arg1
= wxPyCBInputStream_create(obj0
, false);
10709 if (arg1
== NULL
) {
10710 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
10717 arg2
= wxString_in_helper(obj1
);
10718 if (arg2
== NULL
) SWIG_fail
;
10723 arg3
= (int)(SWIG_As_int(obj2
));
10724 if (SWIG_arg_fail(3)) SWIG_fail
;
10728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10729 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
10731 wxPyEndAllowThreads(__tstate
);
10732 if (PyErr_Occurred()) SWIG_fail
;
10734 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10736 if (created1
) delete arg1
;
10745 if (created1
) delete arg1
;
10755 static PyObject
*_wrap_new_EmptyImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10756 PyObject
*resultobj
;
10757 int arg1
= (int) 0 ;
10758 int arg2
= (int) 0 ;
10759 bool arg3
= (bool) true ;
10761 PyObject
* obj0
= 0 ;
10762 PyObject
* obj1
= 0 ;
10763 PyObject
* obj2
= 0 ;
10764 char *kwnames
[] = {
10765 (char *) "width",(char *) "height",(char *) "clear", NULL
10768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10771 arg1
= (int)(SWIG_As_int(obj0
));
10772 if (SWIG_arg_fail(1)) SWIG_fail
;
10777 arg2
= (int)(SWIG_As_int(obj1
));
10778 if (SWIG_arg_fail(2)) SWIG_fail
;
10783 arg3
= (bool)(SWIG_As_bool(obj2
));
10784 if (SWIG_arg_fail(3)) SWIG_fail
;
10788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10789 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
10791 wxPyEndAllowThreads(__tstate
);
10792 if (PyErr_Occurred()) SWIG_fail
;
10794 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10801 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10802 PyObject
*resultobj
;
10803 wxBitmap
*arg1
= 0 ;
10805 PyObject
* obj0
= 0 ;
10806 char *kwnames
[] = {
10807 (char *) "bitmap", NULL
10810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
10812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
10813 if (SWIG_arg_fail(1)) SWIG_fail
;
10814 if (arg1
== NULL
) {
10815 SWIG_null_ref("wxBitmap");
10817 if (SWIG_arg_fail(1)) SWIG_fail
;
10820 if (!wxPyCheckForApp()) SWIG_fail
;
10821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10822 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
10824 wxPyEndAllowThreads(__tstate
);
10825 if (PyErr_Occurred()) SWIG_fail
;
10827 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10834 static PyObject
*_wrap_new_ImageFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10835 PyObject
*resultobj
;
10841 PyObject
* obj0
= 0 ;
10842 PyObject
* obj1
= 0 ;
10843 PyObject
* obj2
= 0 ;
10844 char *kwnames
[] = {
10845 (char *) "width",(char *) "height",(char *) "data", NULL
10848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10850 arg1
= (int)(SWIG_As_int(obj0
));
10851 if (SWIG_arg_fail(1)) SWIG_fail
;
10854 arg2
= (int)(SWIG_As_int(obj1
));
10855 if (SWIG_arg_fail(2)) SWIG_fail
;
10858 if (!PyArg_Parse(obj2
, "t#", &arg3
, &arg4
)) SWIG_fail
;
10861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10862 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
);
10864 wxPyEndAllowThreads(__tstate
);
10865 if (PyErr_Occurred()) SWIG_fail
;
10867 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10874 static PyObject
*_wrap_new_ImageFromDataWithAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10875 PyObject
*resultobj
;
10883 PyObject
* obj0
= 0 ;
10884 PyObject
* obj1
= 0 ;
10885 PyObject
* obj2
= 0 ;
10886 PyObject
* obj3
= 0 ;
10887 char *kwnames
[] = {
10888 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
10891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10893 arg1
= (int)(SWIG_As_int(obj0
));
10894 if (SWIG_arg_fail(1)) SWIG_fail
;
10897 arg2
= (int)(SWIG_As_int(obj1
));
10898 if (SWIG_arg_fail(2)) SWIG_fail
;
10901 if (!PyArg_Parse(obj2
, "t#", &arg3
, &arg4
)) SWIG_fail
;
10904 if (!PyArg_Parse(obj3
, "t#", &arg5
, &arg6
)) SWIG_fail
;
10907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10908 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
10910 wxPyEndAllowThreads(__tstate
);
10911 if (PyErr_Occurred()) SWIG_fail
;
10913 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10920 static PyObject
*_wrap_Image_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10921 PyObject
*resultobj
;
10922 wxImage
*arg1
= (wxImage
*) 0 ;
10925 bool arg4
= (bool) true ;
10926 PyObject
* obj0
= 0 ;
10927 PyObject
* obj1
= 0 ;
10928 PyObject
* obj2
= 0 ;
10929 PyObject
* obj3
= 0 ;
10930 char *kwnames
[] = {
10931 (char *) "self",(char *) "width",(char *) "height",(char *) "clear", NULL
10934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10936 if (SWIG_arg_fail(1)) SWIG_fail
;
10938 arg2
= (int)(SWIG_As_int(obj1
));
10939 if (SWIG_arg_fail(2)) SWIG_fail
;
10942 arg3
= (int)(SWIG_As_int(obj2
));
10943 if (SWIG_arg_fail(3)) SWIG_fail
;
10947 arg4
= (bool)(SWIG_As_bool(obj3
));
10948 if (SWIG_arg_fail(4)) SWIG_fail
;
10952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10953 (arg1
)->Create(arg2
,arg3
,arg4
);
10955 wxPyEndAllowThreads(__tstate
);
10956 if (PyErr_Occurred()) SWIG_fail
;
10958 Py_INCREF(Py_None
); resultobj
= Py_None
;
10965 static PyObject
*_wrap_Image_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10966 PyObject
*resultobj
;
10967 wxImage
*arg1
= (wxImage
*) 0 ;
10968 PyObject
* obj0
= 0 ;
10969 char *kwnames
[] = {
10970 (char *) "self", NULL
10973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
10974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10975 if (SWIG_arg_fail(1)) SWIG_fail
;
10977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10980 wxPyEndAllowThreads(__tstate
);
10981 if (PyErr_Occurred()) SWIG_fail
;
10983 Py_INCREF(Py_None
); resultobj
= Py_None
;
10990 static PyObject
*_wrap_Image_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10991 PyObject
*resultobj
;
10992 wxImage
*arg1
= (wxImage
*) 0 ;
10995 SwigValueWrapper
<wxImage
> result
;
10996 PyObject
* obj0
= 0 ;
10997 PyObject
* obj1
= 0 ;
10998 PyObject
* obj2
= 0 ;
10999 char *kwnames
[] = {
11000 (char *) "self",(char *) "width",(char *) "height", NULL
11003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11005 if (SWIG_arg_fail(1)) SWIG_fail
;
11007 arg2
= (int)(SWIG_As_int(obj1
));
11008 if (SWIG_arg_fail(2)) SWIG_fail
;
11011 arg3
= (int)(SWIG_As_int(obj2
));
11012 if (SWIG_arg_fail(3)) SWIG_fail
;
11015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11016 result
= (arg1
)->Scale(arg2
,arg3
);
11018 wxPyEndAllowThreads(__tstate
);
11019 if (PyErr_Occurred()) SWIG_fail
;
11022 wxImage
* resultptr
;
11023 resultptr
= new wxImage((wxImage
&)(result
));
11024 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11032 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11033 PyObject
*resultobj
;
11034 wxImage
*arg1
= (wxImage
*) 0 ;
11037 SwigValueWrapper
<wxImage
> result
;
11038 PyObject
* obj0
= 0 ;
11039 PyObject
* obj1
= 0 ;
11040 PyObject
* obj2
= 0 ;
11041 char *kwnames
[] = {
11042 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
11045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11047 if (SWIG_arg_fail(1)) SWIG_fail
;
11049 arg2
= (int)(SWIG_As_int(obj1
));
11050 if (SWIG_arg_fail(2)) SWIG_fail
;
11053 arg3
= (int)(SWIG_As_int(obj2
));
11054 if (SWIG_arg_fail(3)) SWIG_fail
;
11057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11058 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
11060 wxPyEndAllowThreads(__tstate
);
11061 if (PyErr_Occurred()) SWIG_fail
;
11064 wxImage
* resultptr
;
11065 resultptr
= new wxImage((wxImage
&)(result
));
11066 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11074 static PyObject
*_wrap_Image_Rescale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11075 PyObject
*resultobj
;
11076 wxImage
*arg1
= (wxImage
*) 0 ;
11080 PyObject
* obj0
= 0 ;
11081 PyObject
* obj1
= 0 ;
11082 PyObject
* obj2
= 0 ;
11083 char *kwnames
[] = {
11084 (char *) "self",(char *) "width",(char *) "height", NULL
11087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11089 if (SWIG_arg_fail(1)) SWIG_fail
;
11091 arg2
= (int)(SWIG_As_int(obj1
));
11092 if (SWIG_arg_fail(2)) SWIG_fail
;
11095 arg3
= (int)(SWIG_As_int(obj2
));
11096 if (SWIG_arg_fail(3)) SWIG_fail
;
11099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11101 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
11102 result
= (wxImage
*) &_result_ref
;
11105 wxPyEndAllowThreads(__tstate
);
11106 if (PyErr_Occurred()) SWIG_fail
;
11108 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
11115 static PyObject
*_wrap_Image_Resize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11116 PyObject
*resultobj
;
11117 wxImage
*arg1
= (wxImage
*) 0 ;
11119 wxPoint
*arg3
= 0 ;
11120 int arg4
= (int) -1 ;
11121 int arg5
= (int) -1 ;
11122 int arg6
= (int) -1 ;
11126 PyObject
* obj0
= 0 ;
11127 PyObject
* obj1
= 0 ;
11128 PyObject
* obj2
= 0 ;
11129 PyObject
* obj3
= 0 ;
11130 PyObject
* obj4
= 0 ;
11131 PyObject
* obj5
= 0 ;
11132 char *kwnames
[] = {
11133 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
11136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Resize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11138 if (SWIG_arg_fail(1)) SWIG_fail
;
11141 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
11145 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11149 arg4
= (int)(SWIG_As_int(obj3
));
11150 if (SWIG_arg_fail(4)) SWIG_fail
;
11155 arg5
= (int)(SWIG_As_int(obj4
));
11156 if (SWIG_arg_fail(5)) SWIG_fail
;
11161 arg6
= (int)(SWIG_As_int(obj5
));
11162 if (SWIG_arg_fail(6)) SWIG_fail
;
11166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11168 wxImage
&_result_ref
= (arg1
)->Resize((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
11169 result
= (wxImage
*) &_result_ref
;
11172 wxPyEndAllowThreads(__tstate
);
11173 if (PyErr_Occurred()) SWIG_fail
;
11175 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
11182 static PyObject
*_wrap_Image_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11183 PyObject
*resultobj
;
11184 wxImage
*arg1
= (wxImage
*) 0 ;
11190 PyObject
* obj0
= 0 ;
11191 PyObject
* obj1
= 0 ;
11192 PyObject
* obj2
= 0 ;
11193 PyObject
* obj3
= 0 ;
11194 PyObject
* obj4
= 0 ;
11195 PyObject
* obj5
= 0 ;
11196 char *kwnames
[] = {
11197 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
11200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11202 if (SWIG_arg_fail(1)) SWIG_fail
;
11204 arg2
= (int)(SWIG_As_int(obj1
));
11205 if (SWIG_arg_fail(2)) SWIG_fail
;
11208 arg3
= (int)(SWIG_As_int(obj2
));
11209 if (SWIG_arg_fail(3)) SWIG_fail
;
11212 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11213 if (SWIG_arg_fail(4)) SWIG_fail
;
11216 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
11217 if (SWIG_arg_fail(5)) SWIG_fail
;
11220 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj5
));
11221 if (SWIG_arg_fail(6)) SWIG_fail
;
11224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11225 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
11227 wxPyEndAllowThreads(__tstate
);
11228 if (PyErr_Occurred()) SWIG_fail
;
11230 Py_INCREF(Py_None
); resultobj
= Py_None
;
11237 static PyObject
*_wrap_Image_SetRGBRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11238 PyObject
*resultobj
;
11239 wxImage
*arg1
= (wxImage
*) 0 ;
11245 PyObject
* obj0
= 0 ;
11246 PyObject
* obj1
= 0 ;
11247 PyObject
* obj2
= 0 ;
11248 PyObject
* obj3
= 0 ;
11249 PyObject
* obj4
= 0 ;
11250 char *kwnames
[] = {
11251 (char *) "self",(char *) "rect",(char *) "r",(char *) "g",(char *) "b", NULL
11254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetRGBRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11256 if (SWIG_arg_fail(1)) SWIG_fail
;
11259 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11262 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11263 if (SWIG_arg_fail(3)) SWIG_fail
;
11266 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11267 if (SWIG_arg_fail(4)) SWIG_fail
;
11270 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
11271 if (SWIG_arg_fail(5)) SWIG_fail
;
11274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11275 (arg1
)->SetRGB((wxRect
const &)*arg2
,arg3
,arg4
,arg5
);
11277 wxPyEndAllowThreads(__tstate
);
11278 if (PyErr_Occurred()) SWIG_fail
;
11280 Py_INCREF(Py_None
); resultobj
= Py_None
;
11287 static PyObject
*_wrap_Image_GetRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11288 PyObject
*resultobj
;
11289 wxImage
*arg1
= (wxImage
*) 0 ;
11293 PyObject
* obj0
= 0 ;
11294 PyObject
* obj1
= 0 ;
11295 PyObject
* obj2
= 0 ;
11296 char *kwnames
[] = {
11297 (char *) "self",(char *) "x",(char *) "y", NULL
11300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11302 if (SWIG_arg_fail(1)) SWIG_fail
;
11304 arg2
= (int)(SWIG_As_int(obj1
));
11305 if (SWIG_arg_fail(2)) SWIG_fail
;
11308 arg3
= (int)(SWIG_As_int(obj2
));
11309 if (SWIG_arg_fail(3)) SWIG_fail
;
11312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11313 result
= (byte
)(arg1
)->GetRed(arg2
,arg3
);
11315 wxPyEndAllowThreads(__tstate
);
11316 if (PyErr_Occurred()) SWIG_fail
;
11319 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11327 static PyObject
*_wrap_Image_GetGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11328 PyObject
*resultobj
;
11329 wxImage
*arg1
= (wxImage
*) 0 ;
11333 PyObject
* obj0
= 0 ;
11334 PyObject
* obj1
= 0 ;
11335 PyObject
* obj2
= 0 ;
11336 char *kwnames
[] = {
11337 (char *) "self",(char *) "x",(char *) "y", NULL
11340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11342 if (SWIG_arg_fail(1)) SWIG_fail
;
11344 arg2
= (int)(SWIG_As_int(obj1
));
11345 if (SWIG_arg_fail(2)) SWIG_fail
;
11348 arg3
= (int)(SWIG_As_int(obj2
));
11349 if (SWIG_arg_fail(3)) SWIG_fail
;
11352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11353 result
= (byte
)(arg1
)->GetGreen(arg2
,arg3
);
11355 wxPyEndAllowThreads(__tstate
);
11356 if (PyErr_Occurred()) SWIG_fail
;
11359 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11367 static PyObject
*_wrap_Image_GetBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11368 PyObject
*resultobj
;
11369 wxImage
*arg1
= (wxImage
*) 0 ;
11373 PyObject
* obj0
= 0 ;
11374 PyObject
* obj1
= 0 ;
11375 PyObject
* obj2
= 0 ;
11376 char *kwnames
[] = {
11377 (char *) "self",(char *) "x",(char *) "y", NULL
11380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11382 if (SWIG_arg_fail(1)) SWIG_fail
;
11384 arg2
= (int)(SWIG_As_int(obj1
));
11385 if (SWIG_arg_fail(2)) SWIG_fail
;
11388 arg3
= (int)(SWIG_As_int(obj2
));
11389 if (SWIG_arg_fail(3)) SWIG_fail
;
11392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11393 result
= (byte
)(arg1
)->GetBlue(arg2
,arg3
);
11395 wxPyEndAllowThreads(__tstate
);
11396 if (PyErr_Occurred()) SWIG_fail
;
11399 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11407 static PyObject
*_wrap_Image_SetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11408 PyObject
*resultobj
;
11409 wxImage
*arg1
= (wxImage
*) 0 ;
11413 PyObject
* obj0
= 0 ;
11414 PyObject
* obj1
= 0 ;
11415 PyObject
* obj2
= 0 ;
11416 PyObject
* obj3
= 0 ;
11417 char *kwnames
[] = {
11418 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
11421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11423 if (SWIG_arg_fail(1)) SWIG_fail
;
11425 arg2
= (int)(SWIG_As_int(obj1
));
11426 if (SWIG_arg_fail(2)) SWIG_fail
;
11429 arg3
= (int)(SWIG_As_int(obj2
));
11430 if (SWIG_arg_fail(3)) SWIG_fail
;
11433 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11434 if (SWIG_arg_fail(4)) SWIG_fail
;
11437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11438 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
11440 wxPyEndAllowThreads(__tstate
);
11441 if (PyErr_Occurred()) SWIG_fail
;
11443 Py_INCREF(Py_None
); resultobj
= Py_None
;
11450 static PyObject
*_wrap_Image_GetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11451 PyObject
*resultobj
;
11452 wxImage
*arg1
= (wxImage
*) 0 ;
11456 PyObject
* obj0
= 0 ;
11457 PyObject
* obj1
= 0 ;
11458 PyObject
* obj2
= 0 ;
11459 char *kwnames
[] = {
11460 (char *) "self",(char *) "x",(char *) "y", NULL
11463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11465 if (SWIG_arg_fail(1)) SWIG_fail
;
11467 arg2
= (int)(SWIG_As_int(obj1
));
11468 if (SWIG_arg_fail(2)) SWIG_fail
;
11471 arg3
= (int)(SWIG_As_int(obj2
));
11472 if (SWIG_arg_fail(3)) SWIG_fail
;
11475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11476 result
= (byte
)(arg1
)->GetAlpha(arg2
,arg3
);
11478 wxPyEndAllowThreads(__tstate
);
11479 if (PyErr_Occurred()) SWIG_fail
;
11482 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11490 static PyObject
*_wrap_Image_HasAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11491 PyObject
*resultobj
;
11492 wxImage
*arg1
= (wxImage
*) 0 ;
11494 PyObject
* obj0
= 0 ;
11495 char *kwnames
[] = {
11496 (char *) "self", NULL
11499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
11500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11501 if (SWIG_arg_fail(1)) SWIG_fail
;
11503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11504 result
= (bool)(arg1
)->HasAlpha();
11506 wxPyEndAllowThreads(__tstate
);
11507 if (PyErr_Occurred()) SWIG_fail
;
11510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11518 static PyObject
*_wrap_Image_InitAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11519 PyObject
*resultobj
;
11520 wxImage
*arg1
= (wxImage
*) 0 ;
11521 PyObject
* obj0
= 0 ;
11522 char *kwnames
[] = {
11523 (char *) "self", NULL
11526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InitAlpha",kwnames
,&obj0
)) goto fail
;
11527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11528 if (SWIG_arg_fail(1)) SWIG_fail
;
11530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11531 (arg1
)->InitAlpha();
11533 wxPyEndAllowThreads(__tstate
);
11534 if (PyErr_Occurred()) SWIG_fail
;
11536 Py_INCREF(Py_None
); resultobj
= Py_None
;
11543 static PyObject
*_wrap_Image_IsTransparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11544 PyObject
*resultobj
;
11545 wxImage
*arg1
= (wxImage
*) 0 ;
11548 byte arg4
= (byte
) wxIMAGE_ALPHA_THRESHOLD
;
11550 PyObject
* obj0
= 0 ;
11551 PyObject
* obj1
= 0 ;
11552 PyObject
* obj2
= 0 ;
11553 PyObject
* obj3
= 0 ;
11554 char *kwnames
[] = {
11555 (char *) "self",(char *) "x",(char *) "y",(char *) "threshold", NULL
11558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_IsTransparent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11560 if (SWIG_arg_fail(1)) SWIG_fail
;
11562 arg2
= (int)(SWIG_As_int(obj1
));
11563 if (SWIG_arg_fail(2)) SWIG_fail
;
11566 arg3
= (int)(SWIG_As_int(obj2
));
11567 if (SWIG_arg_fail(3)) SWIG_fail
;
11571 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11572 if (SWIG_arg_fail(4)) SWIG_fail
;
11576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11577 result
= (bool)((wxImage
const *)arg1
)->IsTransparent(arg2
,arg3
,arg4
);
11579 wxPyEndAllowThreads(__tstate
);
11580 if (PyErr_Occurred()) SWIG_fail
;
11583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11591 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11592 PyObject
*resultobj
;
11593 wxImage
*arg1
= (wxImage
*) 0 ;
11594 byte
*arg2
= (byte
*) 0 ;
11595 byte
*arg3
= (byte
*) 0 ;
11596 byte
*arg4
= (byte
*) 0 ;
11597 byte arg5
= (byte
) 0 ;
11598 byte arg6
= (byte
) 0 ;
11599 byte arg7
= (byte
) 0 ;
11607 PyObject
* obj0
= 0 ;
11608 PyObject
* obj1
= 0 ;
11609 PyObject
* obj2
= 0 ;
11610 PyObject
* obj3
= 0 ;
11611 char *kwnames
[] = {
11612 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
11615 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
11616 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11617 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
11618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11620 if (SWIG_arg_fail(1)) SWIG_fail
;
11623 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11624 if (SWIG_arg_fail(5)) SWIG_fail
;
11629 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11630 if (SWIG_arg_fail(6)) SWIG_fail
;
11635 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11636 if (SWIG_arg_fail(7)) SWIG_fail
;
11640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11641 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11643 wxPyEndAllowThreads(__tstate
);
11644 if (PyErr_Occurred()) SWIG_fail
;
11647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11649 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
11650 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
11651 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11652 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
11653 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
11654 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
11661 static PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11662 PyObject
*resultobj
;
11663 wxImage
*arg1
= (wxImage
*) 0 ;
11664 byte arg2
= (byte
) wxIMAGE_ALPHA_THRESHOLD
;
11666 PyObject
* obj0
= 0 ;
11667 PyObject
* obj1
= 0 ;
11668 char *kwnames
[] = {
11669 (char *) "self",(char *) "threshold", NULL
11672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) goto fail
;
11673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11674 if (SWIG_arg_fail(1)) SWIG_fail
;
11677 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11678 if (SWIG_arg_fail(2)) SWIG_fail
;
11682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11683 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
11685 wxPyEndAllowThreads(__tstate
);
11686 if (PyErr_Occurred()) SWIG_fail
;
11689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11697 static PyObject
*_wrap_Image_ConvertColourToAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11698 PyObject
*resultobj
;
11699 wxImage
*arg1
= (wxImage
*) 0 ;
11704 PyObject
* obj0
= 0 ;
11705 PyObject
* obj1
= 0 ;
11706 PyObject
* obj2
= 0 ;
11707 PyObject
* obj3
= 0 ;
11708 char *kwnames
[] = {
11709 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
11712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertColourToAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11714 if (SWIG_arg_fail(1)) SWIG_fail
;
11716 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11717 if (SWIG_arg_fail(2)) SWIG_fail
;
11720 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11721 if (SWIG_arg_fail(3)) SWIG_fail
;
11724 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11725 if (SWIG_arg_fail(4)) SWIG_fail
;
11728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11729 result
= (bool)(arg1
)->ConvertColourToAlpha(arg2
,arg3
,arg4
);
11731 wxPyEndAllowThreads(__tstate
);
11732 if (PyErr_Occurred()) SWIG_fail
;
11735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11743 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11744 PyObject
*resultobj
;
11745 wxImage
*arg1
= (wxImage
*) 0 ;
11746 wxImage
*arg2
= 0 ;
11751 PyObject
* obj0
= 0 ;
11752 PyObject
* obj1
= 0 ;
11753 PyObject
* obj2
= 0 ;
11754 PyObject
* obj3
= 0 ;
11755 PyObject
* obj4
= 0 ;
11756 char *kwnames
[] = {
11757 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
11760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11762 if (SWIG_arg_fail(1)) SWIG_fail
;
11764 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11765 if (SWIG_arg_fail(2)) SWIG_fail
;
11766 if (arg2
== NULL
) {
11767 SWIG_null_ref("wxImage");
11769 if (SWIG_arg_fail(2)) SWIG_fail
;
11772 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11773 if (SWIG_arg_fail(3)) SWIG_fail
;
11776 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11777 if (SWIG_arg_fail(4)) SWIG_fail
;
11780 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
11781 if (SWIG_arg_fail(5)) SWIG_fail
;
11784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11785 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
11787 wxPyEndAllowThreads(__tstate
);
11788 if (PyErr_Occurred()) SWIG_fail
;
11791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11799 static PyObject
*_wrap_Image_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11800 PyObject
*resultobj
;
11801 wxString
*arg1
= 0 ;
11803 bool temp1
= false ;
11804 PyObject
* obj0
= 0 ;
11805 char *kwnames
[] = {
11806 (char *) "filename", NULL
11809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
11811 arg1
= wxString_in_helper(obj0
);
11812 if (arg1
== NULL
) SWIG_fail
;
11816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11817 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
11819 wxPyEndAllowThreads(__tstate
);
11820 if (PyErr_Occurred()) SWIG_fail
;
11823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11839 static PyObject
*_wrap_Image_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11840 PyObject
*resultobj
;
11841 wxString
*arg1
= 0 ;
11842 long arg2
= (long) wxBITMAP_TYPE_ANY
;
11844 bool temp1
= false ;
11845 PyObject
* obj0
= 0 ;
11846 PyObject
* obj1
= 0 ;
11847 char *kwnames
[] = {
11848 (char *) "filename",(char *) "type", NULL
11851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11853 arg1
= wxString_in_helper(obj0
);
11854 if (arg1
== NULL
) SWIG_fail
;
11859 arg2
= (long)(SWIG_As_long(obj1
));
11860 if (SWIG_arg_fail(2)) SWIG_fail
;
11864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11865 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
11867 wxPyEndAllowThreads(__tstate
);
11868 if (PyErr_Occurred()) SWIG_fail
;
11871 resultobj
= SWIG_From_int((int)(result
));
11887 static PyObject
*_wrap_Image_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11888 PyObject
*resultobj
;
11889 wxImage
*arg1
= (wxImage
*) 0 ;
11890 wxString
*arg2
= 0 ;
11891 long arg3
= (long) wxBITMAP_TYPE_ANY
;
11892 int arg4
= (int) -1 ;
11894 bool temp2
= false ;
11895 PyObject
* obj0
= 0 ;
11896 PyObject
* obj1
= 0 ;
11897 PyObject
* obj2
= 0 ;
11898 PyObject
* obj3
= 0 ;
11899 char *kwnames
[] = {
11900 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
11903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11905 if (SWIG_arg_fail(1)) SWIG_fail
;
11907 arg2
= wxString_in_helper(obj1
);
11908 if (arg2
== NULL
) SWIG_fail
;
11913 arg3
= (long)(SWIG_As_long(obj2
));
11914 if (SWIG_arg_fail(3)) SWIG_fail
;
11919 arg4
= (int)(SWIG_As_int(obj3
));
11920 if (SWIG_arg_fail(4)) SWIG_fail
;
11924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11925 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
11927 wxPyEndAllowThreads(__tstate
);
11928 if (PyErr_Occurred()) SWIG_fail
;
11931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11947 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11948 PyObject
*resultobj
;
11949 wxImage
*arg1
= (wxImage
*) 0 ;
11950 wxString
*arg2
= 0 ;
11951 wxString
*arg3
= 0 ;
11952 int arg4
= (int) -1 ;
11954 bool temp2
= false ;
11955 bool temp3
= false ;
11956 PyObject
* obj0
= 0 ;
11957 PyObject
* obj1
= 0 ;
11958 PyObject
* obj2
= 0 ;
11959 PyObject
* obj3
= 0 ;
11960 char *kwnames
[] = {
11961 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
11964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11966 if (SWIG_arg_fail(1)) SWIG_fail
;
11968 arg2
= wxString_in_helper(obj1
);
11969 if (arg2
== NULL
) SWIG_fail
;
11973 arg3
= wxString_in_helper(obj2
);
11974 if (arg3
== NULL
) SWIG_fail
;
11979 arg4
= (int)(SWIG_As_int(obj3
));
11980 if (SWIG_arg_fail(4)) SWIG_fail
;
11984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11985 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
11987 wxPyEndAllowThreads(__tstate
);
11988 if (PyErr_Occurred()) SWIG_fail
;
11991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12015 static PyObject
*_wrap_Image_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12016 PyObject
*resultobj
;
12017 wxImage
*arg1
= (wxImage
*) 0 ;
12018 wxString
*arg2
= 0 ;
12021 bool temp2
= false ;
12022 PyObject
* obj0
= 0 ;
12023 PyObject
* obj1
= 0 ;
12024 PyObject
* obj2
= 0 ;
12025 char *kwnames
[] = {
12026 (char *) "self",(char *) "name",(char *) "type", NULL
12029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12031 if (SWIG_arg_fail(1)) SWIG_fail
;
12033 arg2
= wxString_in_helper(obj1
);
12034 if (arg2
== NULL
) SWIG_fail
;
12038 arg3
= (int)(SWIG_As_int(obj2
));
12039 if (SWIG_arg_fail(3)) SWIG_fail
;
12042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12043 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
12045 wxPyEndAllowThreads(__tstate
);
12046 if (PyErr_Occurred()) SWIG_fail
;
12049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12065 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12066 PyObject
*resultobj
;
12067 wxImage
*arg1
= (wxImage
*) 0 ;
12068 wxString
*arg2
= 0 ;
12069 wxString
*arg3
= 0 ;
12071 bool temp2
= false ;
12072 bool temp3
= false ;
12073 PyObject
* obj0
= 0 ;
12074 PyObject
* obj1
= 0 ;
12075 PyObject
* obj2
= 0 ;
12076 char *kwnames
[] = {
12077 (char *) "self",(char *) "name",(char *) "mimetype", NULL
12080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12082 if (SWIG_arg_fail(1)) SWIG_fail
;
12084 arg2
= wxString_in_helper(obj1
);
12085 if (arg2
== NULL
) SWIG_fail
;
12089 arg3
= wxString_in_helper(obj2
);
12090 if (arg3
== NULL
) SWIG_fail
;
12094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12095 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
12097 wxPyEndAllowThreads(__tstate
);
12098 if (PyErr_Occurred()) SWIG_fail
;
12101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12125 static PyObject
*_wrap_Image_CanReadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12126 PyObject
*resultobj
;
12127 wxInputStream
*arg1
= 0 ;
12129 wxPyInputStream
*temp1
;
12131 PyObject
* obj0
= 0 ;
12132 char *kwnames
[] = {
12133 (char *) "stream", NULL
12136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
12138 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
12139 arg1
= temp1
->m_wxis
;
12142 PyErr_Clear(); // clear the failure of the wxPyConvert above
12143 arg1
= wxPyCBInputStream_create(obj0
, false);
12144 if (arg1
== NULL
) {
12145 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12153 result
= (bool)wxImage::CanRead(*arg1
);
12155 wxPyEndAllowThreads(__tstate
);
12156 if (PyErr_Occurred()) SWIG_fail
;
12159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12162 if (created1
) delete arg1
;
12167 if (created1
) delete arg1
;
12173 static PyObject
*_wrap_Image_LoadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12174 PyObject
*resultobj
;
12175 wxImage
*arg1
= (wxImage
*) 0 ;
12176 wxInputStream
*arg2
= 0 ;
12177 long arg3
= (long) wxBITMAP_TYPE_ANY
;
12178 int arg4
= (int) -1 ;
12180 wxPyInputStream
*temp2
;
12182 PyObject
* obj0
= 0 ;
12183 PyObject
* obj1
= 0 ;
12184 PyObject
* obj2
= 0 ;
12185 PyObject
* obj3
= 0 ;
12186 char *kwnames
[] = {
12187 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
12190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12192 if (SWIG_arg_fail(1)) SWIG_fail
;
12194 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
12195 arg2
= temp2
->m_wxis
;
12198 PyErr_Clear(); // clear the failure of the wxPyConvert above
12199 arg2
= wxPyCBInputStream_create(obj1
, false);
12200 if (arg2
== NULL
) {
12201 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12209 arg3
= (long)(SWIG_As_long(obj2
));
12210 if (SWIG_arg_fail(3)) SWIG_fail
;
12215 arg4
= (int)(SWIG_As_int(obj3
));
12216 if (SWIG_arg_fail(4)) SWIG_fail
;
12220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12221 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
12223 wxPyEndAllowThreads(__tstate
);
12224 if (PyErr_Occurred()) SWIG_fail
;
12227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12230 if (created2
) delete arg2
;
12235 if (created2
) delete arg2
;
12241 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12242 PyObject
*resultobj
;
12243 wxImage
*arg1
= (wxImage
*) 0 ;
12244 wxInputStream
*arg2
= 0 ;
12245 wxString
*arg3
= 0 ;
12246 int arg4
= (int) -1 ;
12248 wxPyInputStream
*temp2
;
12250 bool temp3
= false ;
12251 PyObject
* obj0
= 0 ;
12252 PyObject
* obj1
= 0 ;
12253 PyObject
* obj2
= 0 ;
12254 PyObject
* obj3
= 0 ;
12255 char *kwnames
[] = {
12256 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
12259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12261 if (SWIG_arg_fail(1)) SWIG_fail
;
12263 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
12264 arg2
= temp2
->m_wxis
;
12267 PyErr_Clear(); // clear the failure of the wxPyConvert above
12268 arg2
= wxPyCBInputStream_create(obj1
, false);
12269 if (arg2
== NULL
) {
12270 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12277 arg3
= wxString_in_helper(obj2
);
12278 if (arg3
== NULL
) SWIG_fail
;
12283 arg4
= (int)(SWIG_As_int(obj3
));
12284 if (SWIG_arg_fail(4)) SWIG_fail
;
12288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12289 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
12291 wxPyEndAllowThreads(__tstate
);
12292 if (PyErr_Occurred()) SWIG_fail
;
12295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12298 if (created2
) delete arg2
;
12307 if (created2
) delete arg2
;
12317 static PyObject
*_wrap_Image_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12318 PyObject
*resultobj
;
12319 wxImage
*arg1
= (wxImage
*) 0 ;
12321 PyObject
* obj0
= 0 ;
12322 char *kwnames
[] = {
12323 (char *) "self", NULL
12326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
12327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12328 if (SWIG_arg_fail(1)) SWIG_fail
;
12330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12331 result
= (bool)(arg1
)->Ok();
12333 wxPyEndAllowThreads(__tstate
);
12334 if (PyErr_Occurred()) SWIG_fail
;
12337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12345 static PyObject
*_wrap_Image_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12346 PyObject
*resultobj
;
12347 wxImage
*arg1
= (wxImage
*) 0 ;
12349 PyObject
* obj0
= 0 ;
12350 char *kwnames
[] = {
12351 (char *) "self", NULL
12354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
12355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12356 if (SWIG_arg_fail(1)) SWIG_fail
;
12358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12359 result
= (int)(arg1
)->GetWidth();
12361 wxPyEndAllowThreads(__tstate
);
12362 if (PyErr_Occurred()) SWIG_fail
;
12365 resultobj
= SWIG_From_int((int)(result
));
12373 static PyObject
*_wrap_Image_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12374 PyObject
*resultobj
;
12375 wxImage
*arg1
= (wxImage
*) 0 ;
12377 PyObject
* obj0
= 0 ;
12378 char *kwnames
[] = {
12379 (char *) "self", NULL
12382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
12383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12384 if (SWIG_arg_fail(1)) SWIG_fail
;
12386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12387 result
= (int)(arg1
)->GetHeight();
12389 wxPyEndAllowThreads(__tstate
);
12390 if (PyErr_Occurred()) SWIG_fail
;
12393 resultobj
= SWIG_From_int((int)(result
));
12401 static PyObject
*_wrap_Image_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12402 PyObject
*resultobj
;
12403 wxImage
*arg1
= (wxImage
*) 0 ;
12405 PyObject
* obj0
= 0 ;
12406 char *kwnames
[] = {
12407 (char *) "self", NULL
12410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
12411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12412 if (SWIG_arg_fail(1)) SWIG_fail
;
12414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12415 result
= wxImage_GetSize(arg1
);
12417 wxPyEndAllowThreads(__tstate
);
12418 if (PyErr_Occurred()) SWIG_fail
;
12421 wxSize
* resultptr
;
12422 resultptr
= new wxSize((wxSize
&)(result
));
12423 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
12431 static PyObject
*_wrap_Image_GetSubImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12432 PyObject
*resultobj
;
12433 wxImage
*arg1
= (wxImage
*) 0 ;
12435 SwigValueWrapper
<wxImage
> result
;
12437 PyObject
* obj0
= 0 ;
12438 PyObject
* obj1
= 0 ;
12439 char *kwnames
[] = {
12440 (char *) "self",(char *) "rect", NULL
12443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
12444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12445 if (SWIG_arg_fail(1)) SWIG_fail
;
12448 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12452 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
12454 wxPyEndAllowThreads(__tstate
);
12455 if (PyErr_Occurred()) SWIG_fail
;
12458 wxImage
* resultptr
;
12459 resultptr
= new wxImage((wxImage
&)(result
));
12460 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12468 static PyObject
*_wrap_Image_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12469 PyObject
*resultobj
;
12470 wxImage
*arg1
= (wxImage
*) 0 ;
12472 wxPoint
*arg3
= 0 ;
12473 int arg4
= (int) -1 ;
12474 int arg5
= (int) -1 ;
12475 int arg6
= (int) -1 ;
12476 SwigValueWrapper
<wxImage
> result
;
12479 PyObject
* obj0
= 0 ;
12480 PyObject
* obj1
= 0 ;
12481 PyObject
* obj2
= 0 ;
12482 PyObject
* obj3
= 0 ;
12483 PyObject
* obj4
= 0 ;
12484 PyObject
* obj5
= 0 ;
12485 char *kwnames
[] = {
12486 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
12489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Size",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12491 if (SWIG_arg_fail(1)) SWIG_fail
;
12494 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12498 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12502 arg4
= (int)(SWIG_As_int(obj3
));
12503 if (SWIG_arg_fail(4)) SWIG_fail
;
12508 arg5
= (int)(SWIG_As_int(obj4
));
12509 if (SWIG_arg_fail(5)) SWIG_fail
;
12514 arg6
= (int)(SWIG_As_int(obj5
));
12515 if (SWIG_arg_fail(6)) SWIG_fail
;
12519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12520 result
= ((wxImage
const *)arg1
)->Size((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
12522 wxPyEndAllowThreads(__tstate
);
12523 if (PyErr_Occurred()) SWIG_fail
;
12526 wxImage
* resultptr
;
12527 resultptr
= new wxImage((wxImage
&)(result
));
12528 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12536 static PyObject
*_wrap_Image_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12537 PyObject
*resultobj
;
12538 wxImage
*arg1
= (wxImage
*) 0 ;
12539 SwigValueWrapper
<wxImage
> result
;
12540 PyObject
* obj0
= 0 ;
12541 char *kwnames
[] = {
12542 (char *) "self", NULL
12545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
12546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12547 if (SWIG_arg_fail(1)) SWIG_fail
;
12549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12550 result
= (arg1
)->Copy();
12552 wxPyEndAllowThreads(__tstate
);
12553 if (PyErr_Occurred()) SWIG_fail
;
12556 wxImage
* resultptr
;
12557 resultptr
= new wxImage((wxImage
&)(result
));
12558 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12566 static PyObject
*_wrap_Image_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12567 PyObject
*resultobj
;
12568 wxImage
*arg1
= (wxImage
*) 0 ;
12569 wxImage
*arg2
= 0 ;
12572 PyObject
* obj0
= 0 ;
12573 PyObject
* obj1
= 0 ;
12574 PyObject
* obj2
= 0 ;
12575 PyObject
* obj3
= 0 ;
12576 char *kwnames
[] = {
12577 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
12580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12582 if (SWIG_arg_fail(1)) SWIG_fail
;
12584 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12585 if (SWIG_arg_fail(2)) SWIG_fail
;
12586 if (arg2
== NULL
) {
12587 SWIG_null_ref("wxImage");
12589 if (SWIG_arg_fail(2)) SWIG_fail
;
12592 arg3
= (int)(SWIG_As_int(obj2
));
12593 if (SWIG_arg_fail(3)) SWIG_fail
;
12596 arg4
= (int)(SWIG_As_int(obj3
));
12597 if (SWIG_arg_fail(4)) SWIG_fail
;
12600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12601 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
12603 wxPyEndAllowThreads(__tstate
);
12604 if (PyErr_Occurred()) SWIG_fail
;
12606 Py_INCREF(Py_None
); resultobj
= Py_None
;
12613 static PyObject
*_wrap_Image_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12614 PyObject
*resultobj
;
12615 wxImage
*arg1
= (wxImage
*) 0 ;
12617 PyObject
* obj0
= 0 ;
12618 char *kwnames
[] = {
12619 (char *) "self", NULL
12622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
12623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12624 if (SWIG_arg_fail(1)) SWIG_fail
;
12626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12627 result
= (PyObject
*)wxImage_GetData(arg1
);
12629 wxPyEndAllowThreads(__tstate
);
12630 if (PyErr_Occurred()) SWIG_fail
;
12632 resultobj
= result
;
12639 static PyObject
*_wrap_Image_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12640 PyObject
*resultobj
;
12641 wxImage
*arg1
= (wxImage
*) 0 ;
12644 PyObject
* obj0
= 0 ;
12645 PyObject
* obj1
= 0 ;
12646 char *kwnames
[] = {
12647 (char *) "self",(char *) "data", NULL
12650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
12651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12652 if (SWIG_arg_fail(1)) SWIG_fail
;
12654 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12658 wxImage_SetData(arg1
,arg2
,arg3
);
12660 wxPyEndAllowThreads(__tstate
);
12661 if (PyErr_Occurred()) SWIG_fail
;
12663 Py_INCREF(Py_None
); resultobj
= Py_None
;
12670 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12671 PyObject
*resultobj
;
12672 wxImage
*arg1
= (wxImage
*) 0 ;
12674 PyObject
* obj0
= 0 ;
12675 char *kwnames
[] = {
12676 (char *) "self", NULL
12679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
12680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12681 if (SWIG_arg_fail(1)) SWIG_fail
;
12683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12684 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
12686 wxPyEndAllowThreads(__tstate
);
12687 if (PyErr_Occurred()) SWIG_fail
;
12689 resultobj
= result
;
12696 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12697 PyObject
*resultobj
;
12698 wxImage
*arg1
= (wxImage
*) 0 ;
12701 PyObject
* obj0
= 0 ;
12702 PyObject
* obj1
= 0 ;
12703 char *kwnames
[] = {
12704 (char *) "self",(char *) "data", NULL
12707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12709 if (SWIG_arg_fail(1)) SWIG_fail
;
12711 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12715 wxImage_SetDataBuffer(arg1
,arg2
,arg3
);
12717 wxPyEndAllowThreads(__tstate
);
12718 if (PyErr_Occurred()) SWIG_fail
;
12720 Py_INCREF(Py_None
); resultobj
= Py_None
;
12727 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12728 PyObject
*resultobj
;
12729 wxImage
*arg1
= (wxImage
*) 0 ;
12731 PyObject
* obj0
= 0 ;
12732 char *kwnames
[] = {
12733 (char *) "self", NULL
12736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
12737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12738 if (SWIG_arg_fail(1)) SWIG_fail
;
12740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12741 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
12743 wxPyEndAllowThreads(__tstate
);
12744 if (PyErr_Occurred()) SWIG_fail
;
12746 resultobj
= result
;
12753 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12754 PyObject
*resultobj
;
12755 wxImage
*arg1
= (wxImage
*) 0 ;
12758 PyObject
* obj0
= 0 ;
12759 PyObject
* obj1
= 0 ;
12760 char *kwnames
[] = {
12761 (char *) "self",(char *) "alpha", NULL
12764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
12765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12766 if (SWIG_arg_fail(1)) SWIG_fail
;
12768 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12772 wxImage_SetAlphaData(arg1
,arg2
,arg3
);
12774 wxPyEndAllowThreads(__tstate
);
12775 if (PyErr_Occurred()) SWIG_fail
;
12777 Py_INCREF(Py_None
); resultobj
= Py_None
;
12784 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12785 PyObject
*resultobj
;
12786 wxImage
*arg1
= (wxImage
*) 0 ;
12788 PyObject
* obj0
= 0 ;
12789 char *kwnames
[] = {
12790 (char *) "self", NULL
12793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
12794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12795 if (SWIG_arg_fail(1)) SWIG_fail
;
12797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12798 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
12800 wxPyEndAllowThreads(__tstate
);
12801 if (PyErr_Occurred()) SWIG_fail
;
12803 resultobj
= result
;
12810 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12811 PyObject
*resultobj
;
12812 wxImage
*arg1
= (wxImage
*) 0 ;
12815 PyObject
* obj0
= 0 ;
12816 PyObject
* obj1
= 0 ;
12817 char *kwnames
[] = {
12818 (char *) "self",(char *) "alpha", NULL
12821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12823 if (SWIG_arg_fail(1)) SWIG_fail
;
12825 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12829 wxImage_SetAlphaBuffer(arg1
,arg2
,arg3
);
12831 wxPyEndAllowThreads(__tstate
);
12832 if (PyErr_Occurred()) SWIG_fail
;
12834 Py_INCREF(Py_None
); resultobj
= Py_None
;
12841 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12842 PyObject
*resultobj
;
12843 wxImage
*arg1
= (wxImage
*) 0 ;
12847 PyObject
* obj0
= 0 ;
12848 PyObject
* obj1
= 0 ;
12849 PyObject
* obj2
= 0 ;
12850 PyObject
* obj3
= 0 ;
12851 char *kwnames
[] = {
12852 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12857 if (SWIG_arg_fail(1)) SWIG_fail
;
12859 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
12860 if (SWIG_arg_fail(2)) SWIG_fail
;
12863 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
12864 if (SWIG_arg_fail(3)) SWIG_fail
;
12867 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
12868 if (SWIG_arg_fail(4)) SWIG_fail
;
12871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12872 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
12874 wxPyEndAllowThreads(__tstate
);
12875 if (PyErr_Occurred()) SWIG_fail
;
12877 Py_INCREF(Py_None
); resultobj
= Py_None
;
12884 static PyObject
*_wrap_Image_GetOrFindMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12885 PyObject
*resultobj
;
12886 wxImage
*arg1
= (wxImage
*) 0 ;
12887 byte
*arg2
= (byte
*) 0 ;
12888 byte
*arg3
= (byte
*) 0 ;
12889 byte
*arg4
= (byte
*) 0 ;
12896 PyObject
* obj0
= 0 ;
12897 char *kwnames
[] = {
12898 (char *) "self", NULL
12901 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
12902 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
12903 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
12904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetOrFindMaskColour",kwnames
,&obj0
)) goto fail
;
12905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12906 if (SWIG_arg_fail(1)) SWIG_fail
;
12908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12909 ((wxImage
const *)arg1
)->GetOrFindMaskColour(arg2
,arg3
,arg4
);
12911 wxPyEndAllowThreads(__tstate
);
12912 if (PyErr_Occurred()) SWIG_fail
;
12914 Py_INCREF(Py_None
); resultobj
= Py_None
;
12915 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
12916 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
12917 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
12918 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
12919 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
12920 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
12927 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12928 PyObject
*resultobj
;
12929 wxImage
*arg1
= (wxImage
*) 0 ;
12931 PyObject
* obj0
= 0 ;
12932 char *kwnames
[] = {
12933 (char *) "self", NULL
12936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
12937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12938 if (SWIG_arg_fail(1)) SWIG_fail
;
12940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12941 result
= (byte
)(arg1
)->GetMaskRed();
12943 wxPyEndAllowThreads(__tstate
);
12944 if (PyErr_Occurred()) SWIG_fail
;
12947 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12955 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12956 PyObject
*resultobj
;
12957 wxImage
*arg1
= (wxImage
*) 0 ;
12959 PyObject
* obj0
= 0 ;
12960 char *kwnames
[] = {
12961 (char *) "self", NULL
12964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
12965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12966 if (SWIG_arg_fail(1)) SWIG_fail
;
12968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12969 result
= (byte
)(arg1
)->GetMaskGreen();
12971 wxPyEndAllowThreads(__tstate
);
12972 if (PyErr_Occurred()) SWIG_fail
;
12975 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12983 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12984 PyObject
*resultobj
;
12985 wxImage
*arg1
= (wxImage
*) 0 ;
12987 PyObject
* obj0
= 0 ;
12988 char *kwnames
[] = {
12989 (char *) "self", NULL
12992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
12993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12994 if (SWIG_arg_fail(1)) SWIG_fail
;
12996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12997 result
= (byte
)(arg1
)->GetMaskBlue();
12999 wxPyEndAllowThreads(__tstate
);
13000 if (PyErr_Occurred()) SWIG_fail
;
13003 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
13011 static PyObject
*_wrap_Image_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13012 PyObject
*resultobj
;
13013 wxImage
*arg1
= (wxImage
*) 0 ;
13014 bool arg2
= (bool) true ;
13015 PyObject
* obj0
= 0 ;
13016 PyObject
* obj1
= 0 ;
13017 char *kwnames
[] = {
13018 (char *) "self",(char *) "mask", NULL
13021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
13022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13023 if (SWIG_arg_fail(1)) SWIG_fail
;
13026 arg2
= (bool)(SWIG_As_bool(obj1
));
13027 if (SWIG_arg_fail(2)) SWIG_fail
;
13031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13032 (arg1
)->SetMask(arg2
);
13034 wxPyEndAllowThreads(__tstate
);
13035 if (PyErr_Occurred()) SWIG_fail
;
13037 Py_INCREF(Py_None
); resultobj
= Py_None
;
13044 static PyObject
*_wrap_Image_HasMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13045 PyObject
*resultobj
;
13046 wxImage
*arg1
= (wxImage
*) 0 ;
13048 PyObject
* obj0
= 0 ;
13049 char *kwnames
[] = {
13050 (char *) "self", NULL
13053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
13054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13055 if (SWIG_arg_fail(1)) SWIG_fail
;
13057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13058 result
= (bool)(arg1
)->HasMask();
13060 wxPyEndAllowThreads(__tstate
);
13061 if (PyErr_Occurred()) SWIG_fail
;
13064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13072 static PyObject
*_wrap_Image_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13073 PyObject
*resultobj
;
13074 wxImage
*arg1
= (wxImage
*) 0 ;
13076 wxPoint
*arg3
= 0 ;
13077 bool arg4
= (bool) true ;
13078 wxPoint
*arg5
= (wxPoint
*) NULL
;
13079 SwigValueWrapper
<wxImage
> result
;
13081 PyObject
* obj0
= 0 ;
13082 PyObject
* obj1
= 0 ;
13083 PyObject
* obj2
= 0 ;
13084 PyObject
* obj3
= 0 ;
13085 PyObject
* obj4
= 0 ;
13086 char *kwnames
[] = {
13087 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
13090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13092 if (SWIG_arg_fail(1)) SWIG_fail
;
13094 arg2
= (double)(SWIG_As_double(obj1
));
13095 if (SWIG_arg_fail(2)) SWIG_fail
;
13099 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13103 arg4
= (bool)(SWIG_As_bool(obj3
));
13104 if (SWIG_arg_fail(4)) SWIG_fail
;
13108 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
13109 if (SWIG_arg_fail(5)) SWIG_fail
;
13112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13113 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
13115 wxPyEndAllowThreads(__tstate
);
13116 if (PyErr_Occurred()) SWIG_fail
;
13119 wxImage
* resultptr
;
13120 resultptr
= new wxImage((wxImage
&)(result
));
13121 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13129 static PyObject
*_wrap_Image_Rotate90(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13130 PyObject
*resultobj
;
13131 wxImage
*arg1
= (wxImage
*) 0 ;
13132 bool arg2
= (bool) true ;
13133 SwigValueWrapper
<wxImage
> result
;
13134 PyObject
* obj0
= 0 ;
13135 PyObject
* obj1
= 0 ;
13136 char *kwnames
[] = {
13137 (char *) "self",(char *) "clockwise", NULL
13140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
13141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13142 if (SWIG_arg_fail(1)) SWIG_fail
;
13145 arg2
= (bool)(SWIG_As_bool(obj1
));
13146 if (SWIG_arg_fail(2)) SWIG_fail
;
13150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13151 result
= (arg1
)->Rotate90(arg2
);
13153 wxPyEndAllowThreads(__tstate
);
13154 if (PyErr_Occurred()) SWIG_fail
;
13157 wxImage
* resultptr
;
13158 resultptr
= new wxImage((wxImage
&)(result
));
13159 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13167 static PyObject
*_wrap_Image_Mirror(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13168 PyObject
*resultobj
;
13169 wxImage
*arg1
= (wxImage
*) 0 ;
13170 bool arg2
= (bool) true ;
13171 SwigValueWrapper
<wxImage
> result
;
13172 PyObject
* obj0
= 0 ;
13173 PyObject
* obj1
= 0 ;
13174 char *kwnames
[] = {
13175 (char *) "self",(char *) "horizontally", NULL
13178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
13179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13180 if (SWIG_arg_fail(1)) SWIG_fail
;
13183 arg2
= (bool)(SWIG_As_bool(obj1
));
13184 if (SWIG_arg_fail(2)) SWIG_fail
;
13188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13189 result
= (arg1
)->Mirror(arg2
);
13191 wxPyEndAllowThreads(__tstate
);
13192 if (PyErr_Occurred()) SWIG_fail
;
13195 wxImage
* resultptr
;
13196 resultptr
= new wxImage((wxImage
&)(result
));
13197 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13205 static PyObject
*_wrap_Image_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13206 PyObject
*resultobj
;
13207 wxImage
*arg1
= (wxImage
*) 0 ;
13214 PyObject
* obj0
= 0 ;
13215 PyObject
* obj1
= 0 ;
13216 PyObject
* obj2
= 0 ;
13217 PyObject
* obj3
= 0 ;
13218 PyObject
* obj4
= 0 ;
13219 PyObject
* obj5
= 0 ;
13220 PyObject
* obj6
= 0 ;
13221 char *kwnames
[] = {
13222 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
13225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13227 if (SWIG_arg_fail(1)) SWIG_fail
;
13229 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
13230 if (SWIG_arg_fail(2)) SWIG_fail
;
13233 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
13234 if (SWIG_arg_fail(3)) SWIG_fail
;
13237 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
13238 if (SWIG_arg_fail(4)) SWIG_fail
;
13241 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
13242 if (SWIG_arg_fail(5)) SWIG_fail
;
13245 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj5
));
13246 if (SWIG_arg_fail(6)) SWIG_fail
;
13249 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj6
));
13250 if (SWIG_arg_fail(7)) SWIG_fail
;
13253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13254 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13256 wxPyEndAllowThreads(__tstate
);
13257 if (PyErr_Occurred()) SWIG_fail
;
13259 Py_INCREF(Py_None
); resultobj
= Py_None
;
13266 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13267 PyObject
*resultobj
;
13268 wxImage
*arg1
= (wxImage
*) 0 ;
13272 SwigValueWrapper
<wxImage
> result
;
13273 PyObject
* obj0
= 0 ;
13274 PyObject
* obj1
= 0 ;
13275 PyObject
* obj2
= 0 ;
13276 PyObject
* obj3
= 0 ;
13277 char *kwnames
[] = {
13278 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
13281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13283 if (SWIG_arg_fail(1)) SWIG_fail
;
13285 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
13286 if (SWIG_arg_fail(2)) SWIG_fail
;
13289 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
13290 if (SWIG_arg_fail(3)) SWIG_fail
;
13293 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
13294 if (SWIG_arg_fail(4)) SWIG_fail
;
13297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13298 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
13300 wxPyEndAllowThreads(__tstate
);
13301 if (PyErr_Occurred()) SWIG_fail
;
13304 wxImage
* resultptr
;
13305 resultptr
= new wxImage((wxImage
&)(result
));
13306 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13314 static PyObject
*_wrap_Image_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13315 PyObject
*resultobj
;
13316 wxImage
*arg1
= (wxImage
*) 0 ;
13317 wxString
*arg2
= 0 ;
13318 wxString
*arg3
= 0 ;
13319 bool temp2
= false ;
13320 bool temp3
= false ;
13321 PyObject
* obj0
= 0 ;
13322 PyObject
* obj1
= 0 ;
13323 PyObject
* obj2
= 0 ;
13324 char *kwnames
[] = {
13325 (char *) "self",(char *) "name",(char *) "value", NULL
13328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg2
= wxString_in_helper(obj1
);
13333 if (arg2
== NULL
) SWIG_fail
;
13337 arg3
= wxString_in_helper(obj2
);
13338 if (arg3
== NULL
) SWIG_fail
;
13342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13343 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
13345 wxPyEndAllowThreads(__tstate
);
13346 if (PyErr_Occurred()) SWIG_fail
;
13348 Py_INCREF(Py_None
); resultobj
= Py_None
;
13371 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13372 PyObject
*resultobj
;
13373 wxImage
*arg1
= (wxImage
*) 0 ;
13374 wxString
*arg2
= 0 ;
13376 bool temp2
= false ;
13377 PyObject
* obj0
= 0 ;
13378 PyObject
* obj1
= 0 ;
13379 PyObject
* obj2
= 0 ;
13380 char *kwnames
[] = {
13381 (char *) "self",(char *) "name",(char *) "value", NULL
13384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg2
= wxString_in_helper(obj1
);
13389 if (arg2
== NULL
) SWIG_fail
;
13393 arg3
= (int)(SWIG_As_int(obj2
));
13394 if (SWIG_arg_fail(3)) SWIG_fail
;
13397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13398 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
13400 wxPyEndAllowThreads(__tstate
);
13401 if (PyErr_Occurred()) SWIG_fail
;
13403 Py_INCREF(Py_None
); resultobj
= Py_None
;
13418 static PyObject
*_wrap_Image_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13419 PyObject
*resultobj
;
13420 wxImage
*arg1
= (wxImage
*) 0 ;
13421 wxString
*arg2
= 0 ;
13423 bool temp2
= false ;
13424 PyObject
* obj0
= 0 ;
13425 PyObject
* obj1
= 0 ;
13426 char *kwnames
[] = {
13427 (char *) "self",(char *) "name", NULL
13430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
13431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13432 if (SWIG_arg_fail(1)) SWIG_fail
;
13434 arg2
= wxString_in_helper(obj1
);
13435 if (arg2
== NULL
) SWIG_fail
;
13439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13440 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
13442 wxPyEndAllowThreads(__tstate
);
13443 if (PyErr_Occurred()) SWIG_fail
;
13447 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13449 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13466 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13467 PyObject
*resultobj
;
13468 wxImage
*arg1
= (wxImage
*) 0 ;
13469 wxString
*arg2
= 0 ;
13471 bool temp2
= false ;
13472 PyObject
* obj0
= 0 ;
13473 PyObject
* obj1
= 0 ;
13474 char *kwnames
[] = {
13475 (char *) "self",(char *) "name", NULL
13478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13480 if (SWIG_arg_fail(1)) SWIG_fail
;
13482 arg2
= wxString_in_helper(obj1
);
13483 if (arg2
== NULL
) SWIG_fail
;
13487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13488 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
13490 wxPyEndAllowThreads(__tstate
);
13491 if (PyErr_Occurred()) SWIG_fail
;
13494 resultobj
= SWIG_From_int((int)(result
));
13510 static PyObject
*_wrap_Image_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13511 PyObject
*resultobj
;
13512 wxImage
*arg1
= (wxImage
*) 0 ;
13513 wxString
*arg2
= 0 ;
13515 bool temp2
= false ;
13516 PyObject
* obj0
= 0 ;
13517 PyObject
* obj1
= 0 ;
13518 char *kwnames
[] = {
13519 (char *) "self",(char *) "name", NULL
13522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
13523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13524 if (SWIG_arg_fail(1)) SWIG_fail
;
13526 arg2
= wxString_in_helper(obj1
);
13527 if (arg2
== NULL
) SWIG_fail
;
13531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13532 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
13534 wxPyEndAllowThreads(__tstate
);
13535 if (PyErr_Occurred()) SWIG_fail
;
13538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13554 static PyObject
*_wrap_Image_CountColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13555 PyObject
*resultobj
;
13556 wxImage
*arg1
= (wxImage
*) 0 ;
13557 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
13558 unsigned long result
;
13559 PyObject
* obj0
= 0 ;
13560 PyObject
* obj1
= 0 ;
13561 char *kwnames
[] = {
13562 (char *) "self",(char *) "stopafter", NULL
13565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
13566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13567 if (SWIG_arg_fail(1)) SWIG_fail
;
13570 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
13571 if (SWIG_arg_fail(2)) SWIG_fail
;
13575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13576 result
= (unsigned long)(arg1
)->CountColours(arg2
);
13578 wxPyEndAllowThreads(__tstate
);
13579 if (PyErr_Occurred()) SWIG_fail
;
13582 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13590 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13591 PyObject
*resultobj
;
13592 wxImage
*arg1
= (wxImage
*) 0 ;
13593 wxImageHistogram
*arg2
= 0 ;
13594 unsigned long result
;
13595 PyObject
* obj0
= 0 ;
13596 PyObject
* obj1
= 0 ;
13597 char *kwnames
[] = {
13598 (char *) "self",(char *) "h", NULL
13601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
13602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13603 if (SWIG_arg_fail(1)) SWIG_fail
;
13605 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
13606 if (SWIG_arg_fail(2)) SWIG_fail
;
13607 if (arg2
== NULL
) {
13608 SWIG_null_ref("wxImageHistogram");
13610 if (SWIG_arg_fail(2)) SWIG_fail
;
13613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13614 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
13616 wxPyEndAllowThreads(__tstate
);
13617 if (PyErr_Occurred()) SWIG_fail
;
13620 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13628 static PyObject
*_wrap_Image_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13629 PyObject
*resultobj
;
13630 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13631 PyObject
* obj0
= 0 ;
13632 char *kwnames
[] = {
13633 (char *) "handler", NULL
13636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
13637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13638 if (SWIG_arg_fail(1)) SWIG_fail
;
13640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13641 wxImage::AddHandler(arg1
);
13643 wxPyEndAllowThreads(__tstate
);
13644 if (PyErr_Occurred()) SWIG_fail
;
13646 Py_INCREF(Py_None
); resultobj
= Py_None
;
13653 static PyObject
*_wrap_Image_InsertHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13654 PyObject
*resultobj
;
13655 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13656 PyObject
* obj0
= 0 ;
13657 char *kwnames
[] = {
13658 (char *) "handler", NULL
13661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
13662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13663 if (SWIG_arg_fail(1)) SWIG_fail
;
13665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13666 wxImage::InsertHandler(arg1
);
13668 wxPyEndAllowThreads(__tstate
);
13669 if (PyErr_Occurred()) SWIG_fail
;
13671 Py_INCREF(Py_None
); resultobj
= Py_None
;
13678 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13679 PyObject
*resultobj
;
13680 wxString
*arg1
= 0 ;
13682 bool temp1
= false ;
13683 PyObject
* obj0
= 0 ;
13684 char *kwnames
[] = {
13685 (char *) "name", NULL
13688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
13690 arg1
= wxString_in_helper(obj0
);
13691 if (arg1
== NULL
) SWIG_fail
;
13695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13696 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
13698 wxPyEndAllowThreads(__tstate
);
13699 if (PyErr_Occurred()) SWIG_fail
;
13702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13718 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13719 PyObject
*resultobj
;
13721 char *kwnames
[] = {
13725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
13727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13728 result
= wxImage::GetImageExtWildcard();
13730 wxPyEndAllowThreads(__tstate
);
13731 if (PyErr_Occurred()) SWIG_fail
;
13735 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13737 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13746 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13747 PyObject
*resultobj
;
13748 wxImage
*arg1
= (wxImage
*) 0 ;
13749 int arg2
= (int) -1 ;
13751 PyObject
* obj0
= 0 ;
13752 PyObject
* obj1
= 0 ;
13753 char *kwnames
[] = {
13754 (char *) "self",(char *) "depth", NULL
13757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13759 if (SWIG_arg_fail(1)) SWIG_fail
;
13762 arg2
= (int)(SWIG_As_int(obj1
));
13763 if (SWIG_arg_fail(2)) SWIG_fail
;
13767 if (!wxPyCheckForApp()) SWIG_fail
;
13768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13769 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
13771 wxPyEndAllowThreads(__tstate
);
13772 if (PyErr_Occurred()) SWIG_fail
;
13775 wxBitmap
* resultptr
;
13776 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13777 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13785 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13786 PyObject
*resultobj
;
13787 wxImage
*arg1
= (wxImage
*) 0 ;
13792 PyObject
* obj0
= 0 ;
13793 PyObject
* obj1
= 0 ;
13794 PyObject
* obj2
= 0 ;
13795 PyObject
* obj3
= 0 ;
13796 char *kwnames
[] = {
13797 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
13800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13802 if (SWIG_arg_fail(1)) SWIG_fail
;
13804 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
13805 if (SWIG_arg_fail(2)) SWIG_fail
;
13808 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
13809 if (SWIG_arg_fail(3)) SWIG_fail
;
13812 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
13813 if (SWIG_arg_fail(4)) SWIG_fail
;
13816 if (!wxPyCheckForApp()) SWIG_fail
;
13817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13818 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
13820 wxPyEndAllowThreads(__tstate
);
13821 if (PyErr_Occurred()) SWIG_fail
;
13824 wxBitmap
* resultptr
;
13825 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13826 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13834 static PyObject
* Image_swigregister(PyObject
*, PyObject
*args
) {
13836 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13837 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
13839 return Py_BuildValue((char *)"");
13841 static int _wrap_NullImage_set(PyObject
*) {
13842 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
13847 static PyObject
*_wrap_NullImage_get(void) {
13850 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
13855 static int _wrap_IMAGE_OPTION_FILENAME_set(PyObject
*) {
13856 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_FILENAME is read-only.");
13861 static PyObject
*_wrap_IMAGE_OPTION_FILENAME_get(void) {
13866 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
13868 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
13875 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
13876 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
13881 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get(void) {
13886 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13888 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13895 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
13896 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
13901 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get(void) {
13906 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13908 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13915 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
13916 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
13921 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get(void) {
13926 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13928 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13935 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
13936 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
13941 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get(void) {
13946 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13948 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13955 static int _wrap_IMAGE_OPTION_RESOLUTIONX_set(PyObject
*) {
13956 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONX is read-only.");
13961 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONX_get(void) {
13966 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
13968 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
13975 static int _wrap_IMAGE_OPTION_RESOLUTIONY_set(PyObject
*) {
13976 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONY is read-only.");
13981 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONY_get(void) {
13986 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
13988 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
13995 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
13996 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
14001 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get(void) {
14006 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
14008 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
14015 static int _wrap_IMAGE_OPTION_QUALITY_set(PyObject
*) {
14016 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_QUALITY is read-only.");
14021 static PyObject
*_wrap_IMAGE_OPTION_QUALITY_get(void) {
14026 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
14028 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
14035 static int _wrap_IMAGE_OPTION_BITSPERSAMPLE_set(PyObject
*) {
14036 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BITSPERSAMPLE is read-only.");
14041 static PyObject
*_wrap_IMAGE_OPTION_BITSPERSAMPLE_get(void) {
14046 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
14048 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
14055 static int _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set(PyObject
*) {
14056 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_SAMPLESPERPIXEL is read-only.");
14061 static PyObject
*_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get(void) {
14066 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
14068 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
14075 static int _wrap_IMAGE_OPTION_COMPRESSION_set(PyObject
*) {
14076 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_COMPRESSION is read-only.");
14081 static PyObject
*_wrap_IMAGE_OPTION_COMPRESSION_get(void) {
14086 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
14088 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
14095 static int _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set(PyObject
*) {
14096 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_IMAGEDESCRIPTOR is read-only.");
14101 static PyObject
*_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get(void) {
14106 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
14108 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
14115 static int _wrap_IMAGE_OPTION_PNG_FORMAT_set(PyObject
*) {
14116 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_PNG_FORMAT is read-only.");
14121 static PyObject
*_wrap_IMAGE_OPTION_PNG_FORMAT_get(void) {
14126 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
14128 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
14135 static int _wrap_IMAGE_OPTION_PNG_BITDEPTH_set(PyObject
*) {
14136 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_PNG_BITDEPTH is read-only.");
14141 static PyObject
*_wrap_IMAGE_OPTION_PNG_BITDEPTH_get(void) {
14146 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
14148 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
14155 static PyObject
*_wrap_new_BMPHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14156 PyObject
*resultobj
;
14157 wxBMPHandler
*result
;
14158 char *kwnames
[] = {
14162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
14164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14165 result
= (wxBMPHandler
*)new wxBMPHandler();
14167 wxPyEndAllowThreads(__tstate
);
14168 if (PyErr_Occurred()) SWIG_fail
;
14170 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
14177 static PyObject
* BMPHandler_swigregister(PyObject
*, PyObject
*args
) {
14179 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14180 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
14182 return Py_BuildValue((char *)"");
14184 static PyObject
*_wrap_new_ICOHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14185 PyObject
*resultobj
;
14186 wxICOHandler
*result
;
14187 char *kwnames
[] = {
14191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
14193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14194 result
= (wxICOHandler
*)new wxICOHandler();
14196 wxPyEndAllowThreads(__tstate
);
14197 if (PyErr_Occurred()) SWIG_fail
;
14199 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
14206 static PyObject
* ICOHandler_swigregister(PyObject
*, PyObject
*args
) {
14208 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14209 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
14211 return Py_BuildValue((char *)"");
14213 static PyObject
*_wrap_new_CURHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14214 PyObject
*resultobj
;
14215 wxCURHandler
*result
;
14216 char *kwnames
[] = {
14220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
14222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14223 result
= (wxCURHandler
*)new wxCURHandler();
14225 wxPyEndAllowThreads(__tstate
);
14226 if (PyErr_Occurred()) SWIG_fail
;
14228 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
14235 static PyObject
* CURHandler_swigregister(PyObject
*, PyObject
*args
) {
14237 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14238 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
14240 return Py_BuildValue((char *)"");
14242 static PyObject
*_wrap_new_ANIHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14243 PyObject
*resultobj
;
14244 wxANIHandler
*result
;
14245 char *kwnames
[] = {
14249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
14251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14252 result
= (wxANIHandler
*)new wxANIHandler();
14254 wxPyEndAllowThreads(__tstate
);
14255 if (PyErr_Occurred()) SWIG_fail
;
14257 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
14264 static PyObject
* ANIHandler_swigregister(PyObject
*, PyObject
*args
) {
14266 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14267 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
14269 return Py_BuildValue((char *)"");
14271 static PyObject
*_wrap_new_PNGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14272 PyObject
*resultobj
;
14273 wxPNGHandler
*result
;
14274 char *kwnames
[] = {
14278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
14280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14281 result
= (wxPNGHandler
*)new wxPNGHandler();
14283 wxPyEndAllowThreads(__tstate
);
14284 if (PyErr_Occurred()) SWIG_fail
;
14286 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
14293 static PyObject
* PNGHandler_swigregister(PyObject
*, PyObject
*args
) {
14295 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14296 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
14298 return Py_BuildValue((char *)"");
14300 static PyObject
*_wrap_new_GIFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14301 PyObject
*resultobj
;
14302 wxGIFHandler
*result
;
14303 char *kwnames
[] = {
14307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
14309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14310 result
= (wxGIFHandler
*)new wxGIFHandler();
14312 wxPyEndAllowThreads(__tstate
);
14313 if (PyErr_Occurred()) SWIG_fail
;
14315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
14322 static PyObject
* GIFHandler_swigregister(PyObject
*, PyObject
*args
) {
14324 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14325 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
14327 return Py_BuildValue((char *)"");
14329 static PyObject
*_wrap_new_PCXHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14330 PyObject
*resultobj
;
14331 wxPCXHandler
*result
;
14332 char *kwnames
[] = {
14336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
14338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14339 result
= (wxPCXHandler
*)new wxPCXHandler();
14341 wxPyEndAllowThreads(__tstate
);
14342 if (PyErr_Occurred()) SWIG_fail
;
14344 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
14351 static PyObject
* PCXHandler_swigregister(PyObject
*, PyObject
*args
) {
14353 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14354 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
14356 return Py_BuildValue((char *)"");
14358 static PyObject
*_wrap_new_JPEGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14359 PyObject
*resultobj
;
14360 wxJPEGHandler
*result
;
14361 char *kwnames
[] = {
14365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
14367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14368 result
= (wxJPEGHandler
*)new wxJPEGHandler();
14370 wxPyEndAllowThreads(__tstate
);
14371 if (PyErr_Occurred()) SWIG_fail
;
14373 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
14380 static PyObject
* JPEGHandler_swigregister(PyObject
*, PyObject
*args
) {
14382 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14383 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
14385 return Py_BuildValue((char *)"");
14387 static PyObject
*_wrap_new_PNMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14388 PyObject
*resultobj
;
14389 wxPNMHandler
*result
;
14390 char *kwnames
[] = {
14394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
14396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14397 result
= (wxPNMHandler
*)new wxPNMHandler();
14399 wxPyEndAllowThreads(__tstate
);
14400 if (PyErr_Occurred()) SWIG_fail
;
14402 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
14409 static PyObject
* PNMHandler_swigregister(PyObject
*, PyObject
*args
) {
14411 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14412 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
14414 return Py_BuildValue((char *)"");
14416 static PyObject
*_wrap_new_XPMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14417 PyObject
*resultobj
;
14418 wxXPMHandler
*result
;
14419 char *kwnames
[] = {
14423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
14425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14426 result
= (wxXPMHandler
*)new wxXPMHandler();
14428 wxPyEndAllowThreads(__tstate
);
14429 if (PyErr_Occurred()) SWIG_fail
;
14431 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
14438 static PyObject
* XPMHandler_swigregister(PyObject
*, PyObject
*args
) {
14440 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14441 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
14443 return Py_BuildValue((char *)"");
14445 static PyObject
*_wrap_new_TIFFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14446 PyObject
*resultobj
;
14447 wxTIFFHandler
*result
;
14448 char *kwnames
[] = {
14452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
14454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14455 result
= (wxTIFFHandler
*)new wxTIFFHandler();
14457 wxPyEndAllowThreads(__tstate
);
14458 if (PyErr_Occurred()) SWIG_fail
;
14460 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
14467 static PyObject
* TIFFHandler_swigregister(PyObject
*, PyObject
*args
) {
14469 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14470 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
14472 return Py_BuildValue((char *)"");
14474 static PyObject
*_wrap_Quantize_Quantize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14475 PyObject
*resultobj
;
14476 wxImage
*arg1
= 0 ;
14477 wxImage
*arg2
= 0 ;
14478 int arg3
= (int) 236 ;
14479 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
14481 PyObject
* obj0
= 0 ;
14482 PyObject
* obj1
= 0 ;
14483 PyObject
* obj2
= 0 ;
14484 PyObject
* obj3
= 0 ;
14485 char *kwnames
[] = {
14486 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
14489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14492 if (SWIG_arg_fail(1)) SWIG_fail
;
14493 if (arg1
== NULL
) {
14494 SWIG_null_ref("wxImage");
14496 if (SWIG_arg_fail(1)) SWIG_fail
;
14499 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14500 if (SWIG_arg_fail(2)) SWIG_fail
;
14501 if (arg2
== NULL
) {
14502 SWIG_null_ref("wxImage");
14504 if (SWIG_arg_fail(2)) SWIG_fail
;
14508 arg3
= (int)(SWIG_As_int(obj2
));
14509 if (SWIG_arg_fail(3)) SWIG_fail
;
14514 arg4
= (int)(SWIG_As_int(obj3
));
14515 if (SWIG_arg_fail(4)) SWIG_fail
;
14519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14520 result
= (bool)Quantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
14522 wxPyEndAllowThreads(__tstate
);
14523 if (PyErr_Occurred()) SWIG_fail
;
14526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14534 static PyObject
* Quantize_swigregister(PyObject
*, PyObject
*args
) {
14536 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14537 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
);
14539 return Py_BuildValue((char *)"");
14541 static PyObject
*_wrap_new_EvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14542 PyObject
*resultobj
;
14543 wxEvtHandler
*result
;
14544 char *kwnames
[] = {
14548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
14550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14551 result
= (wxEvtHandler
*)new wxEvtHandler();
14553 wxPyEndAllowThreads(__tstate
);
14554 if (PyErr_Occurred()) SWIG_fail
;
14556 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
14563 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14564 PyObject
*resultobj
;
14565 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14566 wxEvtHandler
*result
;
14567 PyObject
* obj0
= 0 ;
14568 char *kwnames
[] = {
14569 (char *) "self", NULL
14572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
14573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14574 if (SWIG_arg_fail(1)) SWIG_fail
;
14576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14577 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
14579 wxPyEndAllowThreads(__tstate
);
14580 if (PyErr_Occurred()) SWIG_fail
;
14583 resultobj
= wxPyMake_wxObject(result
, 0);
14591 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14592 PyObject
*resultobj
;
14593 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14594 wxEvtHandler
*result
;
14595 PyObject
* obj0
= 0 ;
14596 char *kwnames
[] = {
14597 (char *) "self", NULL
14600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
14601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14602 if (SWIG_arg_fail(1)) SWIG_fail
;
14604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14605 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
14607 wxPyEndAllowThreads(__tstate
);
14608 if (PyErr_Occurred()) SWIG_fail
;
14611 resultobj
= wxPyMake_wxObject(result
, 0);
14619 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14620 PyObject
*resultobj
;
14621 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14622 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
14623 PyObject
* obj0
= 0 ;
14624 PyObject
* obj1
= 0 ;
14625 char *kwnames
[] = {
14626 (char *) "self",(char *) "handler", NULL
14629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
14630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14631 if (SWIG_arg_fail(1)) SWIG_fail
;
14632 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14633 if (SWIG_arg_fail(2)) SWIG_fail
;
14635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14636 (arg1
)->SetNextHandler(arg2
);
14638 wxPyEndAllowThreads(__tstate
);
14639 if (PyErr_Occurred()) SWIG_fail
;
14641 Py_INCREF(Py_None
); resultobj
= Py_None
;
14648 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14649 PyObject
*resultobj
;
14650 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14651 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
14652 PyObject
* obj0
= 0 ;
14653 PyObject
* obj1
= 0 ;
14654 char *kwnames
[] = {
14655 (char *) "self",(char *) "handler", NULL
14658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
14659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14660 if (SWIG_arg_fail(1)) SWIG_fail
;
14661 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14662 if (SWIG_arg_fail(2)) SWIG_fail
;
14664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14665 (arg1
)->SetPreviousHandler(arg2
);
14667 wxPyEndAllowThreads(__tstate
);
14668 if (PyErr_Occurred()) SWIG_fail
;
14670 Py_INCREF(Py_None
); resultobj
= Py_None
;
14677 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14678 PyObject
*resultobj
;
14679 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14681 PyObject
* obj0
= 0 ;
14682 char *kwnames
[] = {
14683 (char *) "self", NULL
14686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
14687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14688 if (SWIG_arg_fail(1)) SWIG_fail
;
14690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14691 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
14693 wxPyEndAllowThreads(__tstate
);
14694 if (PyErr_Occurred()) SWIG_fail
;
14697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14705 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14706 PyObject
*resultobj
;
14707 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14709 PyObject
* obj0
= 0 ;
14710 PyObject
* obj1
= 0 ;
14711 char *kwnames
[] = {
14712 (char *) "self",(char *) "enabled", NULL
14715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
14716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14717 if (SWIG_arg_fail(1)) SWIG_fail
;
14719 arg2
= (bool)(SWIG_As_bool(obj1
));
14720 if (SWIG_arg_fail(2)) SWIG_fail
;
14723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14724 (arg1
)->SetEvtHandlerEnabled(arg2
);
14726 wxPyEndAllowThreads(__tstate
);
14727 if (PyErr_Occurred()) SWIG_fail
;
14729 Py_INCREF(Py_None
); resultobj
= Py_None
;
14736 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14737 PyObject
*resultobj
;
14738 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14739 wxEvent
*arg2
= 0 ;
14741 PyObject
* obj0
= 0 ;
14742 PyObject
* obj1
= 0 ;
14743 char *kwnames
[] = {
14744 (char *) "self",(char *) "event", NULL
14747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14749 if (SWIG_arg_fail(1)) SWIG_fail
;
14751 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14752 if (SWIG_arg_fail(2)) SWIG_fail
;
14753 if (arg2
== NULL
) {
14754 SWIG_null_ref("wxEvent");
14756 if (SWIG_arg_fail(2)) SWIG_fail
;
14759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14760 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
14762 wxPyEndAllowThreads(__tstate
);
14763 if (PyErr_Occurred()) SWIG_fail
;
14766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14774 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14775 PyObject
*resultobj
;
14776 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14777 wxEvent
*arg2
= 0 ;
14778 PyObject
* obj0
= 0 ;
14779 PyObject
* obj1
= 0 ;
14780 char *kwnames
[] = {
14781 (char *) "self",(char *) "event", NULL
14784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14786 if (SWIG_arg_fail(1)) SWIG_fail
;
14788 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14789 if (SWIG_arg_fail(2)) SWIG_fail
;
14790 if (arg2
== NULL
) {
14791 SWIG_null_ref("wxEvent");
14793 if (SWIG_arg_fail(2)) SWIG_fail
;
14796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14797 (arg1
)->AddPendingEvent(*arg2
);
14799 wxPyEndAllowThreads(__tstate
);
14800 if (PyErr_Occurred()) SWIG_fail
;
14802 Py_INCREF(Py_None
); resultobj
= Py_None
;
14809 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14810 PyObject
*resultobj
;
14811 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14812 PyObject
* obj0
= 0 ;
14813 char *kwnames
[] = {
14814 (char *) "self", NULL
14817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
14818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14819 if (SWIG_arg_fail(1)) SWIG_fail
;
14821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14822 (arg1
)->ProcessPendingEvents();
14824 wxPyEndAllowThreads(__tstate
);
14825 if (PyErr_Occurred()) SWIG_fail
;
14827 Py_INCREF(Py_None
); resultobj
= Py_None
;
14834 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14835 PyObject
*resultobj
;
14836 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14840 PyObject
*arg5
= (PyObject
*) 0 ;
14841 PyObject
* obj0
= 0 ;
14842 PyObject
* obj1
= 0 ;
14843 PyObject
* obj2
= 0 ;
14844 PyObject
* obj3
= 0 ;
14845 PyObject
* obj4
= 0 ;
14846 char *kwnames
[] = {
14847 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
14850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14852 if (SWIG_arg_fail(1)) SWIG_fail
;
14854 arg2
= (int)(SWIG_As_int(obj1
));
14855 if (SWIG_arg_fail(2)) SWIG_fail
;
14858 arg3
= (int)(SWIG_As_int(obj2
));
14859 if (SWIG_arg_fail(3)) SWIG_fail
;
14862 arg4
= (int)(SWIG_As_int(obj3
));
14863 if (SWIG_arg_fail(4)) SWIG_fail
;
14867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14868 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
14870 wxPyEndAllowThreads(__tstate
);
14871 if (PyErr_Occurred()) SWIG_fail
;
14873 Py_INCREF(Py_None
); resultobj
= Py_None
;
14880 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14881 PyObject
*resultobj
;
14882 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14884 int arg3
= (int) -1 ;
14885 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
14887 PyObject
* obj0
= 0 ;
14888 PyObject
* obj1
= 0 ;
14889 PyObject
* obj2
= 0 ;
14890 PyObject
* obj3
= 0 ;
14891 char *kwnames
[] = {
14892 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
14895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14897 if (SWIG_arg_fail(1)) SWIG_fail
;
14899 arg2
= (int)(SWIG_As_int(obj1
));
14900 if (SWIG_arg_fail(2)) SWIG_fail
;
14904 arg3
= (int)(SWIG_As_int(obj2
));
14905 if (SWIG_arg_fail(3)) SWIG_fail
;
14910 arg4
= (wxEventType
)(SWIG_As_int(obj3
));
14911 if (SWIG_arg_fail(4)) SWIG_fail
;
14915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14916 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
14918 wxPyEndAllowThreads(__tstate
);
14919 if (PyErr_Occurred()) SWIG_fail
;
14922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14930 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14931 PyObject
*resultobj
;
14932 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14933 PyObject
*arg2
= (PyObject
*) 0 ;
14934 bool arg3
= (bool) true ;
14935 PyObject
* obj0
= 0 ;
14936 PyObject
* obj1
= 0 ;
14937 PyObject
* obj2
= 0 ;
14938 char *kwnames
[] = {
14939 (char *) "self",(char *) "_self",(char *) "incref", NULL
14942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14944 if (SWIG_arg_fail(1)) SWIG_fail
;
14948 arg3
= (bool)(SWIG_As_bool(obj2
));
14949 if (SWIG_arg_fail(3)) SWIG_fail
;
14953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14954 wxEvtHandler__setOORInfo(arg1
,arg2
,arg3
);
14956 wxPyEndAllowThreads(__tstate
);
14957 if (PyErr_Occurred()) SWIG_fail
;
14959 Py_INCREF(Py_None
); resultobj
= Py_None
;
14966 static PyObject
* EvtHandler_swigregister(PyObject
*, PyObject
*args
) {
14968 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14969 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
14971 return Py_BuildValue((char *)"");
14973 static PyObject
*_wrap_NewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14974 PyObject
*resultobj
;
14975 wxEventType result
;
14976 char *kwnames
[] = {
14980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
14982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14983 result
= (wxEventType
)wxNewEventType();
14985 wxPyEndAllowThreads(__tstate
);
14986 if (PyErr_Occurred()) SWIG_fail
;
14989 resultobj
= SWIG_From_int((int)(result
));
14997 static PyObject
*_wrap_delete_Event(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14998 PyObject
*resultobj
;
14999 wxEvent
*arg1
= (wxEvent
*) 0 ;
15000 PyObject
* obj0
= 0 ;
15001 char *kwnames
[] = {
15002 (char *) "self", NULL
15005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
15006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15007 if (SWIG_arg_fail(1)) SWIG_fail
;
15009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15012 wxPyEndAllowThreads(__tstate
);
15013 if (PyErr_Occurred()) SWIG_fail
;
15015 Py_INCREF(Py_None
); resultobj
= Py_None
;
15022 static PyObject
*_wrap_Event_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15023 PyObject
*resultobj
;
15024 wxEvent
*arg1
= (wxEvent
*) 0 ;
15026 PyObject
* obj0
= 0 ;
15027 PyObject
* obj1
= 0 ;
15028 char *kwnames
[] = {
15029 (char *) "self",(char *) "typ", NULL
15032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
15033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15034 if (SWIG_arg_fail(1)) SWIG_fail
;
15036 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
15037 if (SWIG_arg_fail(2)) SWIG_fail
;
15040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15041 (arg1
)->SetEventType(arg2
);
15043 wxPyEndAllowThreads(__tstate
);
15044 if (PyErr_Occurred()) SWIG_fail
;
15046 Py_INCREF(Py_None
); resultobj
= Py_None
;
15053 static PyObject
*_wrap_Event_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15054 PyObject
*resultobj
;
15055 wxEvent
*arg1
= (wxEvent
*) 0 ;
15056 wxEventType result
;
15057 PyObject
* obj0
= 0 ;
15058 char *kwnames
[] = {
15059 (char *) "self", NULL
15062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
15063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15064 if (SWIG_arg_fail(1)) SWIG_fail
;
15066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15067 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
15069 wxPyEndAllowThreads(__tstate
);
15070 if (PyErr_Occurred()) SWIG_fail
;
15073 resultobj
= SWIG_From_int((int)(result
));
15081 static PyObject
*_wrap_Event_GetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15082 PyObject
*resultobj
;
15083 wxEvent
*arg1
= (wxEvent
*) 0 ;
15085 PyObject
* obj0
= 0 ;
15086 char *kwnames
[] = {
15087 (char *) "self", NULL
15090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
15091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15092 if (SWIG_arg_fail(1)) SWIG_fail
;
15094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15095 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
15097 wxPyEndAllowThreads(__tstate
);
15098 if (PyErr_Occurred()) SWIG_fail
;
15101 resultobj
= wxPyMake_wxObject(result
, 0);
15109 static PyObject
*_wrap_Event_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15110 PyObject
*resultobj
;
15111 wxEvent
*arg1
= (wxEvent
*) 0 ;
15112 wxObject
*arg2
= (wxObject
*) 0 ;
15113 PyObject
* obj0
= 0 ;
15114 PyObject
* obj1
= 0 ;
15115 char *kwnames
[] = {
15116 (char *) "self",(char *) "obj", NULL
15119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
15120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15121 if (SWIG_arg_fail(1)) SWIG_fail
;
15122 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
15123 if (SWIG_arg_fail(2)) SWIG_fail
;
15125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15126 (arg1
)->SetEventObject(arg2
);
15128 wxPyEndAllowThreads(__tstate
);
15129 if (PyErr_Occurred()) SWIG_fail
;
15131 Py_INCREF(Py_None
); resultobj
= Py_None
;
15138 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15139 PyObject
*resultobj
;
15140 wxEvent
*arg1
= (wxEvent
*) 0 ;
15142 PyObject
* obj0
= 0 ;
15143 char *kwnames
[] = {
15144 (char *) "self", NULL
15147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
15148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15149 if (SWIG_arg_fail(1)) SWIG_fail
;
15151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15152 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
15154 wxPyEndAllowThreads(__tstate
);
15155 if (PyErr_Occurred()) SWIG_fail
;
15158 resultobj
= SWIG_From_long((long)(result
));
15166 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15167 PyObject
*resultobj
;
15168 wxEvent
*arg1
= (wxEvent
*) 0 ;
15169 long arg2
= (long) 0 ;
15170 PyObject
* obj0
= 0 ;
15171 PyObject
* obj1
= 0 ;
15172 char *kwnames
[] = {
15173 (char *) "self",(char *) "ts", NULL
15176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
15177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15178 if (SWIG_arg_fail(1)) SWIG_fail
;
15181 arg2
= (long)(SWIG_As_long(obj1
));
15182 if (SWIG_arg_fail(2)) SWIG_fail
;
15186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15187 (arg1
)->SetTimestamp(arg2
);
15189 wxPyEndAllowThreads(__tstate
);
15190 if (PyErr_Occurred()) SWIG_fail
;
15192 Py_INCREF(Py_None
); resultobj
= Py_None
;
15199 static PyObject
*_wrap_Event_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15200 PyObject
*resultobj
;
15201 wxEvent
*arg1
= (wxEvent
*) 0 ;
15203 PyObject
* obj0
= 0 ;
15204 char *kwnames
[] = {
15205 (char *) "self", NULL
15208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
15209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15210 if (SWIG_arg_fail(1)) SWIG_fail
;
15212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15213 result
= (int)((wxEvent
const *)arg1
)->GetId();
15215 wxPyEndAllowThreads(__tstate
);
15216 if (PyErr_Occurred()) SWIG_fail
;
15219 resultobj
= SWIG_From_int((int)(result
));
15227 static PyObject
*_wrap_Event_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15228 PyObject
*resultobj
;
15229 wxEvent
*arg1
= (wxEvent
*) 0 ;
15231 PyObject
* obj0
= 0 ;
15232 PyObject
* obj1
= 0 ;
15233 char *kwnames
[] = {
15234 (char *) "self",(char *) "Id", NULL
15237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
15238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15239 if (SWIG_arg_fail(1)) SWIG_fail
;
15241 arg2
= (int)(SWIG_As_int(obj1
));
15242 if (SWIG_arg_fail(2)) SWIG_fail
;
15245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15246 (arg1
)->SetId(arg2
);
15248 wxPyEndAllowThreads(__tstate
);
15249 if (PyErr_Occurred()) SWIG_fail
;
15251 Py_INCREF(Py_None
); resultobj
= Py_None
;
15258 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15259 PyObject
*resultobj
;
15260 wxEvent
*arg1
= (wxEvent
*) 0 ;
15262 PyObject
* obj0
= 0 ;
15263 char *kwnames
[] = {
15264 (char *) "self", NULL
15267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
15268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15269 if (SWIG_arg_fail(1)) SWIG_fail
;
15271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15272 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
15274 wxPyEndAllowThreads(__tstate
);
15275 if (PyErr_Occurred()) SWIG_fail
;
15278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15286 static PyObject
*_wrap_Event_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15287 PyObject
*resultobj
;
15288 wxEvent
*arg1
= (wxEvent
*) 0 ;
15289 bool arg2
= (bool) true ;
15290 PyObject
* obj0
= 0 ;
15291 PyObject
* obj1
= 0 ;
15292 char *kwnames
[] = {
15293 (char *) "self",(char *) "skip", NULL
15296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
15297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15298 if (SWIG_arg_fail(1)) SWIG_fail
;
15301 arg2
= (bool)(SWIG_As_bool(obj1
));
15302 if (SWIG_arg_fail(2)) SWIG_fail
;
15306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15307 (arg1
)->Skip(arg2
);
15309 wxPyEndAllowThreads(__tstate
);
15310 if (PyErr_Occurred()) SWIG_fail
;
15312 Py_INCREF(Py_None
); resultobj
= Py_None
;
15319 static PyObject
*_wrap_Event_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15320 PyObject
*resultobj
;
15321 wxEvent
*arg1
= (wxEvent
*) 0 ;
15323 PyObject
* obj0
= 0 ;
15324 char *kwnames
[] = {
15325 (char *) "self", NULL
15328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
15329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15330 if (SWIG_arg_fail(1)) SWIG_fail
;
15332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15333 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
15335 wxPyEndAllowThreads(__tstate
);
15336 if (PyErr_Occurred()) SWIG_fail
;
15339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15347 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15348 PyObject
*resultobj
;
15349 wxEvent
*arg1
= (wxEvent
*) 0 ;
15351 PyObject
* obj0
= 0 ;
15352 char *kwnames
[] = {
15353 (char *) "self", NULL
15356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
15357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15358 if (SWIG_arg_fail(1)) SWIG_fail
;
15360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15361 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
15363 wxPyEndAllowThreads(__tstate
);
15364 if (PyErr_Occurred()) SWIG_fail
;
15367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15375 static PyObject
*_wrap_Event_StopPropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15376 PyObject
*resultobj
;
15377 wxEvent
*arg1
= (wxEvent
*) 0 ;
15379 PyObject
* obj0
= 0 ;
15380 char *kwnames
[] = {
15381 (char *) "self", NULL
15384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
15385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15386 if (SWIG_arg_fail(1)) SWIG_fail
;
15388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15389 result
= (int)(arg1
)->StopPropagation();
15391 wxPyEndAllowThreads(__tstate
);
15392 if (PyErr_Occurred()) SWIG_fail
;
15395 resultobj
= SWIG_From_int((int)(result
));
15403 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15404 PyObject
*resultobj
;
15405 wxEvent
*arg1
= (wxEvent
*) 0 ;
15407 PyObject
* obj0
= 0 ;
15408 PyObject
* obj1
= 0 ;
15409 char *kwnames
[] = {
15410 (char *) "self",(char *) "propagationLevel", NULL
15413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
15414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15415 if (SWIG_arg_fail(1)) SWIG_fail
;
15417 arg2
= (int)(SWIG_As_int(obj1
));
15418 if (SWIG_arg_fail(2)) SWIG_fail
;
15421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15422 (arg1
)->ResumePropagation(arg2
);
15424 wxPyEndAllowThreads(__tstate
);
15425 if (PyErr_Occurred()) SWIG_fail
;
15427 Py_INCREF(Py_None
); resultobj
= Py_None
;
15434 static PyObject
*_wrap_Event_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15435 PyObject
*resultobj
;
15436 wxEvent
*arg1
= (wxEvent
*) 0 ;
15438 PyObject
* obj0
= 0 ;
15439 char *kwnames
[] = {
15440 (char *) "self", NULL
15443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
15444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15445 if (SWIG_arg_fail(1)) SWIG_fail
;
15447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15448 result
= (wxEvent
*)(arg1
)->Clone();
15450 wxPyEndAllowThreads(__tstate
);
15451 if (PyErr_Occurred()) SWIG_fail
;
15453 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
15460 static PyObject
* Event_swigregister(PyObject
*, PyObject
*args
) {
15462 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15463 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
15465 return Py_BuildValue((char *)"");
15467 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15468 PyObject
*resultobj
;
15469 wxEvent
*arg1
= 0 ;
15470 wxPropagationDisabler
*result
;
15471 PyObject
* obj0
= 0 ;
15472 char *kwnames
[] = {
15473 (char *) "event", NULL
15476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
15478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15479 if (SWIG_arg_fail(1)) SWIG_fail
;
15480 if (arg1
== NULL
) {
15481 SWIG_null_ref("wxEvent");
15483 if (SWIG_arg_fail(1)) SWIG_fail
;
15486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15487 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
15489 wxPyEndAllowThreads(__tstate
);
15490 if (PyErr_Occurred()) SWIG_fail
;
15492 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
15499 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15500 PyObject
*resultobj
;
15501 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
15502 PyObject
* obj0
= 0 ;
15503 char *kwnames
[] = {
15504 (char *) "self", NULL
15507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
15508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagationDisabler
, SWIG_POINTER_EXCEPTION
| 0);
15509 if (SWIG_arg_fail(1)) SWIG_fail
;
15511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15514 wxPyEndAllowThreads(__tstate
);
15515 if (PyErr_Occurred()) SWIG_fail
;
15517 Py_INCREF(Py_None
); resultobj
= Py_None
;
15524 static PyObject
* PropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
15526 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15527 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
15529 return Py_BuildValue((char *)"");
15531 static PyObject
*_wrap_new_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15532 PyObject
*resultobj
;
15533 wxEvent
*arg1
= 0 ;
15534 wxPropagateOnce
*result
;
15535 PyObject
* obj0
= 0 ;
15536 char *kwnames
[] = {
15537 (char *) "event", NULL
15540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
15542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15543 if (SWIG_arg_fail(1)) SWIG_fail
;
15544 if (arg1
== NULL
) {
15545 SWIG_null_ref("wxEvent");
15547 if (SWIG_arg_fail(1)) SWIG_fail
;
15550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15551 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
15553 wxPyEndAllowThreads(__tstate
);
15554 if (PyErr_Occurred()) SWIG_fail
;
15556 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
15563 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15564 PyObject
*resultobj
;
15565 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
15566 PyObject
* obj0
= 0 ;
15567 char *kwnames
[] = {
15568 (char *) "self", NULL
15571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
15572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagateOnce
, SWIG_POINTER_EXCEPTION
| 0);
15573 if (SWIG_arg_fail(1)) SWIG_fail
;
15575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15578 wxPyEndAllowThreads(__tstate
);
15579 if (PyErr_Occurred()) SWIG_fail
;
15581 Py_INCREF(Py_None
); resultobj
= Py_None
;
15588 static PyObject
* PropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
15590 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15591 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
15593 return Py_BuildValue((char *)"");
15595 static PyObject
*_wrap_new_CommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15596 PyObject
*resultobj
;
15597 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15598 int arg2
= (int) 0 ;
15599 wxCommandEvent
*result
;
15600 PyObject
* obj0
= 0 ;
15601 PyObject
* obj1
= 0 ;
15602 char *kwnames
[] = {
15603 (char *) "commandType",(char *) "winid", NULL
15606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15609 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15610 if (SWIG_arg_fail(1)) SWIG_fail
;
15615 arg2
= (int)(SWIG_As_int(obj1
));
15616 if (SWIG_arg_fail(2)) SWIG_fail
;
15620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15621 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
15623 wxPyEndAllowThreads(__tstate
);
15624 if (PyErr_Occurred()) SWIG_fail
;
15626 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
15633 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15634 PyObject
*resultobj
;
15635 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15637 PyObject
* obj0
= 0 ;
15638 char *kwnames
[] = {
15639 (char *) "self", NULL
15642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
15643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15644 if (SWIG_arg_fail(1)) SWIG_fail
;
15646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15647 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
15649 wxPyEndAllowThreads(__tstate
);
15650 if (PyErr_Occurred()) SWIG_fail
;
15653 resultobj
= SWIG_From_int((int)(result
));
15661 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15662 PyObject
*resultobj
;
15663 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15664 wxString
*arg2
= 0 ;
15665 bool temp2
= false ;
15666 PyObject
* obj0
= 0 ;
15667 PyObject
* obj1
= 0 ;
15668 char *kwnames
[] = {
15669 (char *) "self",(char *) "s", NULL
15672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
15673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15674 if (SWIG_arg_fail(1)) SWIG_fail
;
15676 arg2
= wxString_in_helper(obj1
);
15677 if (arg2
== NULL
) SWIG_fail
;
15681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15682 (arg1
)->SetString((wxString
const &)*arg2
);
15684 wxPyEndAllowThreads(__tstate
);
15685 if (PyErr_Occurred()) SWIG_fail
;
15687 Py_INCREF(Py_None
); resultobj
= Py_None
;
15702 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15703 PyObject
*resultobj
;
15704 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15706 PyObject
* obj0
= 0 ;
15707 char *kwnames
[] = {
15708 (char *) "self", NULL
15711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
15712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15713 if (SWIG_arg_fail(1)) SWIG_fail
;
15715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15716 result
= ((wxCommandEvent
const *)arg1
)->GetString();
15718 wxPyEndAllowThreads(__tstate
);
15719 if (PyErr_Occurred()) SWIG_fail
;
15723 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15725 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15734 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15735 PyObject
*resultobj
;
15736 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15738 PyObject
* obj0
= 0 ;
15739 char *kwnames
[] = {
15740 (char *) "self", NULL
15743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
15744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15745 if (SWIG_arg_fail(1)) SWIG_fail
;
15747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15748 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
15750 wxPyEndAllowThreads(__tstate
);
15751 if (PyErr_Occurred()) SWIG_fail
;
15754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15762 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15763 PyObject
*resultobj
;
15764 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15766 PyObject
* obj0
= 0 ;
15767 char *kwnames
[] = {
15768 (char *) "self", NULL
15771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
15772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15773 if (SWIG_arg_fail(1)) SWIG_fail
;
15775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15776 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
15778 wxPyEndAllowThreads(__tstate
);
15779 if (PyErr_Occurred()) SWIG_fail
;
15782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15790 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15791 PyObject
*resultobj
;
15792 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15794 PyObject
* obj0
= 0 ;
15795 PyObject
* obj1
= 0 ;
15796 char *kwnames
[] = {
15797 (char *) "self",(char *) "extraLong", NULL
15800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
15801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15802 if (SWIG_arg_fail(1)) SWIG_fail
;
15804 arg2
= (long)(SWIG_As_long(obj1
));
15805 if (SWIG_arg_fail(2)) SWIG_fail
;
15808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15809 (arg1
)->SetExtraLong(arg2
);
15811 wxPyEndAllowThreads(__tstate
);
15812 if (PyErr_Occurred()) SWIG_fail
;
15814 Py_INCREF(Py_None
); resultobj
= Py_None
;
15821 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15822 PyObject
*resultobj
;
15823 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15825 PyObject
* obj0
= 0 ;
15826 char *kwnames
[] = {
15827 (char *) "self", NULL
15830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
15831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15832 if (SWIG_arg_fail(1)) SWIG_fail
;
15834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15835 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
15837 wxPyEndAllowThreads(__tstate
);
15838 if (PyErr_Occurred()) SWIG_fail
;
15841 resultobj
= SWIG_From_long((long)(result
));
15849 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15850 PyObject
*resultobj
;
15851 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15853 PyObject
* obj0
= 0 ;
15854 PyObject
* obj1
= 0 ;
15855 char *kwnames
[] = {
15856 (char *) "self",(char *) "i", NULL
15859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
15860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15861 if (SWIG_arg_fail(1)) SWIG_fail
;
15863 arg2
= (int)(SWIG_As_int(obj1
));
15864 if (SWIG_arg_fail(2)) SWIG_fail
;
15867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15868 (arg1
)->SetInt(arg2
);
15870 wxPyEndAllowThreads(__tstate
);
15871 if (PyErr_Occurred()) SWIG_fail
;
15873 Py_INCREF(Py_None
); resultobj
= Py_None
;
15880 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15881 PyObject
*resultobj
;
15882 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15884 PyObject
* obj0
= 0 ;
15885 char *kwnames
[] = {
15886 (char *) "self", NULL
15889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
15890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15891 if (SWIG_arg_fail(1)) SWIG_fail
;
15893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15894 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
15896 wxPyEndAllowThreads(__tstate
);
15897 if (PyErr_Occurred()) SWIG_fail
;
15900 resultobj
= SWIG_From_long((long)(result
));
15908 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15909 PyObject
*resultobj
;
15910 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15912 PyObject
* obj0
= 0 ;
15913 char *kwnames
[] = {
15914 (char *) "self", NULL
15917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
15918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15919 if (SWIG_arg_fail(1)) SWIG_fail
;
15921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15922 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
15924 wxPyEndAllowThreads(__tstate
);
15925 if (PyErr_Occurred()) SWIG_fail
;
15927 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
15934 static PyObject
* CommandEvent_swigregister(PyObject
*, PyObject
*args
) {
15936 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15937 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
15939 return Py_BuildValue((char *)"");
15941 static PyObject
*_wrap_new_NotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15942 PyObject
*resultobj
;
15943 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15944 int arg2
= (int) 0 ;
15945 wxNotifyEvent
*result
;
15946 PyObject
* obj0
= 0 ;
15947 PyObject
* obj1
= 0 ;
15948 char *kwnames
[] = {
15949 (char *) "commandType",(char *) "winid", NULL
15952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15955 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15956 if (SWIG_arg_fail(1)) SWIG_fail
;
15961 arg2
= (int)(SWIG_As_int(obj1
));
15962 if (SWIG_arg_fail(2)) SWIG_fail
;
15966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15967 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
15969 wxPyEndAllowThreads(__tstate
);
15970 if (PyErr_Occurred()) SWIG_fail
;
15972 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
15979 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15980 PyObject
*resultobj
;
15981 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15982 PyObject
* obj0
= 0 ;
15983 char *kwnames
[] = {
15984 (char *) "self", NULL
15987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
15988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15989 if (SWIG_arg_fail(1)) SWIG_fail
;
15991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15994 wxPyEndAllowThreads(__tstate
);
15995 if (PyErr_Occurred()) SWIG_fail
;
15997 Py_INCREF(Py_None
); resultobj
= Py_None
;
16004 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16005 PyObject
*resultobj
;
16006 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
16007 PyObject
* obj0
= 0 ;
16008 char *kwnames
[] = {
16009 (char *) "self", NULL
16012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
16013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
16014 if (SWIG_arg_fail(1)) SWIG_fail
;
16016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16019 wxPyEndAllowThreads(__tstate
);
16020 if (PyErr_Occurred()) SWIG_fail
;
16022 Py_INCREF(Py_None
); resultobj
= Py_None
;
16029 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16030 PyObject
*resultobj
;
16031 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
16033 PyObject
* obj0
= 0 ;
16034 char *kwnames
[] = {
16035 (char *) "self", NULL
16038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
16039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
16040 if (SWIG_arg_fail(1)) SWIG_fail
;
16042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16043 result
= (bool)(arg1
)->IsAllowed();
16045 wxPyEndAllowThreads(__tstate
);
16046 if (PyErr_Occurred()) SWIG_fail
;
16049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16057 static PyObject
* NotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
16059 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16060 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
16062 return Py_BuildValue((char *)"");
16064 static PyObject
*_wrap_new_ScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16065 PyObject
*resultobj
;
16066 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16067 int arg2
= (int) 0 ;
16068 int arg3
= (int) 0 ;
16069 int arg4
= (int) 0 ;
16070 wxScrollEvent
*result
;
16071 PyObject
* obj0
= 0 ;
16072 PyObject
* obj1
= 0 ;
16073 PyObject
* obj2
= 0 ;
16074 PyObject
* obj3
= 0 ;
16075 char *kwnames
[] = {
16076 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
16079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16082 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16083 if (SWIG_arg_fail(1)) SWIG_fail
;
16088 arg2
= (int)(SWIG_As_int(obj1
));
16089 if (SWIG_arg_fail(2)) SWIG_fail
;
16094 arg3
= (int)(SWIG_As_int(obj2
));
16095 if (SWIG_arg_fail(3)) SWIG_fail
;
16100 arg4
= (int)(SWIG_As_int(obj3
));
16101 if (SWIG_arg_fail(4)) SWIG_fail
;
16105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16106 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
16108 wxPyEndAllowThreads(__tstate
);
16109 if (PyErr_Occurred()) SWIG_fail
;
16111 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
16118 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16119 PyObject
*resultobj
;
16120 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16122 PyObject
* obj0
= 0 ;
16123 char *kwnames
[] = {
16124 (char *) "self", NULL
16127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
16128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16129 if (SWIG_arg_fail(1)) SWIG_fail
;
16131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16132 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
16134 wxPyEndAllowThreads(__tstate
);
16135 if (PyErr_Occurred()) SWIG_fail
;
16138 resultobj
= SWIG_From_int((int)(result
));
16146 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16147 PyObject
*resultobj
;
16148 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16150 PyObject
* obj0
= 0 ;
16151 char *kwnames
[] = {
16152 (char *) "self", NULL
16155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16157 if (SWIG_arg_fail(1)) SWIG_fail
;
16159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16160 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
16162 wxPyEndAllowThreads(__tstate
);
16163 if (PyErr_Occurred()) SWIG_fail
;
16166 resultobj
= SWIG_From_int((int)(result
));
16174 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16175 PyObject
*resultobj
;
16176 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16178 PyObject
* obj0
= 0 ;
16179 PyObject
* obj1
= 0 ;
16180 char *kwnames
[] = {
16181 (char *) "self",(char *) "orient", NULL
16184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16186 if (SWIG_arg_fail(1)) SWIG_fail
;
16188 arg2
= (int)(SWIG_As_int(obj1
));
16189 if (SWIG_arg_fail(2)) SWIG_fail
;
16192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16193 (arg1
)->SetOrientation(arg2
);
16195 wxPyEndAllowThreads(__tstate
);
16196 if (PyErr_Occurred()) SWIG_fail
;
16198 Py_INCREF(Py_None
); resultobj
= Py_None
;
16205 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16206 PyObject
*resultobj
;
16207 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16209 PyObject
* obj0
= 0 ;
16210 PyObject
* obj1
= 0 ;
16211 char *kwnames
[] = {
16212 (char *) "self",(char *) "pos", NULL
16215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16217 if (SWIG_arg_fail(1)) SWIG_fail
;
16219 arg2
= (int)(SWIG_As_int(obj1
));
16220 if (SWIG_arg_fail(2)) SWIG_fail
;
16223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16224 (arg1
)->SetPosition(arg2
);
16226 wxPyEndAllowThreads(__tstate
);
16227 if (PyErr_Occurred()) SWIG_fail
;
16229 Py_INCREF(Py_None
); resultobj
= Py_None
;
16236 static PyObject
* ScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
16238 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16239 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
16241 return Py_BuildValue((char *)"");
16243 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16244 PyObject
*resultobj
;
16245 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16246 int arg2
= (int) 0 ;
16247 int arg3
= (int) 0 ;
16248 wxScrollWinEvent
*result
;
16249 PyObject
* obj0
= 0 ;
16250 PyObject
* obj1
= 0 ;
16251 PyObject
* obj2
= 0 ;
16252 char *kwnames
[] = {
16253 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
16256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16259 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16260 if (SWIG_arg_fail(1)) SWIG_fail
;
16265 arg2
= (int)(SWIG_As_int(obj1
));
16266 if (SWIG_arg_fail(2)) SWIG_fail
;
16271 arg3
= (int)(SWIG_As_int(obj2
));
16272 if (SWIG_arg_fail(3)) SWIG_fail
;
16276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16277 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
16279 wxPyEndAllowThreads(__tstate
);
16280 if (PyErr_Occurred()) SWIG_fail
;
16282 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
16289 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16290 PyObject
*resultobj
;
16291 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16293 PyObject
* obj0
= 0 ;
16294 char *kwnames
[] = {
16295 (char *) "self", NULL
16298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
16299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16300 if (SWIG_arg_fail(1)) SWIG_fail
;
16302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16303 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
16305 wxPyEndAllowThreads(__tstate
);
16306 if (PyErr_Occurred()) SWIG_fail
;
16309 resultobj
= SWIG_From_int((int)(result
));
16317 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16318 PyObject
*resultobj
;
16319 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16321 PyObject
* obj0
= 0 ;
16322 char *kwnames
[] = {
16323 (char *) "self", NULL
16326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16328 if (SWIG_arg_fail(1)) SWIG_fail
;
16330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16331 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
16333 wxPyEndAllowThreads(__tstate
);
16334 if (PyErr_Occurred()) SWIG_fail
;
16337 resultobj
= SWIG_From_int((int)(result
));
16345 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16346 PyObject
*resultobj
;
16347 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16349 PyObject
* obj0
= 0 ;
16350 PyObject
* obj1
= 0 ;
16351 char *kwnames
[] = {
16352 (char *) "self",(char *) "orient", NULL
16355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16357 if (SWIG_arg_fail(1)) SWIG_fail
;
16359 arg2
= (int)(SWIG_As_int(obj1
));
16360 if (SWIG_arg_fail(2)) SWIG_fail
;
16363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16364 (arg1
)->SetOrientation(arg2
);
16366 wxPyEndAllowThreads(__tstate
);
16367 if (PyErr_Occurred()) SWIG_fail
;
16369 Py_INCREF(Py_None
); resultobj
= Py_None
;
16376 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16377 PyObject
*resultobj
;
16378 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16380 PyObject
* obj0
= 0 ;
16381 PyObject
* obj1
= 0 ;
16382 char *kwnames
[] = {
16383 (char *) "self",(char *) "pos", NULL
16386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16388 if (SWIG_arg_fail(1)) SWIG_fail
;
16390 arg2
= (int)(SWIG_As_int(obj1
));
16391 if (SWIG_arg_fail(2)) SWIG_fail
;
16394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16395 (arg1
)->SetPosition(arg2
);
16397 wxPyEndAllowThreads(__tstate
);
16398 if (PyErr_Occurred()) SWIG_fail
;
16400 Py_INCREF(Py_None
); resultobj
= Py_None
;
16407 static PyObject
* ScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
16409 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16410 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
16412 return Py_BuildValue((char *)"");
16414 static PyObject
*_wrap_new_MouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16415 PyObject
*resultobj
;
16416 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16417 wxMouseEvent
*result
;
16418 PyObject
* obj0
= 0 ;
16419 char *kwnames
[] = {
16420 (char *) "mouseType", NULL
16423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
16426 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16427 if (SWIG_arg_fail(1)) SWIG_fail
;
16431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16432 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
16434 wxPyEndAllowThreads(__tstate
);
16435 if (PyErr_Occurred()) SWIG_fail
;
16438 resultobj
= wxPyMake_wxObject(result
, 1);
16446 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16447 PyObject
*resultobj
;
16448 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16450 PyObject
* obj0
= 0 ;
16451 char *kwnames
[] = {
16452 (char *) "self", NULL
16455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
16456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16457 if (SWIG_arg_fail(1)) SWIG_fail
;
16459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16460 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
16462 wxPyEndAllowThreads(__tstate
);
16463 if (PyErr_Occurred()) SWIG_fail
;
16466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16474 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16475 PyObject
*resultobj
;
16476 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16477 int arg2
= (int) wxMOUSE_BTN_ANY
;
16479 PyObject
* obj0
= 0 ;
16480 PyObject
* obj1
= 0 ;
16481 char *kwnames
[] = {
16482 (char *) "self",(char *) "but", NULL
16485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
16486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16487 if (SWIG_arg_fail(1)) SWIG_fail
;
16490 arg2
= (int)(SWIG_As_int(obj1
));
16491 if (SWIG_arg_fail(2)) SWIG_fail
;
16495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16496 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
16498 wxPyEndAllowThreads(__tstate
);
16499 if (PyErr_Occurred()) SWIG_fail
;
16502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16510 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16511 PyObject
*resultobj
;
16512 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16513 int arg2
= (int) wxMOUSE_BTN_ANY
;
16515 PyObject
* obj0
= 0 ;
16516 PyObject
* obj1
= 0 ;
16517 char *kwnames
[] = {
16518 (char *) "self",(char *) "but", NULL
16521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
16522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16523 if (SWIG_arg_fail(1)) SWIG_fail
;
16526 arg2
= (int)(SWIG_As_int(obj1
));
16527 if (SWIG_arg_fail(2)) SWIG_fail
;
16531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16532 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
16534 wxPyEndAllowThreads(__tstate
);
16535 if (PyErr_Occurred()) SWIG_fail
;
16538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16546 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16547 PyObject
*resultobj
;
16548 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16549 int arg2
= (int) wxMOUSE_BTN_ANY
;
16551 PyObject
* obj0
= 0 ;
16552 PyObject
* obj1
= 0 ;
16553 char *kwnames
[] = {
16554 (char *) "self",(char *) "but", NULL
16557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
16558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16559 if (SWIG_arg_fail(1)) SWIG_fail
;
16562 arg2
= (int)(SWIG_As_int(obj1
));
16563 if (SWIG_arg_fail(2)) SWIG_fail
;
16567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16568 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
16570 wxPyEndAllowThreads(__tstate
);
16571 if (PyErr_Occurred()) SWIG_fail
;
16574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16582 static PyObject
*_wrap_MouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16583 PyObject
*resultobj
;
16584 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16587 PyObject
* obj0
= 0 ;
16588 PyObject
* obj1
= 0 ;
16589 char *kwnames
[] = {
16590 (char *) "self",(char *) "button", NULL
16593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
16594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16595 if (SWIG_arg_fail(1)) SWIG_fail
;
16597 arg2
= (int)(SWIG_As_int(obj1
));
16598 if (SWIG_arg_fail(2)) SWIG_fail
;
16601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16602 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
16604 wxPyEndAllowThreads(__tstate
);
16605 if (PyErr_Occurred()) SWIG_fail
;
16608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16616 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16617 PyObject
*resultobj
;
16618 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16621 PyObject
* obj0
= 0 ;
16622 PyObject
* obj1
= 0 ;
16623 char *kwnames
[] = {
16624 (char *) "self",(char *) "but", NULL
16627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
16628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16629 if (SWIG_arg_fail(1)) SWIG_fail
;
16631 arg2
= (int)(SWIG_As_int(obj1
));
16632 if (SWIG_arg_fail(2)) SWIG_fail
;
16635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16636 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
16638 wxPyEndAllowThreads(__tstate
);
16639 if (PyErr_Occurred()) SWIG_fail
;
16642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16650 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16651 PyObject
*resultobj
;
16652 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16654 PyObject
* obj0
= 0 ;
16655 char *kwnames
[] = {
16656 (char *) "self", NULL
16659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
16660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16661 if (SWIG_arg_fail(1)) SWIG_fail
;
16663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16664 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
16666 wxPyEndAllowThreads(__tstate
);
16667 if (PyErr_Occurred()) SWIG_fail
;
16670 resultobj
= SWIG_From_int((int)(result
));
16678 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16679 PyObject
*resultobj
;
16680 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16682 PyObject
* obj0
= 0 ;
16683 char *kwnames
[] = {
16684 (char *) "self", NULL
16687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
16688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16689 if (SWIG_arg_fail(1)) SWIG_fail
;
16691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16692 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
16694 wxPyEndAllowThreads(__tstate
);
16695 if (PyErr_Occurred()) SWIG_fail
;
16698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16706 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16707 PyObject
*resultobj
;
16708 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16710 PyObject
* obj0
= 0 ;
16711 char *kwnames
[] = {
16712 (char *) "self", NULL
16715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
16716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16717 if (SWIG_arg_fail(1)) SWIG_fail
;
16719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16720 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
16722 wxPyEndAllowThreads(__tstate
);
16723 if (PyErr_Occurred()) SWIG_fail
;
16726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16734 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16735 PyObject
*resultobj
;
16736 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16738 PyObject
* obj0
= 0 ;
16739 char *kwnames
[] = {
16740 (char *) "self", NULL
16743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
16744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16745 if (SWIG_arg_fail(1)) SWIG_fail
;
16747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16748 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
16750 wxPyEndAllowThreads(__tstate
);
16751 if (PyErr_Occurred()) SWIG_fail
;
16754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16762 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16763 PyObject
*resultobj
;
16764 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16766 PyObject
* obj0
= 0 ;
16767 char *kwnames
[] = {
16768 (char *) "self", NULL
16771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
16772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16773 if (SWIG_arg_fail(1)) SWIG_fail
;
16775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16776 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
16778 wxPyEndAllowThreads(__tstate
);
16779 if (PyErr_Occurred()) SWIG_fail
;
16782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16790 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16791 PyObject
*resultobj
;
16792 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16794 PyObject
* obj0
= 0 ;
16795 char *kwnames
[] = {
16796 (char *) "self", NULL
16799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
16800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16801 if (SWIG_arg_fail(1)) SWIG_fail
;
16803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16804 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
16806 wxPyEndAllowThreads(__tstate
);
16807 if (PyErr_Occurred()) SWIG_fail
;
16810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16818 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16819 PyObject
*resultobj
;
16820 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16822 PyObject
* obj0
= 0 ;
16823 char *kwnames
[] = {
16824 (char *) "self", NULL
16827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
16828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16829 if (SWIG_arg_fail(1)) SWIG_fail
;
16831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16832 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
16834 wxPyEndAllowThreads(__tstate
);
16835 if (PyErr_Occurred()) SWIG_fail
;
16838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16846 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16847 PyObject
*resultobj
;
16848 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16850 PyObject
* obj0
= 0 ;
16851 char *kwnames
[] = {
16852 (char *) "self", NULL
16855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
16856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16857 if (SWIG_arg_fail(1)) SWIG_fail
;
16859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16860 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
16862 wxPyEndAllowThreads(__tstate
);
16863 if (PyErr_Occurred()) SWIG_fail
;
16866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16874 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16875 PyObject
*resultobj
;
16876 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16878 PyObject
* obj0
= 0 ;
16879 char *kwnames
[] = {
16880 (char *) "self", NULL
16883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
16884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16885 if (SWIG_arg_fail(1)) SWIG_fail
;
16887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16888 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
16890 wxPyEndAllowThreads(__tstate
);
16891 if (PyErr_Occurred()) SWIG_fail
;
16894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16902 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16903 PyObject
*resultobj
;
16904 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16906 PyObject
* obj0
= 0 ;
16907 char *kwnames
[] = {
16908 (char *) "self", NULL
16911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
16912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16913 if (SWIG_arg_fail(1)) SWIG_fail
;
16915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16916 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
16918 wxPyEndAllowThreads(__tstate
);
16919 if (PyErr_Occurred()) SWIG_fail
;
16922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16930 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16931 PyObject
*resultobj
;
16932 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16934 PyObject
* obj0
= 0 ;
16935 char *kwnames
[] = {
16936 (char *) "self", NULL
16939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
16940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16941 if (SWIG_arg_fail(1)) SWIG_fail
;
16943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16944 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
16946 wxPyEndAllowThreads(__tstate
);
16947 if (PyErr_Occurred()) SWIG_fail
;
16950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16958 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16959 PyObject
*resultobj
;
16960 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16962 PyObject
* obj0
= 0 ;
16963 char *kwnames
[] = {
16964 (char *) "self", NULL
16967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
16968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16969 if (SWIG_arg_fail(1)) SWIG_fail
;
16971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16972 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
16974 wxPyEndAllowThreads(__tstate
);
16975 if (PyErr_Occurred()) SWIG_fail
;
16978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16986 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16987 PyObject
*resultobj
;
16988 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16990 PyObject
* obj0
= 0 ;
16991 char *kwnames
[] = {
16992 (char *) "self", NULL
16995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
16996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16997 if (SWIG_arg_fail(1)) SWIG_fail
;
16999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17000 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
17002 wxPyEndAllowThreads(__tstate
);
17003 if (PyErr_Occurred()) SWIG_fail
;
17006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17014 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17015 PyObject
*resultobj
;
17016 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17018 PyObject
* obj0
= 0 ;
17019 char *kwnames
[] = {
17020 (char *) "self", NULL
17023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
17024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17025 if (SWIG_arg_fail(1)) SWIG_fail
;
17027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17028 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
17030 wxPyEndAllowThreads(__tstate
);
17031 if (PyErr_Occurred()) SWIG_fail
;
17034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17042 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17043 PyObject
*resultobj
;
17044 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17046 PyObject
* obj0
= 0 ;
17047 char *kwnames
[] = {
17048 (char *) "self", NULL
17051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
17052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17053 if (SWIG_arg_fail(1)) SWIG_fail
;
17055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17056 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
17058 wxPyEndAllowThreads(__tstate
);
17059 if (PyErr_Occurred()) SWIG_fail
;
17062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17070 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17071 PyObject
*resultobj
;
17072 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17074 PyObject
* obj0
= 0 ;
17075 char *kwnames
[] = {
17076 (char *) "self", NULL
17079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
17080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17081 if (SWIG_arg_fail(1)) SWIG_fail
;
17083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17084 result
= (bool)(arg1
)->LeftIsDown();
17086 wxPyEndAllowThreads(__tstate
);
17087 if (PyErr_Occurred()) SWIG_fail
;
17090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17098 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17099 PyObject
*resultobj
;
17100 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17102 PyObject
* obj0
= 0 ;
17103 char *kwnames
[] = {
17104 (char *) "self", NULL
17107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
17108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17109 if (SWIG_arg_fail(1)) SWIG_fail
;
17111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17112 result
= (bool)(arg1
)->MiddleIsDown();
17114 wxPyEndAllowThreads(__tstate
);
17115 if (PyErr_Occurred()) SWIG_fail
;
17118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17126 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17127 PyObject
*resultobj
;
17128 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17130 PyObject
* obj0
= 0 ;
17131 char *kwnames
[] = {
17132 (char *) "self", NULL
17135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
17136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17137 if (SWIG_arg_fail(1)) SWIG_fail
;
17139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17140 result
= (bool)(arg1
)->RightIsDown();
17142 wxPyEndAllowThreads(__tstate
);
17143 if (PyErr_Occurred()) SWIG_fail
;
17146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17154 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17155 PyObject
*resultobj
;
17156 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17158 PyObject
* obj0
= 0 ;
17159 char *kwnames
[] = {
17160 (char *) "self", NULL
17163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
17164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17165 if (SWIG_arg_fail(1)) SWIG_fail
;
17167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17168 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
17170 wxPyEndAllowThreads(__tstate
);
17171 if (PyErr_Occurred()) SWIG_fail
;
17174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17182 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17183 PyObject
*resultobj
;
17184 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17186 PyObject
* obj0
= 0 ;
17187 char *kwnames
[] = {
17188 (char *) "self", NULL
17191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
17192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17193 if (SWIG_arg_fail(1)) SWIG_fail
;
17195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17196 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
17198 wxPyEndAllowThreads(__tstate
);
17199 if (PyErr_Occurred()) SWIG_fail
;
17202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17210 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17211 PyObject
*resultobj
;
17212 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17214 PyObject
* obj0
= 0 ;
17215 char *kwnames
[] = {
17216 (char *) "self", NULL
17219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
17220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17221 if (SWIG_arg_fail(1)) SWIG_fail
;
17223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17224 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
17226 wxPyEndAllowThreads(__tstate
);
17227 if (PyErr_Occurred()) SWIG_fail
;
17230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17238 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17239 PyObject
*resultobj
;
17240 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17242 PyObject
* obj0
= 0 ;
17243 char *kwnames
[] = {
17244 (char *) "self", NULL
17247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
17248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17249 if (SWIG_arg_fail(1)) SWIG_fail
;
17251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17252 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
17254 wxPyEndAllowThreads(__tstate
);
17255 if (PyErr_Occurred()) SWIG_fail
;
17258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17266 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17267 PyObject
*resultobj
;
17268 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17270 PyObject
* obj0
= 0 ;
17271 char *kwnames
[] = {
17272 (char *) "self", NULL
17275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17277 if (SWIG_arg_fail(1)) SWIG_fail
;
17279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17280 result
= (arg1
)->GetPosition();
17282 wxPyEndAllowThreads(__tstate
);
17283 if (PyErr_Occurred()) SWIG_fail
;
17286 wxPoint
* resultptr
;
17287 resultptr
= new wxPoint((wxPoint
&)(result
));
17288 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17296 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17297 PyObject
*resultobj
;
17298 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17299 long *arg2
= (long *) 0 ;
17300 long *arg3
= (long *) 0 ;
17305 PyObject
* obj0
= 0 ;
17306 char *kwnames
[] = {
17307 (char *) "self", NULL
17310 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17311 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
17313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17314 if (SWIG_arg_fail(1)) SWIG_fail
;
17316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17317 (arg1
)->GetPosition(arg2
,arg3
);
17319 wxPyEndAllowThreads(__tstate
);
17320 if (PyErr_Occurred()) SWIG_fail
;
17322 Py_INCREF(Py_None
); resultobj
= Py_None
;
17323 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17324 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
17325 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17326 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
17333 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17334 PyObject
*resultobj
;
17335 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17338 PyObject
* obj0
= 0 ;
17339 PyObject
* obj1
= 0 ;
17340 char *kwnames
[] = {
17341 (char *) "self",(char *) "dc", NULL
17344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
17345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17346 if (SWIG_arg_fail(1)) SWIG_fail
;
17348 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17349 if (SWIG_arg_fail(2)) SWIG_fail
;
17350 if (arg2
== NULL
) {
17351 SWIG_null_ref("wxDC");
17353 if (SWIG_arg_fail(2)) SWIG_fail
;
17356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17357 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
17359 wxPyEndAllowThreads(__tstate
);
17360 if (PyErr_Occurred()) SWIG_fail
;
17363 wxPoint
* resultptr
;
17364 resultptr
= new wxPoint((wxPoint
&)(result
));
17365 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17373 static PyObject
*_wrap_MouseEvent_GetX(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_GetX",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
= (int)((wxMouseEvent
const *)arg1
)->GetX();
17389 wxPyEndAllowThreads(__tstate
);
17390 if (PyErr_Occurred()) SWIG_fail
;
17393 resultobj
= SWIG_From_int((int)(result
));
17401 static PyObject
*_wrap_MouseEvent_GetY(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_GetY",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
= (int)((wxMouseEvent
const *)arg1
)->GetY();
17417 wxPyEndAllowThreads(__tstate
);
17418 if (PyErr_Occurred()) SWIG_fail
;
17421 resultobj
= SWIG_From_int((int)(result
));
17429 static PyObject
*_wrap_MouseEvent_GetWheelRotation(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_GetWheelRotation",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
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
17445 wxPyEndAllowThreads(__tstate
);
17446 if (PyErr_Occurred()) SWIG_fail
;
17449 resultobj
= SWIG_From_int((int)(result
));
17457 static PyObject
*_wrap_MouseEvent_GetWheelDelta(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_GetWheelDelta",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
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
17473 wxPyEndAllowThreads(__tstate
);
17474 if (PyErr_Occurred()) SWIG_fail
;
17477 resultobj
= SWIG_From_int((int)(result
));
17485 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(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_GetLinesPerAction",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
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
17501 wxPyEndAllowThreads(__tstate
);
17502 if (PyErr_Occurred()) SWIG_fail
;
17505 resultobj
= SWIG_From_int((int)(result
));
17513 static PyObject
*_wrap_MouseEvent_IsPageScroll(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_IsPageScroll",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
)->IsPageScroll();
17529 wxPyEndAllowThreads(__tstate
);
17530 if (PyErr_Occurred()) SWIG_fail
;
17533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17541 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17542 PyObject
*resultobj
;
17543 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17545 PyObject
* obj0
= 0 ;
17546 PyObject
* obj1
= 0 ;
17547 char *kwnames
[] = {
17548 (char *) "self",(char *) "m_x", NULL
17551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17553 if (SWIG_arg_fail(1)) SWIG_fail
;
17555 arg2
= (int)(SWIG_As_int(obj1
));
17556 if (SWIG_arg_fail(2)) SWIG_fail
;
17558 if (arg1
) (arg1
)->m_x
= arg2
;
17560 Py_INCREF(Py_None
); resultobj
= Py_None
;
17567 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17568 PyObject
*resultobj
;
17569 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17571 PyObject
* obj0
= 0 ;
17572 char *kwnames
[] = {
17573 (char *) "self", NULL
17576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
17577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17578 if (SWIG_arg_fail(1)) SWIG_fail
;
17579 result
= (int) ((arg1
)->m_x
);
17582 resultobj
= SWIG_From_int((int)(result
));
17590 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17591 PyObject
*resultobj
;
17592 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17594 PyObject
* obj0
= 0 ;
17595 PyObject
* obj1
= 0 ;
17596 char *kwnames
[] = {
17597 (char *) "self",(char *) "m_y", NULL
17600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17602 if (SWIG_arg_fail(1)) SWIG_fail
;
17604 arg2
= (int)(SWIG_As_int(obj1
));
17605 if (SWIG_arg_fail(2)) SWIG_fail
;
17607 if (arg1
) (arg1
)->m_y
= arg2
;
17609 Py_INCREF(Py_None
); resultobj
= Py_None
;
17616 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17617 PyObject
*resultobj
;
17618 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17620 PyObject
* obj0
= 0 ;
17621 char *kwnames
[] = {
17622 (char *) "self", NULL
17625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
17626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17627 if (SWIG_arg_fail(1)) SWIG_fail
;
17628 result
= (int) ((arg1
)->m_y
);
17631 resultobj
= SWIG_From_int((int)(result
));
17639 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17640 PyObject
*resultobj
;
17641 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17643 PyObject
* obj0
= 0 ;
17644 PyObject
* obj1
= 0 ;
17645 char *kwnames
[] = {
17646 (char *) "self",(char *) "m_leftDown", NULL
17649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17651 if (SWIG_arg_fail(1)) SWIG_fail
;
17653 arg2
= (bool)(SWIG_As_bool(obj1
));
17654 if (SWIG_arg_fail(2)) SWIG_fail
;
17656 if (arg1
) (arg1
)->m_leftDown
= arg2
;
17658 Py_INCREF(Py_None
); resultobj
= Py_None
;
17665 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17666 PyObject
*resultobj
;
17667 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17669 PyObject
* obj0
= 0 ;
17670 char *kwnames
[] = {
17671 (char *) "self", NULL
17674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
17675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17676 if (SWIG_arg_fail(1)) SWIG_fail
;
17677 result
= (bool) ((arg1
)->m_leftDown
);
17680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17688 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17689 PyObject
*resultobj
;
17690 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17692 PyObject
* obj0
= 0 ;
17693 PyObject
* obj1
= 0 ;
17694 char *kwnames
[] = {
17695 (char *) "self",(char *) "m_middleDown", NULL
17698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17700 if (SWIG_arg_fail(1)) SWIG_fail
;
17702 arg2
= (bool)(SWIG_As_bool(obj1
));
17703 if (SWIG_arg_fail(2)) SWIG_fail
;
17705 if (arg1
) (arg1
)->m_middleDown
= arg2
;
17707 Py_INCREF(Py_None
); resultobj
= Py_None
;
17714 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17715 PyObject
*resultobj
;
17716 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17718 PyObject
* obj0
= 0 ;
17719 char *kwnames
[] = {
17720 (char *) "self", NULL
17723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
17724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17725 if (SWIG_arg_fail(1)) SWIG_fail
;
17726 result
= (bool) ((arg1
)->m_middleDown
);
17729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17737 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17738 PyObject
*resultobj
;
17739 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17741 PyObject
* obj0
= 0 ;
17742 PyObject
* obj1
= 0 ;
17743 char *kwnames
[] = {
17744 (char *) "self",(char *) "m_rightDown", NULL
17747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17749 if (SWIG_arg_fail(1)) SWIG_fail
;
17751 arg2
= (bool)(SWIG_As_bool(obj1
));
17752 if (SWIG_arg_fail(2)) SWIG_fail
;
17754 if (arg1
) (arg1
)->m_rightDown
= arg2
;
17756 Py_INCREF(Py_None
); resultobj
= Py_None
;
17763 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17764 PyObject
*resultobj
;
17765 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17767 PyObject
* obj0
= 0 ;
17768 char *kwnames
[] = {
17769 (char *) "self", NULL
17772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
17773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17774 if (SWIG_arg_fail(1)) SWIG_fail
;
17775 result
= (bool) ((arg1
)->m_rightDown
);
17778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17786 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17787 PyObject
*resultobj
;
17788 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17790 PyObject
* obj0
= 0 ;
17791 PyObject
* obj1
= 0 ;
17792 char *kwnames
[] = {
17793 (char *) "self",(char *) "m_controlDown", NULL
17796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17798 if (SWIG_arg_fail(1)) SWIG_fail
;
17800 arg2
= (bool)(SWIG_As_bool(obj1
));
17801 if (SWIG_arg_fail(2)) SWIG_fail
;
17803 if (arg1
) (arg1
)->m_controlDown
= arg2
;
17805 Py_INCREF(Py_None
); resultobj
= Py_None
;
17812 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17813 PyObject
*resultobj
;
17814 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17816 PyObject
* obj0
= 0 ;
17817 char *kwnames
[] = {
17818 (char *) "self", NULL
17821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
17822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17823 if (SWIG_arg_fail(1)) SWIG_fail
;
17824 result
= (bool) ((arg1
)->m_controlDown
);
17827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17835 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17836 PyObject
*resultobj
;
17837 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17839 PyObject
* obj0
= 0 ;
17840 PyObject
* obj1
= 0 ;
17841 char *kwnames
[] = {
17842 (char *) "self",(char *) "m_shiftDown", NULL
17845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17847 if (SWIG_arg_fail(1)) SWIG_fail
;
17849 arg2
= (bool)(SWIG_As_bool(obj1
));
17850 if (SWIG_arg_fail(2)) SWIG_fail
;
17852 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
17854 Py_INCREF(Py_None
); resultobj
= Py_None
;
17861 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17862 PyObject
*resultobj
;
17863 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17865 PyObject
* obj0
= 0 ;
17866 char *kwnames
[] = {
17867 (char *) "self", NULL
17870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
17871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17872 if (SWIG_arg_fail(1)) SWIG_fail
;
17873 result
= (bool) ((arg1
)->m_shiftDown
);
17876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17884 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17885 PyObject
*resultobj
;
17886 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17888 PyObject
* obj0
= 0 ;
17889 PyObject
* obj1
= 0 ;
17890 char *kwnames
[] = {
17891 (char *) "self",(char *) "m_altDown", NULL
17894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17896 if (SWIG_arg_fail(1)) SWIG_fail
;
17898 arg2
= (bool)(SWIG_As_bool(obj1
));
17899 if (SWIG_arg_fail(2)) SWIG_fail
;
17901 if (arg1
) (arg1
)->m_altDown
= arg2
;
17903 Py_INCREF(Py_None
); resultobj
= Py_None
;
17910 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17911 PyObject
*resultobj
;
17912 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17914 PyObject
* obj0
= 0 ;
17915 char *kwnames
[] = {
17916 (char *) "self", NULL
17919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
17920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17921 if (SWIG_arg_fail(1)) SWIG_fail
;
17922 result
= (bool) ((arg1
)->m_altDown
);
17925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17933 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17934 PyObject
*resultobj
;
17935 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17937 PyObject
* obj0
= 0 ;
17938 PyObject
* obj1
= 0 ;
17939 char *kwnames
[] = {
17940 (char *) "self",(char *) "m_metaDown", NULL
17943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17945 if (SWIG_arg_fail(1)) SWIG_fail
;
17947 arg2
= (bool)(SWIG_As_bool(obj1
));
17948 if (SWIG_arg_fail(2)) SWIG_fail
;
17950 if (arg1
) (arg1
)->m_metaDown
= arg2
;
17952 Py_INCREF(Py_None
); resultobj
= Py_None
;
17959 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17960 PyObject
*resultobj
;
17961 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17963 PyObject
* obj0
= 0 ;
17964 char *kwnames
[] = {
17965 (char *) "self", NULL
17968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
17969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17970 if (SWIG_arg_fail(1)) SWIG_fail
;
17971 result
= (bool) ((arg1
)->m_metaDown
);
17974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17982 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17983 PyObject
*resultobj
;
17984 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17986 PyObject
* obj0
= 0 ;
17987 PyObject
* obj1
= 0 ;
17988 char *kwnames
[] = {
17989 (char *) "self",(char *) "m_wheelRotation", NULL
17992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17994 if (SWIG_arg_fail(1)) SWIG_fail
;
17996 arg2
= (int)(SWIG_As_int(obj1
));
17997 if (SWIG_arg_fail(2)) SWIG_fail
;
17999 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
18001 Py_INCREF(Py_None
); resultobj
= Py_None
;
18008 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18009 PyObject
*resultobj
;
18010 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18012 PyObject
* obj0
= 0 ;
18013 char *kwnames
[] = {
18014 (char *) "self", NULL
18017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
18018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18019 if (SWIG_arg_fail(1)) SWIG_fail
;
18020 result
= (int) ((arg1
)->m_wheelRotation
);
18023 resultobj
= SWIG_From_int((int)(result
));
18031 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18032 PyObject
*resultobj
;
18033 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18035 PyObject
* obj0
= 0 ;
18036 PyObject
* obj1
= 0 ;
18037 char *kwnames
[] = {
18038 (char *) "self",(char *) "m_wheelDelta", NULL
18041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18043 if (SWIG_arg_fail(1)) SWIG_fail
;
18045 arg2
= (int)(SWIG_As_int(obj1
));
18046 if (SWIG_arg_fail(2)) SWIG_fail
;
18048 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
18050 Py_INCREF(Py_None
); resultobj
= Py_None
;
18057 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18058 PyObject
*resultobj
;
18059 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18061 PyObject
* obj0
= 0 ;
18062 char *kwnames
[] = {
18063 (char *) "self", NULL
18066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
18067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18068 if (SWIG_arg_fail(1)) SWIG_fail
;
18069 result
= (int) ((arg1
)->m_wheelDelta
);
18072 resultobj
= SWIG_From_int((int)(result
));
18080 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18081 PyObject
*resultobj
;
18082 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18084 PyObject
* obj0
= 0 ;
18085 PyObject
* obj1
= 0 ;
18086 char *kwnames
[] = {
18087 (char *) "self",(char *) "m_linesPerAction", NULL
18090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18092 if (SWIG_arg_fail(1)) SWIG_fail
;
18094 arg2
= (int)(SWIG_As_int(obj1
));
18095 if (SWIG_arg_fail(2)) SWIG_fail
;
18097 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
18099 Py_INCREF(Py_None
); resultobj
= Py_None
;
18106 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18107 PyObject
*resultobj
;
18108 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18110 PyObject
* obj0
= 0 ;
18111 char *kwnames
[] = {
18112 (char *) "self", NULL
18115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
18116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18117 if (SWIG_arg_fail(1)) SWIG_fail
;
18118 result
= (int) ((arg1
)->m_linesPerAction
);
18121 resultobj
= SWIG_From_int((int)(result
));
18129 static PyObject
* MouseEvent_swigregister(PyObject
*, PyObject
*args
) {
18131 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18132 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
18134 return Py_BuildValue((char *)"");
18136 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18137 PyObject
*resultobj
;
18138 int arg1
= (int) 0 ;
18139 int arg2
= (int) 0 ;
18140 wxSetCursorEvent
*result
;
18141 PyObject
* obj0
= 0 ;
18142 PyObject
* obj1
= 0 ;
18143 char *kwnames
[] = {
18144 (char *) "x",(char *) "y", NULL
18147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18150 arg1
= (int)(SWIG_As_int(obj0
));
18151 if (SWIG_arg_fail(1)) SWIG_fail
;
18156 arg2
= (int)(SWIG_As_int(obj1
));
18157 if (SWIG_arg_fail(2)) SWIG_fail
;
18161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18162 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
18164 wxPyEndAllowThreads(__tstate
);
18165 if (PyErr_Occurred()) SWIG_fail
;
18167 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
18174 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18175 PyObject
*resultobj
;
18176 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18178 PyObject
* obj0
= 0 ;
18179 char *kwnames
[] = {
18180 (char *) "self", NULL
18183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
18184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18185 if (SWIG_arg_fail(1)) SWIG_fail
;
18187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18188 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
18190 wxPyEndAllowThreads(__tstate
);
18191 if (PyErr_Occurred()) SWIG_fail
;
18194 resultobj
= SWIG_From_int((int)(result
));
18202 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18203 PyObject
*resultobj
;
18204 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18206 PyObject
* obj0
= 0 ;
18207 char *kwnames
[] = {
18208 (char *) "self", NULL
18211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
18212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18213 if (SWIG_arg_fail(1)) SWIG_fail
;
18215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18216 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
18218 wxPyEndAllowThreads(__tstate
);
18219 if (PyErr_Occurred()) SWIG_fail
;
18222 resultobj
= SWIG_From_int((int)(result
));
18230 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18231 PyObject
*resultobj
;
18232 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18233 wxCursor
*arg2
= 0 ;
18234 PyObject
* obj0
= 0 ;
18235 PyObject
* obj1
= 0 ;
18236 char *kwnames
[] = {
18237 (char *) "self",(char *) "cursor", NULL
18240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
18241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18242 if (SWIG_arg_fail(1)) SWIG_fail
;
18244 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
18245 if (SWIG_arg_fail(2)) SWIG_fail
;
18246 if (arg2
== NULL
) {
18247 SWIG_null_ref("wxCursor");
18249 if (SWIG_arg_fail(2)) SWIG_fail
;
18252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18253 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
18255 wxPyEndAllowThreads(__tstate
);
18256 if (PyErr_Occurred()) SWIG_fail
;
18258 Py_INCREF(Py_None
); resultobj
= Py_None
;
18265 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18266 PyObject
*resultobj
;
18267 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18269 PyObject
* obj0
= 0 ;
18270 char *kwnames
[] = {
18271 (char *) "self", NULL
18274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
18275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18276 if (SWIG_arg_fail(1)) SWIG_fail
;
18278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18280 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
18281 result
= (wxCursor
*) &_result_ref
;
18284 wxPyEndAllowThreads(__tstate
);
18285 if (PyErr_Occurred()) SWIG_fail
;
18288 wxCursor
* resultptr
= new wxCursor(*result
);
18289 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
18297 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18298 PyObject
*resultobj
;
18299 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18301 PyObject
* obj0
= 0 ;
18302 char *kwnames
[] = {
18303 (char *) "self", NULL
18306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
18307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18308 if (SWIG_arg_fail(1)) SWIG_fail
;
18310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18311 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
18313 wxPyEndAllowThreads(__tstate
);
18314 if (PyErr_Occurred()) SWIG_fail
;
18317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18325 static PyObject
* SetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
18327 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18328 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
18330 return Py_BuildValue((char *)"");
18332 static PyObject
*_wrap_new_KeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18333 PyObject
*resultobj
;
18334 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18335 wxKeyEvent
*result
;
18336 PyObject
* obj0
= 0 ;
18337 char *kwnames
[] = {
18338 (char *) "eventType", NULL
18341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
18344 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
18345 if (SWIG_arg_fail(1)) SWIG_fail
;
18349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18350 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
18352 wxPyEndAllowThreads(__tstate
);
18353 if (PyErr_Occurred()) SWIG_fail
;
18355 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
18362 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18363 PyObject
*resultobj
;
18364 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18366 PyObject
* obj0
= 0 ;
18367 char *kwnames
[] = {
18368 (char *) "self", NULL
18371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
18372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18373 if (SWIG_arg_fail(1)) SWIG_fail
;
18375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18376 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
18378 wxPyEndAllowThreads(__tstate
);
18379 if (PyErr_Occurred()) SWIG_fail
;
18382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18390 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18391 PyObject
*resultobj
;
18392 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18394 PyObject
* obj0
= 0 ;
18395 char *kwnames
[] = {
18396 (char *) "self", NULL
18399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
18400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18401 if (SWIG_arg_fail(1)) SWIG_fail
;
18403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18404 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
18406 wxPyEndAllowThreads(__tstate
);
18407 if (PyErr_Occurred()) SWIG_fail
;
18410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18418 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18419 PyObject
*resultobj
;
18420 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18422 PyObject
* obj0
= 0 ;
18423 char *kwnames
[] = {
18424 (char *) "self", NULL
18427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
18428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18429 if (SWIG_arg_fail(1)) SWIG_fail
;
18431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18432 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
18434 wxPyEndAllowThreads(__tstate
);
18435 if (PyErr_Occurred()) SWIG_fail
;
18438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18446 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18447 PyObject
*resultobj
;
18448 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18450 PyObject
* obj0
= 0 ;
18451 char *kwnames
[] = {
18452 (char *) "self", NULL
18455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
18456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18457 if (SWIG_arg_fail(1)) SWIG_fail
;
18459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18460 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
18462 wxPyEndAllowThreads(__tstate
);
18463 if (PyErr_Occurred()) SWIG_fail
;
18466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18474 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18475 PyObject
*resultobj
;
18476 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18478 PyObject
* obj0
= 0 ;
18479 char *kwnames
[] = {
18480 (char *) "self", NULL
18483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
18484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18485 if (SWIG_arg_fail(1)) SWIG_fail
;
18487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18488 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
18490 wxPyEndAllowThreads(__tstate
);
18491 if (PyErr_Occurred()) SWIG_fail
;
18494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18502 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18503 PyObject
*resultobj
;
18504 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18506 PyObject
* obj0
= 0 ;
18507 char *kwnames
[] = {
18508 (char *) "self", NULL
18511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
18512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18513 if (SWIG_arg_fail(1)) SWIG_fail
;
18515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18516 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
18518 wxPyEndAllowThreads(__tstate
);
18519 if (PyErr_Occurred()) SWIG_fail
;
18522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18530 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18531 PyObject
*resultobj
;
18532 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18534 PyObject
* obj0
= 0 ;
18535 char *kwnames
[] = {
18536 (char *) "self", NULL
18539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
18540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18541 if (SWIG_arg_fail(1)) SWIG_fail
;
18543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18544 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
18546 wxPyEndAllowThreads(__tstate
);
18547 if (PyErr_Occurred()) SWIG_fail
;
18550 resultobj
= SWIG_From_int((int)(result
));
18558 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18559 PyObject
*resultobj
;
18560 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18562 PyObject
* obj0
= 0 ;
18563 char *kwnames
[] = {
18564 (char *) "self", NULL
18567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
18568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18569 if (SWIG_arg_fail(1)) SWIG_fail
;
18571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18572 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
18574 wxPyEndAllowThreads(__tstate
);
18575 if (PyErr_Occurred()) SWIG_fail
;
18578 resultobj
= SWIG_From_int((int)(result
));
18586 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18587 PyObject
*resultobj
;
18588 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18589 unsigned int result
;
18590 PyObject
* obj0
= 0 ;
18591 char *kwnames
[] = {
18592 (char *) "self", NULL
18595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
18596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18597 if (SWIG_arg_fail(1)) SWIG_fail
;
18599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18600 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
18602 wxPyEndAllowThreads(__tstate
);
18603 if (PyErr_Occurred()) SWIG_fail
;
18606 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18614 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18615 PyObject
*resultobj
;
18616 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18617 unsigned int result
;
18618 PyObject
* obj0
= 0 ;
18619 char *kwnames
[] = {
18620 (char *) "self", NULL
18623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
18624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18625 if (SWIG_arg_fail(1)) SWIG_fail
;
18627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18628 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
18630 wxPyEndAllowThreads(__tstate
);
18631 if (PyErr_Occurred()) SWIG_fail
;
18634 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18642 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18643 PyObject
*resultobj
;
18644 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18646 PyObject
* obj0
= 0 ;
18647 char *kwnames
[] = {
18648 (char *) "self", NULL
18651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18653 if (SWIG_arg_fail(1)) SWIG_fail
;
18655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18656 result
= (arg1
)->GetPosition();
18658 wxPyEndAllowThreads(__tstate
);
18659 if (PyErr_Occurred()) SWIG_fail
;
18662 wxPoint
* resultptr
;
18663 resultptr
= new wxPoint((wxPoint
&)(result
));
18664 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18672 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18673 PyObject
*resultobj
;
18674 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18675 long *arg2
= (long *) 0 ;
18676 long *arg3
= (long *) 0 ;
18681 PyObject
* obj0
= 0 ;
18682 char *kwnames
[] = {
18683 (char *) "self", NULL
18686 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18687 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
18689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18690 if (SWIG_arg_fail(1)) SWIG_fail
;
18692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18693 (arg1
)->GetPosition(arg2
,arg3
);
18695 wxPyEndAllowThreads(__tstate
);
18696 if (PyErr_Occurred()) SWIG_fail
;
18698 Py_INCREF(Py_None
); resultobj
= Py_None
;
18699 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18700 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
18701 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18702 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
18709 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18710 PyObject
*resultobj
;
18711 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18713 PyObject
* obj0
= 0 ;
18714 char *kwnames
[] = {
18715 (char *) "self", NULL
18718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
18719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18720 if (SWIG_arg_fail(1)) SWIG_fail
;
18722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18723 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
18725 wxPyEndAllowThreads(__tstate
);
18726 if (PyErr_Occurred()) SWIG_fail
;
18729 resultobj
= SWIG_From_int((int)(result
));
18737 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18738 PyObject
*resultobj
;
18739 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18741 PyObject
* obj0
= 0 ;
18742 char *kwnames
[] = {
18743 (char *) "self", NULL
18746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
18747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18748 if (SWIG_arg_fail(1)) SWIG_fail
;
18750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18751 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
18753 wxPyEndAllowThreads(__tstate
);
18754 if (PyErr_Occurred()) SWIG_fail
;
18757 resultobj
= SWIG_From_int((int)(result
));
18765 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18766 PyObject
*resultobj
;
18767 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18769 PyObject
* obj0
= 0 ;
18770 PyObject
* obj1
= 0 ;
18771 char *kwnames
[] = {
18772 (char *) "self",(char *) "m_x", NULL
18775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18777 if (SWIG_arg_fail(1)) SWIG_fail
;
18779 arg2
= (int)(SWIG_As_int(obj1
));
18780 if (SWIG_arg_fail(2)) SWIG_fail
;
18782 if (arg1
) (arg1
)->m_x
= arg2
;
18784 Py_INCREF(Py_None
); resultobj
= Py_None
;
18791 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18792 PyObject
*resultobj
;
18793 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18795 PyObject
* obj0
= 0 ;
18796 char *kwnames
[] = {
18797 (char *) "self", NULL
18800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
18801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18802 if (SWIG_arg_fail(1)) SWIG_fail
;
18803 result
= (int) ((arg1
)->m_x
);
18806 resultobj
= SWIG_From_int((int)(result
));
18814 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18815 PyObject
*resultobj
;
18816 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18818 PyObject
* obj0
= 0 ;
18819 PyObject
* obj1
= 0 ;
18820 char *kwnames
[] = {
18821 (char *) "self",(char *) "m_y", NULL
18824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18826 if (SWIG_arg_fail(1)) SWIG_fail
;
18828 arg2
= (int)(SWIG_As_int(obj1
));
18829 if (SWIG_arg_fail(2)) SWIG_fail
;
18831 if (arg1
) (arg1
)->m_y
= arg2
;
18833 Py_INCREF(Py_None
); resultobj
= Py_None
;
18840 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18841 PyObject
*resultobj
;
18842 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18844 PyObject
* obj0
= 0 ;
18845 char *kwnames
[] = {
18846 (char *) "self", NULL
18849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
18850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18851 if (SWIG_arg_fail(1)) SWIG_fail
;
18852 result
= (int) ((arg1
)->m_y
);
18855 resultobj
= SWIG_From_int((int)(result
));
18863 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18864 PyObject
*resultobj
;
18865 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18867 PyObject
* obj0
= 0 ;
18868 PyObject
* obj1
= 0 ;
18869 char *kwnames
[] = {
18870 (char *) "self",(char *) "m_keyCode", NULL
18873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18875 if (SWIG_arg_fail(1)) SWIG_fail
;
18877 arg2
= (long)(SWIG_As_long(obj1
));
18878 if (SWIG_arg_fail(2)) SWIG_fail
;
18880 if (arg1
) (arg1
)->m_keyCode
= arg2
;
18882 Py_INCREF(Py_None
); resultobj
= Py_None
;
18889 static PyObject
*_wrap_KeyEvent_m_keyCode_get(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_m_keyCode_get",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
;
18901 result
= (long) ((arg1
)->m_keyCode
);
18904 resultobj
= SWIG_From_long((long)(result
));
18912 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18913 PyObject
*resultobj
;
18914 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18916 PyObject
* obj0
= 0 ;
18917 PyObject
* obj1
= 0 ;
18918 char *kwnames
[] = {
18919 (char *) "self",(char *) "m_controlDown", NULL
18922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18924 if (SWIG_arg_fail(1)) SWIG_fail
;
18926 arg2
= (bool)(SWIG_As_bool(obj1
));
18927 if (SWIG_arg_fail(2)) SWIG_fail
;
18929 if (arg1
) (arg1
)->m_controlDown
= arg2
;
18931 Py_INCREF(Py_None
); resultobj
= Py_None
;
18938 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18939 PyObject
*resultobj
;
18940 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18942 PyObject
* obj0
= 0 ;
18943 char *kwnames
[] = {
18944 (char *) "self", NULL
18947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
18948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18949 if (SWIG_arg_fail(1)) SWIG_fail
;
18950 result
= (bool) ((arg1
)->m_controlDown
);
18953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18961 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18962 PyObject
*resultobj
;
18963 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18965 PyObject
* obj0
= 0 ;
18966 PyObject
* obj1
= 0 ;
18967 char *kwnames
[] = {
18968 (char *) "self",(char *) "m_shiftDown", NULL
18971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18973 if (SWIG_arg_fail(1)) SWIG_fail
;
18975 arg2
= (bool)(SWIG_As_bool(obj1
));
18976 if (SWIG_arg_fail(2)) SWIG_fail
;
18978 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
18980 Py_INCREF(Py_None
); resultobj
= Py_None
;
18987 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18988 PyObject
*resultobj
;
18989 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18991 PyObject
* obj0
= 0 ;
18992 char *kwnames
[] = {
18993 (char *) "self", NULL
18996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
18997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18998 if (SWIG_arg_fail(1)) SWIG_fail
;
18999 result
= (bool) ((arg1
)->m_shiftDown
);
19002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19010 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19011 PyObject
*resultobj
;
19012 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19014 PyObject
* obj0
= 0 ;
19015 PyObject
* obj1
= 0 ;
19016 char *kwnames
[] = {
19017 (char *) "self",(char *) "m_altDown", NULL
19020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19022 if (SWIG_arg_fail(1)) SWIG_fail
;
19024 arg2
= (bool)(SWIG_As_bool(obj1
));
19025 if (SWIG_arg_fail(2)) SWIG_fail
;
19027 if (arg1
) (arg1
)->m_altDown
= arg2
;
19029 Py_INCREF(Py_None
); resultobj
= Py_None
;
19036 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19037 PyObject
*resultobj
;
19038 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19040 PyObject
* obj0
= 0 ;
19041 char *kwnames
[] = {
19042 (char *) "self", NULL
19045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
19046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19047 if (SWIG_arg_fail(1)) SWIG_fail
;
19048 result
= (bool) ((arg1
)->m_altDown
);
19051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19059 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19060 PyObject
*resultobj
;
19061 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19063 PyObject
* obj0
= 0 ;
19064 PyObject
* obj1
= 0 ;
19065 char *kwnames
[] = {
19066 (char *) "self",(char *) "m_metaDown", NULL
19069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19071 if (SWIG_arg_fail(1)) SWIG_fail
;
19073 arg2
= (bool)(SWIG_As_bool(obj1
));
19074 if (SWIG_arg_fail(2)) SWIG_fail
;
19076 if (arg1
) (arg1
)->m_metaDown
= arg2
;
19078 Py_INCREF(Py_None
); resultobj
= Py_None
;
19085 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19086 PyObject
*resultobj
;
19087 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19089 PyObject
* obj0
= 0 ;
19090 char *kwnames
[] = {
19091 (char *) "self", NULL
19094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",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
;
19097 result
= (bool) ((arg1
)->m_metaDown
);
19100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19108 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19109 PyObject
*resultobj
;
19110 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19112 PyObject
* obj0
= 0 ;
19113 PyObject
* obj1
= 0 ;
19114 char *kwnames
[] = {
19115 (char *) "self",(char *) "m_scanCode", NULL
19118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19120 if (SWIG_arg_fail(1)) SWIG_fail
;
19122 arg2
= (bool)(SWIG_As_bool(obj1
));
19123 if (SWIG_arg_fail(2)) SWIG_fail
;
19125 if (arg1
) (arg1
)->m_scanCode
= arg2
;
19127 Py_INCREF(Py_None
); resultobj
= Py_None
;
19134 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19135 PyObject
*resultobj
;
19136 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19138 PyObject
* obj0
= 0 ;
19139 char *kwnames
[] = {
19140 (char *) "self", NULL
19143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
19144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19145 if (SWIG_arg_fail(1)) SWIG_fail
;
19146 result
= (bool) ((arg1
)->m_scanCode
);
19149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19157 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19158 PyObject
*resultobj
;
19159 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19160 unsigned int arg2
;
19161 PyObject
* obj0
= 0 ;
19162 PyObject
* obj1
= 0 ;
19163 char *kwnames
[] = {
19164 (char *) "self",(char *) "m_rawCode", NULL
19167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19169 if (SWIG_arg_fail(1)) SWIG_fail
;
19171 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
19172 if (SWIG_arg_fail(2)) SWIG_fail
;
19174 if (arg1
) (arg1
)->m_rawCode
= arg2
;
19176 Py_INCREF(Py_None
); resultobj
= Py_None
;
19183 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19184 PyObject
*resultobj
;
19185 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19186 unsigned int result
;
19187 PyObject
* obj0
= 0 ;
19188 char *kwnames
[] = {
19189 (char *) "self", NULL
19192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
19193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19194 if (SWIG_arg_fail(1)) SWIG_fail
;
19195 result
= (unsigned int) ((arg1
)->m_rawCode
);
19198 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
19206 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19207 PyObject
*resultobj
;
19208 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19209 unsigned int arg2
;
19210 PyObject
* obj0
= 0 ;
19211 PyObject
* obj1
= 0 ;
19212 char *kwnames
[] = {
19213 (char *) "self",(char *) "m_rawFlags", NULL
19216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19218 if (SWIG_arg_fail(1)) SWIG_fail
;
19220 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
19221 if (SWIG_arg_fail(2)) SWIG_fail
;
19223 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
19225 Py_INCREF(Py_None
); resultobj
= Py_None
;
19232 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19233 PyObject
*resultobj
;
19234 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19235 unsigned int result
;
19236 PyObject
* obj0
= 0 ;
19237 char *kwnames
[] = {
19238 (char *) "self", NULL
19241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
19242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19243 if (SWIG_arg_fail(1)) SWIG_fail
;
19244 result
= (unsigned int) ((arg1
)->m_rawFlags
);
19247 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
19255 static PyObject
* KeyEvent_swigregister(PyObject
*, PyObject
*args
) {
19257 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19258 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
19260 return Py_BuildValue((char *)"");
19262 static PyObject
*_wrap_new_SizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19263 PyObject
*resultobj
;
19264 wxSize
const &arg1_defvalue
= wxDefaultSize
;
19265 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
19266 int arg2
= (int) 0 ;
19267 wxSizeEvent
*result
;
19269 PyObject
* obj0
= 0 ;
19270 PyObject
* obj1
= 0 ;
19271 char *kwnames
[] = {
19272 (char *) "sz",(char *) "winid", NULL
19275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19279 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
19284 arg2
= (int)(SWIG_As_int(obj1
));
19285 if (SWIG_arg_fail(2)) SWIG_fail
;
19289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19290 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
19292 wxPyEndAllowThreads(__tstate
);
19293 if (PyErr_Occurred()) SWIG_fail
;
19295 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
19302 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19303 PyObject
*resultobj
;
19304 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19306 PyObject
* obj0
= 0 ;
19307 char *kwnames
[] = {
19308 (char *) "self", NULL
19311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
19312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19313 if (SWIG_arg_fail(1)) SWIG_fail
;
19315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19316 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
19318 wxPyEndAllowThreads(__tstate
);
19319 if (PyErr_Occurred()) SWIG_fail
;
19322 wxSize
* resultptr
;
19323 resultptr
= new wxSize((wxSize
&)(result
));
19324 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19332 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19333 PyObject
*resultobj
;
19334 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19336 PyObject
* obj0
= 0 ;
19337 char *kwnames
[] = {
19338 (char *) "self", NULL
19341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
19342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19343 if (SWIG_arg_fail(1)) SWIG_fail
;
19345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19346 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
19348 wxPyEndAllowThreads(__tstate
);
19349 if (PyErr_Occurred()) SWIG_fail
;
19352 wxRect
* resultptr
;
19353 resultptr
= new wxRect((wxRect
&)(result
));
19354 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
19362 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19363 PyObject
*resultobj
;
19364 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19366 PyObject
* obj0
= 0 ;
19367 PyObject
* obj1
= 0 ;
19368 char *kwnames
[] = {
19369 (char *) "self",(char *) "rect", NULL
19372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
19373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19374 if (SWIG_arg_fail(1)) SWIG_fail
;
19377 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
);
19378 if (SWIG_arg_fail(2)) SWIG_fail
;
19379 if (argp
== NULL
) {
19380 SWIG_null_ref("wxRect");
19382 if (SWIG_arg_fail(2)) SWIG_fail
;
19386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19387 (arg1
)->SetRect(arg2
);
19389 wxPyEndAllowThreads(__tstate
);
19390 if (PyErr_Occurred()) SWIG_fail
;
19392 Py_INCREF(Py_None
); resultobj
= Py_None
;
19399 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19400 PyObject
*resultobj
;
19401 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19403 PyObject
* obj0
= 0 ;
19404 PyObject
* obj1
= 0 ;
19405 char *kwnames
[] = {
19406 (char *) "self",(char *) "size", NULL
19409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19411 if (SWIG_arg_fail(1)) SWIG_fail
;
19414 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
19415 if (SWIG_arg_fail(2)) SWIG_fail
;
19416 if (argp
== NULL
) {
19417 SWIG_null_ref("wxSize");
19419 if (SWIG_arg_fail(2)) SWIG_fail
;
19423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19424 wxSizeEvent_SetSize(arg1
,arg2
);
19426 wxPyEndAllowThreads(__tstate
);
19427 if (PyErr_Occurred()) SWIG_fail
;
19429 Py_INCREF(Py_None
); resultobj
= Py_None
;
19436 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19437 PyObject
*resultobj
;
19438 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19439 wxSize
*arg2
= (wxSize
*) 0 ;
19440 PyObject
* obj0
= 0 ;
19441 PyObject
* obj1
= 0 ;
19442 char *kwnames
[] = {
19443 (char *) "self",(char *) "m_size", NULL
19446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19448 if (SWIG_arg_fail(1)) SWIG_fail
;
19449 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
19450 if (SWIG_arg_fail(2)) SWIG_fail
;
19451 if (arg1
) (arg1
)->m_size
= *arg2
;
19453 Py_INCREF(Py_None
); resultobj
= Py_None
;
19460 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19461 PyObject
*resultobj
;
19462 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19464 PyObject
* obj0
= 0 ;
19465 char *kwnames
[] = {
19466 (char *) "self", NULL
19469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
19470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19471 if (SWIG_arg_fail(1)) SWIG_fail
;
19472 result
= (wxSize
*)& ((arg1
)->m_size
);
19474 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
19481 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19482 PyObject
*resultobj
;
19483 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19484 wxRect
*arg2
= (wxRect
*) 0 ;
19485 PyObject
* obj0
= 0 ;
19486 PyObject
* obj1
= 0 ;
19487 char *kwnames
[] = {
19488 (char *) "self",(char *) "m_rect", NULL
19491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19493 if (SWIG_arg_fail(1)) SWIG_fail
;
19494 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
19495 if (SWIG_arg_fail(2)) SWIG_fail
;
19496 if (arg1
) (arg1
)->m_rect
= *arg2
;
19498 Py_INCREF(Py_None
); resultobj
= Py_None
;
19505 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19506 PyObject
*resultobj
;
19507 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19509 PyObject
* obj0
= 0 ;
19510 char *kwnames
[] = {
19511 (char *) "self", NULL
19514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
19515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19516 if (SWIG_arg_fail(1)) SWIG_fail
;
19517 result
= (wxRect
*)& ((arg1
)->m_rect
);
19519 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
19526 static PyObject
* SizeEvent_swigregister(PyObject
*, PyObject
*args
) {
19528 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19529 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
19531 return Py_BuildValue((char *)"");
19533 static PyObject
*_wrap_new_MoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19534 PyObject
*resultobj
;
19535 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
19536 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
19537 int arg2
= (int) 0 ;
19538 wxMoveEvent
*result
;
19540 PyObject
* obj0
= 0 ;
19541 PyObject
* obj1
= 0 ;
19542 char *kwnames
[] = {
19543 (char *) "pos",(char *) "winid", NULL
19546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19550 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
19555 arg2
= (int)(SWIG_As_int(obj1
));
19556 if (SWIG_arg_fail(2)) SWIG_fail
;
19560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19561 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
19563 wxPyEndAllowThreads(__tstate
);
19564 if (PyErr_Occurred()) SWIG_fail
;
19566 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
19573 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19574 PyObject
*resultobj
;
19575 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19577 PyObject
* obj0
= 0 ;
19578 char *kwnames
[] = {
19579 (char *) "self", NULL
19582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19584 if (SWIG_arg_fail(1)) SWIG_fail
;
19586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19587 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
19589 wxPyEndAllowThreads(__tstate
);
19590 if (PyErr_Occurred()) SWIG_fail
;
19593 wxPoint
* resultptr
;
19594 resultptr
= new wxPoint((wxPoint
&)(result
));
19595 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19603 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19604 PyObject
*resultobj
;
19605 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19607 PyObject
* obj0
= 0 ;
19608 char *kwnames
[] = {
19609 (char *) "self", NULL
19612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
19613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19614 if (SWIG_arg_fail(1)) SWIG_fail
;
19616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19617 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
19619 wxPyEndAllowThreads(__tstate
);
19620 if (PyErr_Occurred()) SWIG_fail
;
19623 wxRect
* resultptr
;
19624 resultptr
= new wxRect((wxRect
&)(result
));
19625 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
19633 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19634 PyObject
*resultobj
;
19635 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19638 PyObject
* obj0
= 0 ;
19639 PyObject
* obj1
= 0 ;
19640 char *kwnames
[] = {
19641 (char *) "self",(char *) "rect", NULL
19644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
19645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19646 if (SWIG_arg_fail(1)) SWIG_fail
;
19649 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19653 (arg1
)->SetRect((wxRect
const &)*arg2
);
19655 wxPyEndAllowThreads(__tstate
);
19656 if (PyErr_Occurred()) SWIG_fail
;
19658 Py_INCREF(Py_None
); resultobj
= Py_None
;
19665 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19666 PyObject
*resultobj
;
19667 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19668 wxPoint
*arg2
= 0 ;
19670 PyObject
* obj0
= 0 ;
19671 PyObject
* obj1
= 0 ;
19672 char *kwnames
[] = {
19673 (char *) "self",(char *) "pos", NULL
19676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
19677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19678 if (SWIG_arg_fail(1)) SWIG_fail
;
19681 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19685 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19687 wxPyEndAllowThreads(__tstate
);
19688 if (PyErr_Occurred()) SWIG_fail
;
19690 Py_INCREF(Py_None
); resultobj
= Py_None
;
19697 static PyObject
* MoveEvent_swigregister(PyObject
*, PyObject
*args
) {
19699 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19700 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
19702 return Py_BuildValue((char *)"");
19704 static PyObject
*_wrap_new_PaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19705 PyObject
*resultobj
;
19706 int arg1
= (int) 0 ;
19707 wxPaintEvent
*result
;
19708 PyObject
* obj0
= 0 ;
19709 char *kwnames
[] = {
19710 (char *) "Id", NULL
19713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
19716 arg1
= (int)(SWIG_As_int(obj0
));
19717 if (SWIG_arg_fail(1)) SWIG_fail
;
19721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19722 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
19724 wxPyEndAllowThreads(__tstate
);
19725 if (PyErr_Occurred()) SWIG_fail
;
19727 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
19734 static PyObject
* PaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19736 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19737 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
19739 return Py_BuildValue((char *)"");
19741 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19742 PyObject
*resultobj
;
19743 int arg1
= (int) 0 ;
19744 wxNcPaintEvent
*result
;
19745 PyObject
* obj0
= 0 ;
19746 char *kwnames
[] = {
19747 (char *) "winid", NULL
19750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
19753 arg1
= (int)(SWIG_As_int(obj0
));
19754 if (SWIG_arg_fail(1)) SWIG_fail
;
19758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19759 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
19761 wxPyEndAllowThreads(__tstate
);
19762 if (PyErr_Occurred()) SWIG_fail
;
19764 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
19771 static PyObject
* NcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19773 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19774 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
19776 return Py_BuildValue((char *)"");
19778 static PyObject
*_wrap_new_EraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19779 PyObject
*resultobj
;
19780 int arg1
= (int) 0 ;
19781 wxDC
*arg2
= (wxDC
*) NULL
;
19782 wxEraseEvent
*result
;
19783 PyObject
* obj0
= 0 ;
19784 PyObject
* obj1
= 0 ;
19785 char *kwnames
[] = {
19786 (char *) "Id",(char *) "dc", NULL
19789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19792 arg1
= (int)(SWIG_As_int(obj0
));
19793 if (SWIG_arg_fail(1)) SWIG_fail
;
19797 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
19798 if (SWIG_arg_fail(2)) SWIG_fail
;
19801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19802 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
19804 wxPyEndAllowThreads(__tstate
);
19805 if (PyErr_Occurred()) SWIG_fail
;
19807 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
19814 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19815 PyObject
*resultobj
;
19816 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
19818 PyObject
* obj0
= 0 ;
19819 char *kwnames
[] = {
19820 (char *) "self", NULL
19823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
19824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEraseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19825 if (SWIG_arg_fail(1)) SWIG_fail
;
19827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19828 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
19830 wxPyEndAllowThreads(__tstate
);
19831 if (PyErr_Occurred()) SWIG_fail
;
19834 resultobj
= wxPyMake_wxObject(result
, 0);
19842 static PyObject
* EraseEvent_swigregister(PyObject
*, PyObject
*args
) {
19844 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19845 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
19847 return Py_BuildValue((char *)"");
19849 static PyObject
*_wrap_new_FocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19850 PyObject
*resultobj
;
19851 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19852 int arg2
= (int) 0 ;
19853 wxFocusEvent
*result
;
19854 PyObject
* obj0
= 0 ;
19855 PyObject
* obj1
= 0 ;
19856 char *kwnames
[] = {
19857 (char *) "type",(char *) "winid", NULL
19860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19863 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19864 if (SWIG_arg_fail(1)) SWIG_fail
;
19869 arg2
= (int)(SWIG_As_int(obj1
));
19870 if (SWIG_arg_fail(2)) SWIG_fail
;
19874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19875 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
19877 wxPyEndAllowThreads(__tstate
);
19878 if (PyErr_Occurred()) SWIG_fail
;
19880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
19887 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19888 PyObject
*resultobj
;
19889 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19891 PyObject
* obj0
= 0 ;
19892 char *kwnames
[] = {
19893 (char *) "self", NULL
19896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19898 if (SWIG_arg_fail(1)) SWIG_fail
;
19900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19901 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
19903 wxPyEndAllowThreads(__tstate
);
19904 if (PyErr_Occurred()) SWIG_fail
;
19907 resultobj
= wxPyMake_wxObject(result
, 0);
19915 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19916 PyObject
*resultobj
;
19917 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19918 wxWindow
*arg2
= (wxWindow
*) 0 ;
19919 PyObject
* obj0
= 0 ;
19920 PyObject
* obj1
= 0 ;
19921 char *kwnames
[] = {
19922 (char *) "self",(char *) "win", NULL
19925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
19926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19927 if (SWIG_arg_fail(1)) SWIG_fail
;
19928 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19929 if (SWIG_arg_fail(2)) SWIG_fail
;
19931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19932 (arg1
)->SetWindow(arg2
);
19934 wxPyEndAllowThreads(__tstate
);
19935 if (PyErr_Occurred()) SWIG_fail
;
19937 Py_INCREF(Py_None
); resultobj
= Py_None
;
19944 static PyObject
* FocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19946 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19947 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
19949 return Py_BuildValue((char *)"");
19951 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19952 PyObject
*resultobj
;
19953 wxWindow
*arg1
= (wxWindow
*) NULL
;
19954 wxChildFocusEvent
*result
;
19955 PyObject
* obj0
= 0 ;
19956 char *kwnames
[] = {
19957 (char *) "win", NULL
19960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
19962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19963 if (SWIG_arg_fail(1)) SWIG_fail
;
19966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19967 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
19969 wxPyEndAllowThreads(__tstate
);
19970 if (PyErr_Occurred()) SWIG_fail
;
19972 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
19979 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19980 PyObject
*resultobj
;
19981 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
19983 PyObject
* obj0
= 0 ;
19984 char *kwnames
[] = {
19985 (char *) "self", NULL
19988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChildFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19990 if (SWIG_arg_fail(1)) SWIG_fail
;
19992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19993 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
19995 wxPyEndAllowThreads(__tstate
);
19996 if (PyErr_Occurred()) SWIG_fail
;
19999 resultobj
= wxPyMake_wxObject(result
, 0);
20007 static PyObject
* ChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
20009 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20010 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
20012 return Py_BuildValue((char *)"");
20014 static PyObject
*_wrap_new_ActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20015 PyObject
*resultobj
;
20016 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20017 bool arg2
= (bool) true ;
20018 int arg3
= (int) 0 ;
20019 wxActivateEvent
*result
;
20020 PyObject
* obj0
= 0 ;
20021 PyObject
* obj1
= 0 ;
20022 PyObject
* obj2
= 0 ;
20023 char *kwnames
[] = {
20024 (char *) "type",(char *) "active",(char *) "Id", NULL
20027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20030 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20031 if (SWIG_arg_fail(1)) SWIG_fail
;
20036 arg2
= (bool)(SWIG_As_bool(obj1
));
20037 if (SWIG_arg_fail(2)) SWIG_fail
;
20042 arg3
= (int)(SWIG_As_int(obj2
));
20043 if (SWIG_arg_fail(3)) SWIG_fail
;
20047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20048 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
20050 wxPyEndAllowThreads(__tstate
);
20051 if (PyErr_Occurred()) SWIG_fail
;
20053 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
20060 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20061 PyObject
*resultobj
;
20062 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
20064 PyObject
* obj0
= 0 ;
20065 char *kwnames
[] = {
20066 (char *) "self", NULL
20069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
20070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxActivateEvent
, SWIG_POINTER_EXCEPTION
| 0);
20071 if (SWIG_arg_fail(1)) SWIG_fail
;
20073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20074 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
20076 wxPyEndAllowThreads(__tstate
);
20077 if (PyErr_Occurred()) SWIG_fail
;
20080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20088 static PyObject
* ActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
20090 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20091 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
20093 return Py_BuildValue((char *)"");
20095 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20096 PyObject
*resultobj
;
20097 int arg1
= (int) 0 ;
20098 wxInitDialogEvent
*result
;
20099 PyObject
* obj0
= 0 ;
20100 char *kwnames
[] = {
20101 (char *) "Id", NULL
20104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
20107 arg1
= (int)(SWIG_As_int(obj0
));
20108 if (SWIG_arg_fail(1)) SWIG_fail
;
20112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20113 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
20115 wxPyEndAllowThreads(__tstate
);
20116 if (PyErr_Occurred()) SWIG_fail
;
20118 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
20125 static PyObject
* InitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
20127 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20128 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
20130 return Py_BuildValue((char *)"");
20132 static PyObject
*_wrap_new_MenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20133 PyObject
*resultobj
;
20134 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20135 int arg2
= (int) 0 ;
20136 wxMenu
*arg3
= (wxMenu
*) NULL
;
20137 wxMenuEvent
*result
;
20138 PyObject
* obj0
= 0 ;
20139 PyObject
* obj1
= 0 ;
20140 PyObject
* obj2
= 0 ;
20141 char *kwnames
[] = {
20142 (char *) "type",(char *) "winid",(char *) "menu", NULL
20145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20148 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20149 if (SWIG_arg_fail(1)) SWIG_fail
;
20154 arg2
= (int)(SWIG_As_int(obj1
));
20155 if (SWIG_arg_fail(2)) SWIG_fail
;
20159 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
20160 if (SWIG_arg_fail(3)) SWIG_fail
;
20163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20164 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
20166 wxPyEndAllowThreads(__tstate
);
20167 if (PyErr_Occurred()) SWIG_fail
;
20169 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
20176 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20177 PyObject
*resultobj
;
20178 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20180 PyObject
* obj0
= 0 ;
20181 char *kwnames
[] = {
20182 (char *) "self", NULL
20185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
20186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20187 if (SWIG_arg_fail(1)) SWIG_fail
;
20189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20190 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
20192 wxPyEndAllowThreads(__tstate
);
20193 if (PyErr_Occurred()) SWIG_fail
;
20196 resultobj
= SWIG_From_int((int)(result
));
20204 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20205 PyObject
*resultobj
;
20206 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20208 PyObject
* obj0
= 0 ;
20209 char *kwnames
[] = {
20210 (char *) "self", NULL
20213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
20214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20215 if (SWIG_arg_fail(1)) SWIG_fail
;
20217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20218 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
20220 wxPyEndAllowThreads(__tstate
);
20221 if (PyErr_Occurred()) SWIG_fail
;
20224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20232 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20233 PyObject
*resultobj
;
20234 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20236 PyObject
* obj0
= 0 ;
20237 char *kwnames
[] = {
20238 (char *) "self", NULL
20241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
20242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20243 if (SWIG_arg_fail(1)) SWIG_fail
;
20245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20246 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
20248 wxPyEndAllowThreads(__tstate
);
20249 if (PyErr_Occurred()) SWIG_fail
;
20252 resultobj
= wxPyMake_wxObject(result
, 0);
20260 static PyObject
* MenuEvent_swigregister(PyObject
*, PyObject
*args
) {
20262 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20263 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
20265 return Py_BuildValue((char *)"");
20267 static PyObject
*_wrap_new_CloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20268 PyObject
*resultobj
;
20269 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20270 int arg2
= (int) 0 ;
20271 wxCloseEvent
*result
;
20272 PyObject
* obj0
= 0 ;
20273 PyObject
* obj1
= 0 ;
20274 char *kwnames
[] = {
20275 (char *) "type",(char *) "winid", NULL
20278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20281 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20282 if (SWIG_arg_fail(1)) SWIG_fail
;
20287 arg2
= (int)(SWIG_As_int(obj1
));
20288 if (SWIG_arg_fail(2)) SWIG_fail
;
20292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20293 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
20295 wxPyEndAllowThreads(__tstate
);
20296 if (PyErr_Occurred()) SWIG_fail
;
20298 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
20305 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20306 PyObject
*resultobj
;
20307 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20309 PyObject
* obj0
= 0 ;
20310 PyObject
* obj1
= 0 ;
20311 char *kwnames
[] = {
20312 (char *) "self",(char *) "logOff", NULL
20315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
20316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20317 if (SWIG_arg_fail(1)) SWIG_fail
;
20319 arg2
= (bool)(SWIG_As_bool(obj1
));
20320 if (SWIG_arg_fail(2)) SWIG_fail
;
20323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20324 (arg1
)->SetLoggingOff(arg2
);
20326 wxPyEndAllowThreads(__tstate
);
20327 if (PyErr_Occurred()) SWIG_fail
;
20329 Py_INCREF(Py_None
); resultobj
= Py_None
;
20336 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20337 PyObject
*resultobj
;
20338 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20340 PyObject
* obj0
= 0 ;
20341 char *kwnames
[] = {
20342 (char *) "self", NULL
20345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
20346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20347 if (SWIG_arg_fail(1)) SWIG_fail
;
20349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20350 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
20352 wxPyEndAllowThreads(__tstate
);
20353 if (PyErr_Occurred()) SWIG_fail
;
20356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20364 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20365 PyObject
*resultobj
;
20366 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20367 bool arg2
= (bool) true ;
20368 PyObject
* obj0
= 0 ;
20369 PyObject
* obj1
= 0 ;
20370 char *kwnames
[] = {
20371 (char *) "self",(char *) "veto", NULL
20374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
20375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20376 if (SWIG_arg_fail(1)) SWIG_fail
;
20379 arg2
= (bool)(SWIG_As_bool(obj1
));
20380 if (SWIG_arg_fail(2)) SWIG_fail
;
20384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20385 (arg1
)->Veto(arg2
);
20387 wxPyEndAllowThreads(__tstate
);
20388 if (PyErr_Occurred()) SWIG_fail
;
20390 Py_INCREF(Py_None
); resultobj
= Py_None
;
20397 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20398 PyObject
*resultobj
;
20399 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20401 PyObject
* obj0
= 0 ;
20402 char *kwnames
[] = {
20403 (char *) "self", NULL
20406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
20407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20408 if (SWIG_arg_fail(1)) SWIG_fail
;
20410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20411 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
20413 wxPyEndAllowThreads(__tstate
);
20414 if (PyErr_Occurred()) SWIG_fail
;
20417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20425 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20426 PyObject
*resultobj
;
20427 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20429 PyObject
* obj0
= 0 ;
20430 PyObject
* obj1
= 0 ;
20431 char *kwnames
[] = {
20432 (char *) "self",(char *) "canVeto", NULL
20435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
20436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20437 if (SWIG_arg_fail(1)) SWIG_fail
;
20439 arg2
= (bool)(SWIG_As_bool(obj1
));
20440 if (SWIG_arg_fail(2)) SWIG_fail
;
20443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20444 (arg1
)->SetCanVeto(arg2
);
20446 wxPyEndAllowThreads(__tstate
);
20447 if (PyErr_Occurred()) SWIG_fail
;
20449 Py_INCREF(Py_None
); resultobj
= Py_None
;
20456 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20457 PyObject
*resultobj
;
20458 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20460 PyObject
* obj0
= 0 ;
20461 char *kwnames
[] = {
20462 (char *) "self", NULL
20465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
20466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20467 if (SWIG_arg_fail(1)) SWIG_fail
;
20469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20470 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
20472 wxPyEndAllowThreads(__tstate
);
20473 if (PyErr_Occurred()) SWIG_fail
;
20476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20484 static PyObject
* CloseEvent_swigregister(PyObject
*, PyObject
*args
) {
20486 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20487 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
20489 return Py_BuildValue((char *)"");
20491 static PyObject
*_wrap_new_ShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20492 PyObject
*resultobj
;
20493 int arg1
= (int) 0 ;
20494 bool arg2
= (bool) false ;
20495 wxShowEvent
*result
;
20496 PyObject
* obj0
= 0 ;
20497 PyObject
* obj1
= 0 ;
20498 char *kwnames
[] = {
20499 (char *) "winid",(char *) "show", NULL
20502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20505 arg1
= (int)(SWIG_As_int(obj0
));
20506 if (SWIG_arg_fail(1)) SWIG_fail
;
20511 arg2
= (bool)(SWIG_As_bool(obj1
));
20512 if (SWIG_arg_fail(2)) SWIG_fail
;
20516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20517 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
20519 wxPyEndAllowThreads(__tstate
);
20520 if (PyErr_Occurred()) SWIG_fail
;
20522 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
20529 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20530 PyObject
*resultobj
;
20531 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
20533 PyObject
* obj0
= 0 ;
20534 PyObject
* obj1
= 0 ;
20535 char *kwnames
[] = {
20536 (char *) "self",(char *) "show", NULL
20539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
20540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
20541 if (SWIG_arg_fail(1)) SWIG_fail
;
20543 arg2
= (bool)(SWIG_As_bool(obj1
));
20544 if (SWIG_arg_fail(2)) SWIG_fail
;
20547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20548 (arg1
)->SetShow(arg2
);
20550 wxPyEndAllowThreads(__tstate
);
20551 if (PyErr_Occurred()) SWIG_fail
;
20553 Py_INCREF(Py_None
); resultobj
= Py_None
;
20560 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20561 PyObject
*resultobj
;
20562 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
20564 PyObject
* obj0
= 0 ;
20565 char *kwnames
[] = {
20566 (char *) "self", NULL
20569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
20570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
20571 if (SWIG_arg_fail(1)) SWIG_fail
;
20573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20574 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
20576 wxPyEndAllowThreads(__tstate
);
20577 if (PyErr_Occurred()) SWIG_fail
;
20580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20588 static PyObject
* ShowEvent_swigregister(PyObject
*, PyObject
*args
) {
20590 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20591 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
20593 return Py_BuildValue((char *)"");
20595 static PyObject
*_wrap_new_IconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20596 PyObject
*resultobj
;
20597 int arg1
= (int) 0 ;
20598 bool arg2
= (bool) true ;
20599 wxIconizeEvent
*result
;
20600 PyObject
* obj0
= 0 ;
20601 PyObject
* obj1
= 0 ;
20602 char *kwnames
[] = {
20603 (char *) "id",(char *) "iconized", NULL
20606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20609 arg1
= (int)(SWIG_As_int(obj0
));
20610 if (SWIG_arg_fail(1)) SWIG_fail
;
20615 arg2
= (bool)(SWIG_As_bool(obj1
));
20616 if (SWIG_arg_fail(2)) SWIG_fail
;
20620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20621 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
20623 wxPyEndAllowThreads(__tstate
);
20624 if (PyErr_Occurred()) SWIG_fail
;
20626 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
20633 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20634 PyObject
*resultobj
;
20635 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
20637 PyObject
* obj0
= 0 ;
20638 char *kwnames
[] = {
20639 (char *) "self", NULL
20642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
20643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
20644 if (SWIG_arg_fail(1)) SWIG_fail
;
20646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20647 result
= (bool)(arg1
)->Iconized();
20649 wxPyEndAllowThreads(__tstate
);
20650 if (PyErr_Occurred()) SWIG_fail
;
20653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20661 static PyObject
* IconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20663 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20664 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
20666 return Py_BuildValue((char *)"");
20668 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20669 PyObject
*resultobj
;
20670 int arg1
= (int) 0 ;
20671 wxMaximizeEvent
*result
;
20672 PyObject
* obj0
= 0 ;
20673 char *kwnames
[] = {
20674 (char *) "id", NULL
20677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
20680 arg1
= (int)(SWIG_As_int(obj0
));
20681 if (SWIG_arg_fail(1)) SWIG_fail
;
20685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20686 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
20688 wxPyEndAllowThreads(__tstate
);
20689 if (PyErr_Occurred()) SWIG_fail
;
20691 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
20698 static PyObject
* MaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20700 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20701 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
20703 return Py_BuildValue((char *)"");
20705 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20706 PyObject
*resultobj
;
20707 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20709 PyObject
* obj0
= 0 ;
20710 char *kwnames
[] = {
20711 (char *) "self", NULL
20714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
20715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20716 if (SWIG_arg_fail(1)) SWIG_fail
;
20718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20719 result
= (arg1
)->GetPosition();
20721 wxPyEndAllowThreads(__tstate
);
20722 if (PyErr_Occurred()) SWIG_fail
;
20725 wxPoint
* resultptr
;
20726 resultptr
= new wxPoint((wxPoint
&)(result
));
20727 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20735 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20736 PyObject
*resultobj
;
20737 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20739 PyObject
* obj0
= 0 ;
20740 char *kwnames
[] = {
20741 (char *) "self", NULL
20744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
20745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20746 if (SWIG_arg_fail(1)) SWIG_fail
;
20748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20749 result
= (int)(arg1
)->GetNumberOfFiles();
20751 wxPyEndAllowThreads(__tstate
);
20752 if (PyErr_Occurred()) SWIG_fail
;
20755 resultobj
= SWIG_From_int((int)(result
));
20763 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20764 PyObject
*resultobj
;
20765 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20767 PyObject
* obj0
= 0 ;
20768 char *kwnames
[] = {
20769 (char *) "self", NULL
20772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
20773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20774 if (SWIG_arg_fail(1)) SWIG_fail
;
20776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20777 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
20779 wxPyEndAllowThreads(__tstate
);
20780 if (PyErr_Occurred()) SWIG_fail
;
20782 resultobj
= result
;
20789 static PyObject
* DropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
20791 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20792 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
20794 return Py_BuildValue((char *)"");
20796 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20797 PyObject
*resultobj
;
20798 int arg1
= (int) 0 ;
20799 wxUpdateUIEvent
*result
;
20800 PyObject
* obj0
= 0 ;
20801 char *kwnames
[] = {
20802 (char *) "commandId", NULL
20805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
20808 arg1
= (int)(SWIG_As_int(obj0
));
20809 if (SWIG_arg_fail(1)) SWIG_fail
;
20813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20814 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
20816 wxPyEndAllowThreads(__tstate
);
20817 if (PyErr_Occurred()) SWIG_fail
;
20819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
20826 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20827 PyObject
*resultobj
;
20828 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20830 PyObject
* obj0
= 0 ;
20831 char *kwnames
[] = {
20832 (char *) "self", NULL
20835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
20836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20837 if (SWIG_arg_fail(1)) SWIG_fail
;
20839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20840 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
20842 wxPyEndAllowThreads(__tstate
);
20843 if (PyErr_Occurred()) SWIG_fail
;
20846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20854 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20855 PyObject
*resultobj
;
20856 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20858 PyObject
* obj0
= 0 ;
20859 char *kwnames
[] = {
20860 (char *) "self", NULL
20863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
20864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20865 if (SWIG_arg_fail(1)) SWIG_fail
;
20867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20868 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
20870 wxPyEndAllowThreads(__tstate
);
20871 if (PyErr_Occurred()) SWIG_fail
;
20874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20882 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20883 PyObject
*resultobj
;
20884 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20886 PyObject
* obj0
= 0 ;
20887 char *kwnames
[] = {
20888 (char *) "self", NULL
20891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
20892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20893 if (SWIG_arg_fail(1)) SWIG_fail
;
20895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20896 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
20898 wxPyEndAllowThreads(__tstate
);
20899 if (PyErr_Occurred()) SWIG_fail
;
20903 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20905 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20914 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20915 PyObject
*resultobj
;
20916 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20918 PyObject
* obj0
= 0 ;
20919 char *kwnames
[] = {
20920 (char *) "self", NULL
20923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
20924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20925 if (SWIG_arg_fail(1)) SWIG_fail
;
20927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20928 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
20930 wxPyEndAllowThreads(__tstate
);
20931 if (PyErr_Occurred()) SWIG_fail
;
20934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20942 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20943 PyObject
*resultobj
;
20944 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20946 PyObject
* obj0
= 0 ;
20947 char *kwnames
[] = {
20948 (char *) "self", NULL
20951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
20952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20953 if (SWIG_arg_fail(1)) SWIG_fail
;
20955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20956 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
20958 wxPyEndAllowThreads(__tstate
);
20959 if (PyErr_Occurred()) SWIG_fail
;
20962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20970 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20971 PyObject
*resultobj
;
20972 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20974 PyObject
* obj0
= 0 ;
20975 char *kwnames
[] = {
20976 (char *) "self", NULL
20979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
20980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20981 if (SWIG_arg_fail(1)) SWIG_fail
;
20983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20984 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
20986 wxPyEndAllowThreads(__tstate
);
20987 if (PyErr_Occurred()) SWIG_fail
;
20990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20998 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20999 PyObject
*resultobj
;
21000 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21002 PyObject
* obj0
= 0 ;
21003 PyObject
* obj1
= 0 ;
21004 char *kwnames
[] = {
21005 (char *) "self",(char *) "check", NULL
21008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
21009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21010 if (SWIG_arg_fail(1)) SWIG_fail
;
21012 arg2
= (bool)(SWIG_As_bool(obj1
));
21013 if (SWIG_arg_fail(2)) SWIG_fail
;
21016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21017 (arg1
)->Check(arg2
);
21019 wxPyEndAllowThreads(__tstate
);
21020 if (PyErr_Occurred()) SWIG_fail
;
21022 Py_INCREF(Py_None
); resultobj
= Py_None
;
21029 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21030 PyObject
*resultobj
;
21031 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21033 PyObject
* obj0
= 0 ;
21034 PyObject
* obj1
= 0 ;
21035 char *kwnames
[] = {
21036 (char *) "self",(char *) "enable", NULL
21039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
21040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21041 if (SWIG_arg_fail(1)) SWIG_fail
;
21043 arg2
= (bool)(SWIG_As_bool(obj1
));
21044 if (SWIG_arg_fail(2)) SWIG_fail
;
21047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21048 (arg1
)->Enable(arg2
);
21050 wxPyEndAllowThreads(__tstate
);
21051 if (PyErr_Occurred()) SWIG_fail
;
21053 Py_INCREF(Py_None
); resultobj
= Py_None
;
21060 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21061 PyObject
*resultobj
;
21062 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21063 wxString
*arg2
= 0 ;
21064 bool temp2
= false ;
21065 PyObject
* obj0
= 0 ;
21066 PyObject
* obj1
= 0 ;
21067 char *kwnames
[] = {
21068 (char *) "self",(char *) "text", NULL
21071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
21072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21073 if (SWIG_arg_fail(1)) SWIG_fail
;
21075 arg2
= wxString_in_helper(obj1
);
21076 if (arg2
== NULL
) SWIG_fail
;
21080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21081 (arg1
)->SetText((wxString
const &)*arg2
);
21083 wxPyEndAllowThreads(__tstate
);
21084 if (PyErr_Occurred()) SWIG_fail
;
21086 Py_INCREF(Py_None
); resultobj
= Py_None
;
21101 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21102 PyObject
*resultobj
;
21104 PyObject
* obj0
= 0 ;
21105 char *kwnames
[] = {
21106 (char *) "updateInterval", NULL
21109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
21111 arg1
= (long)(SWIG_As_long(obj0
));
21112 if (SWIG_arg_fail(1)) SWIG_fail
;
21115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21116 wxUpdateUIEvent::SetUpdateInterval(arg1
);
21118 wxPyEndAllowThreads(__tstate
);
21119 if (PyErr_Occurred()) SWIG_fail
;
21121 Py_INCREF(Py_None
); resultobj
= Py_None
;
21128 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21129 PyObject
*resultobj
;
21131 char *kwnames
[] = {
21135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
21137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21138 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
21140 wxPyEndAllowThreads(__tstate
);
21141 if (PyErr_Occurred()) SWIG_fail
;
21144 resultobj
= SWIG_From_long((long)(result
));
21152 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21153 PyObject
*resultobj
;
21154 wxWindow
*arg1
= (wxWindow
*) 0 ;
21156 PyObject
* obj0
= 0 ;
21157 char *kwnames
[] = {
21158 (char *) "win", NULL
21161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
21162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21163 if (SWIG_arg_fail(1)) SWIG_fail
;
21165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21166 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
21168 wxPyEndAllowThreads(__tstate
);
21169 if (PyErr_Occurred()) SWIG_fail
;
21172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21180 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21181 PyObject
*resultobj
;
21182 char *kwnames
[] = {
21186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
21188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21189 wxUpdateUIEvent::ResetUpdateTime();
21191 wxPyEndAllowThreads(__tstate
);
21192 if (PyErr_Occurred()) SWIG_fail
;
21194 Py_INCREF(Py_None
); resultobj
= Py_None
;
21201 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21202 PyObject
*resultobj
;
21203 wxUpdateUIMode arg1
;
21204 PyObject
* obj0
= 0 ;
21205 char *kwnames
[] = {
21206 (char *) "mode", NULL
21209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
21211 arg1
= (wxUpdateUIMode
)(SWIG_As_int(obj0
));
21212 if (SWIG_arg_fail(1)) SWIG_fail
;
21215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21216 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
21218 wxPyEndAllowThreads(__tstate
);
21219 if (PyErr_Occurred()) SWIG_fail
;
21221 Py_INCREF(Py_None
); resultobj
= Py_None
;
21228 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21229 PyObject
*resultobj
;
21230 wxUpdateUIMode result
;
21231 char *kwnames
[] = {
21235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
21237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21238 result
= (wxUpdateUIMode
)wxUpdateUIEvent::GetMode();
21240 wxPyEndAllowThreads(__tstate
);
21241 if (PyErr_Occurred()) SWIG_fail
;
21243 resultobj
= SWIG_From_int((result
));
21250 static PyObject
* UpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
21252 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21253 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
21255 return Py_BuildValue((char *)"");
21257 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21258 PyObject
*resultobj
;
21259 wxSysColourChangedEvent
*result
;
21260 char *kwnames
[] = {
21264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
21266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21267 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
21269 wxPyEndAllowThreads(__tstate
);
21270 if (PyErr_Occurred()) SWIG_fail
;
21272 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
21279 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21281 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21282 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
21284 return Py_BuildValue((char *)"");
21286 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21287 PyObject
*resultobj
;
21288 int arg1
= (int) 0 ;
21289 wxWindow
*arg2
= (wxWindow
*) NULL
;
21290 wxMouseCaptureChangedEvent
*result
;
21291 PyObject
* obj0
= 0 ;
21292 PyObject
* obj1
= 0 ;
21293 char *kwnames
[] = {
21294 (char *) "winid",(char *) "gainedCapture", NULL
21297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21300 arg1
= (int)(SWIG_As_int(obj0
));
21301 if (SWIG_arg_fail(1)) SWIG_fail
;
21305 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21306 if (SWIG_arg_fail(2)) SWIG_fail
;
21309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21310 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
21312 wxPyEndAllowThreads(__tstate
);
21313 if (PyErr_Occurred()) SWIG_fail
;
21315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
21322 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21323 PyObject
*resultobj
;
21324 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
21326 PyObject
* obj0
= 0 ;
21327 char *kwnames
[] = {
21328 (char *) "self", NULL
21331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
21332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseCaptureChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21333 if (SWIG_arg_fail(1)) SWIG_fail
;
21335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21336 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
21338 wxPyEndAllowThreads(__tstate
);
21339 if (PyErr_Occurred()) SWIG_fail
;
21342 resultobj
= wxPyMake_wxObject(result
, 0);
21350 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21352 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21353 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
21355 return Py_BuildValue((char *)"");
21357 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21358 PyObject
*resultobj
;
21359 wxDisplayChangedEvent
*result
;
21360 char *kwnames
[] = {
21364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
21366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21367 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
21369 wxPyEndAllowThreads(__tstate
);
21370 if (PyErr_Occurred()) SWIG_fail
;
21372 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
21379 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21381 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21382 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
21384 return Py_BuildValue((char *)"");
21386 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21387 PyObject
*resultobj
;
21388 int arg1
= (int) 0 ;
21389 wxPaletteChangedEvent
*result
;
21390 PyObject
* obj0
= 0 ;
21391 char *kwnames
[] = {
21392 (char *) "id", NULL
21395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
21398 arg1
= (int)(SWIG_As_int(obj0
));
21399 if (SWIG_arg_fail(1)) SWIG_fail
;
21403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21404 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
21406 wxPyEndAllowThreads(__tstate
);
21407 if (PyErr_Occurred()) SWIG_fail
;
21409 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
21416 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21417 PyObject
*resultobj
;
21418 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
21419 wxWindow
*arg2
= (wxWindow
*) 0 ;
21420 PyObject
* obj0
= 0 ;
21421 PyObject
* obj1
= 0 ;
21422 char *kwnames
[] = {
21423 (char *) "self",(char *) "win", NULL
21426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
21427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21428 if (SWIG_arg_fail(1)) SWIG_fail
;
21429 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21430 if (SWIG_arg_fail(2)) SWIG_fail
;
21432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21433 (arg1
)->SetChangedWindow(arg2
);
21435 wxPyEndAllowThreads(__tstate
);
21436 if (PyErr_Occurred()) SWIG_fail
;
21438 Py_INCREF(Py_None
); resultobj
= Py_None
;
21445 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21446 PyObject
*resultobj
;
21447 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
21449 PyObject
* obj0
= 0 ;
21450 char *kwnames
[] = {
21451 (char *) "self", NULL
21454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
21455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21456 if (SWIG_arg_fail(1)) SWIG_fail
;
21458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21459 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
21461 wxPyEndAllowThreads(__tstate
);
21462 if (PyErr_Occurred()) SWIG_fail
;
21465 resultobj
= wxPyMake_wxObject(result
, 0);
21473 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21475 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21476 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
21478 return Py_BuildValue((char *)"");
21480 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21481 PyObject
*resultobj
;
21482 int arg1
= (int) 0 ;
21483 wxQueryNewPaletteEvent
*result
;
21484 PyObject
* obj0
= 0 ;
21485 char *kwnames
[] = {
21486 (char *) "winid", NULL
21489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
21492 arg1
= (int)(SWIG_As_int(obj0
));
21493 if (SWIG_arg_fail(1)) SWIG_fail
;
21497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21498 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
21500 wxPyEndAllowThreads(__tstate
);
21501 if (PyErr_Occurred()) SWIG_fail
;
21503 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
21510 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21511 PyObject
*resultobj
;
21512 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
21514 PyObject
* obj0
= 0 ;
21515 PyObject
* obj1
= 0 ;
21516 char *kwnames
[] = {
21517 (char *) "self",(char *) "realized", NULL
21520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
21521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
21522 if (SWIG_arg_fail(1)) SWIG_fail
;
21524 arg2
= (bool)(SWIG_As_bool(obj1
));
21525 if (SWIG_arg_fail(2)) SWIG_fail
;
21528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21529 (arg1
)->SetPaletteRealized(arg2
);
21531 wxPyEndAllowThreads(__tstate
);
21532 if (PyErr_Occurred()) SWIG_fail
;
21534 Py_INCREF(Py_None
); resultobj
= Py_None
;
21541 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21542 PyObject
*resultobj
;
21543 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
21545 PyObject
* obj0
= 0 ;
21546 char *kwnames
[] = {
21547 (char *) "self", NULL
21550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
21551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
21552 if (SWIG_arg_fail(1)) SWIG_fail
;
21554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21555 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
21557 wxPyEndAllowThreads(__tstate
);
21558 if (PyErr_Occurred()) SWIG_fail
;
21561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21569 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
21571 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21572 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
21574 return Py_BuildValue((char *)"");
21576 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21577 PyObject
*resultobj
;
21578 wxNavigationKeyEvent
*result
;
21579 char *kwnames
[] = {
21583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
21585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21586 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
21588 wxPyEndAllowThreads(__tstate
);
21589 if (PyErr_Occurred()) SWIG_fail
;
21591 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
21598 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21599 PyObject
*resultobj
;
21600 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21602 PyObject
* obj0
= 0 ;
21603 char *kwnames
[] = {
21604 (char *) "self", NULL
21607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
21608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21609 if (SWIG_arg_fail(1)) SWIG_fail
;
21611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21612 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
21614 wxPyEndAllowThreads(__tstate
);
21615 if (PyErr_Occurred()) SWIG_fail
;
21618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21626 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21627 PyObject
*resultobj
;
21628 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21630 PyObject
* obj0
= 0 ;
21631 PyObject
* obj1
= 0 ;
21632 char *kwnames
[] = {
21633 (char *) "self",(char *) "forward", NULL
21636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
21637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21638 if (SWIG_arg_fail(1)) SWIG_fail
;
21640 arg2
= (bool)(SWIG_As_bool(obj1
));
21641 if (SWIG_arg_fail(2)) SWIG_fail
;
21644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21645 (arg1
)->SetDirection(arg2
);
21647 wxPyEndAllowThreads(__tstate
);
21648 if (PyErr_Occurred()) SWIG_fail
;
21650 Py_INCREF(Py_None
); resultobj
= Py_None
;
21657 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21658 PyObject
*resultobj
;
21659 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21661 PyObject
* obj0
= 0 ;
21662 char *kwnames
[] = {
21663 (char *) "self", NULL
21666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
21667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21668 if (SWIG_arg_fail(1)) SWIG_fail
;
21670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21671 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
21673 wxPyEndAllowThreads(__tstate
);
21674 if (PyErr_Occurred()) SWIG_fail
;
21677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21685 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21686 PyObject
*resultobj
;
21687 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21689 PyObject
* obj0
= 0 ;
21690 PyObject
* obj1
= 0 ;
21691 char *kwnames
[] = {
21692 (char *) "self",(char *) "ischange", NULL
21695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
21696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21697 if (SWIG_arg_fail(1)) SWIG_fail
;
21699 arg2
= (bool)(SWIG_As_bool(obj1
));
21700 if (SWIG_arg_fail(2)) SWIG_fail
;
21703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21704 (arg1
)->SetWindowChange(arg2
);
21706 wxPyEndAllowThreads(__tstate
);
21707 if (PyErr_Occurred()) SWIG_fail
;
21709 Py_INCREF(Py_None
); resultobj
= Py_None
;
21716 static PyObject
*_wrap_NavigationKeyEvent_IsFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21717 PyObject
*resultobj
;
21718 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21720 PyObject
* obj0
= 0 ;
21721 char *kwnames
[] = {
21722 (char *) "self", NULL
21725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsFromTab",kwnames
,&obj0
)) goto fail
;
21726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21727 if (SWIG_arg_fail(1)) SWIG_fail
;
21729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21730 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsFromTab();
21732 wxPyEndAllowThreads(__tstate
);
21733 if (PyErr_Occurred()) SWIG_fail
;
21736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21744 static PyObject
*_wrap_NavigationKeyEvent_SetFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21745 PyObject
*resultobj
;
21746 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21748 PyObject
* obj0
= 0 ;
21749 PyObject
* obj1
= 0 ;
21750 char *kwnames
[] = {
21751 (char *) "self",(char *) "bIs", NULL
21754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFromTab",kwnames
,&obj0
,&obj1
)) goto fail
;
21755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21756 if (SWIG_arg_fail(1)) SWIG_fail
;
21758 arg2
= (bool)(SWIG_As_bool(obj1
));
21759 if (SWIG_arg_fail(2)) SWIG_fail
;
21762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21763 (arg1
)->SetFromTab(arg2
);
21765 wxPyEndAllowThreads(__tstate
);
21766 if (PyErr_Occurred()) SWIG_fail
;
21768 Py_INCREF(Py_None
); resultobj
= Py_None
;
21775 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21776 PyObject
*resultobj
;
21777 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21779 PyObject
* obj0
= 0 ;
21780 PyObject
* obj1
= 0 ;
21781 char *kwnames
[] = {
21782 (char *) "self",(char *) "flags", NULL
21785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
21786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21787 if (SWIG_arg_fail(1)) SWIG_fail
;
21789 arg2
= (long)(SWIG_As_long(obj1
));
21790 if (SWIG_arg_fail(2)) SWIG_fail
;
21793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21794 (arg1
)->SetFlags(arg2
);
21796 wxPyEndAllowThreads(__tstate
);
21797 if (PyErr_Occurred()) SWIG_fail
;
21799 Py_INCREF(Py_None
); resultobj
= Py_None
;
21806 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21807 PyObject
*resultobj
;
21808 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21810 PyObject
* obj0
= 0 ;
21811 char *kwnames
[] = {
21812 (char *) "self", NULL
21815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
21816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21817 if (SWIG_arg_fail(1)) SWIG_fail
;
21819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21820 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
21822 wxPyEndAllowThreads(__tstate
);
21823 if (PyErr_Occurred()) SWIG_fail
;
21826 resultobj
= wxPyMake_wxObject(result
, 0);
21834 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21835 PyObject
*resultobj
;
21836 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21837 wxWindow
*arg2
= (wxWindow
*) 0 ;
21838 PyObject
* obj0
= 0 ;
21839 PyObject
* obj1
= 0 ;
21840 char *kwnames
[] = {
21841 (char *) "self",(char *) "win", NULL
21844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
21845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21846 if (SWIG_arg_fail(1)) SWIG_fail
;
21847 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21848 if (SWIG_arg_fail(2)) SWIG_fail
;
21850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21851 (arg1
)->SetCurrentFocus(arg2
);
21853 wxPyEndAllowThreads(__tstate
);
21854 if (PyErr_Occurred()) SWIG_fail
;
21856 Py_INCREF(Py_None
); resultobj
= Py_None
;
21863 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
21865 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21866 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
21868 return Py_BuildValue((char *)"");
21870 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21871 PyObject
*resultobj
;
21872 wxWindow
*arg1
= (wxWindow
*) NULL
;
21873 wxWindowCreateEvent
*result
;
21874 PyObject
* obj0
= 0 ;
21875 char *kwnames
[] = {
21876 (char *) "win", NULL
21879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
21881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21882 if (SWIG_arg_fail(1)) SWIG_fail
;
21885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21886 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
21888 wxPyEndAllowThreads(__tstate
);
21889 if (PyErr_Occurred()) SWIG_fail
;
21891 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
21898 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21899 PyObject
*resultobj
;
21900 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
21902 PyObject
* obj0
= 0 ;
21903 char *kwnames
[] = {
21904 (char *) "self", NULL
21907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowCreateEvent
, SWIG_POINTER_EXCEPTION
| 0);
21909 if (SWIG_arg_fail(1)) SWIG_fail
;
21911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21912 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
21914 wxPyEndAllowThreads(__tstate
);
21915 if (PyErr_Occurred()) SWIG_fail
;
21918 resultobj
= wxPyMake_wxObject(result
, 0);
21926 static PyObject
* WindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
21928 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21929 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
21931 return Py_BuildValue((char *)"");
21933 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21934 PyObject
*resultobj
;
21935 wxWindow
*arg1
= (wxWindow
*) NULL
;
21936 wxWindowDestroyEvent
*result
;
21937 PyObject
* obj0
= 0 ;
21938 char *kwnames
[] = {
21939 (char *) "win", NULL
21942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
21944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21945 if (SWIG_arg_fail(1)) SWIG_fail
;
21948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21949 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
21951 wxPyEndAllowThreads(__tstate
);
21952 if (PyErr_Occurred()) SWIG_fail
;
21954 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
21961 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21962 PyObject
*resultobj
;
21963 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
21965 PyObject
* obj0
= 0 ;
21966 char *kwnames
[] = {
21967 (char *) "self", NULL
21970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDestroyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21972 if (SWIG_arg_fail(1)) SWIG_fail
;
21974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21975 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
21977 wxPyEndAllowThreads(__tstate
);
21978 if (PyErr_Occurred()) SWIG_fail
;
21981 resultobj
= wxPyMake_wxObject(result
, 0);
21989 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
21991 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21992 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
21994 return Py_BuildValue((char *)"");
21996 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21997 PyObject
*resultobj
;
21998 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21999 int arg2
= (int) 0 ;
22000 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22001 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22002 wxContextMenuEvent
*result
;
22004 PyObject
* obj0
= 0 ;
22005 PyObject
* obj1
= 0 ;
22006 PyObject
* obj2
= 0 ;
22007 char *kwnames
[] = {
22008 (char *) "type",(char *) "winid",(char *) "pt", NULL
22011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22014 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
22015 if (SWIG_arg_fail(1)) SWIG_fail
;
22020 arg2
= (int)(SWIG_As_int(obj1
));
22021 if (SWIG_arg_fail(2)) SWIG_fail
;
22027 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22032 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
22034 wxPyEndAllowThreads(__tstate
);
22035 if (PyErr_Occurred()) SWIG_fail
;
22037 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
22044 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22045 PyObject
*resultobj
;
22046 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
22048 PyObject
* obj0
= 0 ;
22049 char *kwnames
[] = {
22050 (char *) "self", NULL
22053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
22054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
22055 if (SWIG_arg_fail(1)) SWIG_fail
;
22057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22059 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
22060 result
= (wxPoint
*) &_result_ref
;
22063 wxPyEndAllowThreads(__tstate
);
22064 if (PyErr_Occurred()) SWIG_fail
;
22066 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
22073 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22074 PyObject
*resultobj
;
22075 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
22076 wxPoint
*arg2
= 0 ;
22078 PyObject
* obj0
= 0 ;
22079 PyObject
* obj1
= 0 ;
22080 char *kwnames
[] = {
22081 (char *) "self",(char *) "pos", NULL
22084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
22085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
22086 if (SWIG_arg_fail(1)) SWIG_fail
;
22089 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22093 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
22095 wxPyEndAllowThreads(__tstate
);
22096 if (PyErr_Occurred()) SWIG_fail
;
22098 Py_INCREF(Py_None
); resultobj
= Py_None
;
22105 static PyObject
* ContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
22107 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22108 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
22110 return Py_BuildValue((char *)"");
22112 static PyObject
*_wrap_new_IdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22113 PyObject
*resultobj
;
22114 wxIdleEvent
*result
;
22115 char *kwnames
[] = {
22119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
22121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22122 result
= (wxIdleEvent
*)new wxIdleEvent();
22124 wxPyEndAllowThreads(__tstate
);
22125 if (PyErr_Occurred()) SWIG_fail
;
22127 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
22134 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22135 PyObject
*resultobj
;
22136 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
22137 bool arg2
= (bool) true ;
22138 PyObject
* obj0
= 0 ;
22139 PyObject
* obj1
= 0 ;
22140 char *kwnames
[] = {
22141 (char *) "self",(char *) "needMore", NULL
22144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
22145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
22146 if (SWIG_arg_fail(1)) SWIG_fail
;
22149 arg2
= (bool)(SWIG_As_bool(obj1
));
22150 if (SWIG_arg_fail(2)) SWIG_fail
;
22154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22155 (arg1
)->RequestMore(arg2
);
22157 wxPyEndAllowThreads(__tstate
);
22158 if (PyErr_Occurred()) SWIG_fail
;
22160 Py_INCREF(Py_None
); resultobj
= Py_None
;
22167 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22168 PyObject
*resultobj
;
22169 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
22171 PyObject
* obj0
= 0 ;
22172 char *kwnames
[] = {
22173 (char *) "self", NULL
22176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
22177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
22178 if (SWIG_arg_fail(1)) SWIG_fail
;
22180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22181 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
22183 wxPyEndAllowThreads(__tstate
);
22184 if (PyErr_Occurred()) SWIG_fail
;
22187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22195 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22196 PyObject
*resultobj
;
22198 PyObject
* obj0
= 0 ;
22199 char *kwnames
[] = {
22200 (char *) "mode", NULL
22203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
22205 arg1
= (wxIdleMode
)(SWIG_As_int(obj0
));
22206 if (SWIG_arg_fail(1)) SWIG_fail
;
22209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22210 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
22212 wxPyEndAllowThreads(__tstate
);
22213 if (PyErr_Occurred()) SWIG_fail
;
22215 Py_INCREF(Py_None
); resultobj
= Py_None
;
22222 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22223 PyObject
*resultobj
;
22225 char *kwnames
[] = {
22229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
22231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22232 result
= (wxIdleMode
)wxIdleEvent::GetMode();
22234 wxPyEndAllowThreads(__tstate
);
22235 if (PyErr_Occurred()) SWIG_fail
;
22237 resultobj
= SWIG_From_int((result
));
22244 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22245 PyObject
*resultobj
;
22246 wxWindow
*arg1
= (wxWindow
*) 0 ;
22248 PyObject
* obj0
= 0 ;
22249 char *kwnames
[] = {
22250 (char *) "win", NULL
22253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
22254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22255 if (SWIG_arg_fail(1)) SWIG_fail
;
22257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22258 result
= (bool)wxIdleEvent::CanSend(arg1
);
22260 wxPyEndAllowThreads(__tstate
);
22261 if (PyErr_Occurred()) SWIG_fail
;
22264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22272 static PyObject
* IdleEvent_swigregister(PyObject
*, PyObject
*args
) {
22274 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22275 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
22277 return Py_BuildValue((char *)"");
22279 static PyObject
*_wrap_new_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22280 PyObject
*resultobj
;
22281 int arg1
= (int) 0 ;
22282 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
22284 PyObject
* obj0
= 0 ;
22285 PyObject
* obj1
= 0 ;
22286 char *kwnames
[] = {
22287 (char *) "winid",(char *) "eventType", NULL
22290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
22293 arg1
= (int)(SWIG_As_int(obj0
));
22294 if (SWIG_arg_fail(1)) SWIG_fail
;
22299 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
22300 if (SWIG_arg_fail(2)) SWIG_fail
;
22304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22305 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
22307 wxPyEndAllowThreads(__tstate
);
22308 if (PyErr_Occurred()) SWIG_fail
;
22310 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
22317 static PyObject
*_wrap_delete_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22318 PyObject
*resultobj
;
22319 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22320 PyObject
* obj0
= 0 ;
22321 char *kwnames
[] = {
22322 (char *) "self", NULL
22325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
22326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22327 if (SWIG_arg_fail(1)) SWIG_fail
;
22329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22332 wxPyEndAllowThreads(__tstate
);
22333 if (PyErr_Occurred()) SWIG_fail
;
22335 Py_INCREF(Py_None
); resultobj
= Py_None
;
22342 static PyObject
*_wrap_PyEvent__SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22343 PyObject
*resultobj
;
22344 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22345 PyObject
*arg2
= (PyObject
*) 0 ;
22346 PyObject
* obj0
= 0 ;
22347 PyObject
* obj1
= 0 ;
22348 char *kwnames
[] = {
22349 (char *) "self",(char *) "self", NULL
22352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent__SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
22353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22354 if (SWIG_arg_fail(1)) SWIG_fail
;
22357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22358 (arg1
)->SetSelf(arg2
);
22360 wxPyEndAllowThreads(__tstate
);
22361 if (PyErr_Occurred()) SWIG_fail
;
22363 Py_INCREF(Py_None
); resultobj
= Py_None
;
22370 static PyObject
*_wrap_PyEvent__GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22371 PyObject
*resultobj
;
22372 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22374 PyObject
* obj0
= 0 ;
22375 char *kwnames
[] = {
22376 (char *) "self", NULL
22379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent__GetSelf",kwnames
,&obj0
)) goto fail
;
22380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22381 if (SWIG_arg_fail(1)) SWIG_fail
;
22383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22384 result
= (PyObject
*)(arg1
)->GetSelf();
22386 wxPyEndAllowThreads(__tstate
);
22387 if (PyErr_Occurred()) SWIG_fail
;
22389 resultobj
= result
;
22396 static PyObject
* PyEvent_swigregister(PyObject
*, PyObject
*args
) {
22398 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22399 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
22401 return Py_BuildValue((char *)"");
22403 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22404 PyObject
*resultobj
;
22405 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22406 int arg2
= (int) 0 ;
22407 wxPyCommandEvent
*result
;
22408 PyObject
* obj0
= 0 ;
22409 PyObject
* obj1
= 0 ;
22410 char *kwnames
[] = {
22411 (char *) "eventType",(char *) "id", NULL
22414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
22417 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
22418 if (SWIG_arg_fail(1)) SWIG_fail
;
22423 arg2
= (int)(SWIG_As_int(obj1
));
22424 if (SWIG_arg_fail(2)) SWIG_fail
;
22428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22429 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
22431 wxPyEndAllowThreads(__tstate
);
22432 if (PyErr_Occurred()) SWIG_fail
;
22434 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
22441 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22442 PyObject
*resultobj
;
22443 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22444 PyObject
* obj0
= 0 ;
22445 char *kwnames
[] = {
22446 (char *) "self", NULL
22449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
22450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22451 if (SWIG_arg_fail(1)) SWIG_fail
;
22453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22456 wxPyEndAllowThreads(__tstate
);
22457 if (PyErr_Occurred()) SWIG_fail
;
22459 Py_INCREF(Py_None
); resultobj
= Py_None
;
22466 static PyObject
*_wrap_PyCommandEvent__SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22467 PyObject
*resultobj
;
22468 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22469 PyObject
*arg2
= (PyObject
*) 0 ;
22470 PyObject
* obj0
= 0 ;
22471 PyObject
* obj1
= 0 ;
22472 char *kwnames
[] = {
22473 (char *) "self",(char *) "self", NULL
22476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent__SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
22477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22478 if (SWIG_arg_fail(1)) SWIG_fail
;
22481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22482 (arg1
)->SetSelf(arg2
);
22484 wxPyEndAllowThreads(__tstate
);
22485 if (PyErr_Occurred()) SWIG_fail
;
22487 Py_INCREF(Py_None
); resultobj
= Py_None
;
22494 static PyObject
*_wrap_PyCommandEvent__GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22495 PyObject
*resultobj
;
22496 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22498 PyObject
* obj0
= 0 ;
22499 char *kwnames
[] = {
22500 (char *) "self", NULL
22503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent__GetSelf",kwnames
,&obj0
)) goto fail
;
22504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22505 if (SWIG_arg_fail(1)) SWIG_fail
;
22507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22508 result
= (PyObject
*)(arg1
)->GetSelf();
22510 wxPyEndAllowThreads(__tstate
);
22511 if (PyErr_Occurred()) SWIG_fail
;
22513 resultobj
= result
;
22520 static PyObject
* PyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
22522 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22523 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
22525 return Py_BuildValue((char *)"");
22527 static PyObject
*_wrap_new_DateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22528 PyObject
*resultobj
;
22529 wxWindow
*arg1
= (wxWindow
*) 0 ;
22530 wxDateTime
*arg2
= 0 ;
22532 wxDateEvent
*result
;
22533 PyObject
* obj0
= 0 ;
22534 PyObject
* obj1
= 0 ;
22535 PyObject
* obj2
= 0 ;
22536 char *kwnames
[] = {
22537 (char *) "win",(char *) "dt",(char *) "type", NULL
22540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_DateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22542 if (SWIG_arg_fail(1)) SWIG_fail
;
22544 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22545 if (SWIG_arg_fail(2)) SWIG_fail
;
22546 if (arg2
== NULL
) {
22547 SWIG_null_ref("wxDateTime");
22549 if (SWIG_arg_fail(2)) SWIG_fail
;
22552 arg3
= (wxEventType
)(SWIG_As_int(obj2
));
22553 if (SWIG_arg_fail(3)) SWIG_fail
;
22556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22557 result
= (wxDateEvent
*)new wxDateEvent(arg1
,(wxDateTime
const &)*arg2
,arg3
);
22559 wxPyEndAllowThreads(__tstate
);
22560 if (PyErr_Occurred()) SWIG_fail
;
22562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateEvent
, 1);
22569 static PyObject
*_wrap_DateEvent_GetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22570 PyObject
*resultobj
;
22571 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
22572 wxDateTime
*result
;
22573 PyObject
* obj0
= 0 ;
22574 char *kwnames
[] = {
22575 (char *) "self", NULL
22578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateEvent_GetDate",kwnames
,&obj0
)) goto fail
;
22579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
22580 if (SWIG_arg_fail(1)) SWIG_fail
;
22582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22584 wxDateTime
const &_result_ref
= ((wxDateEvent
const *)arg1
)->GetDate();
22585 result
= (wxDateTime
*) &_result_ref
;
22588 wxPyEndAllowThreads(__tstate
);
22589 if (PyErr_Occurred()) SWIG_fail
;
22591 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22598 static PyObject
*_wrap_DateEvent_SetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22599 PyObject
*resultobj
;
22600 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
22601 wxDateTime
*arg2
= 0 ;
22602 PyObject
* obj0
= 0 ;
22603 PyObject
* obj1
= 0 ;
22604 char *kwnames
[] = {
22605 (char *) "self",(char *) "date", NULL
22608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateEvent_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
;
22609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
22610 if (SWIG_arg_fail(1)) SWIG_fail
;
22612 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22613 if (SWIG_arg_fail(2)) SWIG_fail
;
22614 if (arg2
== NULL
) {
22615 SWIG_null_ref("wxDateTime");
22617 if (SWIG_arg_fail(2)) SWIG_fail
;
22620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22621 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
22623 wxPyEndAllowThreads(__tstate
);
22624 if (PyErr_Occurred()) SWIG_fail
;
22626 Py_INCREF(Py_None
); resultobj
= Py_None
;
22633 static PyObject
* DateEvent_swigregister(PyObject
*, PyObject
*args
) {
22635 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22636 SWIG_TypeClientData(SWIGTYPE_p_wxDateEvent
, obj
);
22638 return Py_BuildValue((char *)"");
22640 static PyObject
*_wrap_new_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22641 PyObject
*resultobj
;
22643 char *kwnames
[] = {
22647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
22649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22650 result
= (wxPyApp
*)new_wxPyApp();
22652 wxPyEndAllowThreads(__tstate
);
22653 if (PyErr_Occurred()) SWIG_fail
;
22655 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
22662 static PyObject
*_wrap_delete_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22663 PyObject
*resultobj
;
22664 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22665 PyObject
* obj0
= 0 ;
22666 char *kwnames
[] = {
22667 (char *) "self", NULL
22670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
22671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22672 if (SWIG_arg_fail(1)) SWIG_fail
;
22674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22677 wxPyEndAllowThreads(__tstate
);
22678 if (PyErr_Occurred()) SWIG_fail
;
22680 Py_INCREF(Py_None
); resultobj
= Py_None
;
22687 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22688 PyObject
*resultobj
;
22689 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22690 PyObject
*arg2
= (PyObject
*) 0 ;
22691 PyObject
*arg3
= (PyObject
*) 0 ;
22693 PyObject
* obj0
= 0 ;
22694 PyObject
* obj1
= 0 ;
22695 PyObject
* obj2
= 0 ;
22696 PyObject
* obj3
= 0 ;
22697 char *kwnames
[] = {
22698 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
22701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22703 if (SWIG_arg_fail(1)) SWIG_fail
;
22707 arg4
= (bool)(SWIG_As_bool(obj3
));
22708 if (SWIG_arg_fail(4)) SWIG_fail
;
22711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22712 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
22714 wxPyEndAllowThreads(__tstate
);
22715 if (PyErr_Occurred()) SWIG_fail
;
22717 Py_INCREF(Py_None
); resultobj
= Py_None
;
22724 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22725 PyObject
*resultobj
;
22726 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22728 PyObject
* obj0
= 0 ;
22729 char *kwnames
[] = {
22730 (char *) "self", NULL
22733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
22734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22735 if (SWIG_arg_fail(1)) SWIG_fail
;
22737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22738 result
= ((wxPyApp
const *)arg1
)->GetAppName();
22740 wxPyEndAllowThreads(__tstate
);
22741 if (PyErr_Occurred()) SWIG_fail
;
22745 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22747 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22756 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22757 PyObject
*resultobj
;
22758 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22759 wxString
*arg2
= 0 ;
22760 bool temp2
= false ;
22761 PyObject
* obj0
= 0 ;
22762 PyObject
* obj1
= 0 ;
22763 char *kwnames
[] = {
22764 (char *) "self",(char *) "name", NULL
22767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
22768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22769 if (SWIG_arg_fail(1)) SWIG_fail
;
22771 arg2
= wxString_in_helper(obj1
);
22772 if (arg2
== NULL
) SWIG_fail
;
22776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22777 (arg1
)->SetAppName((wxString
const &)*arg2
);
22779 wxPyEndAllowThreads(__tstate
);
22780 if (PyErr_Occurred()) SWIG_fail
;
22782 Py_INCREF(Py_None
); resultobj
= Py_None
;
22797 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22798 PyObject
*resultobj
;
22799 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22801 PyObject
* obj0
= 0 ;
22802 char *kwnames
[] = {
22803 (char *) "self", NULL
22806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
22807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22808 if (SWIG_arg_fail(1)) SWIG_fail
;
22810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22811 result
= ((wxPyApp
const *)arg1
)->GetClassName();
22813 wxPyEndAllowThreads(__tstate
);
22814 if (PyErr_Occurred()) SWIG_fail
;
22818 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22820 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22829 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22830 PyObject
*resultobj
;
22831 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22832 wxString
*arg2
= 0 ;
22833 bool temp2
= false ;
22834 PyObject
* obj0
= 0 ;
22835 PyObject
* obj1
= 0 ;
22836 char *kwnames
[] = {
22837 (char *) "self",(char *) "name", NULL
22840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
22841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22842 if (SWIG_arg_fail(1)) SWIG_fail
;
22844 arg2
= wxString_in_helper(obj1
);
22845 if (arg2
== NULL
) SWIG_fail
;
22849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22850 (arg1
)->SetClassName((wxString
const &)*arg2
);
22852 wxPyEndAllowThreads(__tstate
);
22853 if (PyErr_Occurred()) SWIG_fail
;
22855 Py_INCREF(Py_None
); resultobj
= Py_None
;
22870 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22871 PyObject
*resultobj
;
22872 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22874 PyObject
* obj0
= 0 ;
22875 char *kwnames
[] = {
22876 (char *) "self", NULL
22879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
22880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22881 if (SWIG_arg_fail(1)) SWIG_fail
;
22883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22885 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
22886 result
= (wxString
*) &_result_ref
;
22889 wxPyEndAllowThreads(__tstate
);
22890 if (PyErr_Occurred()) SWIG_fail
;
22894 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22896 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22905 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22906 PyObject
*resultobj
;
22907 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22908 wxString
*arg2
= 0 ;
22909 bool temp2
= false ;
22910 PyObject
* obj0
= 0 ;
22911 PyObject
* obj1
= 0 ;
22912 char *kwnames
[] = {
22913 (char *) "self",(char *) "name", NULL
22916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
22917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22918 if (SWIG_arg_fail(1)) SWIG_fail
;
22920 arg2
= wxString_in_helper(obj1
);
22921 if (arg2
== NULL
) SWIG_fail
;
22925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22926 (arg1
)->SetVendorName((wxString
const &)*arg2
);
22928 wxPyEndAllowThreads(__tstate
);
22929 if (PyErr_Occurred()) SWIG_fail
;
22931 Py_INCREF(Py_None
); resultobj
= Py_None
;
22946 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22947 PyObject
*resultobj
;
22948 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22949 wxAppTraits
*result
;
22950 PyObject
* obj0
= 0 ;
22951 char *kwnames
[] = {
22952 (char *) "self", NULL
22955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
22956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22957 if (SWIG_arg_fail(1)) SWIG_fail
;
22959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22960 result
= (wxAppTraits
*)(arg1
)->GetTraits();
22962 wxPyEndAllowThreads(__tstate
);
22963 if (PyErr_Occurred()) SWIG_fail
;
22965 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
22972 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22973 PyObject
*resultobj
;
22974 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22975 PyObject
* obj0
= 0 ;
22976 char *kwnames
[] = {
22977 (char *) "self", NULL
22980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
22981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22982 if (SWIG_arg_fail(1)) SWIG_fail
;
22984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22985 (arg1
)->ProcessPendingEvents();
22987 wxPyEndAllowThreads(__tstate
);
22988 if (PyErr_Occurred()) SWIG_fail
;
22990 Py_INCREF(Py_None
); resultobj
= Py_None
;
22997 static PyObject
*_wrap_PyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22998 PyObject
*resultobj
;
22999 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23000 bool arg2
= (bool) false ;
23002 PyObject
* obj0
= 0 ;
23003 PyObject
* obj1
= 0 ;
23004 char *kwnames
[] = {
23005 (char *) "self",(char *) "onlyIfNeeded", NULL
23008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
23009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23010 if (SWIG_arg_fail(1)) SWIG_fail
;
23013 arg2
= (bool)(SWIG_As_bool(obj1
));
23014 if (SWIG_arg_fail(2)) SWIG_fail
;
23018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23019 result
= (bool)(arg1
)->Yield(arg2
);
23021 wxPyEndAllowThreads(__tstate
);
23022 if (PyErr_Occurred()) SWIG_fail
;
23025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23033 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23034 PyObject
*resultobj
;
23035 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23036 PyObject
* obj0
= 0 ;
23037 char *kwnames
[] = {
23038 (char *) "self", NULL
23041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
23042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23043 if (SWIG_arg_fail(1)) SWIG_fail
;
23045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23046 (arg1
)->WakeUpIdle();
23048 wxPyEndAllowThreads(__tstate
);
23049 if (PyErr_Occurred()) SWIG_fail
;
23051 Py_INCREF(Py_None
); resultobj
= Py_None
;
23058 static PyObject
*_wrap_PyApp_IsMainLoopRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23059 PyObject
*resultobj
;
23061 char *kwnames
[] = {
23065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_IsMainLoopRunning",kwnames
)) goto fail
;
23067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23068 result
= (bool)wxPyApp::IsMainLoopRunning();
23070 wxPyEndAllowThreads(__tstate
);
23071 if (PyErr_Occurred()) SWIG_fail
;
23074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23082 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23083 PyObject
*resultobj
;
23084 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23086 PyObject
* obj0
= 0 ;
23087 char *kwnames
[] = {
23088 (char *) "self", NULL
23091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
23092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23093 if (SWIG_arg_fail(1)) SWIG_fail
;
23095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23096 result
= (int)(arg1
)->MainLoop();
23098 wxPyEndAllowThreads(__tstate
);
23099 if (PyErr_Occurred()) SWIG_fail
;
23102 resultobj
= SWIG_From_int((int)(result
));
23110 static PyObject
*_wrap_PyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23111 PyObject
*resultobj
;
23112 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23113 PyObject
* obj0
= 0 ;
23114 char *kwnames
[] = {
23115 (char *) "self", NULL
23118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
23119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23120 if (SWIG_arg_fail(1)) SWIG_fail
;
23122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23125 wxPyEndAllowThreads(__tstate
);
23126 if (PyErr_Occurred()) SWIG_fail
;
23128 Py_INCREF(Py_None
); resultobj
= Py_None
;
23135 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23136 PyObject
*resultobj
;
23137 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23138 PyObject
* obj0
= 0 ;
23139 char *kwnames
[] = {
23140 (char *) "self", NULL
23143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
23144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23145 if (SWIG_arg_fail(1)) SWIG_fail
;
23147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23148 (arg1
)->ExitMainLoop();
23150 wxPyEndAllowThreads(__tstate
);
23151 if (PyErr_Occurred()) SWIG_fail
;
23153 Py_INCREF(Py_None
); resultobj
= Py_None
;
23160 static PyObject
*_wrap_PyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23161 PyObject
*resultobj
;
23162 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23164 PyObject
* obj0
= 0 ;
23165 char *kwnames
[] = {
23166 (char *) "self", NULL
23169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",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();
23174 result
= (bool)(arg1
)->Pending();
23176 wxPyEndAllowThreads(__tstate
);
23177 if (PyErr_Occurred()) SWIG_fail
;
23180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23188 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23189 PyObject
*resultobj
;
23190 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23192 PyObject
* obj0
= 0 ;
23193 char *kwnames
[] = {
23194 (char *) "self", NULL
23197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
23198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23199 if (SWIG_arg_fail(1)) SWIG_fail
;
23201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23202 result
= (bool)(arg1
)->Dispatch();
23204 wxPyEndAllowThreads(__tstate
);
23205 if (PyErr_Occurred()) SWIG_fail
;
23208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23216 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23217 PyObject
*resultobj
;
23218 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23220 PyObject
* obj0
= 0 ;
23221 char *kwnames
[] = {
23222 (char *) "self", NULL
23225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
23226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23227 if (SWIG_arg_fail(1)) SWIG_fail
;
23229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23230 result
= (bool)(arg1
)->ProcessIdle();
23232 wxPyEndAllowThreads(__tstate
);
23233 if (PyErr_Occurred()) SWIG_fail
;
23236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23244 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23245 PyObject
*resultobj
;
23246 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23247 wxWindow
*arg2
= (wxWindow
*) 0 ;
23248 wxIdleEvent
*arg3
= 0 ;
23250 PyObject
* obj0
= 0 ;
23251 PyObject
* obj1
= 0 ;
23252 PyObject
* obj2
= 0 ;
23253 char *kwnames
[] = {
23254 (char *) "self",(char *) "win",(char *) "event", NULL
23257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23259 if (SWIG_arg_fail(1)) SWIG_fail
;
23260 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23261 if (SWIG_arg_fail(2)) SWIG_fail
;
23263 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
23264 if (SWIG_arg_fail(3)) SWIG_fail
;
23265 if (arg3
== NULL
) {
23266 SWIG_null_ref("wxIdleEvent");
23268 if (SWIG_arg_fail(3)) SWIG_fail
;
23271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23272 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
23274 wxPyEndAllowThreads(__tstate
);
23275 if (PyErr_Occurred()) SWIG_fail
;
23278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23286 static PyObject
*_wrap_PyApp_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23287 PyObject
*resultobj
;
23288 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23290 PyObject
* obj0
= 0 ;
23291 char *kwnames
[] = {
23292 (char *) "self", NULL
23295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
23296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23297 if (SWIG_arg_fail(1)) SWIG_fail
;
23299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23300 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
23302 wxPyEndAllowThreads(__tstate
);
23303 if (PyErr_Occurred()) SWIG_fail
;
23306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23314 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23315 PyObject
*resultobj
;
23316 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23317 wxWindow
*arg2
= (wxWindow
*) 0 ;
23318 PyObject
* obj0
= 0 ;
23319 PyObject
* obj1
= 0 ;
23320 char *kwnames
[] = {
23321 (char *) "self",(char *) "win", NULL
23324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
23325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23326 if (SWIG_arg_fail(1)) SWIG_fail
;
23327 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23328 if (SWIG_arg_fail(2)) SWIG_fail
;
23330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23331 (arg1
)->SetTopWindow(arg2
);
23333 wxPyEndAllowThreads(__tstate
);
23334 if (PyErr_Occurred()) SWIG_fail
;
23336 Py_INCREF(Py_None
); resultobj
= Py_None
;
23343 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23344 PyObject
*resultobj
;
23345 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23347 PyObject
* obj0
= 0 ;
23348 char *kwnames
[] = {
23349 (char *) "self", NULL
23352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
23353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23354 if (SWIG_arg_fail(1)) SWIG_fail
;
23356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23357 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
23359 wxPyEndAllowThreads(__tstate
);
23360 if (PyErr_Occurred()) SWIG_fail
;
23363 resultobj
= wxPyMake_wxObject(result
, 0);
23371 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23372 PyObject
*resultobj
;
23373 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23375 PyObject
* obj0
= 0 ;
23376 PyObject
* obj1
= 0 ;
23377 char *kwnames
[] = {
23378 (char *) "self",(char *) "flag", NULL
23381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
23382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23383 if (SWIG_arg_fail(1)) SWIG_fail
;
23385 arg2
= (bool)(SWIG_As_bool(obj1
));
23386 if (SWIG_arg_fail(2)) SWIG_fail
;
23389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23390 (arg1
)->SetExitOnFrameDelete(arg2
);
23392 wxPyEndAllowThreads(__tstate
);
23393 if (PyErr_Occurred()) SWIG_fail
;
23395 Py_INCREF(Py_None
); resultobj
= Py_None
;
23402 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23403 PyObject
*resultobj
;
23404 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23406 PyObject
* obj0
= 0 ;
23407 char *kwnames
[] = {
23408 (char *) "self", NULL
23411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
23412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23413 if (SWIG_arg_fail(1)) SWIG_fail
;
23415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23416 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
23418 wxPyEndAllowThreads(__tstate
);
23419 if (PyErr_Occurred()) SWIG_fail
;
23422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23430 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23431 PyObject
*resultobj
;
23432 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23434 PyObject
* obj0
= 0 ;
23435 PyObject
* obj1
= 0 ;
23436 char *kwnames
[] = {
23437 (char *) "self",(char *) "flag", NULL
23440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
23441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23442 if (SWIG_arg_fail(1)) SWIG_fail
;
23444 arg2
= (bool)(SWIG_As_bool(obj1
));
23445 if (SWIG_arg_fail(2)) SWIG_fail
;
23448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23449 (arg1
)->SetUseBestVisual(arg2
);
23451 wxPyEndAllowThreads(__tstate
);
23452 if (PyErr_Occurred()) SWIG_fail
;
23454 Py_INCREF(Py_None
); resultobj
= Py_None
;
23461 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23462 PyObject
*resultobj
;
23463 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23465 PyObject
* obj0
= 0 ;
23466 char *kwnames
[] = {
23467 (char *) "self", NULL
23470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
23471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23472 if (SWIG_arg_fail(1)) SWIG_fail
;
23474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23475 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
23477 wxPyEndAllowThreads(__tstate
);
23478 if (PyErr_Occurred()) SWIG_fail
;
23481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23489 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23490 PyObject
*resultobj
;
23491 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23493 PyObject
* obj0
= 0 ;
23494 PyObject
* obj1
= 0 ;
23495 char *kwnames
[] = {
23496 (char *) "self",(char *) "mode", NULL
23499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
23500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23501 if (SWIG_arg_fail(1)) SWIG_fail
;
23503 arg2
= (int)(SWIG_As_int(obj1
));
23504 if (SWIG_arg_fail(2)) SWIG_fail
;
23507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23508 (arg1
)->SetPrintMode(arg2
);
23510 wxPyEndAllowThreads(__tstate
);
23511 if (PyErr_Occurred()) SWIG_fail
;
23513 Py_INCREF(Py_None
); resultobj
= Py_None
;
23520 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23521 PyObject
*resultobj
;
23522 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23524 PyObject
* obj0
= 0 ;
23525 char *kwnames
[] = {
23526 (char *) "self", NULL
23529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
23530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23531 if (SWIG_arg_fail(1)) SWIG_fail
;
23533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23534 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
23536 wxPyEndAllowThreads(__tstate
);
23537 if (PyErr_Occurred()) SWIG_fail
;
23540 resultobj
= SWIG_From_int((int)(result
));
23548 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23549 PyObject
*resultobj
;
23550 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23552 PyObject
* obj0
= 0 ;
23553 PyObject
* obj1
= 0 ;
23554 char *kwnames
[] = {
23555 (char *) "self",(char *) "mode", NULL
23558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
23559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23560 if (SWIG_arg_fail(1)) SWIG_fail
;
23562 arg2
= (int)(SWIG_As_int(obj1
));
23563 if (SWIG_arg_fail(2)) SWIG_fail
;
23566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23567 (arg1
)->SetAssertMode(arg2
);
23569 wxPyEndAllowThreads(__tstate
);
23570 if (PyErr_Occurred()) SWIG_fail
;
23572 Py_INCREF(Py_None
); resultobj
= Py_None
;
23579 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23580 PyObject
*resultobj
;
23581 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23583 PyObject
* obj0
= 0 ;
23584 char *kwnames
[] = {
23585 (char *) "self", NULL
23588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
23589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23590 if (SWIG_arg_fail(1)) SWIG_fail
;
23592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23593 result
= (int)(arg1
)->GetAssertMode();
23595 wxPyEndAllowThreads(__tstate
);
23596 if (PyErr_Occurred()) SWIG_fail
;
23599 resultobj
= SWIG_From_int((int)(result
));
23607 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23608 PyObject
*resultobj
;
23610 char *kwnames
[] = {
23614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
23616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23617 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
23619 wxPyEndAllowThreads(__tstate
);
23620 if (PyErr_Occurred()) SWIG_fail
;
23623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23631 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23632 PyObject
*resultobj
;
23634 char *kwnames
[] = {
23638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
23640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23641 result
= (long)wxPyApp::GetMacAboutMenuItemId();
23643 wxPyEndAllowThreads(__tstate
);
23644 if (PyErr_Occurred()) SWIG_fail
;
23647 resultobj
= SWIG_From_long((long)(result
));
23655 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23656 PyObject
*resultobj
;
23658 char *kwnames
[] = {
23662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
23664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23665 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
23667 wxPyEndAllowThreads(__tstate
);
23668 if (PyErr_Occurred()) SWIG_fail
;
23671 resultobj
= SWIG_From_long((long)(result
));
23679 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23680 PyObject
*resultobj
;
23682 char *kwnames
[] = {
23686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
23688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23689 result
= (long)wxPyApp::GetMacExitMenuItemId();
23691 wxPyEndAllowThreads(__tstate
);
23692 if (PyErr_Occurred()) SWIG_fail
;
23695 resultobj
= SWIG_From_long((long)(result
));
23703 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23704 PyObject
*resultobj
;
23706 char *kwnames
[] = {
23710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
23712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23713 result
= wxPyApp::GetMacHelpMenuTitleName();
23715 wxPyEndAllowThreads(__tstate
);
23716 if (PyErr_Occurred()) SWIG_fail
;
23720 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23722 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23731 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23732 PyObject
*resultobj
;
23734 PyObject
* obj0
= 0 ;
23735 char *kwnames
[] = {
23736 (char *) "val", NULL
23739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
23741 arg1
= (bool)(SWIG_As_bool(obj0
));
23742 if (SWIG_arg_fail(1)) SWIG_fail
;
23745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23746 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
23748 wxPyEndAllowThreads(__tstate
);
23749 if (PyErr_Occurred()) SWIG_fail
;
23751 Py_INCREF(Py_None
); resultobj
= Py_None
;
23758 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23759 PyObject
*resultobj
;
23761 PyObject
* obj0
= 0 ;
23762 char *kwnames
[] = {
23763 (char *) "val", NULL
23766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
23768 arg1
= (long)(SWIG_As_long(obj0
));
23769 if (SWIG_arg_fail(1)) SWIG_fail
;
23772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23773 wxPyApp::SetMacAboutMenuItemId(arg1
);
23775 wxPyEndAllowThreads(__tstate
);
23776 if (PyErr_Occurred()) SWIG_fail
;
23778 Py_INCREF(Py_None
); resultobj
= Py_None
;
23785 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23786 PyObject
*resultobj
;
23788 PyObject
* obj0
= 0 ;
23789 char *kwnames
[] = {
23790 (char *) "val", NULL
23793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
23795 arg1
= (long)(SWIG_As_long(obj0
));
23796 if (SWIG_arg_fail(1)) SWIG_fail
;
23799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23800 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
23802 wxPyEndAllowThreads(__tstate
);
23803 if (PyErr_Occurred()) SWIG_fail
;
23805 Py_INCREF(Py_None
); resultobj
= Py_None
;
23812 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23813 PyObject
*resultobj
;
23815 PyObject
* obj0
= 0 ;
23816 char *kwnames
[] = {
23817 (char *) "val", NULL
23820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
23822 arg1
= (long)(SWIG_As_long(obj0
));
23823 if (SWIG_arg_fail(1)) SWIG_fail
;
23826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23827 wxPyApp::SetMacExitMenuItemId(arg1
);
23829 wxPyEndAllowThreads(__tstate
);
23830 if (PyErr_Occurred()) SWIG_fail
;
23832 Py_INCREF(Py_None
); resultobj
= Py_None
;
23839 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23840 PyObject
*resultobj
;
23841 wxString
*arg1
= 0 ;
23842 bool temp1
= false ;
23843 PyObject
* obj0
= 0 ;
23844 char *kwnames
[] = {
23845 (char *) "val", NULL
23848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
23850 arg1
= wxString_in_helper(obj0
);
23851 if (arg1
== NULL
) SWIG_fail
;
23855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23856 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
23858 wxPyEndAllowThreads(__tstate
);
23859 if (PyErr_Occurred()) SWIG_fail
;
23861 Py_INCREF(Py_None
); resultobj
= Py_None
;
23876 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23877 PyObject
*resultobj
;
23878 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23879 PyObject
* obj0
= 0 ;
23880 char *kwnames
[] = {
23881 (char *) "self", NULL
23884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
23885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23886 if (SWIG_arg_fail(1)) SWIG_fail
;
23888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23889 (arg1
)->_BootstrapApp();
23891 wxPyEndAllowThreads(__tstate
);
23892 if (PyErr_Occurred()) SWIG_fail
;
23894 Py_INCREF(Py_None
); resultobj
= Py_None
;
23901 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23902 PyObject
*resultobj
;
23904 char *kwnames
[] = {
23908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
23910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23911 result
= (int)PyApp_GetComCtl32Version();
23913 wxPyEndAllowThreads(__tstate
);
23914 if (PyErr_Occurred()) SWIG_fail
;
23917 resultobj
= SWIG_From_int((int)(result
));
23925 static PyObject
* PyApp_swigregister(PyObject
*, PyObject
*args
) {
23927 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23928 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
23930 return Py_BuildValue((char *)"");
23932 static PyObject
*_wrap_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23933 PyObject
*resultobj
;
23934 char *kwnames
[] = {
23938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
23940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23943 wxPyEndAllowThreads(__tstate
);
23944 if (PyErr_Occurred()) SWIG_fail
;
23946 Py_INCREF(Py_None
); resultobj
= Py_None
;
23953 static PyObject
*_wrap_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23954 PyObject
*resultobj
;
23956 char *kwnames
[] = {
23960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
23962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23963 result
= (bool)wxYield();
23965 wxPyEndAllowThreads(__tstate
);
23966 if (PyErr_Occurred()) SWIG_fail
;
23969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23977 static PyObject
*_wrap_YieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23978 PyObject
*resultobj
;
23980 char *kwnames
[] = {
23984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
23986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23987 result
= (bool)wxYieldIfNeeded();
23989 wxPyEndAllowThreads(__tstate
);
23990 if (PyErr_Occurred()) SWIG_fail
;
23993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24001 static PyObject
*_wrap_SafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24002 PyObject
*resultobj
;
24003 wxWindow
*arg1
= (wxWindow
*) NULL
;
24004 bool arg2
= (bool) false ;
24006 PyObject
* obj0
= 0 ;
24007 PyObject
* obj1
= 0 ;
24008 char *kwnames
[] = {
24009 (char *) "win",(char *) "onlyIfNeeded", NULL
24012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
24014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24015 if (SWIG_arg_fail(1)) SWIG_fail
;
24019 arg2
= (bool)(SWIG_As_bool(obj1
));
24020 if (SWIG_arg_fail(2)) SWIG_fail
;
24024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24025 result
= (bool)wxSafeYield(arg1
,arg2
);
24027 wxPyEndAllowThreads(__tstate
);
24028 if (PyErr_Occurred()) SWIG_fail
;
24031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24039 static PyObject
*_wrap_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24040 PyObject
*resultobj
;
24041 char *kwnames
[] = {
24045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
24047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24050 wxPyEndAllowThreads(__tstate
);
24051 if (PyErr_Occurred()) SWIG_fail
;
24053 Py_INCREF(Py_None
); resultobj
= Py_None
;
24060 static PyObject
*_wrap_PostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24061 PyObject
*resultobj
;
24062 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
24063 wxEvent
*arg2
= 0 ;
24064 PyObject
* obj0
= 0 ;
24065 PyObject
* obj1
= 0 ;
24066 char *kwnames
[] = {
24067 (char *) "dest",(char *) "event", NULL
24070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
24072 if (SWIG_arg_fail(1)) SWIG_fail
;
24074 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
24075 if (SWIG_arg_fail(2)) SWIG_fail
;
24076 if (arg2
== NULL
) {
24077 SWIG_null_ref("wxEvent");
24079 if (SWIG_arg_fail(2)) SWIG_fail
;
24082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24083 wxPostEvent(arg1
,*arg2
);
24085 wxPyEndAllowThreads(__tstate
);
24086 if (PyErr_Occurred()) SWIG_fail
;
24088 Py_INCREF(Py_None
); resultobj
= Py_None
;
24095 static PyObject
*_wrap_App_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24096 PyObject
*resultobj
;
24097 char *kwnames
[] = {
24101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
24103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24106 wxPyEndAllowThreads(__tstate
);
24107 if (PyErr_Occurred()) SWIG_fail
;
24109 Py_INCREF(Py_None
); resultobj
= Py_None
;
24116 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24117 PyObject
*resultobj
;
24119 char *kwnames
[] = {
24123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
24125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24126 result
= (wxPyApp
*)wxPyGetApp();
24128 wxPyEndAllowThreads(__tstate
);
24129 if (PyErr_Occurred()) SWIG_fail
;
24132 resultobj
= wxPyMake_wxObject(result
, 0);
24140 static PyObject
*_wrap_SetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24141 PyObject
*resultobj
;
24142 char *arg1
= (char *) 0 ;
24143 PyObject
* obj0
= 0 ;
24144 char *kwnames
[] = {
24145 (char *) "encoding", NULL
24148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetDefaultPyEncoding",kwnames
,&obj0
)) goto fail
;
24149 if (!SWIG_AsCharPtr(obj0
, (char**)&arg1
)) {
24150 SWIG_arg_fail(1);SWIG_fail
;
24153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24154 wxSetDefaultPyEncoding((char const *)arg1
);
24156 wxPyEndAllowThreads(__tstate
);
24157 if (PyErr_Occurred()) SWIG_fail
;
24159 Py_INCREF(Py_None
); resultobj
= Py_None
;
24166 static PyObject
*_wrap_GetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24167 PyObject
*resultobj
;
24169 char *kwnames
[] = {
24173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDefaultPyEncoding",kwnames
)) goto fail
;
24175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24176 result
= (char *)wxGetDefaultPyEncoding();
24178 wxPyEndAllowThreads(__tstate
);
24179 if (PyErr_Occurred()) SWIG_fail
;
24181 resultobj
= SWIG_FromCharPtr(result
);
24188 static PyObject
*_wrap_new_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24189 PyObject
*resultobj
;
24190 wxEventLoop
*result
;
24191 char *kwnames
[] = {
24195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EventLoop",kwnames
)) goto fail
;
24197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24198 result
= (wxEventLoop
*)new wxEventLoop();
24200 wxPyEndAllowThreads(__tstate
);
24201 if (PyErr_Occurred()) SWIG_fail
;
24203 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 1);
24210 static PyObject
*_wrap_delete_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24211 PyObject
*resultobj
;
24212 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24213 PyObject
* obj0
= 0 ;
24214 char *kwnames
[] = {
24215 (char *) "self", NULL
24218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EventLoop",kwnames
,&obj0
)) goto fail
;
24219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24220 if (SWIG_arg_fail(1)) SWIG_fail
;
24222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24225 wxPyEndAllowThreads(__tstate
);
24226 if (PyErr_Occurred()) SWIG_fail
;
24228 Py_INCREF(Py_None
); resultobj
= Py_None
;
24235 static PyObject
*_wrap_EventLoop_Run(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24236 PyObject
*resultobj
;
24237 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24239 PyObject
* obj0
= 0 ;
24240 char *kwnames
[] = {
24241 (char *) "self", NULL
24244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Run",kwnames
,&obj0
)) goto fail
;
24245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24246 if (SWIG_arg_fail(1)) SWIG_fail
;
24248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24249 result
= (int)(arg1
)->Run();
24251 wxPyEndAllowThreads(__tstate
);
24252 if (PyErr_Occurred()) SWIG_fail
;
24255 resultobj
= SWIG_From_int((int)(result
));
24263 static PyObject
*_wrap_EventLoop_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24264 PyObject
*resultobj
;
24265 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24266 int arg2
= (int) 0 ;
24267 PyObject
* obj0
= 0 ;
24268 PyObject
* obj1
= 0 ;
24269 char *kwnames
[] = {
24270 (char *) "self",(char *) "rc", NULL
24273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) goto fail
;
24274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24275 if (SWIG_arg_fail(1)) SWIG_fail
;
24278 arg2
= (int)(SWIG_As_int(obj1
));
24279 if (SWIG_arg_fail(2)) SWIG_fail
;
24283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24284 (arg1
)->Exit(arg2
);
24286 wxPyEndAllowThreads(__tstate
);
24287 if (PyErr_Occurred()) SWIG_fail
;
24289 Py_INCREF(Py_None
); resultobj
= Py_None
;
24296 static PyObject
*_wrap_EventLoop_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24297 PyObject
*resultobj
;
24298 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24300 PyObject
* obj0
= 0 ;
24301 char *kwnames
[] = {
24302 (char *) "self", NULL
24305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Pending",kwnames
,&obj0
)) goto fail
;
24306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24307 if (SWIG_arg_fail(1)) SWIG_fail
;
24309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24310 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
24312 wxPyEndAllowThreads(__tstate
);
24313 if (PyErr_Occurred()) SWIG_fail
;
24316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24324 static PyObject
*_wrap_EventLoop_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24325 PyObject
*resultobj
;
24326 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24328 PyObject
* obj0
= 0 ;
24329 char *kwnames
[] = {
24330 (char *) "self", NULL
24333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Dispatch",kwnames
,&obj0
)) goto fail
;
24334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24335 if (SWIG_arg_fail(1)) SWIG_fail
;
24337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24338 result
= (bool)(arg1
)->Dispatch();
24340 wxPyEndAllowThreads(__tstate
);
24341 if (PyErr_Occurred()) SWIG_fail
;
24344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24352 static PyObject
*_wrap_EventLoop_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24353 PyObject
*resultobj
;
24354 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24356 PyObject
* obj0
= 0 ;
24357 char *kwnames
[] = {
24358 (char *) "self", NULL
24361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_IsRunning",kwnames
,&obj0
)) goto fail
;
24362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24363 if (SWIG_arg_fail(1)) SWIG_fail
;
24365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24366 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
24368 wxPyEndAllowThreads(__tstate
);
24369 if (PyErr_Occurred()) SWIG_fail
;
24372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24380 static PyObject
*_wrap_EventLoop_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24381 PyObject
*resultobj
;
24382 wxEventLoop
*result
;
24383 char *kwnames
[] = {
24387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EventLoop_GetActive",kwnames
)) goto fail
;
24389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24390 result
= (wxEventLoop
*)wxEventLoop::GetActive();
24392 wxPyEndAllowThreads(__tstate
);
24393 if (PyErr_Occurred()) SWIG_fail
;
24395 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 0);
24402 static PyObject
*_wrap_EventLoop_SetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24403 PyObject
*resultobj
;
24404 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24405 PyObject
* obj0
= 0 ;
24406 char *kwnames
[] = {
24407 (char *) "loop", NULL
24410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) goto fail
;
24411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24412 if (SWIG_arg_fail(1)) SWIG_fail
;
24414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24415 wxEventLoop::SetActive(arg1
);
24417 wxPyEndAllowThreads(__tstate
);
24418 if (PyErr_Occurred()) SWIG_fail
;
24420 Py_INCREF(Py_None
); resultobj
= Py_None
;
24427 static PyObject
* EventLoop_swigregister(PyObject
*, PyObject
*args
) {
24429 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24430 SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop
, obj
);
24432 return Py_BuildValue((char *)"");
24434 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24435 PyObject
*resultobj
;
24436 int arg1
= (int) 0 ;
24437 int arg2
= (int) 0 ;
24438 int arg3
= (int) 0 ;
24439 wxAcceleratorEntry
*result
;
24440 PyObject
* obj0
= 0 ;
24441 PyObject
* obj1
= 0 ;
24442 PyObject
* obj2
= 0 ;
24443 char *kwnames
[] = {
24444 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
24447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24450 arg1
= (int)(SWIG_As_int(obj0
));
24451 if (SWIG_arg_fail(1)) SWIG_fail
;
24456 arg2
= (int)(SWIG_As_int(obj1
));
24457 if (SWIG_arg_fail(2)) SWIG_fail
;
24462 arg3
= (int)(SWIG_As_int(obj2
));
24463 if (SWIG_arg_fail(3)) SWIG_fail
;
24467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24468 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
24470 wxPyEndAllowThreads(__tstate
);
24471 if (PyErr_Occurred()) SWIG_fail
;
24473 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
24480 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24481 PyObject
*resultobj
;
24482 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24483 PyObject
* obj0
= 0 ;
24484 char *kwnames
[] = {
24485 (char *) "self", NULL
24488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
24489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24490 if (SWIG_arg_fail(1)) SWIG_fail
;
24492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24495 wxPyEndAllowThreads(__tstate
);
24496 if (PyErr_Occurred()) SWIG_fail
;
24498 Py_INCREF(Py_None
); resultobj
= Py_None
;
24505 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24506 PyObject
*resultobj
;
24507 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24511 PyObject
* obj0
= 0 ;
24512 PyObject
* obj1
= 0 ;
24513 PyObject
* obj2
= 0 ;
24514 PyObject
* obj3
= 0 ;
24515 char *kwnames
[] = {
24516 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
24519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24521 if (SWIG_arg_fail(1)) SWIG_fail
;
24523 arg2
= (int)(SWIG_As_int(obj1
));
24524 if (SWIG_arg_fail(2)) SWIG_fail
;
24527 arg3
= (int)(SWIG_As_int(obj2
));
24528 if (SWIG_arg_fail(3)) SWIG_fail
;
24531 arg4
= (int)(SWIG_As_int(obj3
));
24532 if (SWIG_arg_fail(4)) SWIG_fail
;
24535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24536 (arg1
)->Set(arg2
,arg3
,arg4
);
24538 wxPyEndAllowThreads(__tstate
);
24539 if (PyErr_Occurred()) SWIG_fail
;
24541 Py_INCREF(Py_None
); resultobj
= Py_None
;
24548 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24549 PyObject
*resultobj
;
24550 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24552 PyObject
* obj0
= 0 ;
24553 char *kwnames
[] = {
24554 (char *) "self", NULL
24557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
24558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24559 if (SWIG_arg_fail(1)) SWIG_fail
;
24561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24562 result
= (int)(arg1
)->GetFlags();
24564 wxPyEndAllowThreads(__tstate
);
24565 if (PyErr_Occurred()) SWIG_fail
;
24568 resultobj
= SWIG_From_int((int)(result
));
24576 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24577 PyObject
*resultobj
;
24578 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24580 PyObject
* obj0
= 0 ;
24581 char *kwnames
[] = {
24582 (char *) "self", NULL
24585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24587 if (SWIG_arg_fail(1)) SWIG_fail
;
24589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24590 result
= (int)(arg1
)->GetKeyCode();
24592 wxPyEndAllowThreads(__tstate
);
24593 if (PyErr_Occurred()) SWIG_fail
;
24596 resultobj
= SWIG_From_int((int)(result
));
24604 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24605 PyObject
*resultobj
;
24606 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24608 PyObject
* obj0
= 0 ;
24609 char *kwnames
[] = {
24610 (char *) "self", NULL
24613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
24614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24615 if (SWIG_arg_fail(1)) SWIG_fail
;
24617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24618 result
= (int)(arg1
)->GetCommand();
24620 wxPyEndAllowThreads(__tstate
);
24621 if (PyErr_Occurred()) SWIG_fail
;
24624 resultobj
= SWIG_From_int((int)(result
));
24632 static PyObject
* AcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
24634 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24635 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
24637 return Py_BuildValue((char *)"");
24639 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24640 PyObject
*resultobj
;
24642 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
24643 wxAcceleratorTable
*result
;
24644 PyObject
* obj0
= 0 ;
24645 char *kwnames
[] = {
24649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
24651 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
24652 if (arg2
) arg1
= PyList_Size(obj0
);
24656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24657 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
24659 wxPyEndAllowThreads(__tstate
);
24660 if (PyErr_Occurred()) SWIG_fail
;
24662 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
24675 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24676 PyObject
*resultobj
;
24677 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
24678 PyObject
* obj0
= 0 ;
24679 char *kwnames
[] = {
24680 (char *) "self", NULL
24683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
24684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
24685 if (SWIG_arg_fail(1)) SWIG_fail
;
24687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24690 wxPyEndAllowThreads(__tstate
);
24691 if (PyErr_Occurred()) SWIG_fail
;
24693 Py_INCREF(Py_None
); resultobj
= Py_None
;
24700 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24701 PyObject
*resultobj
;
24702 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
24704 PyObject
* obj0
= 0 ;
24705 char *kwnames
[] = {
24706 (char *) "self", NULL
24709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
24710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
24711 if (SWIG_arg_fail(1)) SWIG_fail
;
24713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24714 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
24716 wxPyEndAllowThreads(__tstate
);
24717 if (PyErr_Occurred()) SWIG_fail
;
24720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24728 static PyObject
* AcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
24730 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24731 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
24733 return Py_BuildValue((char *)"");
24735 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
24736 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
24741 static PyObject
*_wrap_NullAcceleratorTable_get(void) {
24744 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
24749 static PyObject
*_wrap_GetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24750 PyObject
*resultobj
;
24751 wxString
*arg1
= 0 ;
24752 wxAcceleratorEntry
*result
;
24753 bool temp1
= false ;
24754 PyObject
* obj0
= 0 ;
24755 char *kwnames
[] = {
24756 (char *) "label", NULL
24759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
24761 arg1
= wxString_in_helper(obj0
);
24762 if (arg1
== NULL
) SWIG_fail
;
24766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24767 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
24769 wxPyEndAllowThreads(__tstate
);
24770 if (PyErr_Occurred()) SWIG_fail
;
24772 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
24787 static int _wrap_PanelNameStr_set(PyObject
*) {
24788 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
24793 static PyObject
*_wrap_PanelNameStr_get(void) {
24798 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24800 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24807 static PyObject
*_wrap_new_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24808 PyObject
*resultobj
;
24809 wxVisualAttributes
*result
;
24810 char *kwnames
[] = {
24814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
24816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24817 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
24819 wxPyEndAllowThreads(__tstate
);
24820 if (PyErr_Occurred()) SWIG_fail
;
24822 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
24829 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24830 PyObject
*resultobj
;
24831 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24832 PyObject
* obj0
= 0 ;
24833 char *kwnames
[] = {
24834 (char *) "self", NULL
24837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
24838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24839 if (SWIG_arg_fail(1)) SWIG_fail
;
24841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24842 delete_wxVisualAttributes(arg1
);
24844 wxPyEndAllowThreads(__tstate
);
24845 if (PyErr_Occurred()) SWIG_fail
;
24847 Py_INCREF(Py_None
); resultobj
= Py_None
;
24854 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24855 PyObject
*resultobj
;
24856 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24857 wxFont
*arg2
= (wxFont
*) 0 ;
24858 PyObject
* obj0
= 0 ;
24859 PyObject
* obj1
= 0 ;
24860 char *kwnames
[] = {
24861 (char *) "self",(char *) "font", NULL
24864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24866 if (SWIG_arg_fail(1)) SWIG_fail
;
24867 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
24868 if (SWIG_arg_fail(2)) SWIG_fail
;
24869 if (arg1
) (arg1
)->font
= *arg2
;
24871 Py_INCREF(Py_None
); resultobj
= Py_None
;
24878 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24879 PyObject
*resultobj
;
24880 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24882 PyObject
* obj0
= 0 ;
24883 char *kwnames
[] = {
24884 (char *) "self", NULL
24887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
24888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24889 if (SWIG_arg_fail(1)) SWIG_fail
;
24890 result
= (wxFont
*)& ((arg1
)->font
);
24892 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
24899 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24900 PyObject
*resultobj
;
24901 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24902 wxColour
*arg2
= (wxColour
*) 0 ;
24903 PyObject
* obj0
= 0 ;
24904 PyObject
* obj1
= 0 ;
24905 char *kwnames
[] = {
24906 (char *) "self",(char *) "colFg", NULL
24909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24911 if (SWIG_arg_fail(1)) SWIG_fail
;
24912 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24913 if (SWIG_arg_fail(2)) SWIG_fail
;
24914 if (arg1
) (arg1
)->colFg
= *arg2
;
24916 Py_INCREF(Py_None
); resultobj
= Py_None
;
24923 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24924 PyObject
*resultobj
;
24925 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24927 PyObject
* obj0
= 0 ;
24928 char *kwnames
[] = {
24929 (char *) "self", NULL
24932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
24933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24934 if (SWIG_arg_fail(1)) SWIG_fail
;
24935 result
= (wxColour
*)& ((arg1
)->colFg
);
24937 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24944 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24945 PyObject
*resultobj
;
24946 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24947 wxColour
*arg2
= (wxColour
*) 0 ;
24948 PyObject
* obj0
= 0 ;
24949 PyObject
* obj1
= 0 ;
24950 char *kwnames
[] = {
24951 (char *) "self",(char *) "colBg", NULL
24954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24956 if (SWIG_arg_fail(1)) SWIG_fail
;
24957 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24958 if (SWIG_arg_fail(2)) SWIG_fail
;
24959 if (arg1
) (arg1
)->colBg
= *arg2
;
24961 Py_INCREF(Py_None
); resultobj
= Py_None
;
24968 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24969 PyObject
*resultobj
;
24970 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24972 PyObject
* obj0
= 0 ;
24973 char *kwnames
[] = {
24974 (char *) "self", NULL
24977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
24978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24979 if (SWIG_arg_fail(1)) SWIG_fail
;
24980 result
= (wxColour
*)& ((arg1
)->colBg
);
24982 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24989 static PyObject
* VisualAttributes_swigregister(PyObject
*, PyObject
*args
) {
24991 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24992 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
24994 return Py_BuildValue((char *)"");
24996 static PyObject
*_wrap_new_Window(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24997 PyObject
*resultobj
;
24998 wxWindow
*arg1
= (wxWindow
*) 0 ;
24999 int arg2
= (int) (int)-1 ;
25000 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25001 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25002 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25003 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25004 long arg5
= (long) 0 ;
25005 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
25006 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25010 bool temp6
= false ;
25011 PyObject
* obj0
= 0 ;
25012 PyObject
* obj1
= 0 ;
25013 PyObject
* obj2
= 0 ;
25014 PyObject
* obj3
= 0 ;
25015 PyObject
* obj4
= 0 ;
25016 PyObject
* obj5
= 0 ;
25017 char *kwnames
[] = {
25018 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25023 if (SWIG_arg_fail(1)) SWIG_fail
;
25026 arg2
= (int const)(SWIG_As_int(obj1
));
25027 if (SWIG_arg_fail(2)) SWIG_fail
;
25033 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25039 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25044 arg5
= (long)(SWIG_As_long(obj4
));
25045 if (SWIG_arg_fail(5)) SWIG_fail
;
25050 arg6
= wxString_in_helper(obj5
);
25051 if (arg6
== NULL
) SWIG_fail
;
25056 if (!wxPyCheckForApp()) SWIG_fail
;
25057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25058 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25060 wxPyEndAllowThreads(__tstate
);
25061 if (PyErr_Occurred()) SWIG_fail
;
25063 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
25078 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25079 PyObject
*resultobj
;
25081 char *kwnames
[] = {
25085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
25087 if (!wxPyCheckForApp()) SWIG_fail
;
25088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25089 result
= (wxWindow
*)new wxWindow();
25091 wxPyEndAllowThreads(__tstate
);
25092 if (PyErr_Occurred()) SWIG_fail
;
25094 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
25101 static PyObject
*_wrap_Window_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25102 PyObject
*resultobj
;
25103 wxWindow
*arg1
= (wxWindow
*) 0 ;
25104 wxWindow
*arg2
= (wxWindow
*) 0 ;
25105 int arg3
= (int) (int)-1 ;
25106 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25107 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25108 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25109 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25110 long arg6
= (long) 0 ;
25111 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
25112 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25116 bool temp7
= false ;
25117 PyObject
* obj0
= 0 ;
25118 PyObject
* obj1
= 0 ;
25119 PyObject
* obj2
= 0 ;
25120 PyObject
* obj3
= 0 ;
25121 PyObject
* obj4
= 0 ;
25122 PyObject
* obj5
= 0 ;
25123 PyObject
* obj6
= 0 ;
25124 char *kwnames
[] = {
25125 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25130 if (SWIG_arg_fail(1)) SWIG_fail
;
25131 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25132 if (SWIG_arg_fail(2)) SWIG_fail
;
25135 arg3
= (int const)(SWIG_As_int(obj2
));
25136 if (SWIG_arg_fail(3)) SWIG_fail
;
25142 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25148 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25153 arg6
= (long)(SWIG_As_long(obj5
));
25154 if (SWIG_arg_fail(6)) SWIG_fail
;
25159 arg7
= wxString_in_helper(obj6
);
25160 if (arg7
== NULL
) SWIG_fail
;
25165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25166 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25168 wxPyEndAllowThreads(__tstate
);
25169 if (PyErr_Occurred()) SWIG_fail
;
25172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25188 static PyObject
*_wrap_Window_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25189 PyObject
*resultobj
;
25190 wxWindow
*arg1
= (wxWindow
*) 0 ;
25191 bool arg2
= (bool) false ;
25193 PyObject
* obj0
= 0 ;
25194 PyObject
* obj1
= 0 ;
25195 char *kwnames
[] = {
25196 (char *) "self",(char *) "force", NULL
25199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
25200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25201 if (SWIG_arg_fail(1)) SWIG_fail
;
25204 arg2
= (bool)(SWIG_As_bool(obj1
));
25205 if (SWIG_arg_fail(2)) SWIG_fail
;
25209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25210 result
= (bool)(arg1
)->Close(arg2
);
25212 wxPyEndAllowThreads(__tstate
);
25213 if (PyErr_Occurred()) SWIG_fail
;
25216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25224 static PyObject
*_wrap_Window_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25225 PyObject
*resultobj
;
25226 wxWindow
*arg1
= (wxWindow
*) 0 ;
25228 PyObject
* obj0
= 0 ;
25229 char *kwnames
[] = {
25230 (char *) "self", NULL
25233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
25234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25235 if (SWIG_arg_fail(1)) SWIG_fail
;
25237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25238 result
= (bool)(arg1
)->Destroy();
25240 wxPyEndAllowThreads(__tstate
);
25241 if (PyErr_Occurred()) SWIG_fail
;
25244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25252 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25253 PyObject
*resultobj
;
25254 wxWindow
*arg1
= (wxWindow
*) 0 ;
25256 PyObject
* obj0
= 0 ;
25257 char *kwnames
[] = {
25258 (char *) "self", NULL
25261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
25262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25263 if (SWIG_arg_fail(1)) SWIG_fail
;
25265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25266 result
= (bool)(arg1
)->DestroyChildren();
25268 wxPyEndAllowThreads(__tstate
);
25269 if (PyErr_Occurred()) SWIG_fail
;
25272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25280 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25281 PyObject
*resultobj
;
25282 wxWindow
*arg1
= (wxWindow
*) 0 ;
25284 PyObject
* obj0
= 0 ;
25285 char *kwnames
[] = {
25286 (char *) "self", NULL
25289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
25290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25291 if (SWIG_arg_fail(1)) SWIG_fail
;
25293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25294 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
25296 wxPyEndAllowThreads(__tstate
);
25297 if (PyErr_Occurred()) SWIG_fail
;
25300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25308 static PyObject
*_wrap_Window_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25309 PyObject
*resultobj
;
25310 wxWindow
*arg1
= (wxWindow
*) 0 ;
25311 wxString
*arg2
= 0 ;
25312 bool temp2
= false ;
25313 PyObject
* obj0
= 0 ;
25314 PyObject
* obj1
= 0 ;
25315 char *kwnames
[] = {
25316 (char *) "self",(char *) "title", NULL
25319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
25320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25321 if (SWIG_arg_fail(1)) SWIG_fail
;
25323 arg2
= wxString_in_helper(obj1
);
25324 if (arg2
== NULL
) SWIG_fail
;
25328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25329 (arg1
)->SetTitle((wxString
const &)*arg2
);
25331 wxPyEndAllowThreads(__tstate
);
25332 if (PyErr_Occurred()) SWIG_fail
;
25334 Py_INCREF(Py_None
); resultobj
= Py_None
;
25349 static PyObject
*_wrap_Window_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25350 PyObject
*resultobj
;
25351 wxWindow
*arg1
= (wxWindow
*) 0 ;
25353 PyObject
* obj0
= 0 ;
25354 char *kwnames
[] = {
25355 (char *) "self", NULL
25358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
25359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25360 if (SWIG_arg_fail(1)) SWIG_fail
;
25362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25363 result
= ((wxWindow
const *)arg1
)->GetTitle();
25365 wxPyEndAllowThreads(__tstate
);
25366 if (PyErr_Occurred()) SWIG_fail
;
25370 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25372 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25381 static PyObject
*_wrap_Window_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25382 PyObject
*resultobj
;
25383 wxWindow
*arg1
= (wxWindow
*) 0 ;
25384 wxString
*arg2
= 0 ;
25385 bool temp2
= false ;
25386 PyObject
* obj0
= 0 ;
25387 PyObject
* obj1
= 0 ;
25388 char *kwnames
[] = {
25389 (char *) "self",(char *) "label", NULL
25392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25394 if (SWIG_arg_fail(1)) SWIG_fail
;
25396 arg2
= wxString_in_helper(obj1
);
25397 if (arg2
== NULL
) SWIG_fail
;
25401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25402 (arg1
)->SetLabel((wxString
const &)*arg2
);
25404 wxPyEndAllowThreads(__tstate
);
25405 if (PyErr_Occurred()) SWIG_fail
;
25407 Py_INCREF(Py_None
); resultobj
= Py_None
;
25422 static PyObject
*_wrap_Window_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25423 PyObject
*resultobj
;
25424 wxWindow
*arg1
= (wxWindow
*) 0 ;
25426 PyObject
* obj0
= 0 ;
25427 char *kwnames
[] = {
25428 (char *) "self", NULL
25431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
25432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25433 if (SWIG_arg_fail(1)) SWIG_fail
;
25435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25436 result
= ((wxWindow
const *)arg1
)->GetLabel();
25438 wxPyEndAllowThreads(__tstate
);
25439 if (PyErr_Occurred()) SWIG_fail
;
25443 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25445 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25454 static PyObject
*_wrap_Window_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25455 PyObject
*resultobj
;
25456 wxWindow
*arg1
= (wxWindow
*) 0 ;
25457 wxString
*arg2
= 0 ;
25458 bool temp2
= false ;
25459 PyObject
* obj0
= 0 ;
25460 PyObject
* obj1
= 0 ;
25461 char *kwnames
[] = {
25462 (char *) "self",(char *) "name", NULL
25465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
25466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25467 if (SWIG_arg_fail(1)) SWIG_fail
;
25469 arg2
= wxString_in_helper(obj1
);
25470 if (arg2
== NULL
) SWIG_fail
;
25474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25475 (arg1
)->SetName((wxString
const &)*arg2
);
25477 wxPyEndAllowThreads(__tstate
);
25478 if (PyErr_Occurred()) SWIG_fail
;
25480 Py_INCREF(Py_None
); resultobj
= Py_None
;
25495 static PyObject
*_wrap_Window_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25496 PyObject
*resultobj
;
25497 wxWindow
*arg1
= (wxWindow
*) 0 ;
25499 PyObject
* obj0
= 0 ;
25500 char *kwnames
[] = {
25501 (char *) "self", NULL
25504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
25505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25506 if (SWIG_arg_fail(1)) SWIG_fail
;
25508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25509 result
= ((wxWindow
const *)arg1
)->GetName();
25511 wxPyEndAllowThreads(__tstate
);
25512 if (PyErr_Occurred()) SWIG_fail
;
25516 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25518 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25527 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25528 PyObject
*resultobj
;
25529 wxWindow
*arg1
= (wxWindow
*) 0 ;
25530 wxWindowVariant arg2
;
25531 PyObject
* obj0
= 0 ;
25532 PyObject
* obj1
= 0 ;
25533 char *kwnames
[] = {
25534 (char *) "self",(char *) "variant", NULL
25537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
25538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25539 if (SWIG_arg_fail(1)) SWIG_fail
;
25541 arg2
= (wxWindowVariant
)(SWIG_As_int(obj1
));
25542 if (SWIG_arg_fail(2)) SWIG_fail
;
25545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25546 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
25548 wxPyEndAllowThreads(__tstate
);
25549 if (PyErr_Occurred()) SWIG_fail
;
25551 Py_INCREF(Py_None
); resultobj
= Py_None
;
25558 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25559 PyObject
*resultobj
;
25560 wxWindow
*arg1
= (wxWindow
*) 0 ;
25561 wxWindowVariant result
;
25562 PyObject
* obj0
= 0 ;
25563 char *kwnames
[] = {
25564 (char *) "self", NULL
25567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
25568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25569 if (SWIG_arg_fail(1)) SWIG_fail
;
25571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25572 result
= (wxWindowVariant
)((wxWindow
const *)arg1
)->GetWindowVariant();
25574 wxPyEndAllowThreads(__tstate
);
25575 if (PyErr_Occurred()) SWIG_fail
;
25577 resultobj
= SWIG_From_int((result
));
25584 static PyObject
*_wrap_Window_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25585 PyObject
*resultobj
;
25586 wxWindow
*arg1
= (wxWindow
*) 0 ;
25588 PyObject
* obj0
= 0 ;
25589 PyObject
* obj1
= 0 ;
25590 char *kwnames
[] = {
25591 (char *) "self",(char *) "winid", NULL
25594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
25595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25596 if (SWIG_arg_fail(1)) SWIG_fail
;
25598 arg2
= (int)(SWIG_As_int(obj1
));
25599 if (SWIG_arg_fail(2)) SWIG_fail
;
25602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25603 (arg1
)->SetId(arg2
);
25605 wxPyEndAllowThreads(__tstate
);
25606 if (PyErr_Occurred()) SWIG_fail
;
25608 Py_INCREF(Py_None
); resultobj
= Py_None
;
25615 static PyObject
*_wrap_Window_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25616 PyObject
*resultobj
;
25617 wxWindow
*arg1
= (wxWindow
*) 0 ;
25619 PyObject
* obj0
= 0 ;
25620 char *kwnames
[] = {
25621 (char *) "self", NULL
25624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
25625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25626 if (SWIG_arg_fail(1)) SWIG_fail
;
25628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25629 result
= (int)((wxWindow
const *)arg1
)->GetId();
25631 wxPyEndAllowThreads(__tstate
);
25632 if (PyErr_Occurred()) SWIG_fail
;
25635 resultobj
= SWIG_From_int((int)(result
));
25643 static PyObject
*_wrap_Window_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25644 PyObject
*resultobj
;
25646 char *kwnames
[] = {
25650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
25652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25653 result
= (int)wxWindow::NewControlId();
25655 wxPyEndAllowThreads(__tstate
);
25656 if (PyErr_Occurred()) SWIG_fail
;
25659 resultobj
= SWIG_From_int((int)(result
));
25667 static PyObject
*_wrap_Window_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25668 PyObject
*resultobj
;
25671 PyObject
* obj0
= 0 ;
25672 char *kwnames
[] = {
25673 (char *) "winid", NULL
25676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
25678 arg1
= (int)(SWIG_As_int(obj0
));
25679 if (SWIG_arg_fail(1)) SWIG_fail
;
25682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25683 result
= (int)wxWindow::NextControlId(arg1
);
25685 wxPyEndAllowThreads(__tstate
);
25686 if (PyErr_Occurred()) SWIG_fail
;
25689 resultobj
= SWIG_From_int((int)(result
));
25697 static PyObject
*_wrap_Window_PrevControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25698 PyObject
*resultobj
;
25701 PyObject
* obj0
= 0 ;
25702 char *kwnames
[] = {
25703 (char *) "winid", NULL
25706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
25708 arg1
= (int)(SWIG_As_int(obj0
));
25709 if (SWIG_arg_fail(1)) SWIG_fail
;
25712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25713 result
= (int)wxWindow::PrevControlId(arg1
);
25715 wxPyEndAllowThreads(__tstate
);
25716 if (PyErr_Occurred()) SWIG_fail
;
25719 resultobj
= SWIG_From_int((int)(result
));
25727 static PyObject
*_wrap_Window_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25728 PyObject
*resultobj
;
25729 wxWindow
*arg1
= (wxWindow
*) 0 ;
25732 PyObject
* obj0
= 0 ;
25733 PyObject
* obj1
= 0 ;
25734 char *kwnames
[] = {
25735 (char *) "self",(char *) "size", NULL
25738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25740 if (SWIG_arg_fail(1)) SWIG_fail
;
25743 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25747 (arg1
)->SetSize((wxSize
const &)*arg2
);
25749 wxPyEndAllowThreads(__tstate
);
25750 if (PyErr_Occurred()) SWIG_fail
;
25752 Py_INCREF(Py_None
); resultobj
= Py_None
;
25759 static PyObject
*_wrap_Window_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25760 PyObject
*resultobj
;
25761 wxWindow
*arg1
= (wxWindow
*) 0 ;
25766 int arg6
= (int) wxSIZE_AUTO
;
25767 PyObject
* obj0
= 0 ;
25768 PyObject
* obj1
= 0 ;
25769 PyObject
* obj2
= 0 ;
25770 PyObject
* obj3
= 0 ;
25771 PyObject
* obj4
= 0 ;
25772 PyObject
* obj5
= 0 ;
25773 char *kwnames
[] = {
25774 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
25777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25779 if (SWIG_arg_fail(1)) SWIG_fail
;
25781 arg2
= (int)(SWIG_As_int(obj1
));
25782 if (SWIG_arg_fail(2)) SWIG_fail
;
25785 arg3
= (int)(SWIG_As_int(obj2
));
25786 if (SWIG_arg_fail(3)) SWIG_fail
;
25789 arg4
= (int)(SWIG_As_int(obj3
));
25790 if (SWIG_arg_fail(4)) SWIG_fail
;
25793 arg5
= (int)(SWIG_As_int(obj4
));
25794 if (SWIG_arg_fail(5)) SWIG_fail
;
25798 arg6
= (int)(SWIG_As_int(obj5
));
25799 if (SWIG_arg_fail(6)) SWIG_fail
;
25803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25804 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
25806 wxPyEndAllowThreads(__tstate
);
25807 if (PyErr_Occurred()) SWIG_fail
;
25809 Py_INCREF(Py_None
); resultobj
= Py_None
;
25816 static PyObject
*_wrap_Window_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25817 PyObject
*resultobj
;
25818 wxWindow
*arg1
= (wxWindow
*) 0 ;
25820 int arg3
= (int) wxSIZE_AUTO
;
25822 PyObject
* obj0
= 0 ;
25823 PyObject
* obj1
= 0 ;
25824 PyObject
* obj2
= 0 ;
25825 char *kwnames
[] = {
25826 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
25829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25831 if (SWIG_arg_fail(1)) SWIG_fail
;
25834 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25838 arg3
= (int)(SWIG_As_int(obj2
));
25839 if (SWIG_arg_fail(3)) SWIG_fail
;
25843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25844 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
25846 wxPyEndAllowThreads(__tstate
);
25847 if (PyErr_Occurred()) SWIG_fail
;
25849 Py_INCREF(Py_None
); resultobj
= Py_None
;
25856 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25857 PyObject
*resultobj
;
25858 wxWindow
*arg1
= (wxWindow
*) 0 ;
25861 PyObject
* obj0
= 0 ;
25862 PyObject
* obj1
= 0 ;
25863 PyObject
* obj2
= 0 ;
25864 char *kwnames
[] = {
25865 (char *) "self",(char *) "width",(char *) "height", NULL
25868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25870 if (SWIG_arg_fail(1)) SWIG_fail
;
25872 arg2
= (int)(SWIG_As_int(obj1
));
25873 if (SWIG_arg_fail(2)) SWIG_fail
;
25876 arg3
= (int)(SWIG_As_int(obj2
));
25877 if (SWIG_arg_fail(3)) SWIG_fail
;
25880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25881 (arg1
)->SetSize(arg2
,arg3
);
25883 wxPyEndAllowThreads(__tstate
);
25884 if (PyErr_Occurred()) SWIG_fail
;
25886 Py_INCREF(Py_None
); resultobj
= Py_None
;
25893 static PyObject
*_wrap_Window_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25894 PyObject
*resultobj
;
25895 wxWindow
*arg1
= (wxWindow
*) 0 ;
25896 wxPoint
*arg2
= 0 ;
25897 int arg3
= (int) wxSIZE_USE_EXISTING
;
25899 PyObject
* obj0
= 0 ;
25900 PyObject
* obj1
= 0 ;
25901 PyObject
* obj2
= 0 ;
25902 char *kwnames
[] = {
25903 (char *) "self",(char *) "pt",(char *) "flags", NULL
25906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25908 if (SWIG_arg_fail(1)) SWIG_fail
;
25911 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25915 arg3
= (int)(SWIG_As_int(obj2
));
25916 if (SWIG_arg_fail(3)) SWIG_fail
;
25920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25921 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
25923 wxPyEndAllowThreads(__tstate
);
25924 if (PyErr_Occurred()) SWIG_fail
;
25926 Py_INCREF(Py_None
); resultobj
= Py_None
;
25933 static PyObject
*_wrap_Window_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25934 PyObject
*resultobj
;
25935 wxWindow
*arg1
= (wxWindow
*) 0 ;
25938 int arg4
= (int) wxSIZE_USE_EXISTING
;
25939 PyObject
* obj0
= 0 ;
25940 PyObject
* obj1
= 0 ;
25941 PyObject
* obj2
= 0 ;
25942 PyObject
* obj3
= 0 ;
25943 char *kwnames
[] = {
25944 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
25947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25949 if (SWIG_arg_fail(1)) SWIG_fail
;
25951 arg2
= (int)(SWIG_As_int(obj1
));
25952 if (SWIG_arg_fail(2)) SWIG_fail
;
25955 arg3
= (int)(SWIG_As_int(obj2
));
25956 if (SWIG_arg_fail(3)) SWIG_fail
;
25960 arg4
= (int)(SWIG_As_int(obj3
));
25961 if (SWIG_arg_fail(4)) SWIG_fail
;
25965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25966 (arg1
)->Move(arg2
,arg3
,arg4
);
25968 wxPyEndAllowThreads(__tstate
);
25969 if (PyErr_Occurred()) SWIG_fail
;
25971 Py_INCREF(Py_None
); resultobj
= Py_None
;
25978 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25979 PyObject
*resultobj
;
25980 wxWindow
*arg1
= (wxWindow
*) 0 ;
25981 wxSize
const &arg2_defvalue
= wxDefaultSize
;
25982 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
25984 PyObject
* obj0
= 0 ;
25985 PyObject
* obj1
= 0 ;
25986 char *kwnames
[] = {
25987 (char *) "self",(char *) "size", NULL
25990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25992 if (SWIG_arg_fail(1)) SWIG_fail
;
25996 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26001 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
26003 wxPyEndAllowThreads(__tstate
);
26004 if (PyErr_Occurred()) SWIG_fail
;
26006 Py_INCREF(Py_None
); resultobj
= Py_None
;
26013 static PyObject
*_wrap_Window_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26014 PyObject
*resultobj
;
26015 wxWindow
*arg1
= (wxWindow
*) 0 ;
26016 PyObject
* obj0
= 0 ;
26017 char *kwnames
[] = {
26018 (char *) "self", NULL
26021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
26022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26023 if (SWIG_arg_fail(1)) SWIG_fail
;
26025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26028 wxPyEndAllowThreads(__tstate
);
26029 if (PyErr_Occurred()) SWIG_fail
;
26031 Py_INCREF(Py_None
); resultobj
= Py_None
;
26038 static PyObject
*_wrap_Window_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26039 PyObject
*resultobj
;
26040 wxWindow
*arg1
= (wxWindow
*) 0 ;
26041 PyObject
* obj0
= 0 ;
26042 char *kwnames
[] = {
26043 (char *) "self", NULL
26046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
26047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26048 if (SWIG_arg_fail(1)) SWIG_fail
;
26050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26053 wxPyEndAllowThreads(__tstate
);
26054 if (PyErr_Occurred()) SWIG_fail
;
26056 Py_INCREF(Py_None
); resultobj
= Py_None
;
26063 static PyObject
*_wrap_Window_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26064 PyObject
*resultobj
;
26065 wxWindow
*arg1
= (wxWindow
*) 0 ;
26068 PyObject
* obj0
= 0 ;
26069 PyObject
* obj1
= 0 ;
26070 char *kwnames
[] = {
26071 (char *) "self",(char *) "size", NULL
26074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26076 if (SWIG_arg_fail(1)) SWIG_fail
;
26079 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26083 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
26085 wxPyEndAllowThreads(__tstate
);
26086 if (PyErr_Occurred()) SWIG_fail
;
26088 Py_INCREF(Py_None
); resultobj
= Py_None
;
26095 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26096 PyObject
*resultobj
;
26097 wxWindow
*arg1
= (wxWindow
*) 0 ;
26100 PyObject
* obj0
= 0 ;
26101 PyObject
* obj1
= 0 ;
26102 PyObject
* obj2
= 0 ;
26103 char *kwnames
[] = {
26104 (char *) "self",(char *) "width",(char *) "height", NULL
26107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26109 if (SWIG_arg_fail(1)) SWIG_fail
;
26111 arg2
= (int)(SWIG_As_int(obj1
));
26112 if (SWIG_arg_fail(2)) SWIG_fail
;
26115 arg3
= (int)(SWIG_As_int(obj2
));
26116 if (SWIG_arg_fail(3)) SWIG_fail
;
26119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26120 (arg1
)->SetClientSize(arg2
,arg3
);
26122 wxPyEndAllowThreads(__tstate
);
26123 if (PyErr_Occurred()) SWIG_fail
;
26125 Py_INCREF(Py_None
); resultobj
= Py_None
;
26132 static PyObject
*_wrap_Window_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26133 PyObject
*resultobj
;
26134 wxWindow
*arg1
= (wxWindow
*) 0 ;
26137 PyObject
* obj0
= 0 ;
26138 PyObject
* obj1
= 0 ;
26139 char *kwnames
[] = {
26140 (char *) "self",(char *) "rect", NULL
26143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26145 if (SWIG_arg_fail(1)) SWIG_fail
;
26148 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26152 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
26154 wxPyEndAllowThreads(__tstate
);
26155 if (PyErr_Occurred()) SWIG_fail
;
26157 Py_INCREF(Py_None
); resultobj
= Py_None
;
26164 static PyObject
*_wrap_Window_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26165 PyObject
*resultobj
;
26166 wxWindow
*arg1
= (wxWindow
*) 0 ;
26168 PyObject
* obj0
= 0 ;
26169 char *kwnames
[] = {
26170 (char *) "self", NULL
26173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
26174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26175 if (SWIG_arg_fail(1)) SWIG_fail
;
26177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26178 result
= (arg1
)->GetPosition();
26180 wxPyEndAllowThreads(__tstate
);
26181 if (PyErr_Occurred()) SWIG_fail
;
26184 wxPoint
* resultptr
;
26185 resultptr
= new wxPoint((wxPoint
&)(result
));
26186 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26194 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26195 PyObject
*resultobj
;
26196 wxWindow
*arg1
= (wxWindow
*) 0 ;
26197 int *arg2
= (int *) 0 ;
26198 int *arg3
= (int *) 0 ;
26203 PyObject
* obj0
= 0 ;
26204 char *kwnames
[] = {
26205 (char *) "self", NULL
26208 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26209 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
26211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26212 if (SWIG_arg_fail(1)) SWIG_fail
;
26214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26215 (arg1
)->GetPosition(arg2
,arg3
);
26217 wxPyEndAllowThreads(__tstate
);
26218 if (PyErr_Occurred()) SWIG_fail
;
26220 Py_INCREF(Py_None
); resultobj
= Py_None
;
26221 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26222 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26223 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26224 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26231 static PyObject
*_wrap_Window_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26232 PyObject
*resultobj
;
26233 wxWindow
*arg1
= (wxWindow
*) 0 ;
26235 PyObject
* obj0
= 0 ;
26236 char *kwnames
[] = {
26237 (char *) "self", NULL
26240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
26241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26242 if (SWIG_arg_fail(1)) SWIG_fail
;
26244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26245 result
= ((wxWindow
const *)arg1
)->GetSize();
26247 wxPyEndAllowThreads(__tstate
);
26248 if (PyErr_Occurred()) SWIG_fail
;
26251 wxSize
* resultptr
;
26252 resultptr
= new wxSize((wxSize
&)(result
));
26253 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26261 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26262 PyObject
*resultobj
;
26263 wxWindow
*arg1
= (wxWindow
*) 0 ;
26264 int *arg2
= (int *) 0 ;
26265 int *arg3
= (int *) 0 ;
26270 PyObject
* obj0
= 0 ;
26271 char *kwnames
[] = {
26272 (char *) "self", NULL
26275 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26276 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
26278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26279 if (SWIG_arg_fail(1)) SWIG_fail
;
26281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26282 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
26284 wxPyEndAllowThreads(__tstate
);
26285 if (PyErr_Occurred()) SWIG_fail
;
26287 Py_INCREF(Py_None
); resultobj
= Py_None
;
26288 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26289 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26290 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26291 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26298 static PyObject
*_wrap_Window_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26299 PyObject
*resultobj
;
26300 wxWindow
*arg1
= (wxWindow
*) 0 ;
26302 PyObject
* obj0
= 0 ;
26303 char *kwnames
[] = {
26304 (char *) "self", NULL
26307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
26308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26309 if (SWIG_arg_fail(1)) SWIG_fail
;
26311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26312 result
= ((wxWindow
const *)arg1
)->GetRect();
26314 wxPyEndAllowThreads(__tstate
);
26315 if (PyErr_Occurred()) SWIG_fail
;
26318 wxRect
* resultptr
;
26319 resultptr
= new wxRect((wxRect
&)(result
));
26320 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26328 static PyObject
*_wrap_Window_GetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26329 PyObject
*resultobj
;
26330 wxWindow
*arg1
= (wxWindow
*) 0 ;
26332 PyObject
* obj0
= 0 ;
26333 char *kwnames
[] = {
26334 (char *) "self", NULL
26337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
26338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26339 if (SWIG_arg_fail(1)) SWIG_fail
;
26341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26342 result
= ((wxWindow
const *)arg1
)->GetClientSize();
26344 wxPyEndAllowThreads(__tstate
);
26345 if (PyErr_Occurred()) SWIG_fail
;
26348 wxSize
* resultptr
;
26349 resultptr
= new wxSize((wxSize
&)(result
));
26350 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26358 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26359 PyObject
*resultobj
;
26360 wxWindow
*arg1
= (wxWindow
*) 0 ;
26361 int *arg2
= (int *) 0 ;
26362 int *arg3
= (int *) 0 ;
26367 PyObject
* obj0
= 0 ;
26368 char *kwnames
[] = {
26369 (char *) "self", NULL
26372 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26373 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
26375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26376 if (SWIG_arg_fail(1)) SWIG_fail
;
26378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26379 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
26381 wxPyEndAllowThreads(__tstate
);
26382 if (PyErr_Occurred()) SWIG_fail
;
26384 Py_INCREF(Py_None
); resultobj
= Py_None
;
26385 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26386 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26387 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26388 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26395 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26396 PyObject
*resultobj
;
26397 wxWindow
*arg1
= (wxWindow
*) 0 ;
26399 PyObject
* obj0
= 0 ;
26400 char *kwnames
[] = {
26401 (char *) "self", NULL
26404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
26405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26406 if (SWIG_arg_fail(1)) SWIG_fail
;
26408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26409 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
26411 wxPyEndAllowThreads(__tstate
);
26412 if (PyErr_Occurred()) SWIG_fail
;
26415 wxPoint
* resultptr
;
26416 resultptr
= new wxPoint((wxPoint
&)(result
));
26417 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26425 static PyObject
*_wrap_Window_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26426 PyObject
*resultobj
;
26427 wxWindow
*arg1
= (wxWindow
*) 0 ;
26429 PyObject
* obj0
= 0 ;
26430 char *kwnames
[] = {
26431 (char *) "self", NULL
26434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
26435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26436 if (SWIG_arg_fail(1)) SWIG_fail
;
26438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26439 result
= ((wxWindow
const *)arg1
)->GetClientRect();
26441 wxPyEndAllowThreads(__tstate
);
26442 if (PyErr_Occurred()) SWIG_fail
;
26445 wxRect
* resultptr
;
26446 resultptr
= new wxRect((wxRect
&)(result
));
26447 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26455 static PyObject
*_wrap_Window_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26456 PyObject
*resultobj
;
26457 wxWindow
*arg1
= (wxWindow
*) 0 ;
26459 PyObject
* obj0
= 0 ;
26460 char *kwnames
[] = {
26461 (char *) "self", NULL
26464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
26465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26466 if (SWIG_arg_fail(1)) SWIG_fail
;
26468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26469 result
= ((wxWindow
const *)arg1
)->GetBestSize();
26471 wxPyEndAllowThreads(__tstate
);
26472 if (PyErr_Occurred()) SWIG_fail
;
26475 wxSize
* resultptr
;
26476 resultptr
= new wxSize((wxSize
&)(result
));
26477 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26485 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26486 PyObject
*resultobj
;
26487 wxWindow
*arg1
= (wxWindow
*) 0 ;
26488 int *arg2
= (int *) 0 ;
26489 int *arg3
= (int *) 0 ;
26494 PyObject
* obj0
= 0 ;
26495 char *kwnames
[] = {
26496 (char *) "self", NULL
26499 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26500 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
26502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26503 if (SWIG_arg_fail(1)) SWIG_fail
;
26505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26506 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
26508 wxPyEndAllowThreads(__tstate
);
26509 if (PyErr_Occurred()) SWIG_fail
;
26511 Py_INCREF(Py_None
); resultobj
= Py_None
;
26512 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26513 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26514 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26515 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26522 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26523 PyObject
*resultobj
;
26524 wxWindow
*arg1
= (wxWindow
*) 0 ;
26525 PyObject
* obj0
= 0 ;
26526 char *kwnames
[] = {
26527 (char *) "self", NULL
26530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
26531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26532 if (SWIG_arg_fail(1)) SWIG_fail
;
26534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26535 (arg1
)->InvalidateBestSize();
26537 wxPyEndAllowThreads(__tstate
);
26538 if (PyErr_Occurred()) SWIG_fail
;
26540 Py_INCREF(Py_None
); resultobj
= Py_None
;
26547 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26548 PyObject
*resultobj
;
26549 wxWindow
*arg1
= (wxWindow
*) 0 ;
26551 PyObject
* obj0
= 0 ;
26552 char *kwnames
[] = {
26553 (char *) "self", NULL
26556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
26557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26558 if (SWIG_arg_fail(1)) SWIG_fail
;
26560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26561 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
26563 wxPyEndAllowThreads(__tstate
);
26564 if (PyErr_Occurred()) SWIG_fail
;
26567 wxSize
* resultptr
;
26568 resultptr
= new wxSize((wxSize
&)(result
));
26569 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26577 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26578 PyObject
*resultobj
;
26579 wxWindow
*arg1
= (wxWindow
*) 0 ;
26581 PyObject
* obj0
= 0 ;
26582 char *kwnames
[] = {
26583 (char *) "self", NULL
26586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
26587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26588 if (SWIG_arg_fail(1)) SWIG_fail
;
26590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26591 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
26593 wxPyEndAllowThreads(__tstate
);
26594 if (PyErr_Occurred()) SWIG_fail
;
26597 wxSize
* resultptr
;
26598 resultptr
= new wxSize((wxSize
&)(result
));
26599 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26607 static PyObject
*_wrap_Window_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26608 PyObject
*resultobj
;
26609 wxWindow
*arg1
= (wxWindow
*) 0 ;
26610 int arg2
= (int) wxBOTH
;
26611 PyObject
* obj0
= 0 ;
26612 PyObject
* obj1
= 0 ;
26613 char *kwnames
[] = {
26614 (char *) "self",(char *) "direction", NULL
26617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
26618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26619 if (SWIG_arg_fail(1)) SWIG_fail
;
26622 arg2
= (int)(SWIG_As_int(obj1
));
26623 if (SWIG_arg_fail(2)) SWIG_fail
;
26627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26628 (arg1
)->Center(arg2
);
26630 wxPyEndAllowThreads(__tstate
);
26631 if (PyErr_Occurred()) SWIG_fail
;
26633 Py_INCREF(Py_None
); resultobj
= Py_None
;
26640 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26641 PyObject
*resultobj
;
26642 wxWindow
*arg1
= (wxWindow
*) 0 ;
26643 int arg2
= (int) wxBOTH
;
26644 PyObject
* obj0
= 0 ;
26645 PyObject
* obj1
= 0 ;
26646 char *kwnames
[] = {
26647 (char *) "self",(char *) "dir", NULL
26650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
26651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26652 if (SWIG_arg_fail(1)) SWIG_fail
;
26655 arg2
= (int)(SWIG_As_int(obj1
));
26656 if (SWIG_arg_fail(2)) SWIG_fail
;
26660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26661 (arg1
)->CenterOnScreen(arg2
);
26663 wxPyEndAllowThreads(__tstate
);
26664 if (PyErr_Occurred()) SWIG_fail
;
26666 Py_INCREF(Py_None
); resultobj
= Py_None
;
26673 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26674 PyObject
*resultobj
;
26675 wxWindow
*arg1
= (wxWindow
*) 0 ;
26676 int arg2
= (int) wxBOTH
;
26677 PyObject
* obj0
= 0 ;
26678 PyObject
* obj1
= 0 ;
26679 char *kwnames
[] = {
26680 (char *) "self",(char *) "dir", NULL
26683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26685 if (SWIG_arg_fail(1)) SWIG_fail
;
26688 arg2
= (int)(SWIG_As_int(obj1
));
26689 if (SWIG_arg_fail(2)) SWIG_fail
;
26693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26694 (arg1
)->CenterOnParent(arg2
);
26696 wxPyEndAllowThreads(__tstate
);
26697 if (PyErr_Occurred()) SWIG_fail
;
26699 Py_INCREF(Py_None
); resultobj
= Py_None
;
26706 static PyObject
*_wrap_Window_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26707 PyObject
*resultobj
;
26708 wxWindow
*arg1
= (wxWindow
*) 0 ;
26709 PyObject
* obj0
= 0 ;
26710 char *kwnames
[] = {
26711 (char *) "self", NULL
26714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
26715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26716 if (SWIG_arg_fail(1)) SWIG_fail
;
26718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26721 wxPyEndAllowThreads(__tstate
);
26722 if (PyErr_Occurred()) SWIG_fail
;
26724 Py_INCREF(Py_None
); resultobj
= Py_None
;
26731 static PyObject
*_wrap_Window_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26732 PyObject
*resultobj
;
26733 wxWindow
*arg1
= (wxWindow
*) 0 ;
26734 PyObject
* obj0
= 0 ;
26735 char *kwnames
[] = {
26736 (char *) "self", NULL
26739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
26740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26741 if (SWIG_arg_fail(1)) SWIG_fail
;
26743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26744 (arg1
)->FitInside();
26746 wxPyEndAllowThreads(__tstate
);
26747 if (PyErr_Occurred()) SWIG_fail
;
26749 Py_INCREF(Py_None
); resultobj
= Py_None
;
26756 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26757 PyObject
*resultobj
;
26758 wxWindow
*arg1
= (wxWindow
*) 0 ;
26761 int arg4
= (int) -1 ;
26762 int arg5
= (int) -1 ;
26763 int arg6
= (int) -1 ;
26764 int arg7
= (int) -1 ;
26765 PyObject
* obj0
= 0 ;
26766 PyObject
* obj1
= 0 ;
26767 PyObject
* obj2
= 0 ;
26768 PyObject
* obj3
= 0 ;
26769 PyObject
* obj4
= 0 ;
26770 PyObject
* obj5
= 0 ;
26771 PyObject
* obj6
= 0 ;
26772 char *kwnames
[] = {
26773 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
26776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26778 if (SWIG_arg_fail(1)) SWIG_fail
;
26780 arg2
= (int)(SWIG_As_int(obj1
));
26781 if (SWIG_arg_fail(2)) SWIG_fail
;
26784 arg3
= (int)(SWIG_As_int(obj2
));
26785 if (SWIG_arg_fail(3)) SWIG_fail
;
26789 arg4
= (int)(SWIG_As_int(obj3
));
26790 if (SWIG_arg_fail(4)) SWIG_fail
;
26795 arg5
= (int)(SWIG_As_int(obj4
));
26796 if (SWIG_arg_fail(5)) SWIG_fail
;
26801 arg6
= (int)(SWIG_As_int(obj5
));
26802 if (SWIG_arg_fail(6)) SWIG_fail
;
26807 arg7
= (int)(SWIG_As_int(obj6
));
26808 if (SWIG_arg_fail(7)) SWIG_fail
;
26812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26813 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26815 wxPyEndAllowThreads(__tstate
);
26816 if (PyErr_Occurred()) SWIG_fail
;
26818 Py_INCREF(Py_None
); resultobj
= Py_None
;
26825 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26826 PyObject
*resultobj
;
26827 wxWindow
*arg1
= (wxWindow
*) 0 ;
26829 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26830 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26831 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26832 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26836 PyObject
* obj0
= 0 ;
26837 PyObject
* obj1
= 0 ;
26838 PyObject
* obj2
= 0 ;
26839 PyObject
* obj3
= 0 ;
26840 char *kwnames
[] = {
26841 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
26844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26846 if (SWIG_arg_fail(1)) SWIG_fail
;
26849 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26854 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26860 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26865 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
26867 wxPyEndAllowThreads(__tstate
);
26868 if (PyErr_Occurred()) SWIG_fail
;
26870 Py_INCREF(Py_None
); resultobj
= Py_None
;
26877 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26878 PyObject
*resultobj
;
26879 wxWindow
*arg1
= (wxWindow
*) 0 ;
26882 int arg4
= (int) -1 ;
26883 int arg5
= (int) -1 ;
26884 PyObject
* obj0
= 0 ;
26885 PyObject
* obj1
= 0 ;
26886 PyObject
* obj2
= 0 ;
26887 PyObject
* obj3
= 0 ;
26888 PyObject
* obj4
= 0 ;
26889 char *kwnames
[] = {
26890 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
26893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26895 if (SWIG_arg_fail(1)) SWIG_fail
;
26897 arg2
= (int)(SWIG_As_int(obj1
));
26898 if (SWIG_arg_fail(2)) SWIG_fail
;
26901 arg3
= (int)(SWIG_As_int(obj2
));
26902 if (SWIG_arg_fail(3)) SWIG_fail
;
26906 arg4
= (int)(SWIG_As_int(obj3
));
26907 if (SWIG_arg_fail(4)) SWIG_fail
;
26912 arg5
= (int)(SWIG_As_int(obj4
));
26913 if (SWIG_arg_fail(5)) SWIG_fail
;
26917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26918 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
26920 wxPyEndAllowThreads(__tstate
);
26921 if (PyErr_Occurred()) SWIG_fail
;
26923 Py_INCREF(Py_None
); resultobj
= Py_None
;
26930 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26931 PyObject
*resultobj
;
26932 wxWindow
*arg1
= (wxWindow
*) 0 ;
26934 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26935 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26938 PyObject
* obj0
= 0 ;
26939 PyObject
* obj1
= 0 ;
26940 PyObject
* obj2
= 0 ;
26941 char *kwnames
[] = {
26942 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
26945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26947 if (SWIG_arg_fail(1)) SWIG_fail
;
26950 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26955 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26960 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
26962 wxPyEndAllowThreads(__tstate
);
26963 if (PyErr_Occurred()) SWIG_fail
;
26965 Py_INCREF(Py_None
); resultobj
= Py_None
;
26972 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26973 PyObject
*resultobj
;
26974 wxWindow
*arg1
= (wxWindow
*) 0 ;
26976 PyObject
* obj0
= 0 ;
26977 char *kwnames
[] = {
26978 (char *) "self", NULL
26981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
26982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26983 if (SWIG_arg_fail(1)) SWIG_fail
;
26985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26986 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
26988 wxPyEndAllowThreads(__tstate
);
26989 if (PyErr_Occurred()) SWIG_fail
;
26992 wxSize
* resultptr
;
26993 resultptr
= new wxSize((wxSize
&)(result
));
26994 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27002 static PyObject
*_wrap_Window_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27003 PyObject
*resultobj
;
27004 wxWindow
*arg1
= (wxWindow
*) 0 ;
27006 PyObject
* obj0
= 0 ;
27007 char *kwnames
[] = {
27008 (char *) "self", NULL
27011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
27012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27013 if (SWIG_arg_fail(1)) SWIG_fail
;
27015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27016 result
= ((wxWindow
const *)arg1
)->GetMinSize();
27018 wxPyEndAllowThreads(__tstate
);
27019 if (PyErr_Occurred()) SWIG_fail
;
27022 wxSize
* resultptr
;
27023 resultptr
= new wxSize((wxSize
&)(result
));
27024 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27032 static PyObject
*_wrap_Window_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27033 PyObject
*resultobj
;
27034 wxWindow
*arg1
= (wxWindow
*) 0 ;
27037 PyObject
* obj0
= 0 ;
27038 PyObject
* obj1
= 0 ;
27039 char *kwnames
[] = {
27040 (char *) "self",(char *) "minSize", NULL
27043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27045 if (SWIG_arg_fail(1)) SWIG_fail
;
27048 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27052 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
27054 wxPyEndAllowThreads(__tstate
);
27055 if (PyErr_Occurred()) SWIG_fail
;
27057 Py_INCREF(Py_None
); resultobj
= Py_None
;
27064 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27065 PyObject
*resultobj
;
27066 wxWindow
*arg1
= (wxWindow
*) 0 ;
27069 PyObject
* obj0
= 0 ;
27070 PyObject
* obj1
= 0 ;
27071 char *kwnames
[] = {
27072 (char *) "self",(char *) "maxSize", NULL
27075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",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 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27084 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
27086 wxPyEndAllowThreads(__tstate
);
27087 if (PyErr_Occurred()) SWIG_fail
;
27089 Py_INCREF(Py_None
); resultobj
= Py_None
;
27096 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27097 PyObject
*resultobj
;
27098 wxWindow
*arg1
= (wxWindow
*) 0 ;
27100 PyObject
* obj0
= 0 ;
27101 char *kwnames
[] = {
27102 (char *) "self", NULL
27105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
27106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27107 if (SWIG_arg_fail(1)) SWIG_fail
;
27109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27110 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
27112 wxPyEndAllowThreads(__tstate
);
27113 if (PyErr_Occurred()) SWIG_fail
;
27116 resultobj
= SWIG_From_int((int)(result
));
27124 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27125 PyObject
*resultobj
;
27126 wxWindow
*arg1
= (wxWindow
*) 0 ;
27128 PyObject
* obj0
= 0 ;
27129 char *kwnames
[] = {
27130 (char *) "self", NULL
27133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
27134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27135 if (SWIG_arg_fail(1)) SWIG_fail
;
27137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27138 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
27140 wxPyEndAllowThreads(__tstate
);
27141 if (PyErr_Occurred()) SWIG_fail
;
27144 resultobj
= SWIG_From_int((int)(result
));
27152 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27153 PyObject
*resultobj
;
27154 wxWindow
*arg1
= (wxWindow
*) 0 ;
27156 PyObject
* obj0
= 0 ;
27157 char *kwnames
[] = {
27158 (char *) "self", NULL
27161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
27162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27163 if (SWIG_arg_fail(1)) SWIG_fail
;
27165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27166 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
27168 wxPyEndAllowThreads(__tstate
);
27169 if (PyErr_Occurred()) SWIG_fail
;
27172 resultobj
= SWIG_From_int((int)(result
));
27180 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27181 PyObject
*resultobj
;
27182 wxWindow
*arg1
= (wxWindow
*) 0 ;
27184 PyObject
* obj0
= 0 ;
27185 char *kwnames
[] = {
27186 (char *) "self", NULL
27189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
27190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27191 if (SWIG_arg_fail(1)) SWIG_fail
;
27193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27194 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
27196 wxPyEndAllowThreads(__tstate
);
27197 if (PyErr_Occurred()) SWIG_fail
;
27200 resultobj
= SWIG_From_int((int)(result
));
27208 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27209 PyObject
*resultobj
;
27210 wxWindow
*arg1
= (wxWindow
*) 0 ;
27213 PyObject
* obj0
= 0 ;
27214 PyObject
* obj1
= 0 ;
27215 char *kwnames
[] = {
27216 (char *) "self",(char *) "size", NULL
27219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27221 if (SWIG_arg_fail(1)) SWIG_fail
;
27224 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27228 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
27230 wxPyEndAllowThreads(__tstate
);
27231 if (PyErr_Occurred()) SWIG_fail
;
27233 Py_INCREF(Py_None
); resultobj
= Py_None
;
27240 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27241 PyObject
*resultobj
;
27242 wxWindow
*arg1
= (wxWindow
*) 0 ;
27245 PyObject
* obj0
= 0 ;
27246 PyObject
* obj1
= 0 ;
27247 PyObject
* obj2
= 0 ;
27248 char *kwnames
[] = {
27249 (char *) "self",(char *) "w",(char *) "h", NULL
27252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27254 if (SWIG_arg_fail(1)) SWIG_fail
;
27256 arg2
= (int)(SWIG_As_int(obj1
));
27257 if (SWIG_arg_fail(2)) SWIG_fail
;
27260 arg3
= (int)(SWIG_As_int(obj2
));
27261 if (SWIG_arg_fail(3)) SWIG_fail
;
27264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27265 (arg1
)->SetVirtualSize(arg2
,arg3
);
27267 wxPyEndAllowThreads(__tstate
);
27268 if (PyErr_Occurred()) SWIG_fail
;
27270 Py_INCREF(Py_None
); resultobj
= Py_None
;
27277 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27278 PyObject
*resultobj
;
27279 wxWindow
*arg1
= (wxWindow
*) 0 ;
27281 PyObject
* obj0
= 0 ;
27282 char *kwnames
[] = {
27283 (char *) "self", NULL
27286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
27287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27288 if (SWIG_arg_fail(1)) SWIG_fail
;
27290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27291 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
27293 wxPyEndAllowThreads(__tstate
);
27294 if (PyErr_Occurred()) SWIG_fail
;
27297 wxSize
* resultptr
;
27298 resultptr
= new wxSize((wxSize
&)(result
));
27299 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27307 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27308 PyObject
*resultobj
;
27309 wxWindow
*arg1
= (wxWindow
*) 0 ;
27310 int *arg2
= (int *) 0 ;
27311 int *arg3
= (int *) 0 ;
27316 PyObject
* obj0
= 0 ;
27317 char *kwnames
[] = {
27318 (char *) "self", NULL
27321 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
27322 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
27324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27325 if (SWIG_arg_fail(1)) SWIG_fail
;
27327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27328 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
27330 wxPyEndAllowThreads(__tstate
);
27331 if (PyErr_Occurred()) SWIG_fail
;
27333 Py_INCREF(Py_None
); resultobj
= Py_None
;
27334 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27335 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27336 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27337 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27344 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27345 PyObject
*resultobj
;
27346 wxWindow
*arg1
= (wxWindow
*) 0 ;
27348 PyObject
* obj0
= 0 ;
27349 char *kwnames
[] = {
27350 (char *) "self", NULL
27353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
27354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27355 if (SWIG_arg_fail(1)) SWIG_fail
;
27357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27358 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
27360 wxPyEndAllowThreads(__tstate
);
27361 if (PyErr_Occurred()) SWIG_fail
;
27364 wxSize
* resultptr
;
27365 resultptr
= new wxSize((wxSize
&)(result
));
27366 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27374 static PyObject
*_wrap_Window_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27375 PyObject
*resultobj
;
27376 wxWindow
*arg1
= (wxWindow
*) 0 ;
27377 bool arg2
= (bool) true ;
27379 PyObject
* obj0
= 0 ;
27380 PyObject
* obj1
= 0 ;
27381 char *kwnames
[] = {
27382 (char *) "self",(char *) "show", NULL
27385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
27386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27387 if (SWIG_arg_fail(1)) SWIG_fail
;
27390 arg2
= (bool)(SWIG_As_bool(obj1
));
27391 if (SWIG_arg_fail(2)) SWIG_fail
;
27395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27396 result
= (bool)(arg1
)->Show(arg2
);
27398 wxPyEndAllowThreads(__tstate
);
27399 if (PyErr_Occurred()) SWIG_fail
;
27402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27410 static PyObject
*_wrap_Window_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27411 PyObject
*resultobj
;
27412 wxWindow
*arg1
= (wxWindow
*) 0 ;
27414 PyObject
* obj0
= 0 ;
27415 char *kwnames
[] = {
27416 (char *) "self", NULL
27419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
27420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27421 if (SWIG_arg_fail(1)) SWIG_fail
;
27423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27424 result
= (bool)(arg1
)->Hide();
27426 wxPyEndAllowThreads(__tstate
);
27427 if (PyErr_Occurred()) SWIG_fail
;
27430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27438 static PyObject
*_wrap_Window_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27439 PyObject
*resultobj
;
27440 wxWindow
*arg1
= (wxWindow
*) 0 ;
27441 bool arg2
= (bool) true ;
27443 PyObject
* obj0
= 0 ;
27444 PyObject
* obj1
= 0 ;
27445 char *kwnames
[] = {
27446 (char *) "self",(char *) "enable", NULL
27449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
27450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27451 if (SWIG_arg_fail(1)) SWIG_fail
;
27454 arg2
= (bool)(SWIG_As_bool(obj1
));
27455 if (SWIG_arg_fail(2)) SWIG_fail
;
27459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27460 result
= (bool)(arg1
)->Enable(arg2
);
27462 wxPyEndAllowThreads(__tstate
);
27463 if (PyErr_Occurred()) SWIG_fail
;
27466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27474 static PyObject
*_wrap_Window_Disable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27475 PyObject
*resultobj
;
27476 wxWindow
*arg1
= (wxWindow
*) 0 ;
27478 PyObject
* obj0
= 0 ;
27479 char *kwnames
[] = {
27480 (char *) "self", NULL
27483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
27484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27485 if (SWIG_arg_fail(1)) SWIG_fail
;
27487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27488 result
= (bool)(arg1
)->Disable();
27490 wxPyEndAllowThreads(__tstate
);
27491 if (PyErr_Occurred()) SWIG_fail
;
27494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27502 static PyObject
*_wrap_Window_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27503 PyObject
*resultobj
;
27504 wxWindow
*arg1
= (wxWindow
*) 0 ;
27506 PyObject
* obj0
= 0 ;
27507 char *kwnames
[] = {
27508 (char *) "self", NULL
27511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
27512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27513 if (SWIG_arg_fail(1)) SWIG_fail
;
27515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27516 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
27518 wxPyEndAllowThreads(__tstate
);
27519 if (PyErr_Occurred()) SWIG_fail
;
27522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27530 static PyObject
*_wrap_Window_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27531 PyObject
*resultobj
;
27532 wxWindow
*arg1
= (wxWindow
*) 0 ;
27534 PyObject
* obj0
= 0 ;
27535 char *kwnames
[] = {
27536 (char *) "self", NULL
27539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
27540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27541 if (SWIG_arg_fail(1)) SWIG_fail
;
27543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27544 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
27546 wxPyEndAllowThreads(__tstate
);
27547 if (PyErr_Occurred()) SWIG_fail
;
27550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27558 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27559 PyObject
*resultobj
;
27560 wxWindow
*arg1
= (wxWindow
*) 0 ;
27562 PyObject
* obj0
= 0 ;
27563 PyObject
* obj1
= 0 ;
27564 char *kwnames
[] = {
27565 (char *) "self",(char *) "style", NULL
27568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
27569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27570 if (SWIG_arg_fail(1)) SWIG_fail
;
27572 arg2
= (long)(SWIG_As_long(obj1
));
27573 if (SWIG_arg_fail(2)) SWIG_fail
;
27576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27577 (arg1
)->SetWindowStyleFlag(arg2
);
27579 wxPyEndAllowThreads(__tstate
);
27580 if (PyErr_Occurred()) SWIG_fail
;
27582 Py_INCREF(Py_None
); resultobj
= Py_None
;
27589 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27590 PyObject
*resultobj
;
27591 wxWindow
*arg1
= (wxWindow
*) 0 ;
27593 PyObject
* obj0
= 0 ;
27594 char *kwnames
[] = {
27595 (char *) "self", NULL
27598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
27599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27600 if (SWIG_arg_fail(1)) SWIG_fail
;
27602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27603 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
27605 wxPyEndAllowThreads(__tstate
);
27606 if (PyErr_Occurred()) SWIG_fail
;
27609 resultobj
= SWIG_From_long((long)(result
));
27617 static PyObject
*_wrap_Window_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27618 PyObject
*resultobj
;
27619 wxWindow
*arg1
= (wxWindow
*) 0 ;
27622 PyObject
* obj0
= 0 ;
27623 PyObject
* obj1
= 0 ;
27624 char *kwnames
[] = {
27625 (char *) "self",(char *) "flag", NULL
27628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
27629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27630 if (SWIG_arg_fail(1)) SWIG_fail
;
27632 arg2
= (int)(SWIG_As_int(obj1
));
27633 if (SWIG_arg_fail(2)) SWIG_fail
;
27636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27637 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
27639 wxPyEndAllowThreads(__tstate
);
27640 if (PyErr_Occurred()) SWIG_fail
;
27643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27651 static PyObject
*_wrap_Window_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27652 PyObject
*resultobj
;
27653 wxWindow
*arg1
= (wxWindow
*) 0 ;
27655 PyObject
* obj0
= 0 ;
27656 char *kwnames
[] = {
27657 (char *) "self", NULL
27660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
27661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27662 if (SWIG_arg_fail(1)) SWIG_fail
;
27664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27665 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
27667 wxPyEndAllowThreads(__tstate
);
27668 if (PyErr_Occurred()) SWIG_fail
;
27671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27679 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27680 PyObject
*resultobj
;
27681 wxWindow
*arg1
= (wxWindow
*) 0 ;
27683 PyObject
* obj0
= 0 ;
27684 PyObject
* obj1
= 0 ;
27685 char *kwnames
[] = {
27686 (char *) "self",(char *) "exStyle", NULL
27689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
27690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27691 if (SWIG_arg_fail(1)) SWIG_fail
;
27693 arg2
= (long)(SWIG_As_long(obj1
));
27694 if (SWIG_arg_fail(2)) SWIG_fail
;
27697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27698 (arg1
)->SetExtraStyle(arg2
);
27700 wxPyEndAllowThreads(__tstate
);
27701 if (PyErr_Occurred()) SWIG_fail
;
27703 Py_INCREF(Py_None
); resultobj
= Py_None
;
27710 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27711 PyObject
*resultobj
;
27712 wxWindow
*arg1
= (wxWindow
*) 0 ;
27714 PyObject
* obj0
= 0 ;
27715 char *kwnames
[] = {
27716 (char *) "self", NULL
27719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
27720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27721 if (SWIG_arg_fail(1)) SWIG_fail
;
27723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27724 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
27726 wxPyEndAllowThreads(__tstate
);
27727 if (PyErr_Occurred()) SWIG_fail
;
27730 resultobj
= SWIG_From_long((long)(result
));
27738 static PyObject
*_wrap_Window_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27739 PyObject
*resultobj
;
27740 wxWindow
*arg1
= (wxWindow
*) 0 ;
27741 bool arg2
= (bool) true ;
27742 PyObject
* obj0
= 0 ;
27743 PyObject
* obj1
= 0 ;
27744 char *kwnames
[] = {
27745 (char *) "self",(char *) "modal", NULL
27748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
27749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27750 if (SWIG_arg_fail(1)) SWIG_fail
;
27753 arg2
= (bool)(SWIG_As_bool(obj1
));
27754 if (SWIG_arg_fail(2)) SWIG_fail
;
27758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27759 (arg1
)->MakeModal(arg2
);
27761 wxPyEndAllowThreads(__tstate
);
27762 if (PyErr_Occurred()) SWIG_fail
;
27764 Py_INCREF(Py_None
); resultobj
= Py_None
;
27771 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27772 PyObject
*resultobj
;
27773 wxWindow
*arg1
= (wxWindow
*) 0 ;
27775 PyObject
* obj0
= 0 ;
27776 PyObject
* obj1
= 0 ;
27777 char *kwnames
[] = {
27778 (char *) "self",(char *) "enableTheme", NULL
27781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) 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 arg2
= (bool)(SWIG_As_bool(obj1
));
27786 if (SWIG_arg_fail(2)) SWIG_fail
;
27789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27790 (arg1
)->SetThemeEnabled(arg2
);
27792 wxPyEndAllowThreads(__tstate
);
27793 if (PyErr_Occurred()) SWIG_fail
;
27795 Py_INCREF(Py_None
); resultobj
= Py_None
;
27802 static PyObject
*_wrap_Window_GetThemeEnabled(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_GetThemeEnabled",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
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
27818 wxPyEndAllowThreads(__tstate
);
27819 if (PyErr_Occurred()) SWIG_fail
;
27822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27830 static PyObject
*_wrap_Window_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27831 PyObject
*resultobj
;
27832 wxWindow
*arg1
= (wxWindow
*) 0 ;
27833 PyObject
* obj0
= 0 ;
27834 char *kwnames
[] = {
27835 (char *) "self", NULL
27838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
27839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27840 if (SWIG_arg_fail(1)) SWIG_fail
;
27842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27843 (arg1
)->SetFocus();
27845 wxPyEndAllowThreads(__tstate
);
27846 if (PyErr_Occurred()) SWIG_fail
;
27848 Py_INCREF(Py_None
); resultobj
= Py_None
;
27855 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27856 PyObject
*resultobj
;
27857 wxWindow
*arg1
= (wxWindow
*) 0 ;
27858 PyObject
* obj0
= 0 ;
27859 char *kwnames
[] = {
27860 (char *) "self", NULL
27863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
27864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27865 if (SWIG_arg_fail(1)) SWIG_fail
;
27867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27868 (arg1
)->SetFocusFromKbd();
27870 wxPyEndAllowThreads(__tstate
);
27871 if (PyErr_Occurred()) SWIG_fail
;
27873 Py_INCREF(Py_None
); resultobj
= Py_None
;
27880 static PyObject
*_wrap_Window_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27881 PyObject
*resultobj
;
27883 char *kwnames
[] = {
27887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
27889 if (!wxPyCheckForApp()) SWIG_fail
;
27890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27891 result
= (wxWindow
*)wxWindow::FindFocus();
27893 wxPyEndAllowThreads(__tstate
);
27894 if (PyErr_Occurred()) SWIG_fail
;
27897 resultobj
= wxPyMake_wxObject(result
, 0);
27905 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27906 PyObject
*resultobj
;
27907 wxWindow
*arg1
= (wxWindow
*) 0 ;
27909 PyObject
* obj0
= 0 ;
27910 char *kwnames
[] = {
27911 (char *) "self", NULL
27914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
27915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27916 if (SWIG_arg_fail(1)) SWIG_fail
;
27918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27919 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
27921 wxPyEndAllowThreads(__tstate
);
27922 if (PyErr_Occurred()) SWIG_fail
;
27925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27933 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27934 PyObject
*resultobj
;
27935 wxWindow
*arg1
= (wxWindow
*) 0 ;
27937 PyObject
* obj0
= 0 ;
27938 char *kwnames
[] = {
27939 (char *) "self", NULL
27942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
27943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27944 if (SWIG_arg_fail(1)) SWIG_fail
;
27946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27947 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
27949 wxPyEndAllowThreads(__tstate
);
27950 if (PyErr_Occurred()) SWIG_fail
;
27953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27961 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27962 PyObject
*resultobj
;
27963 wxWindow
*arg1
= (wxWindow
*) 0 ;
27965 PyObject
* obj0
= 0 ;
27966 char *kwnames
[] = {
27967 (char *) "self", NULL
27970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
27971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27972 if (SWIG_arg_fail(1)) SWIG_fail
;
27974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27975 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
27977 wxPyEndAllowThreads(__tstate
);
27978 if (PyErr_Occurred()) SWIG_fail
;
27981 resultobj
= wxPyMake_wxObject(result
, 0);
27989 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27990 PyObject
*resultobj
;
27991 wxWindow
*arg1
= (wxWindow
*) 0 ;
27992 wxWindow
*arg2
= (wxWindow
*) 0 ;
27994 PyObject
* obj0
= 0 ;
27995 PyObject
* obj1
= 0 ;
27996 char *kwnames
[] = {
27997 (char *) "self",(char *) "child", NULL
28000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28002 if (SWIG_arg_fail(1)) SWIG_fail
;
28003 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28004 if (SWIG_arg_fail(2)) SWIG_fail
;
28006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28007 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
28009 wxPyEndAllowThreads(__tstate
);
28010 if (PyErr_Occurred()) SWIG_fail
;
28013 resultobj
= wxPyMake_wxObject(result
, 0);
28021 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28022 PyObject
*resultobj
;
28023 wxWindow
*arg1
= (wxWindow
*) 0 ;
28024 wxWindow
*arg2
= (wxWindow
*) 0 ;
28025 PyObject
* obj0
= 0 ;
28026 PyObject
* obj1
= 0 ;
28027 char *kwnames
[] = {
28028 (char *) "self",(char *) "win", NULL
28031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28033 if (SWIG_arg_fail(1)) SWIG_fail
;
28034 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28035 if (SWIG_arg_fail(2)) SWIG_fail
;
28037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28038 (arg1
)->SetTmpDefaultItem(arg2
);
28040 wxPyEndAllowThreads(__tstate
);
28041 if (PyErr_Occurred()) SWIG_fail
;
28043 Py_INCREF(Py_None
); resultobj
= Py_None
;
28050 static PyObject
*_wrap_Window_Navigate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28051 PyObject
*resultobj
;
28052 wxWindow
*arg1
= (wxWindow
*) 0 ;
28053 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
28055 PyObject
* obj0
= 0 ;
28056 PyObject
* obj1
= 0 ;
28057 char *kwnames
[] = {
28058 (char *) "self",(char *) "flags", NULL
28061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
28062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28063 if (SWIG_arg_fail(1)) SWIG_fail
;
28066 arg2
= (int)(SWIG_As_int(obj1
));
28067 if (SWIG_arg_fail(2)) SWIG_fail
;
28071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28072 result
= (bool)(arg1
)->Navigate(arg2
);
28074 wxPyEndAllowThreads(__tstate
);
28075 if (PyErr_Occurred()) SWIG_fail
;
28078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28086 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28087 PyObject
*resultobj
;
28088 wxWindow
*arg1
= (wxWindow
*) 0 ;
28089 wxWindow
*arg2
= (wxWindow
*) 0 ;
28090 PyObject
* obj0
= 0 ;
28091 PyObject
* obj1
= 0 ;
28092 char *kwnames
[] = {
28093 (char *) "self",(char *) "win", NULL
28096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
28097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28098 if (SWIG_arg_fail(1)) SWIG_fail
;
28099 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28100 if (SWIG_arg_fail(2)) SWIG_fail
;
28102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28103 (arg1
)->MoveAfterInTabOrder(arg2
);
28105 wxPyEndAllowThreads(__tstate
);
28106 if (PyErr_Occurred()) SWIG_fail
;
28108 Py_INCREF(Py_None
); resultobj
= Py_None
;
28115 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28116 PyObject
*resultobj
;
28117 wxWindow
*arg1
= (wxWindow
*) 0 ;
28118 wxWindow
*arg2
= (wxWindow
*) 0 ;
28119 PyObject
* obj0
= 0 ;
28120 PyObject
* obj1
= 0 ;
28121 char *kwnames
[] = {
28122 (char *) "self",(char *) "win", NULL
28125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
28126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28127 if (SWIG_arg_fail(1)) SWIG_fail
;
28128 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28129 if (SWIG_arg_fail(2)) SWIG_fail
;
28131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28132 (arg1
)->MoveBeforeInTabOrder(arg2
);
28134 wxPyEndAllowThreads(__tstate
);
28135 if (PyErr_Occurred()) SWIG_fail
;
28137 Py_INCREF(Py_None
); resultobj
= Py_None
;
28144 static PyObject
*_wrap_Window_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28145 PyObject
*resultobj
;
28146 wxWindow
*arg1
= (wxWindow
*) 0 ;
28148 PyObject
* obj0
= 0 ;
28149 char *kwnames
[] = {
28150 (char *) "self", NULL
28153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
28154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28155 if (SWIG_arg_fail(1)) SWIG_fail
;
28157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28158 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
28160 wxPyEndAllowThreads(__tstate
);
28161 if (PyErr_Occurred()) SWIG_fail
;
28163 resultobj
= result
;
28170 static PyObject
*_wrap_Window_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28171 PyObject
*resultobj
;
28172 wxWindow
*arg1
= (wxWindow
*) 0 ;
28174 PyObject
* obj0
= 0 ;
28175 char *kwnames
[] = {
28176 (char *) "self", NULL
28179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
28180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28181 if (SWIG_arg_fail(1)) SWIG_fail
;
28183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28184 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
28186 wxPyEndAllowThreads(__tstate
);
28187 if (PyErr_Occurred()) SWIG_fail
;
28190 resultobj
= wxPyMake_wxObject(result
, 0);
28198 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28199 PyObject
*resultobj
;
28200 wxWindow
*arg1
= (wxWindow
*) 0 ;
28202 PyObject
* obj0
= 0 ;
28203 char *kwnames
[] = {
28204 (char *) "self", NULL
28207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
28208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28209 if (SWIG_arg_fail(1)) SWIG_fail
;
28211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28212 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
28214 wxPyEndAllowThreads(__tstate
);
28215 if (PyErr_Occurred()) SWIG_fail
;
28218 resultobj
= wxPyMake_wxObject(result
, 0);
28226 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28227 PyObject
*resultobj
;
28228 wxWindow
*arg1
= (wxWindow
*) 0 ;
28230 PyObject
* obj0
= 0 ;
28231 char *kwnames
[] = {
28232 (char *) "self", NULL
28235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
28236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28237 if (SWIG_arg_fail(1)) SWIG_fail
;
28239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28240 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
28242 wxPyEndAllowThreads(__tstate
);
28243 if (PyErr_Occurred()) SWIG_fail
;
28246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28254 static PyObject
*_wrap_Window_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28255 PyObject
*resultobj
;
28256 wxWindow
*arg1
= (wxWindow
*) 0 ;
28257 wxWindow
*arg2
= (wxWindow
*) 0 ;
28259 PyObject
* obj0
= 0 ;
28260 PyObject
* obj1
= 0 ;
28261 char *kwnames
[] = {
28262 (char *) "self",(char *) "newParent", NULL
28265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
28266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28267 if (SWIG_arg_fail(1)) SWIG_fail
;
28268 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28269 if (SWIG_arg_fail(2)) SWIG_fail
;
28271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28272 result
= (bool)(arg1
)->Reparent(arg2
);
28274 wxPyEndAllowThreads(__tstate
);
28275 if (PyErr_Occurred()) SWIG_fail
;
28278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28286 static PyObject
*_wrap_Window_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28287 PyObject
*resultobj
;
28288 wxWindow
*arg1
= (wxWindow
*) 0 ;
28289 wxWindow
*arg2
= (wxWindow
*) 0 ;
28290 PyObject
* obj0
= 0 ;
28291 PyObject
* obj1
= 0 ;
28292 char *kwnames
[] = {
28293 (char *) "self",(char *) "child", NULL
28296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28298 if (SWIG_arg_fail(1)) SWIG_fail
;
28299 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28300 if (SWIG_arg_fail(2)) SWIG_fail
;
28302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28303 (arg1
)->AddChild(arg2
);
28305 wxPyEndAllowThreads(__tstate
);
28306 if (PyErr_Occurred()) SWIG_fail
;
28308 Py_INCREF(Py_None
); resultobj
= Py_None
;
28315 static PyObject
*_wrap_Window_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28316 PyObject
*resultobj
;
28317 wxWindow
*arg1
= (wxWindow
*) 0 ;
28318 wxWindow
*arg2
= (wxWindow
*) 0 ;
28319 PyObject
* obj0
= 0 ;
28320 PyObject
* obj1
= 0 ;
28321 char *kwnames
[] = {
28322 (char *) "self",(char *) "child", NULL
28325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28327 if (SWIG_arg_fail(1)) SWIG_fail
;
28328 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28329 if (SWIG_arg_fail(2)) SWIG_fail
;
28331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28332 (arg1
)->RemoveChild(arg2
);
28334 wxPyEndAllowThreads(__tstate
);
28335 if (PyErr_Occurred()) SWIG_fail
;
28337 Py_INCREF(Py_None
); resultobj
= Py_None
;
28344 static PyObject
*_wrap_Window_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28345 PyObject
*resultobj
;
28346 wxWindow
*arg1
= (wxWindow
*) 0 ;
28349 PyObject
* obj0
= 0 ;
28350 PyObject
* obj1
= 0 ;
28351 char *kwnames
[] = {
28352 (char *) "self",(char *) "winid", NULL
28355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
28356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28357 if (SWIG_arg_fail(1)) SWIG_fail
;
28359 arg2
= (long)(SWIG_As_long(obj1
));
28360 if (SWIG_arg_fail(2)) SWIG_fail
;
28363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28364 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
28366 wxPyEndAllowThreads(__tstate
);
28367 if (PyErr_Occurred()) SWIG_fail
;
28370 resultobj
= wxPyMake_wxObject(result
, 0);
28378 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28379 PyObject
*resultobj
;
28380 wxWindow
*arg1
= (wxWindow
*) 0 ;
28381 wxString
*arg2
= 0 ;
28383 bool temp2
= false ;
28384 PyObject
* obj0
= 0 ;
28385 PyObject
* obj1
= 0 ;
28386 char *kwnames
[] = {
28387 (char *) "self",(char *) "name", NULL
28390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
28391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28392 if (SWIG_arg_fail(1)) SWIG_fail
;
28394 arg2
= wxString_in_helper(obj1
);
28395 if (arg2
== NULL
) SWIG_fail
;
28399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28400 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
28402 wxPyEndAllowThreads(__tstate
);
28403 if (PyErr_Occurred()) SWIG_fail
;
28406 resultobj
= wxPyMake_wxObject(result
, 0);
28422 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28423 PyObject
*resultobj
;
28424 wxWindow
*arg1
= (wxWindow
*) 0 ;
28425 wxEvtHandler
*result
;
28426 PyObject
* obj0
= 0 ;
28427 char *kwnames
[] = {
28428 (char *) "self", NULL
28431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
28432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28433 if (SWIG_arg_fail(1)) SWIG_fail
;
28435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28436 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
28438 wxPyEndAllowThreads(__tstate
);
28439 if (PyErr_Occurred()) SWIG_fail
;
28442 resultobj
= wxPyMake_wxObject(result
, 0);
28450 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28451 PyObject
*resultobj
;
28452 wxWindow
*arg1
= (wxWindow
*) 0 ;
28453 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28454 PyObject
* obj0
= 0 ;
28455 PyObject
* obj1
= 0 ;
28456 char *kwnames
[] = {
28457 (char *) "self",(char *) "handler", NULL
28460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28462 if (SWIG_arg_fail(1)) SWIG_fail
;
28463 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28464 if (SWIG_arg_fail(2)) SWIG_fail
;
28466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28467 (arg1
)->SetEventHandler(arg2
);
28469 wxPyEndAllowThreads(__tstate
);
28470 if (PyErr_Occurred()) SWIG_fail
;
28472 Py_INCREF(Py_None
); resultobj
= Py_None
;
28479 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28480 PyObject
*resultobj
;
28481 wxWindow
*arg1
= (wxWindow
*) 0 ;
28482 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28483 PyObject
* obj0
= 0 ;
28484 PyObject
* obj1
= 0 ;
28485 char *kwnames
[] = {
28486 (char *) "self",(char *) "handler", NULL
28489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",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_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28493 if (SWIG_arg_fail(2)) SWIG_fail
;
28495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28496 (arg1
)->PushEventHandler(arg2
);
28498 wxPyEndAllowThreads(__tstate
);
28499 if (PyErr_Occurred()) SWIG_fail
;
28501 Py_INCREF(Py_None
); resultobj
= Py_None
;
28508 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28509 PyObject
*resultobj
;
28510 wxWindow
*arg1
= (wxWindow
*) 0 ;
28511 bool arg2
= (bool) false ;
28512 wxEvtHandler
*result
;
28513 PyObject
* obj0
= 0 ;
28514 PyObject
* obj1
= 0 ;
28515 char *kwnames
[] = {
28516 (char *) "self",(char *) "deleteHandler", NULL
28519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",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
= (bool)(SWIG_As_bool(obj1
));
28525 if (SWIG_arg_fail(2)) SWIG_fail
;
28529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28530 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
28532 wxPyEndAllowThreads(__tstate
);
28533 if (PyErr_Occurred()) SWIG_fail
;
28536 resultobj
= wxPyMake_wxObject(result
, 0);
28544 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28545 PyObject
*resultobj
;
28546 wxWindow
*arg1
= (wxWindow
*) 0 ;
28547 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28549 PyObject
* obj0
= 0 ;
28550 PyObject
* obj1
= 0 ;
28551 char *kwnames
[] = {
28552 (char *) "self",(char *) "handler", NULL
28555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28557 if (SWIG_arg_fail(1)) SWIG_fail
;
28558 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28559 if (SWIG_arg_fail(2)) SWIG_fail
;
28561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28562 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
28564 wxPyEndAllowThreads(__tstate
);
28565 if (PyErr_Occurred()) SWIG_fail
;
28568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28576 static PyObject
*_wrap_Window_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28577 PyObject
*resultobj
;
28578 wxWindow
*arg1
= (wxWindow
*) 0 ;
28579 wxValidator
*arg2
= 0 ;
28580 PyObject
* obj0
= 0 ;
28581 PyObject
* obj1
= 0 ;
28582 char *kwnames
[] = {
28583 (char *) "self",(char *) "validator", NULL
28586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
28587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28588 if (SWIG_arg_fail(1)) SWIG_fail
;
28590 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28591 if (SWIG_arg_fail(2)) SWIG_fail
;
28592 if (arg2
== NULL
) {
28593 SWIG_null_ref("wxValidator");
28595 if (SWIG_arg_fail(2)) SWIG_fail
;
28598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28599 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
28601 wxPyEndAllowThreads(__tstate
);
28602 if (PyErr_Occurred()) SWIG_fail
;
28604 Py_INCREF(Py_None
); resultobj
= Py_None
;
28611 static PyObject
*_wrap_Window_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28612 PyObject
*resultobj
;
28613 wxWindow
*arg1
= (wxWindow
*) 0 ;
28614 wxValidator
*result
;
28615 PyObject
* obj0
= 0 ;
28616 char *kwnames
[] = {
28617 (char *) "self", NULL
28620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
28621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28622 if (SWIG_arg_fail(1)) SWIG_fail
;
28624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28625 result
= (wxValidator
*)(arg1
)->GetValidator();
28627 wxPyEndAllowThreads(__tstate
);
28628 if (PyErr_Occurred()) SWIG_fail
;
28631 resultobj
= wxPyMake_wxObject(result
, 0);
28639 static PyObject
*_wrap_Window_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28640 PyObject
*resultobj
;
28641 wxWindow
*arg1
= (wxWindow
*) 0 ;
28643 PyObject
* obj0
= 0 ;
28644 char *kwnames
[] = {
28645 (char *) "self", NULL
28648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
28649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28650 if (SWIG_arg_fail(1)) SWIG_fail
;
28652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28653 result
= (bool)(arg1
)->Validate();
28655 wxPyEndAllowThreads(__tstate
);
28656 if (PyErr_Occurred()) SWIG_fail
;
28659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28667 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28668 PyObject
*resultobj
;
28669 wxWindow
*arg1
= (wxWindow
*) 0 ;
28671 PyObject
* obj0
= 0 ;
28672 char *kwnames
[] = {
28673 (char *) "self", NULL
28676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
28677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28678 if (SWIG_arg_fail(1)) SWIG_fail
;
28680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28681 result
= (bool)(arg1
)->TransferDataToWindow();
28683 wxPyEndAllowThreads(__tstate
);
28684 if (PyErr_Occurred()) SWIG_fail
;
28687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28695 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28696 PyObject
*resultobj
;
28697 wxWindow
*arg1
= (wxWindow
*) 0 ;
28699 PyObject
* obj0
= 0 ;
28700 char *kwnames
[] = {
28701 (char *) "self", NULL
28704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
28705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28706 if (SWIG_arg_fail(1)) SWIG_fail
;
28708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28709 result
= (bool)(arg1
)->TransferDataFromWindow();
28711 wxPyEndAllowThreads(__tstate
);
28712 if (PyErr_Occurred()) SWIG_fail
;
28715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28723 static PyObject
*_wrap_Window_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28724 PyObject
*resultobj
;
28725 wxWindow
*arg1
= (wxWindow
*) 0 ;
28726 PyObject
* obj0
= 0 ;
28727 char *kwnames
[] = {
28728 (char *) "self", NULL
28731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
28732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28733 if (SWIG_arg_fail(1)) SWIG_fail
;
28735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28736 (arg1
)->InitDialog();
28738 wxPyEndAllowThreads(__tstate
);
28739 if (PyErr_Occurred()) SWIG_fail
;
28741 Py_INCREF(Py_None
); resultobj
= Py_None
;
28748 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28749 PyObject
*resultobj
;
28750 wxWindow
*arg1
= (wxWindow
*) 0 ;
28751 wxAcceleratorTable
*arg2
= 0 ;
28752 PyObject
* obj0
= 0 ;
28753 PyObject
* obj1
= 0 ;
28754 char *kwnames
[] = {
28755 (char *) "self",(char *) "accel", NULL
28758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
28759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28760 if (SWIG_arg_fail(1)) SWIG_fail
;
28762 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
28763 if (SWIG_arg_fail(2)) SWIG_fail
;
28764 if (arg2
== NULL
) {
28765 SWIG_null_ref("wxAcceleratorTable");
28767 if (SWIG_arg_fail(2)) SWIG_fail
;
28770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28771 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
28773 wxPyEndAllowThreads(__tstate
);
28774 if (PyErr_Occurred()) SWIG_fail
;
28776 Py_INCREF(Py_None
); resultobj
= Py_None
;
28783 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28784 PyObject
*resultobj
;
28785 wxWindow
*arg1
= (wxWindow
*) 0 ;
28786 wxAcceleratorTable
*result
;
28787 PyObject
* obj0
= 0 ;
28788 char *kwnames
[] = {
28789 (char *) "self", NULL
28792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
28793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28794 if (SWIG_arg_fail(1)) SWIG_fail
;
28796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28797 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
28799 wxPyEndAllowThreads(__tstate
);
28800 if (PyErr_Occurred()) SWIG_fail
;
28802 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
28809 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28810 PyObject
*resultobj
;
28811 wxWindow
*arg1
= (wxWindow
*) 0 ;
28816 PyObject
* obj0
= 0 ;
28817 PyObject
* obj1
= 0 ;
28818 PyObject
* obj2
= 0 ;
28819 PyObject
* obj3
= 0 ;
28820 char *kwnames
[] = {
28821 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
28824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28826 if (SWIG_arg_fail(1)) SWIG_fail
;
28828 arg2
= (int)(SWIG_As_int(obj1
));
28829 if (SWIG_arg_fail(2)) SWIG_fail
;
28832 arg3
= (int)(SWIG_As_int(obj2
));
28833 if (SWIG_arg_fail(3)) SWIG_fail
;
28836 arg4
= (int)(SWIG_As_int(obj3
));
28837 if (SWIG_arg_fail(4)) SWIG_fail
;
28840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28841 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
28843 wxPyEndAllowThreads(__tstate
);
28844 if (PyErr_Occurred()) SWIG_fail
;
28847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28855 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28856 PyObject
*resultobj
;
28857 wxWindow
*arg1
= (wxWindow
*) 0 ;
28860 PyObject
* obj0
= 0 ;
28861 PyObject
* obj1
= 0 ;
28862 char *kwnames
[] = {
28863 (char *) "self",(char *) "hotkeyId", NULL
28866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
28867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28868 if (SWIG_arg_fail(1)) SWIG_fail
;
28870 arg2
= (int)(SWIG_As_int(obj1
));
28871 if (SWIG_arg_fail(2)) SWIG_fail
;
28874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28875 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
28877 wxPyEndAllowThreads(__tstate
);
28878 if (PyErr_Occurred()) SWIG_fail
;
28881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28889 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28890 PyObject
*resultobj
;
28891 wxWindow
*arg1
= (wxWindow
*) 0 ;
28892 wxPoint
*arg2
= 0 ;
28895 PyObject
* obj0
= 0 ;
28896 PyObject
* obj1
= 0 ;
28897 char *kwnames
[] = {
28898 (char *) "self",(char *) "pt", NULL
28901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28903 if (SWIG_arg_fail(1)) SWIG_fail
;
28906 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28910 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28912 wxPyEndAllowThreads(__tstate
);
28913 if (PyErr_Occurred()) SWIG_fail
;
28916 wxPoint
* resultptr
;
28917 resultptr
= new wxPoint((wxPoint
&)(result
));
28918 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28926 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28927 PyObject
*resultobj
;
28928 wxWindow
*arg1
= (wxWindow
*) 0 ;
28932 PyObject
* obj0
= 0 ;
28933 PyObject
* obj1
= 0 ;
28934 char *kwnames
[] = {
28935 (char *) "self",(char *) "sz", NULL
28938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28940 if (SWIG_arg_fail(1)) SWIG_fail
;
28943 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28947 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
28949 wxPyEndAllowThreads(__tstate
);
28950 if (PyErr_Occurred()) SWIG_fail
;
28953 wxSize
* resultptr
;
28954 resultptr
= new wxSize((wxSize
&)(result
));
28955 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28963 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28964 PyObject
*resultobj
;
28965 wxWindow
*arg1
= (wxWindow
*) 0 ;
28966 wxPoint
*arg2
= 0 ;
28969 PyObject
* obj0
= 0 ;
28970 PyObject
* obj1
= 0 ;
28971 char *kwnames
[] = {
28972 (char *) "self",(char *) "pt", NULL
28975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
28976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28977 if (SWIG_arg_fail(1)) SWIG_fail
;
28980 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28984 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28986 wxPyEndAllowThreads(__tstate
);
28987 if (PyErr_Occurred()) SWIG_fail
;
28990 wxPoint
* resultptr
;
28991 resultptr
= new wxPoint((wxPoint
&)(result
));
28992 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29000 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29001 PyObject
*resultobj
;
29002 wxWindow
*arg1
= (wxWindow
*) 0 ;
29006 PyObject
* obj0
= 0 ;
29007 PyObject
* obj1
= 0 ;
29008 char *kwnames
[] = {
29009 (char *) "self",(char *) "sz", NULL
29012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
29013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29014 if (SWIG_arg_fail(1)) SWIG_fail
;
29017 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29021 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
29023 wxPyEndAllowThreads(__tstate
);
29024 if (PyErr_Occurred()) SWIG_fail
;
29027 wxSize
* resultptr
;
29028 resultptr
= new wxSize((wxSize
&)(result
));
29029 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29037 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29038 PyObject
*resultobj
;
29039 wxWindow
*arg1
= (wxWindow
*) 0 ;
29040 wxPoint
*arg2
= 0 ;
29043 PyObject
* obj0
= 0 ;
29044 PyObject
* obj1
= 0 ;
29045 char *kwnames
[] = {
29046 (char *) "self",(char *) "pt", NULL
29049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
29050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29051 if (SWIG_arg_fail(1)) SWIG_fail
;
29054 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29058 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
29060 wxPyEndAllowThreads(__tstate
);
29061 if (PyErr_Occurred()) SWIG_fail
;
29064 wxPoint
* resultptr
;
29065 resultptr
= new wxPoint((wxPoint
&)(result
));
29066 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29074 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29075 PyObject
*resultobj
;
29076 wxWindow
*arg1
= (wxWindow
*) 0 ;
29080 PyObject
* obj0
= 0 ;
29081 PyObject
* obj1
= 0 ;
29082 char *kwnames
[] = {
29083 (char *) "self",(char *) "sz", NULL
29086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
29087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29088 if (SWIG_arg_fail(1)) SWIG_fail
;
29091 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29095 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
29097 wxPyEndAllowThreads(__tstate
);
29098 if (PyErr_Occurred()) SWIG_fail
;
29101 wxSize
* resultptr
;
29102 resultptr
= new wxSize((wxSize
&)(result
));
29103 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29111 static PyObject
*_wrap_Window_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29112 PyObject
*resultobj
;
29113 wxWindow
*arg1
= (wxWindow
*) 0 ;
29116 PyObject
* obj0
= 0 ;
29117 PyObject
* obj1
= 0 ;
29118 PyObject
* obj2
= 0 ;
29119 char *kwnames
[] = {
29120 (char *) "self",(char *) "x",(char *) "y", NULL
29123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29125 if (SWIG_arg_fail(1)) SWIG_fail
;
29127 arg2
= (int)(SWIG_As_int(obj1
));
29128 if (SWIG_arg_fail(2)) SWIG_fail
;
29131 arg3
= (int)(SWIG_As_int(obj2
));
29132 if (SWIG_arg_fail(3)) SWIG_fail
;
29135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29136 (arg1
)->WarpPointer(arg2
,arg3
);
29138 wxPyEndAllowThreads(__tstate
);
29139 if (PyErr_Occurred()) SWIG_fail
;
29141 Py_INCREF(Py_None
); resultobj
= Py_None
;
29148 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29149 PyObject
*resultobj
;
29150 wxWindow
*arg1
= (wxWindow
*) 0 ;
29151 PyObject
* obj0
= 0 ;
29152 char *kwnames
[] = {
29153 (char *) "self", NULL
29156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
29157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29158 if (SWIG_arg_fail(1)) SWIG_fail
;
29160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29161 (arg1
)->CaptureMouse();
29163 wxPyEndAllowThreads(__tstate
);
29164 if (PyErr_Occurred()) SWIG_fail
;
29166 Py_INCREF(Py_None
); resultobj
= Py_None
;
29173 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29174 PyObject
*resultobj
;
29175 wxWindow
*arg1
= (wxWindow
*) 0 ;
29176 PyObject
* obj0
= 0 ;
29177 char *kwnames
[] = {
29178 (char *) "self", NULL
29181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
29182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29183 if (SWIG_arg_fail(1)) SWIG_fail
;
29185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29186 (arg1
)->ReleaseMouse();
29188 wxPyEndAllowThreads(__tstate
);
29189 if (PyErr_Occurred()) SWIG_fail
;
29191 Py_INCREF(Py_None
); resultobj
= Py_None
;
29198 static PyObject
*_wrap_Window_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29199 PyObject
*resultobj
;
29201 char *kwnames
[] = {
29205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
29207 if (!wxPyCheckForApp()) SWIG_fail
;
29208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29209 result
= (wxWindow
*)wxWindow::GetCapture();
29211 wxPyEndAllowThreads(__tstate
);
29212 if (PyErr_Occurred()) SWIG_fail
;
29215 resultobj
= wxPyMake_wxObject(result
, 0);
29223 static PyObject
*_wrap_Window_HasCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29224 PyObject
*resultobj
;
29225 wxWindow
*arg1
= (wxWindow
*) 0 ;
29227 PyObject
* obj0
= 0 ;
29228 char *kwnames
[] = {
29229 (char *) "self", NULL
29232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
29233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29234 if (SWIG_arg_fail(1)) SWIG_fail
;
29236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29237 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
29239 wxPyEndAllowThreads(__tstate
);
29240 if (PyErr_Occurred()) SWIG_fail
;
29243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29251 static PyObject
*_wrap_Window_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29252 PyObject
*resultobj
;
29253 wxWindow
*arg1
= (wxWindow
*) 0 ;
29254 bool arg2
= (bool) true ;
29255 wxRect
*arg3
= (wxRect
*) NULL
;
29256 PyObject
* obj0
= 0 ;
29257 PyObject
* obj1
= 0 ;
29258 PyObject
* obj2
= 0 ;
29259 char *kwnames
[] = {
29260 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
29263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29265 if (SWIG_arg_fail(1)) SWIG_fail
;
29268 arg2
= (bool)(SWIG_As_bool(obj1
));
29269 if (SWIG_arg_fail(2)) SWIG_fail
;
29273 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
29274 if (SWIG_arg_fail(3)) SWIG_fail
;
29277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29278 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
29280 wxPyEndAllowThreads(__tstate
);
29281 if (PyErr_Occurred()) SWIG_fail
;
29283 Py_INCREF(Py_None
); resultobj
= Py_None
;
29290 static PyObject
*_wrap_Window_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29291 PyObject
*resultobj
;
29292 wxWindow
*arg1
= (wxWindow
*) 0 ;
29294 bool arg3
= (bool) true ;
29296 PyObject
* obj0
= 0 ;
29297 PyObject
* obj1
= 0 ;
29298 PyObject
* obj2
= 0 ;
29299 char *kwnames
[] = {
29300 (char *) "self",(char *) "rect",(char *) "eraseBackground", NULL
29303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_RefreshRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29305 if (SWIG_arg_fail(1)) SWIG_fail
;
29308 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29312 arg3
= (bool)(SWIG_As_bool(obj2
));
29313 if (SWIG_arg_fail(3)) SWIG_fail
;
29317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29318 (arg1
)->RefreshRect((wxRect
const &)*arg2
,arg3
);
29320 wxPyEndAllowThreads(__tstate
);
29321 if (PyErr_Occurred()) SWIG_fail
;
29323 Py_INCREF(Py_None
); resultobj
= Py_None
;
29330 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29331 PyObject
*resultobj
;
29332 wxWindow
*arg1
= (wxWindow
*) 0 ;
29333 PyObject
* obj0
= 0 ;
29334 char *kwnames
[] = {
29335 (char *) "self", NULL
29338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
29339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29340 if (SWIG_arg_fail(1)) SWIG_fail
;
29342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29345 wxPyEndAllowThreads(__tstate
);
29346 if (PyErr_Occurred()) SWIG_fail
;
29348 Py_INCREF(Py_None
); resultobj
= Py_None
;
29355 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29356 PyObject
*resultobj
;
29357 wxWindow
*arg1
= (wxWindow
*) 0 ;
29358 PyObject
* obj0
= 0 ;
29359 char *kwnames
[] = {
29360 (char *) "self", NULL
29363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
29364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29365 if (SWIG_arg_fail(1)) SWIG_fail
;
29367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29368 (arg1
)->ClearBackground();
29370 wxPyEndAllowThreads(__tstate
);
29371 if (PyErr_Occurred()) SWIG_fail
;
29373 Py_INCREF(Py_None
); resultobj
= Py_None
;
29380 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29381 PyObject
*resultobj
;
29382 wxWindow
*arg1
= (wxWindow
*) 0 ;
29383 PyObject
* obj0
= 0 ;
29384 char *kwnames
[] = {
29385 (char *) "self", NULL
29388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
29389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29390 if (SWIG_arg_fail(1)) SWIG_fail
;
29392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29395 wxPyEndAllowThreads(__tstate
);
29396 if (PyErr_Occurred()) SWIG_fail
;
29398 Py_INCREF(Py_None
); resultobj
= Py_None
;
29405 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29406 PyObject
*resultobj
;
29407 wxWindow
*arg1
= (wxWindow
*) 0 ;
29408 PyObject
* obj0
= 0 ;
29409 char *kwnames
[] = {
29410 (char *) "self", NULL
29413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
29414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29415 if (SWIG_arg_fail(1)) SWIG_fail
;
29417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29420 wxPyEndAllowThreads(__tstate
);
29421 if (PyErr_Occurred()) SWIG_fail
;
29423 Py_INCREF(Py_None
); resultobj
= Py_None
;
29430 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29431 PyObject
*resultobj
;
29432 wxWindow
*arg1
= (wxWindow
*) 0 ;
29434 PyObject
* obj0
= 0 ;
29435 PyObject
* obj1
= 0 ;
29436 char *kwnames
[] = {
29437 (char *) "self",(char *) "dc", NULL
29440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
29441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29442 if (SWIG_arg_fail(1)) SWIG_fail
;
29444 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
29445 if (SWIG_arg_fail(2)) SWIG_fail
;
29446 if (arg2
== NULL
) {
29447 SWIG_null_ref("wxDC");
29449 if (SWIG_arg_fail(2)) SWIG_fail
;
29452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29453 (arg1
)->PrepareDC(*arg2
);
29455 wxPyEndAllowThreads(__tstate
);
29456 if (PyErr_Occurred()) SWIG_fail
;
29458 Py_INCREF(Py_None
); resultobj
= Py_None
;
29465 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29466 PyObject
*resultobj
;
29467 wxWindow
*arg1
= (wxWindow
*) 0 ;
29469 PyObject
* obj0
= 0 ;
29470 char *kwnames
[] = {
29471 (char *) "self", NULL
29474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
29475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29476 if (SWIG_arg_fail(1)) SWIG_fail
;
29478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29480 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
29481 result
= (wxRegion
*) &_result_ref
;
29484 wxPyEndAllowThreads(__tstate
);
29485 if (PyErr_Occurred()) SWIG_fail
;
29487 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
29494 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29495 PyObject
*resultobj
;
29496 wxWindow
*arg1
= (wxWindow
*) 0 ;
29498 PyObject
* obj0
= 0 ;
29499 char *kwnames
[] = {
29500 (char *) "self", NULL
29503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
29504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29505 if (SWIG_arg_fail(1)) SWIG_fail
;
29507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29508 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
29510 wxPyEndAllowThreads(__tstate
);
29511 if (PyErr_Occurred()) SWIG_fail
;
29514 wxRect
* resultptr
;
29515 resultptr
= new wxRect((wxRect
&)(result
));
29516 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
29524 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29525 PyObject
*resultobj
;
29526 wxWindow
*arg1
= (wxWindow
*) 0 ;
29529 int arg4
= (int) 1 ;
29530 int arg5
= (int) 1 ;
29532 PyObject
* obj0
= 0 ;
29533 PyObject
* obj1
= 0 ;
29534 PyObject
* obj2
= 0 ;
29535 PyObject
* obj3
= 0 ;
29536 PyObject
* obj4
= 0 ;
29537 char *kwnames
[] = {
29538 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29543 if (SWIG_arg_fail(1)) SWIG_fail
;
29545 arg2
= (int)(SWIG_As_int(obj1
));
29546 if (SWIG_arg_fail(2)) SWIG_fail
;
29549 arg3
= (int)(SWIG_As_int(obj2
));
29550 if (SWIG_arg_fail(3)) SWIG_fail
;
29554 arg4
= (int)(SWIG_As_int(obj3
));
29555 if (SWIG_arg_fail(4)) SWIG_fail
;
29560 arg5
= (int)(SWIG_As_int(obj4
));
29561 if (SWIG_arg_fail(5)) SWIG_fail
;
29565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29566 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
29568 wxPyEndAllowThreads(__tstate
);
29569 if (PyErr_Occurred()) SWIG_fail
;
29572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29580 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29581 PyObject
*resultobj
;
29582 wxWindow
*arg1
= (wxWindow
*) 0 ;
29583 wxPoint
*arg2
= 0 ;
29586 PyObject
* obj0
= 0 ;
29587 PyObject
* obj1
= 0 ;
29588 char *kwnames
[] = {
29589 (char *) "self",(char *) "pt", NULL
29592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
29593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29594 if (SWIG_arg_fail(1)) SWIG_fail
;
29597 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29601 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
29603 wxPyEndAllowThreads(__tstate
);
29604 if (PyErr_Occurred()) SWIG_fail
;
29607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29615 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29616 PyObject
*resultobj
;
29617 wxWindow
*arg1
= (wxWindow
*) 0 ;
29621 PyObject
* obj0
= 0 ;
29622 PyObject
* obj1
= 0 ;
29623 char *kwnames
[] = {
29624 (char *) "self",(char *) "rect", NULL
29627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
29628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29629 if (SWIG_arg_fail(1)) SWIG_fail
;
29632 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29636 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
29638 wxPyEndAllowThreads(__tstate
);
29639 if (PyErr_Occurred()) SWIG_fail
;
29642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29650 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29651 PyObject
*resultobj
;
29652 wxWindow
*arg1
= (wxWindow
*) 0 ;
29653 wxVisualAttributes result
;
29654 PyObject
* obj0
= 0 ;
29655 char *kwnames
[] = {
29656 (char *) "self", NULL
29659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29661 if (SWIG_arg_fail(1)) SWIG_fail
;
29663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29664 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
29666 wxPyEndAllowThreads(__tstate
);
29667 if (PyErr_Occurred()) SWIG_fail
;
29670 wxVisualAttributes
* resultptr
;
29671 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
29672 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29680 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29681 PyObject
*resultobj
;
29682 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
29683 wxVisualAttributes result
;
29684 PyObject
* obj0
= 0 ;
29685 char *kwnames
[] = {
29686 (char *) "variant", NULL
29689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29692 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
29693 if (SWIG_arg_fail(1)) SWIG_fail
;
29697 if (!wxPyCheckForApp()) SWIG_fail
;
29698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29699 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
29701 wxPyEndAllowThreads(__tstate
);
29702 if (PyErr_Occurred()) SWIG_fail
;
29705 wxVisualAttributes
* resultptr
;
29706 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
29707 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29715 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29716 PyObject
*resultobj
;
29717 wxWindow
*arg1
= (wxWindow
*) 0 ;
29718 wxColour
*arg2
= 0 ;
29721 PyObject
* obj0
= 0 ;
29722 PyObject
* obj1
= 0 ;
29723 char *kwnames
[] = {
29724 (char *) "self",(char *) "colour", NULL
29727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29729 if (SWIG_arg_fail(1)) SWIG_fail
;
29732 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29736 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
29738 wxPyEndAllowThreads(__tstate
);
29739 if (PyErr_Occurred()) SWIG_fail
;
29742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29750 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29751 PyObject
*resultobj
;
29752 wxWindow
*arg1
= (wxWindow
*) 0 ;
29753 wxColour
*arg2
= 0 ;
29755 PyObject
* obj0
= 0 ;
29756 PyObject
* obj1
= 0 ;
29757 char *kwnames
[] = {
29758 (char *) "self",(char *) "colour", NULL
29761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) 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 ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29770 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
29772 wxPyEndAllowThreads(__tstate
);
29773 if (PyErr_Occurred()) SWIG_fail
;
29775 Py_INCREF(Py_None
); resultobj
= Py_None
;
29782 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29783 PyObject
*resultobj
;
29784 wxWindow
*arg1
= (wxWindow
*) 0 ;
29785 wxColour
*arg2
= 0 ;
29788 PyObject
* obj0
= 0 ;
29789 PyObject
* obj1
= 0 ;
29790 char *kwnames
[] = {
29791 (char *) "self",(char *) "colour", NULL
29794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29796 if (SWIG_arg_fail(1)) SWIG_fail
;
29799 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29803 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
29805 wxPyEndAllowThreads(__tstate
);
29806 if (PyErr_Occurred()) SWIG_fail
;
29809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29817 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29818 PyObject
*resultobj
;
29819 wxWindow
*arg1
= (wxWindow
*) 0 ;
29820 wxColour
*arg2
= 0 ;
29822 PyObject
* obj0
= 0 ;
29823 PyObject
* obj1
= 0 ;
29824 char *kwnames
[] = {
29825 (char *) "self",(char *) "colour", NULL
29828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29830 if (SWIG_arg_fail(1)) SWIG_fail
;
29833 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29837 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
29839 wxPyEndAllowThreads(__tstate
);
29840 if (PyErr_Occurred()) SWIG_fail
;
29842 Py_INCREF(Py_None
); resultobj
= Py_None
;
29849 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29850 PyObject
*resultobj
;
29851 wxWindow
*arg1
= (wxWindow
*) 0 ;
29853 PyObject
* obj0
= 0 ;
29854 char *kwnames
[] = {
29855 (char *) "self", NULL
29858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
29859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29860 if (SWIG_arg_fail(1)) SWIG_fail
;
29862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29863 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
29865 wxPyEndAllowThreads(__tstate
);
29866 if (PyErr_Occurred()) SWIG_fail
;
29869 wxColour
* resultptr
;
29870 resultptr
= new wxColour((wxColour
&)(result
));
29871 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29879 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29880 PyObject
*resultobj
;
29881 wxWindow
*arg1
= (wxWindow
*) 0 ;
29883 PyObject
* obj0
= 0 ;
29884 char *kwnames
[] = {
29885 (char *) "self", NULL
29888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
29889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29890 if (SWIG_arg_fail(1)) SWIG_fail
;
29892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29893 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
29895 wxPyEndAllowThreads(__tstate
);
29896 if (PyErr_Occurred()) SWIG_fail
;
29899 wxColour
* resultptr
;
29900 resultptr
= new wxColour((wxColour
&)(result
));
29901 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29909 static PyObject
*_wrap_Window_InheritsBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29910 PyObject
*resultobj
;
29911 wxWindow
*arg1
= (wxWindow
*) 0 ;
29913 PyObject
* obj0
= 0 ;
29914 char *kwnames
[] = {
29915 (char *) "self", NULL
29918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritsBackgroundColour",kwnames
,&obj0
)) goto fail
;
29919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29920 if (SWIG_arg_fail(1)) SWIG_fail
;
29922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29923 result
= (bool)((wxWindow
const *)arg1
)->InheritsBackgroundColour();
29925 wxPyEndAllowThreads(__tstate
);
29926 if (PyErr_Occurred()) SWIG_fail
;
29929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29937 static PyObject
*_wrap_Window_UseBgCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29938 PyObject
*resultobj
;
29939 wxWindow
*arg1
= (wxWindow
*) 0 ;
29941 PyObject
* obj0
= 0 ;
29942 char *kwnames
[] = {
29943 (char *) "self", NULL
29946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_UseBgCol",kwnames
,&obj0
)) goto fail
;
29947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29948 if (SWIG_arg_fail(1)) SWIG_fail
;
29950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29951 result
= (bool)((wxWindow
const *)arg1
)->UseBgCol();
29953 wxPyEndAllowThreads(__tstate
);
29954 if (PyErr_Occurred()) SWIG_fail
;
29957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29965 static PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29966 PyObject
*resultobj
;
29967 wxWindow
*arg1
= (wxWindow
*) 0 ;
29968 wxBackgroundStyle arg2
;
29970 PyObject
* obj0
= 0 ;
29971 PyObject
* obj1
= 0 ;
29972 char *kwnames
[] = {
29973 (char *) "self",(char *) "style", NULL
29976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
29977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29978 if (SWIG_arg_fail(1)) SWIG_fail
;
29980 arg2
= (wxBackgroundStyle
)(SWIG_As_int(obj1
));
29981 if (SWIG_arg_fail(2)) SWIG_fail
;
29984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29985 result
= (bool)(arg1
)->SetBackgroundStyle((wxBackgroundStyle
)arg2
);
29987 wxPyEndAllowThreads(__tstate
);
29988 if (PyErr_Occurred()) SWIG_fail
;
29991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29999 static PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30000 PyObject
*resultobj
;
30001 wxWindow
*arg1
= (wxWindow
*) 0 ;
30002 wxBackgroundStyle result
;
30003 PyObject
* obj0
= 0 ;
30004 char *kwnames
[] = {
30005 (char *) "self", NULL
30008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundStyle",kwnames
,&obj0
)) goto fail
;
30009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30010 if (SWIG_arg_fail(1)) SWIG_fail
;
30012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30013 result
= (wxBackgroundStyle
)((wxWindow
const *)arg1
)->GetBackgroundStyle();
30015 wxPyEndAllowThreads(__tstate
);
30016 if (PyErr_Occurred()) SWIG_fail
;
30018 resultobj
= SWIG_From_int((result
));
30025 static PyObject
*_wrap_Window_HasTransparentBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30026 PyObject
*resultobj
;
30027 wxWindow
*arg1
= (wxWindow
*) 0 ;
30029 PyObject
* obj0
= 0 ;
30030 char *kwnames
[] = {
30031 (char *) "self", NULL
30034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasTransparentBackground",kwnames
,&obj0
)) goto fail
;
30035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30036 if (SWIG_arg_fail(1)) SWIG_fail
;
30038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30039 result
= (bool)(arg1
)->HasTransparentBackground();
30041 wxPyEndAllowThreads(__tstate
);
30042 if (PyErr_Occurred()) SWIG_fail
;
30045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30053 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30054 PyObject
*resultobj
;
30055 wxWindow
*arg1
= (wxWindow
*) 0 ;
30056 wxCursor
*arg2
= 0 ;
30058 PyObject
* obj0
= 0 ;
30059 PyObject
* obj1
= 0 ;
30060 char *kwnames
[] = {
30061 (char *) "self",(char *) "cursor", NULL
30064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
30065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30066 if (SWIG_arg_fail(1)) SWIG_fail
;
30068 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
30069 if (SWIG_arg_fail(2)) SWIG_fail
;
30070 if (arg2
== NULL
) {
30071 SWIG_null_ref("wxCursor");
30073 if (SWIG_arg_fail(2)) SWIG_fail
;
30076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30077 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
30079 wxPyEndAllowThreads(__tstate
);
30080 if (PyErr_Occurred()) SWIG_fail
;
30083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30091 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30092 PyObject
*resultobj
;
30093 wxWindow
*arg1
= (wxWindow
*) 0 ;
30095 PyObject
* obj0
= 0 ;
30096 char *kwnames
[] = {
30097 (char *) "self", NULL
30100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
30101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30102 if (SWIG_arg_fail(1)) SWIG_fail
;
30104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30105 result
= (arg1
)->GetCursor();
30107 wxPyEndAllowThreads(__tstate
);
30108 if (PyErr_Occurred()) SWIG_fail
;
30111 wxCursor
* resultptr
;
30112 resultptr
= new wxCursor((wxCursor
&)(result
));
30113 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
30121 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30122 PyObject
*resultobj
;
30123 wxWindow
*arg1
= (wxWindow
*) 0 ;
30126 PyObject
* obj0
= 0 ;
30127 PyObject
* obj1
= 0 ;
30128 char *kwnames
[] = {
30129 (char *) "self",(char *) "font", NULL
30132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
30133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30134 if (SWIG_arg_fail(1)) SWIG_fail
;
30136 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30137 if (SWIG_arg_fail(2)) SWIG_fail
;
30138 if (arg2
== NULL
) {
30139 SWIG_null_ref("wxFont");
30141 if (SWIG_arg_fail(2)) SWIG_fail
;
30144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30145 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
30147 wxPyEndAllowThreads(__tstate
);
30148 if (PyErr_Occurred()) SWIG_fail
;
30151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30159 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30160 PyObject
*resultobj
;
30161 wxWindow
*arg1
= (wxWindow
*) 0 ;
30163 PyObject
* obj0
= 0 ;
30164 PyObject
* obj1
= 0 ;
30165 char *kwnames
[] = {
30166 (char *) "self",(char *) "font", NULL
30169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
30170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30171 if (SWIG_arg_fail(1)) SWIG_fail
;
30173 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30174 if (SWIG_arg_fail(2)) SWIG_fail
;
30175 if (arg2
== NULL
) {
30176 SWIG_null_ref("wxFont");
30178 if (SWIG_arg_fail(2)) SWIG_fail
;
30181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30182 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
30184 wxPyEndAllowThreads(__tstate
);
30185 if (PyErr_Occurred()) SWIG_fail
;
30187 Py_INCREF(Py_None
); resultobj
= Py_None
;
30194 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30195 PyObject
*resultobj
;
30196 wxWindow
*arg1
= (wxWindow
*) 0 ;
30198 PyObject
* obj0
= 0 ;
30199 char *kwnames
[] = {
30200 (char *) "self", NULL
30203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
30204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30205 if (SWIG_arg_fail(1)) SWIG_fail
;
30207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30208 result
= (arg1
)->GetFont();
30210 wxPyEndAllowThreads(__tstate
);
30211 if (PyErr_Occurred()) SWIG_fail
;
30214 wxFont
* resultptr
;
30215 resultptr
= new wxFont((wxFont
&)(result
));
30216 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
30224 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30225 PyObject
*resultobj
;
30226 wxWindow
*arg1
= (wxWindow
*) 0 ;
30227 wxCaret
*arg2
= (wxCaret
*) 0 ;
30228 PyObject
* obj0
= 0 ;
30229 PyObject
* obj1
= 0 ;
30230 char *kwnames
[] = {
30231 (char *) "self",(char *) "caret", NULL
30234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
30235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30236 if (SWIG_arg_fail(1)) SWIG_fail
;
30237 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
30238 if (SWIG_arg_fail(2)) SWIG_fail
;
30240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30241 (arg1
)->SetCaret(arg2
);
30243 wxPyEndAllowThreads(__tstate
);
30244 if (PyErr_Occurred()) SWIG_fail
;
30246 Py_INCREF(Py_None
); resultobj
= Py_None
;
30253 static PyObject
*_wrap_Window_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30254 PyObject
*resultobj
;
30255 wxWindow
*arg1
= (wxWindow
*) 0 ;
30257 PyObject
* obj0
= 0 ;
30258 char *kwnames
[] = {
30259 (char *) "self", NULL
30262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
30263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30264 if (SWIG_arg_fail(1)) SWIG_fail
;
30266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30267 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
30269 wxPyEndAllowThreads(__tstate
);
30270 if (PyErr_Occurred()) SWIG_fail
;
30272 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
30279 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30280 PyObject
*resultobj
;
30281 wxWindow
*arg1
= (wxWindow
*) 0 ;
30283 PyObject
* obj0
= 0 ;
30284 char *kwnames
[] = {
30285 (char *) "self", NULL
30288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
30289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30290 if (SWIG_arg_fail(1)) SWIG_fail
;
30292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30293 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
30295 wxPyEndAllowThreads(__tstate
);
30296 if (PyErr_Occurred()) SWIG_fail
;
30299 resultobj
= SWIG_From_int((int)(result
));
30307 static PyObject
*_wrap_Window_GetCharWidth(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_GetCharWidth",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
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
30323 wxPyEndAllowThreads(__tstate
);
30324 if (PyErr_Occurred()) SWIG_fail
;
30327 resultobj
= SWIG_From_int((int)(result
));
30335 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30336 PyObject
*resultobj
;
30337 wxWindow
*arg1
= (wxWindow
*) 0 ;
30338 wxString
*arg2
= 0 ;
30339 int *arg3
= (int *) 0 ;
30340 int *arg4
= (int *) 0 ;
30341 bool temp2
= false ;
30346 PyObject
* obj0
= 0 ;
30347 PyObject
* obj1
= 0 ;
30348 char *kwnames
[] = {
30349 (char *) "self",(char *) "string", NULL
30352 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30353 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
30354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
30355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30356 if (SWIG_arg_fail(1)) SWIG_fail
;
30358 arg2
= wxString_in_helper(obj1
);
30359 if (arg2
== NULL
) SWIG_fail
;
30363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30364 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
30366 wxPyEndAllowThreads(__tstate
);
30367 if (PyErr_Occurred()) SWIG_fail
;
30369 Py_INCREF(Py_None
); resultobj
= Py_None
;
30370 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30371 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30372 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
30373 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
30388 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30389 PyObject
*resultobj
;
30390 wxWindow
*arg1
= (wxWindow
*) 0 ;
30391 wxString
*arg2
= 0 ;
30392 int *arg3
= (int *) 0 ;
30393 int *arg4
= (int *) 0 ;
30394 int *arg5
= (int *) 0 ;
30395 int *arg6
= (int *) 0 ;
30396 wxFont
*arg7
= (wxFont
*) NULL
;
30397 bool temp2
= false ;
30406 PyObject
* obj0
= 0 ;
30407 PyObject
* obj1
= 0 ;
30408 PyObject
* obj2
= 0 ;
30409 char *kwnames
[] = {
30410 (char *) "self",(char *) "string",(char *) "font", NULL
30413 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30414 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
30415 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
30416 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
30417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30419 if (SWIG_arg_fail(1)) SWIG_fail
;
30421 arg2
= wxString_in_helper(obj1
);
30422 if (arg2
== NULL
) SWIG_fail
;
30426 SWIG_Python_ConvertPtr(obj2
, (void **)&arg7
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30427 if (SWIG_arg_fail(7)) SWIG_fail
;
30430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30431 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
30433 wxPyEndAllowThreads(__tstate
);
30434 if (PyErr_Occurred()) SWIG_fail
;
30436 Py_INCREF(Py_None
); resultobj
= Py_None
;
30437 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30438 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30439 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
30440 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
30441 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
30442 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
30443 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
30444 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
30459 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30460 PyObject
*resultobj
;
30461 wxWindow
*arg1
= (wxWindow
*) 0 ;
30462 int *arg2
= (int *) 0 ;
30463 int *arg3
= (int *) 0 ;
30468 PyObject
* obj0
= 0 ;
30469 PyObject
* obj1
= 0 ;
30470 PyObject
* obj2
= 0 ;
30471 char *kwnames
[] = {
30472 (char *) "self",(char *) "x",(char *) "y", NULL
30475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30477 if (SWIG_arg_fail(1)) SWIG_fail
;
30479 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
30480 temp2
= SWIG_As_int(obj1
);
30481 if (SWIG_arg_fail(2)) SWIG_fail
;
30483 res2
= SWIG_NEWOBJ
;
30487 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
30488 temp3
= SWIG_As_int(obj2
);
30489 if (SWIG_arg_fail(3)) SWIG_fail
;
30491 res3
= SWIG_NEWOBJ
;
30495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30496 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
30498 wxPyEndAllowThreads(__tstate
);
30499 if (PyErr_Occurred()) SWIG_fail
;
30501 Py_INCREF(Py_None
); resultobj
= Py_None
;
30502 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30503 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30504 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30505 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30512 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30513 PyObject
*resultobj
;
30514 wxWindow
*arg1
= (wxWindow
*) 0 ;
30515 int *arg2
= (int *) 0 ;
30516 int *arg3
= (int *) 0 ;
30521 PyObject
* obj0
= 0 ;
30522 PyObject
* obj1
= 0 ;
30523 PyObject
* obj2
= 0 ;
30524 char *kwnames
[] = {
30525 (char *) "self",(char *) "x",(char *) "y", NULL
30528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30530 if (SWIG_arg_fail(1)) SWIG_fail
;
30532 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
30533 temp2
= SWIG_As_int(obj1
);
30534 if (SWIG_arg_fail(2)) SWIG_fail
;
30536 res2
= SWIG_NEWOBJ
;
30540 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
30541 temp3
= SWIG_As_int(obj2
);
30542 if (SWIG_arg_fail(3)) SWIG_fail
;
30544 res3
= SWIG_NEWOBJ
;
30548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30549 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
30551 wxPyEndAllowThreads(__tstate
);
30552 if (PyErr_Occurred()) SWIG_fail
;
30554 Py_INCREF(Py_None
); resultobj
= Py_None
;
30555 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30556 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30557 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30558 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30565 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30566 PyObject
*resultobj
;
30567 wxWindow
*arg1
= (wxWindow
*) 0 ;
30568 wxPoint
*arg2
= 0 ;
30571 PyObject
* obj0
= 0 ;
30572 PyObject
* obj1
= 0 ;
30573 char *kwnames
[] = {
30574 (char *) "self",(char *) "pt", NULL
30577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
30578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30579 if (SWIG_arg_fail(1)) SWIG_fail
;
30582 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30586 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
30588 wxPyEndAllowThreads(__tstate
);
30589 if (PyErr_Occurred()) SWIG_fail
;
30592 wxPoint
* resultptr
;
30593 resultptr
= new wxPoint((wxPoint
&)(result
));
30594 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30602 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30603 PyObject
*resultobj
;
30604 wxWindow
*arg1
= (wxWindow
*) 0 ;
30605 wxPoint
*arg2
= 0 ;
30608 PyObject
* obj0
= 0 ;
30609 PyObject
* obj1
= 0 ;
30610 char *kwnames
[] = {
30611 (char *) "self",(char *) "pt", NULL
30614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
30615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30616 if (SWIG_arg_fail(1)) SWIG_fail
;
30619 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30623 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
30625 wxPyEndAllowThreads(__tstate
);
30626 if (PyErr_Occurred()) SWIG_fail
;
30629 wxPoint
* resultptr
;
30630 resultptr
= new wxPoint((wxPoint
&)(result
));
30631 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30639 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30640 PyObject
*resultobj
;
30641 wxWindow
*arg1
= (wxWindow
*) 0 ;
30645 PyObject
* obj0
= 0 ;
30646 PyObject
* obj1
= 0 ;
30647 PyObject
* obj2
= 0 ;
30648 char *kwnames
[] = {
30649 (char *) "self",(char *) "x",(char *) "y", NULL
30652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30654 if (SWIG_arg_fail(1)) SWIG_fail
;
30656 arg2
= (int)(SWIG_As_int(obj1
));
30657 if (SWIG_arg_fail(2)) SWIG_fail
;
30660 arg3
= (int)(SWIG_As_int(obj2
));
30661 if (SWIG_arg_fail(3)) SWIG_fail
;
30664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30665 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
30667 wxPyEndAllowThreads(__tstate
);
30668 if (PyErr_Occurred()) SWIG_fail
;
30670 resultobj
= SWIG_From_int((result
));
30677 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30678 PyObject
*resultobj
;
30679 wxWindow
*arg1
= (wxWindow
*) 0 ;
30680 wxPoint
*arg2
= 0 ;
30683 PyObject
* obj0
= 0 ;
30684 PyObject
* obj1
= 0 ;
30685 char *kwnames
[] = {
30686 (char *) "self",(char *) "pt", NULL
30689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
30690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30691 if (SWIG_arg_fail(1)) SWIG_fail
;
30694 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30698 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
30700 wxPyEndAllowThreads(__tstate
);
30701 if (PyErr_Occurred()) SWIG_fail
;
30703 resultobj
= SWIG_From_int((result
));
30710 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
30711 PyObject
*resultobj
;
30712 wxWindow
*arg1
= (wxWindow
*) 0 ;
30715 PyObject
* obj0
= 0 ;
30716 PyObject
* obj1
= 0 ;
30718 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
30719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30720 if (SWIG_arg_fail(1)) SWIG_fail
;
30722 arg2
= (long)(SWIG_As_long(obj1
));
30723 if (SWIG_arg_fail(2)) SWIG_fail
;
30726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30727 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder(arg2
);
30729 wxPyEndAllowThreads(__tstate
);
30730 if (PyErr_Occurred()) SWIG_fail
;
30732 resultobj
= SWIG_From_int((result
));
30739 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
30740 PyObject
*resultobj
;
30741 wxWindow
*arg1
= (wxWindow
*) 0 ;
30743 PyObject
* obj0
= 0 ;
30745 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
30746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30747 if (SWIG_arg_fail(1)) SWIG_fail
;
30749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30750 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder();
30752 wxPyEndAllowThreads(__tstate
);
30753 if (PyErr_Occurred()) SWIG_fail
;
30755 resultobj
= SWIG_From_int((result
));
30762 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
30767 argc
= PyObject_Length(args
);
30768 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
30769 argv
[ii
] = PyTuple_GetItem(args
,ii
);
30775 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
30783 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
30790 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
30798 _v
= SWIG_Check_long(argv
[1]);
30800 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
30805 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'Window_GetBorder'");
30810 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30811 PyObject
*resultobj
;
30812 wxWindow
*arg1
= (wxWindow
*) 0 ;
30813 long arg2
= (long) wxUPDATE_UI_NONE
;
30814 PyObject
* obj0
= 0 ;
30815 PyObject
* obj1
= 0 ;
30816 char *kwnames
[] = {
30817 (char *) "self",(char *) "flags", NULL
30820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
30821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30822 if (SWIG_arg_fail(1)) SWIG_fail
;
30825 arg2
= (long)(SWIG_As_long(obj1
));
30826 if (SWIG_arg_fail(2)) SWIG_fail
;
30830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30831 (arg1
)->UpdateWindowUI(arg2
);
30833 wxPyEndAllowThreads(__tstate
);
30834 if (PyErr_Occurred()) SWIG_fail
;
30836 Py_INCREF(Py_None
); resultobj
= Py_None
;
30843 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30844 PyObject
*resultobj
;
30845 wxWindow
*arg1
= (wxWindow
*) 0 ;
30846 wxMenu
*arg2
= (wxMenu
*) 0 ;
30847 int arg3
= (int) -1 ;
30848 int arg4
= (int) -1 ;
30850 PyObject
* obj0
= 0 ;
30851 PyObject
* obj1
= 0 ;
30852 PyObject
* obj2
= 0 ;
30853 PyObject
* obj3
= 0 ;
30854 char *kwnames
[] = {
30855 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
30858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30860 if (SWIG_arg_fail(1)) SWIG_fail
;
30861 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30862 if (SWIG_arg_fail(2)) SWIG_fail
;
30865 arg3
= (int)(SWIG_As_int(obj2
));
30866 if (SWIG_arg_fail(3)) SWIG_fail
;
30871 arg4
= (int)(SWIG_As_int(obj3
));
30872 if (SWIG_arg_fail(4)) SWIG_fail
;
30876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30877 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
30879 wxPyEndAllowThreads(__tstate
);
30880 if (PyErr_Occurred()) SWIG_fail
;
30883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30891 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30892 PyObject
*resultobj
;
30893 wxWindow
*arg1
= (wxWindow
*) 0 ;
30894 wxMenu
*arg2
= (wxMenu
*) 0 ;
30895 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30896 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30899 PyObject
* obj0
= 0 ;
30900 PyObject
* obj1
= 0 ;
30901 PyObject
* obj2
= 0 ;
30902 char *kwnames
[] = {
30903 (char *) "self",(char *) "menu",(char *) "pos", NULL
30906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30908 if (SWIG_arg_fail(1)) SWIG_fail
;
30909 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30910 if (SWIG_arg_fail(2)) SWIG_fail
;
30914 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30919 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
30921 wxPyEndAllowThreads(__tstate
);
30922 if (PyErr_Occurred()) SWIG_fail
;
30925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30933 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30934 PyObject
*resultobj
;
30935 wxWindow
*arg1
= (wxWindow
*) 0 ;
30937 PyObject
* obj0
= 0 ;
30938 char *kwnames
[] = {
30939 (char *) "self", NULL
30942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
30943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30944 if (SWIG_arg_fail(1)) SWIG_fail
;
30946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30947 result
= (long)wxWindow_GetHandle(arg1
);
30949 wxPyEndAllowThreads(__tstate
);
30950 if (PyErr_Occurred()) SWIG_fail
;
30953 resultobj
= SWIG_From_long((long)(result
));
30961 static PyObject
*_wrap_Window_AssociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30962 PyObject
*resultobj
;
30963 wxWindow
*arg1
= (wxWindow
*) 0 ;
30965 PyObject
* obj0
= 0 ;
30966 PyObject
* obj1
= 0 ;
30967 char *kwnames
[] = {
30968 (char *) "self",(char *) "handle", NULL
30971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
30972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30973 if (SWIG_arg_fail(1)) SWIG_fail
;
30975 arg2
= (long)(SWIG_As_long(obj1
));
30976 if (SWIG_arg_fail(2)) SWIG_fail
;
30979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30980 wxWindow_AssociateHandle(arg1
,arg2
);
30982 wxPyEndAllowThreads(__tstate
);
30983 if (PyErr_Occurred()) SWIG_fail
;
30985 Py_INCREF(Py_None
); resultobj
= Py_None
;
30992 static PyObject
*_wrap_Window_DissociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30993 PyObject
*resultobj
;
30994 wxWindow
*arg1
= (wxWindow
*) 0 ;
30995 PyObject
* obj0
= 0 ;
30996 char *kwnames
[] = {
30997 (char *) "self", NULL
31000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DissociateHandle",kwnames
,&obj0
)) goto fail
;
31001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31002 if (SWIG_arg_fail(1)) SWIG_fail
;
31004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31005 (arg1
)->DissociateHandle();
31007 wxPyEndAllowThreads(__tstate
);
31008 if (PyErr_Occurred()) SWIG_fail
;
31010 Py_INCREF(Py_None
); resultobj
= Py_None
;
31017 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31018 PyObject
*resultobj
;
31019 wxWindow
*arg1
= (wxWindow
*) 0 ;
31022 PyObject
* obj0
= 0 ;
31023 PyObject
* obj1
= 0 ;
31024 char *kwnames
[] = {
31025 (char *) "self",(char *) "orient", NULL
31028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
31029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31030 if (SWIG_arg_fail(1)) SWIG_fail
;
31032 arg2
= (int)(SWIG_As_int(obj1
));
31033 if (SWIG_arg_fail(2)) SWIG_fail
;
31036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31037 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
31039 wxPyEndAllowThreads(__tstate
);
31040 if (PyErr_Occurred()) SWIG_fail
;
31043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31051 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31052 PyObject
*resultobj
;
31053 wxWindow
*arg1
= (wxWindow
*) 0 ;
31058 bool arg6
= (bool) true ;
31059 PyObject
* obj0
= 0 ;
31060 PyObject
* obj1
= 0 ;
31061 PyObject
* obj2
= 0 ;
31062 PyObject
* obj3
= 0 ;
31063 PyObject
* obj4
= 0 ;
31064 PyObject
* obj5
= 0 ;
31065 char *kwnames
[] = {
31066 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
31069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31071 if (SWIG_arg_fail(1)) SWIG_fail
;
31073 arg2
= (int)(SWIG_As_int(obj1
));
31074 if (SWIG_arg_fail(2)) SWIG_fail
;
31077 arg3
= (int)(SWIG_As_int(obj2
));
31078 if (SWIG_arg_fail(3)) SWIG_fail
;
31081 arg4
= (int)(SWIG_As_int(obj3
));
31082 if (SWIG_arg_fail(4)) SWIG_fail
;
31085 arg5
= (int)(SWIG_As_int(obj4
));
31086 if (SWIG_arg_fail(5)) SWIG_fail
;
31090 arg6
= (bool)(SWIG_As_bool(obj5
));
31091 if (SWIG_arg_fail(6)) SWIG_fail
;
31095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31096 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
31098 wxPyEndAllowThreads(__tstate
);
31099 if (PyErr_Occurred()) SWIG_fail
;
31101 Py_INCREF(Py_None
); resultobj
= Py_None
;
31108 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31109 PyObject
*resultobj
;
31110 wxWindow
*arg1
= (wxWindow
*) 0 ;
31113 bool arg4
= (bool) true ;
31114 PyObject
* obj0
= 0 ;
31115 PyObject
* obj1
= 0 ;
31116 PyObject
* obj2
= 0 ;
31117 PyObject
* obj3
= 0 ;
31118 char *kwnames
[] = {
31119 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
31122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31124 if (SWIG_arg_fail(1)) SWIG_fail
;
31126 arg2
= (int)(SWIG_As_int(obj1
));
31127 if (SWIG_arg_fail(2)) SWIG_fail
;
31130 arg3
= (int)(SWIG_As_int(obj2
));
31131 if (SWIG_arg_fail(3)) SWIG_fail
;
31135 arg4
= (bool)(SWIG_As_bool(obj3
));
31136 if (SWIG_arg_fail(4)) SWIG_fail
;
31140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31141 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
31143 wxPyEndAllowThreads(__tstate
);
31144 if (PyErr_Occurred()) SWIG_fail
;
31146 Py_INCREF(Py_None
); resultobj
= Py_None
;
31153 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31154 PyObject
*resultobj
;
31155 wxWindow
*arg1
= (wxWindow
*) 0 ;
31158 PyObject
* obj0
= 0 ;
31159 PyObject
* obj1
= 0 ;
31160 char *kwnames
[] = {
31161 (char *) "self",(char *) "orientation", NULL
31164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
31165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31166 if (SWIG_arg_fail(1)) SWIG_fail
;
31168 arg2
= (int)(SWIG_As_int(obj1
));
31169 if (SWIG_arg_fail(2)) SWIG_fail
;
31172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31173 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
31175 wxPyEndAllowThreads(__tstate
);
31176 if (PyErr_Occurred()) SWIG_fail
;
31179 resultobj
= SWIG_From_int((int)(result
));
31187 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31188 PyObject
*resultobj
;
31189 wxWindow
*arg1
= (wxWindow
*) 0 ;
31192 PyObject
* obj0
= 0 ;
31193 PyObject
* obj1
= 0 ;
31194 char *kwnames
[] = {
31195 (char *) "self",(char *) "orientation", NULL
31198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
31199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31200 if (SWIG_arg_fail(1)) SWIG_fail
;
31202 arg2
= (int)(SWIG_As_int(obj1
));
31203 if (SWIG_arg_fail(2)) SWIG_fail
;
31206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31207 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
31209 wxPyEndAllowThreads(__tstate
);
31210 if (PyErr_Occurred()) SWIG_fail
;
31213 resultobj
= SWIG_From_int((int)(result
));
31221 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31222 PyObject
*resultobj
;
31223 wxWindow
*arg1
= (wxWindow
*) 0 ;
31226 PyObject
* obj0
= 0 ;
31227 PyObject
* obj1
= 0 ;
31228 char *kwnames
[] = {
31229 (char *) "self",(char *) "orientation", NULL
31232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
31233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31234 if (SWIG_arg_fail(1)) SWIG_fail
;
31236 arg2
= (int)(SWIG_As_int(obj1
));
31237 if (SWIG_arg_fail(2)) SWIG_fail
;
31240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31241 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
31243 wxPyEndAllowThreads(__tstate
);
31244 if (PyErr_Occurred()) SWIG_fail
;
31247 resultobj
= SWIG_From_int((int)(result
));
31255 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31256 PyObject
*resultobj
;
31257 wxWindow
*arg1
= (wxWindow
*) 0 ;
31260 wxRect
*arg4
= (wxRect
*) NULL
;
31261 PyObject
* obj0
= 0 ;
31262 PyObject
* obj1
= 0 ;
31263 PyObject
* obj2
= 0 ;
31264 PyObject
* obj3
= 0 ;
31265 char *kwnames
[] = {
31266 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
31269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31271 if (SWIG_arg_fail(1)) SWIG_fail
;
31273 arg2
= (int)(SWIG_As_int(obj1
));
31274 if (SWIG_arg_fail(2)) SWIG_fail
;
31277 arg3
= (int)(SWIG_As_int(obj2
));
31278 if (SWIG_arg_fail(3)) SWIG_fail
;
31281 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
31282 if (SWIG_arg_fail(4)) SWIG_fail
;
31285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31286 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
31288 wxPyEndAllowThreads(__tstate
);
31289 if (PyErr_Occurred()) SWIG_fail
;
31291 Py_INCREF(Py_None
); resultobj
= Py_None
;
31298 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31299 PyObject
*resultobj
;
31300 wxWindow
*arg1
= (wxWindow
*) 0 ;
31303 PyObject
* obj0
= 0 ;
31304 PyObject
* obj1
= 0 ;
31305 char *kwnames
[] = {
31306 (char *) "self",(char *) "lines", NULL
31309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
31310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31311 if (SWIG_arg_fail(1)) SWIG_fail
;
31313 arg2
= (int)(SWIG_As_int(obj1
));
31314 if (SWIG_arg_fail(2)) SWIG_fail
;
31317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31318 result
= (bool)(arg1
)->ScrollLines(arg2
);
31320 wxPyEndAllowThreads(__tstate
);
31321 if (PyErr_Occurred()) SWIG_fail
;
31324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31332 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31333 PyObject
*resultobj
;
31334 wxWindow
*arg1
= (wxWindow
*) 0 ;
31337 PyObject
* obj0
= 0 ;
31338 PyObject
* obj1
= 0 ;
31339 char *kwnames
[] = {
31340 (char *) "self",(char *) "pages", NULL
31343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
31344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31345 if (SWIG_arg_fail(1)) SWIG_fail
;
31347 arg2
= (int)(SWIG_As_int(obj1
));
31348 if (SWIG_arg_fail(2)) SWIG_fail
;
31351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31352 result
= (bool)(arg1
)->ScrollPages(arg2
);
31354 wxPyEndAllowThreads(__tstate
);
31355 if (PyErr_Occurred()) SWIG_fail
;
31358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31366 static PyObject
*_wrap_Window_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31367 PyObject
*resultobj
;
31368 wxWindow
*arg1
= (wxWindow
*) 0 ;
31370 PyObject
* obj0
= 0 ;
31371 char *kwnames
[] = {
31372 (char *) "self", NULL
31375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
31376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31377 if (SWIG_arg_fail(1)) SWIG_fail
;
31379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31380 result
= (bool)(arg1
)->LineUp();
31382 wxPyEndAllowThreads(__tstate
);
31383 if (PyErr_Occurred()) SWIG_fail
;
31386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31394 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31395 PyObject
*resultobj
;
31396 wxWindow
*arg1
= (wxWindow
*) 0 ;
31398 PyObject
* obj0
= 0 ;
31399 char *kwnames
[] = {
31400 (char *) "self", NULL
31403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
31404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31405 if (SWIG_arg_fail(1)) SWIG_fail
;
31407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31408 result
= (bool)(arg1
)->LineDown();
31410 wxPyEndAllowThreads(__tstate
);
31411 if (PyErr_Occurred()) SWIG_fail
;
31414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31422 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31423 PyObject
*resultobj
;
31424 wxWindow
*arg1
= (wxWindow
*) 0 ;
31426 PyObject
* obj0
= 0 ;
31427 char *kwnames
[] = {
31428 (char *) "self", NULL
31431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
31432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31433 if (SWIG_arg_fail(1)) SWIG_fail
;
31435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31436 result
= (bool)(arg1
)->PageUp();
31438 wxPyEndAllowThreads(__tstate
);
31439 if (PyErr_Occurred()) SWIG_fail
;
31442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31450 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31451 PyObject
*resultobj
;
31452 wxWindow
*arg1
= (wxWindow
*) 0 ;
31454 PyObject
* obj0
= 0 ;
31455 char *kwnames
[] = {
31456 (char *) "self", NULL
31459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
31460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31461 if (SWIG_arg_fail(1)) SWIG_fail
;
31463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31464 result
= (bool)(arg1
)->PageDown();
31466 wxPyEndAllowThreads(__tstate
);
31467 if (PyErr_Occurred()) SWIG_fail
;
31470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31478 static PyObject
*_wrap_Window_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31479 PyObject
*resultobj
;
31480 wxWindow
*arg1
= (wxWindow
*) 0 ;
31481 wxString
*arg2
= 0 ;
31482 bool temp2
= false ;
31483 PyObject
* obj0
= 0 ;
31484 PyObject
* obj1
= 0 ;
31485 char *kwnames
[] = {
31486 (char *) "self",(char *) "text", NULL
31489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
31490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31491 if (SWIG_arg_fail(1)) SWIG_fail
;
31493 arg2
= wxString_in_helper(obj1
);
31494 if (arg2
== NULL
) SWIG_fail
;
31498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31499 (arg1
)->SetHelpText((wxString
const &)*arg2
);
31501 wxPyEndAllowThreads(__tstate
);
31502 if (PyErr_Occurred()) SWIG_fail
;
31504 Py_INCREF(Py_None
); resultobj
= Py_None
;
31519 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31520 PyObject
*resultobj
;
31521 wxWindow
*arg1
= (wxWindow
*) 0 ;
31522 wxString
*arg2
= 0 ;
31523 bool temp2
= false ;
31524 PyObject
* obj0
= 0 ;
31525 PyObject
* obj1
= 0 ;
31526 char *kwnames
[] = {
31527 (char *) "self",(char *) "text", NULL
31530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
31531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31532 if (SWIG_arg_fail(1)) SWIG_fail
;
31534 arg2
= wxString_in_helper(obj1
);
31535 if (arg2
== NULL
) SWIG_fail
;
31539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31540 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
31542 wxPyEndAllowThreads(__tstate
);
31543 if (PyErr_Occurred()) SWIG_fail
;
31545 Py_INCREF(Py_None
); resultobj
= Py_None
;
31560 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31561 PyObject
*resultobj
;
31562 wxWindow
*arg1
= (wxWindow
*) 0 ;
31564 PyObject
* obj0
= 0 ;
31565 char *kwnames
[] = {
31566 (char *) "self", NULL
31569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
31570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31571 if (SWIG_arg_fail(1)) SWIG_fail
;
31573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31574 result
= ((wxWindow
const *)arg1
)->GetHelpText();
31576 wxPyEndAllowThreads(__tstate
);
31577 if (PyErr_Occurred()) SWIG_fail
;
31581 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31583 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31592 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31593 PyObject
*resultobj
;
31594 wxWindow
*arg1
= (wxWindow
*) 0 ;
31595 wxString
*arg2
= 0 ;
31596 bool temp2
= false ;
31597 PyObject
* obj0
= 0 ;
31598 PyObject
* obj1
= 0 ;
31599 char *kwnames
[] = {
31600 (char *) "self",(char *) "tip", NULL
31603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
31604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31605 if (SWIG_arg_fail(1)) SWIG_fail
;
31607 arg2
= wxString_in_helper(obj1
);
31608 if (arg2
== NULL
) SWIG_fail
;
31612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31613 (arg1
)->SetToolTip((wxString
const &)*arg2
);
31615 wxPyEndAllowThreads(__tstate
);
31616 if (PyErr_Occurred()) SWIG_fail
;
31618 Py_INCREF(Py_None
); resultobj
= Py_None
;
31633 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31634 PyObject
*resultobj
;
31635 wxWindow
*arg1
= (wxWindow
*) 0 ;
31636 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
31637 PyObject
* obj0
= 0 ;
31638 PyObject
* obj1
= 0 ;
31639 char *kwnames
[] = {
31640 (char *) "self",(char *) "tip", NULL
31643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
31644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31645 if (SWIG_arg_fail(1)) SWIG_fail
;
31646 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
31647 if (SWIG_arg_fail(2)) SWIG_fail
;
31649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31650 (arg1
)->SetToolTip(arg2
);
31652 wxPyEndAllowThreads(__tstate
);
31653 if (PyErr_Occurred()) SWIG_fail
;
31655 Py_INCREF(Py_None
); resultobj
= Py_None
;
31662 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31663 PyObject
*resultobj
;
31664 wxWindow
*arg1
= (wxWindow
*) 0 ;
31666 PyObject
* obj0
= 0 ;
31667 char *kwnames
[] = {
31668 (char *) "self", NULL
31671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
31672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31673 if (SWIG_arg_fail(1)) SWIG_fail
;
31675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31676 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
31678 wxPyEndAllowThreads(__tstate
);
31679 if (PyErr_Occurred()) SWIG_fail
;
31682 resultobj
= wxPyMake_wxObject(result
, 0);
31690 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31691 PyObject
*resultobj
;
31692 wxWindow
*arg1
= (wxWindow
*) 0 ;
31693 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
31694 PyObject
* obj0
= 0 ;
31695 PyObject
* obj1
= 0 ;
31696 char *kwnames
[] = {
31697 (char *) "self",(char *) "dropTarget", NULL
31700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
31701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31702 if (SWIG_arg_fail(1)) SWIG_fail
;
31703 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31704 if (SWIG_arg_fail(2)) SWIG_fail
;
31706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31707 (arg1
)->SetDropTarget(arg2
);
31709 wxPyEndAllowThreads(__tstate
);
31710 if (PyErr_Occurred()) SWIG_fail
;
31712 Py_INCREF(Py_None
); resultobj
= Py_None
;
31719 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31720 PyObject
*resultobj
;
31721 wxWindow
*arg1
= (wxWindow
*) 0 ;
31722 wxPyDropTarget
*result
;
31723 PyObject
* obj0
= 0 ;
31724 char *kwnames
[] = {
31725 (char *) "self", NULL
31728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
31729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31730 if (SWIG_arg_fail(1)) SWIG_fail
;
31732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31733 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
31735 wxPyEndAllowThreads(__tstate
);
31736 if (PyErr_Occurred()) SWIG_fail
;
31738 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
31745 static PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31746 PyObject
*resultobj
;
31747 wxWindow
*arg1
= (wxWindow
*) 0 ;
31749 PyObject
* obj0
= 0 ;
31750 PyObject
* obj1
= 0 ;
31751 char *kwnames
[] = {
31752 (char *) "self",(char *) "accept", NULL
31755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) goto fail
;
31756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31757 if (SWIG_arg_fail(1)) SWIG_fail
;
31759 arg2
= (bool)(SWIG_As_bool(obj1
));
31760 if (SWIG_arg_fail(2)) SWIG_fail
;
31763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31764 wxWindow_DragAcceptFiles(arg1
,arg2
);
31766 wxPyEndAllowThreads(__tstate
);
31767 if (PyErr_Occurred()) SWIG_fail
;
31769 Py_INCREF(Py_None
); resultobj
= Py_None
;
31776 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31777 PyObject
*resultobj
;
31778 wxWindow
*arg1
= (wxWindow
*) 0 ;
31779 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
31780 PyObject
* obj0
= 0 ;
31781 PyObject
* obj1
= 0 ;
31782 char *kwnames
[] = {
31783 (char *) "self",(char *) "constraints", NULL
31786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
31787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31788 if (SWIG_arg_fail(1)) SWIG_fail
;
31789 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
31790 if (SWIG_arg_fail(2)) SWIG_fail
;
31792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31793 (arg1
)->SetConstraints(arg2
);
31795 wxPyEndAllowThreads(__tstate
);
31796 if (PyErr_Occurred()) SWIG_fail
;
31798 Py_INCREF(Py_None
); resultobj
= Py_None
;
31805 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31806 PyObject
*resultobj
;
31807 wxWindow
*arg1
= (wxWindow
*) 0 ;
31808 wxLayoutConstraints
*result
;
31809 PyObject
* obj0
= 0 ;
31810 char *kwnames
[] = {
31811 (char *) "self", NULL
31814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
31815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31816 if (SWIG_arg_fail(1)) SWIG_fail
;
31818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31819 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
31821 wxPyEndAllowThreads(__tstate
);
31822 if (PyErr_Occurred()) SWIG_fail
;
31824 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
31831 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31832 PyObject
*resultobj
;
31833 wxWindow
*arg1
= (wxWindow
*) 0 ;
31835 PyObject
* obj0
= 0 ;
31836 PyObject
* obj1
= 0 ;
31837 char *kwnames
[] = {
31838 (char *) "self",(char *) "autoLayout", NULL
31841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
31842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31843 if (SWIG_arg_fail(1)) SWIG_fail
;
31845 arg2
= (bool)(SWIG_As_bool(obj1
));
31846 if (SWIG_arg_fail(2)) SWIG_fail
;
31849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31850 (arg1
)->SetAutoLayout(arg2
);
31852 wxPyEndAllowThreads(__tstate
);
31853 if (PyErr_Occurred()) SWIG_fail
;
31855 Py_INCREF(Py_None
); resultobj
= Py_None
;
31862 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31863 PyObject
*resultobj
;
31864 wxWindow
*arg1
= (wxWindow
*) 0 ;
31866 PyObject
* obj0
= 0 ;
31867 char *kwnames
[] = {
31868 (char *) "self", NULL
31871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
31872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31873 if (SWIG_arg_fail(1)) SWIG_fail
;
31875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31876 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
31878 wxPyEndAllowThreads(__tstate
);
31879 if (PyErr_Occurred()) SWIG_fail
;
31882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31890 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31891 PyObject
*resultobj
;
31892 wxWindow
*arg1
= (wxWindow
*) 0 ;
31894 PyObject
* obj0
= 0 ;
31895 char *kwnames
[] = {
31896 (char *) "self", NULL
31899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
31900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31901 if (SWIG_arg_fail(1)) SWIG_fail
;
31903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31904 result
= (bool)(arg1
)->Layout();
31906 wxPyEndAllowThreads(__tstate
);
31907 if (PyErr_Occurred()) SWIG_fail
;
31910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31918 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31919 PyObject
*resultobj
;
31920 wxWindow
*arg1
= (wxWindow
*) 0 ;
31921 wxSizer
*arg2
= (wxSizer
*) 0 ;
31922 bool arg3
= (bool) true ;
31923 PyObject
* obj0
= 0 ;
31924 PyObject
* obj1
= 0 ;
31925 PyObject
* obj2
= 0 ;
31926 char *kwnames
[] = {
31927 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31932 if (SWIG_arg_fail(1)) SWIG_fail
;
31933 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31934 if (SWIG_arg_fail(2)) SWIG_fail
;
31937 arg3
= (bool)(SWIG_As_bool(obj2
));
31938 if (SWIG_arg_fail(3)) SWIG_fail
;
31942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31943 (arg1
)->SetSizer(arg2
,arg3
);
31945 wxPyEndAllowThreads(__tstate
);
31946 if (PyErr_Occurred()) SWIG_fail
;
31948 Py_INCREF(Py_None
); resultobj
= Py_None
;
31955 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31956 PyObject
*resultobj
;
31957 wxWindow
*arg1
= (wxWindow
*) 0 ;
31958 wxSizer
*arg2
= (wxSizer
*) 0 ;
31959 bool arg3
= (bool) true ;
31960 PyObject
* obj0
= 0 ;
31961 PyObject
* obj1
= 0 ;
31962 PyObject
* obj2
= 0 ;
31963 char *kwnames
[] = {
31964 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31969 if (SWIG_arg_fail(1)) SWIG_fail
;
31970 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31971 if (SWIG_arg_fail(2)) SWIG_fail
;
31974 arg3
= (bool)(SWIG_As_bool(obj2
));
31975 if (SWIG_arg_fail(3)) SWIG_fail
;
31979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31980 (arg1
)->SetSizerAndFit(arg2
,arg3
);
31982 wxPyEndAllowThreads(__tstate
);
31983 if (PyErr_Occurred()) SWIG_fail
;
31985 Py_INCREF(Py_None
); resultobj
= Py_None
;
31992 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31993 PyObject
*resultobj
;
31994 wxWindow
*arg1
= (wxWindow
*) 0 ;
31996 PyObject
* obj0
= 0 ;
31997 char *kwnames
[] = {
31998 (char *) "self", NULL
32001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
32002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32003 if (SWIG_arg_fail(1)) SWIG_fail
;
32005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32006 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
32008 wxPyEndAllowThreads(__tstate
);
32009 if (PyErr_Occurred()) SWIG_fail
;
32012 resultobj
= wxPyMake_wxObject(result
, 0);
32020 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32021 PyObject
*resultobj
;
32022 wxWindow
*arg1
= (wxWindow
*) 0 ;
32023 wxSizer
*arg2
= (wxSizer
*) 0 ;
32024 PyObject
* obj0
= 0 ;
32025 PyObject
* obj1
= 0 ;
32026 char *kwnames
[] = {
32027 (char *) "self",(char *) "sizer", NULL
32030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
32031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32032 if (SWIG_arg_fail(1)) SWIG_fail
;
32033 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
32034 if (SWIG_arg_fail(2)) SWIG_fail
;
32036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32037 (arg1
)->SetContainingSizer(arg2
);
32039 wxPyEndAllowThreads(__tstate
);
32040 if (PyErr_Occurred()) SWIG_fail
;
32042 Py_INCREF(Py_None
); resultobj
= Py_None
;
32049 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32050 PyObject
*resultobj
;
32051 wxWindow
*arg1
= (wxWindow
*) 0 ;
32053 PyObject
* obj0
= 0 ;
32054 char *kwnames
[] = {
32055 (char *) "self", NULL
32058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
32059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32060 if (SWIG_arg_fail(1)) SWIG_fail
;
32062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32063 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
32065 wxPyEndAllowThreads(__tstate
);
32066 if (PyErr_Occurred()) SWIG_fail
;
32069 resultobj
= wxPyMake_wxObject(result
, 0);
32077 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32078 PyObject
*resultobj
;
32079 wxWindow
*arg1
= (wxWindow
*) 0 ;
32080 PyObject
* obj0
= 0 ;
32081 char *kwnames
[] = {
32082 (char *) "self", NULL
32085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
32086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32087 if (SWIG_arg_fail(1)) SWIG_fail
;
32089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32090 (arg1
)->InheritAttributes();
32092 wxPyEndAllowThreads(__tstate
);
32093 if (PyErr_Occurred()) SWIG_fail
;
32095 Py_INCREF(Py_None
); resultobj
= Py_None
;
32102 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32103 PyObject
*resultobj
;
32104 wxWindow
*arg1
= (wxWindow
*) 0 ;
32106 PyObject
* obj0
= 0 ;
32107 char *kwnames
[] = {
32108 (char *) "self", NULL
32111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
32112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32113 if (SWIG_arg_fail(1)) SWIG_fail
;
32115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32116 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
32118 wxPyEndAllowThreads(__tstate
);
32119 if (PyErr_Occurred()) SWIG_fail
;
32122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32130 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
32132 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32133 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
32135 return Py_BuildValue((char *)"");
32137 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32138 PyObject
*resultobj
;
32140 wxWindow
*arg2
= (wxWindow
*) NULL
;
32142 PyObject
* obj0
= 0 ;
32143 PyObject
* obj1
= 0 ;
32144 char *kwnames
[] = {
32145 (char *) "id",(char *) "parent", NULL
32148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
32150 arg1
= (long)(SWIG_As_long(obj0
));
32151 if (SWIG_arg_fail(1)) SWIG_fail
;
32154 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32155 if (SWIG_arg_fail(2)) SWIG_fail
;
32158 if (!wxPyCheckForApp()) SWIG_fail
;
32159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32160 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
32162 wxPyEndAllowThreads(__tstate
);
32163 if (PyErr_Occurred()) SWIG_fail
;
32166 resultobj
= wxPyMake_wxObject(result
, 0);
32174 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32175 PyObject
*resultobj
;
32176 wxString
*arg1
= 0 ;
32177 wxWindow
*arg2
= (wxWindow
*) NULL
;
32179 bool temp1
= false ;
32180 PyObject
* obj0
= 0 ;
32181 PyObject
* obj1
= 0 ;
32182 char *kwnames
[] = {
32183 (char *) "name",(char *) "parent", NULL
32186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
32188 arg1
= wxString_in_helper(obj0
);
32189 if (arg1
== NULL
) SWIG_fail
;
32193 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32194 if (SWIG_arg_fail(2)) SWIG_fail
;
32197 if (!wxPyCheckForApp()) SWIG_fail
;
32198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32199 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
32201 wxPyEndAllowThreads(__tstate
);
32202 if (PyErr_Occurred()) SWIG_fail
;
32205 resultobj
= wxPyMake_wxObject(result
, 0);
32221 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32222 PyObject
*resultobj
;
32223 wxString
*arg1
= 0 ;
32224 wxWindow
*arg2
= (wxWindow
*) NULL
;
32226 bool temp1
= false ;
32227 PyObject
* obj0
= 0 ;
32228 PyObject
* obj1
= 0 ;
32229 char *kwnames
[] = {
32230 (char *) "label",(char *) "parent", NULL
32233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
32235 arg1
= wxString_in_helper(obj0
);
32236 if (arg1
== NULL
) SWIG_fail
;
32240 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32241 if (SWIG_arg_fail(2)) SWIG_fail
;
32244 if (!wxPyCheckForApp()) SWIG_fail
;
32245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32246 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
32248 wxPyEndAllowThreads(__tstate
);
32249 if (PyErr_Occurred()) SWIG_fail
;
32252 resultobj
= wxPyMake_wxObject(result
, 0);
32268 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32269 PyObject
*resultobj
;
32270 wxWindow
*arg1
= (wxWindow
*) 0 ;
32271 unsigned long arg2
;
32273 PyObject
* obj0
= 0 ;
32274 PyObject
* obj1
= 0 ;
32275 char *kwnames
[] = {
32276 (char *) "parent",(char *) "_hWnd", NULL
32279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",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
;
32283 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
32284 if (SWIG_arg_fail(2)) SWIG_fail
;
32287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32288 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
32290 wxPyEndAllowThreads(__tstate
);
32291 if (PyErr_Occurred()) SWIG_fail
;
32294 resultobj
= wxPyMake_wxObject(result
, 0);
32302 static PyObject
*_wrap_GetTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32303 PyObject
*resultobj
;
32305 char *kwnames
[] = {
32309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetTopLevelWindows",kwnames
)) goto fail
;
32311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32312 result
= (PyObject
*)GetTopLevelWindows();
32314 wxPyEndAllowThreads(__tstate
);
32315 if (PyErr_Occurred()) SWIG_fail
;
32317 resultobj
= result
;
32324 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32325 PyObject
*resultobj
;
32326 wxValidator
*result
;
32327 char *kwnames
[] = {
32331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
32333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32334 result
= (wxValidator
*)new wxValidator();
32336 wxPyEndAllowThreads(__tstate
);
32337 if (PyErr_Occurred()) SWIG_fail
;
32339 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
32346 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32347 PyObject
*resultobj
;
32348 wxValidator
*arg1
= (wxValidator
*) 0 ;
32349 wxValidator
*result
;
32350 PyObject
* obj0
= 0 ;
32351 char *kwnames
[] = {
32352 (char *) "self", NULL
32355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
32356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32357 if (SWIG_arg_fail(1)) SWIG_fail
;
32359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32360 result
= (wxValidator
*)(arg1
)->Clone();
32362 wxPyEndAllowThreads(__tstate
);
32363 if (PyErr_Occurred()) SWIG_fail
;
32366 resultobj
= wxPyMake_wxObject(result
, 0);
32374 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32375 PyObject
*resultobj
;
32376 wxValidator
*arg1
= (wxValidator
*) 0 ;
32377 wxWindow
*arg2
= (wxWindow
*) 0 ;
32379 PyObject
* obj0
= 0 ;
32380 PyObject
* obj1
= 0 ;
32381 char *kwnames
[] = {
32382 (char *) "self",(char *) "parent", NULL
32385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
32386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32387 if (SWIG_arg_fail(1)) SWIG_fail
;
32388 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32389 if (SWIG_arg_fail(2)) SWIG_fail
;
32391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32392 result
= (bool)(arg1
)->Validate(arg2
);
32394 wxPyEndAllowThreads(__tstate
);
32395 if (PyErr_Occurred()) SWIG_fail
;
32398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32406 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32407 PyObject
*resultobj
;
32408 wxValidator
*arg1
= (wxValidator
*) 0 ;
32410 PyObject
* obj0
= 0 ;
32411 char *kwnames
[] = {
32412 (char *) "self", NULL
32415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
32416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32417 if (SWIG_arg_fail(1)) SWIG_fail
;
32419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32420 result
= (bool)(arg1
)->TransferToWindow();
32422 wxPyEndAllowThreads(__tstate
);
32423 if (PyErr_Occurred()) SWIG_fail
;
32426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32434 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32435 PyObject
*resultobj
;
32436 wxValidator
*arg1
= (wxValidator
*) 0 ;
32438 PyObject
* obj0
= 0 ;
32439 char *kwnames
[] = {
32440 (char *) "self", NULL
32443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
32444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32445 if (SWIG_arg_fail(1)) SWIG_fail
;
32447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32448 result
= (bool)(arg1
)->TransferFromWindow();
32450 wxPyEndAllowThreads(__tstate
);
32451 if (PyErr_Occurred()) SWIG_fail
;
32454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32462 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32463 PyObject
*resultobj
;
32464 wxValidator
*arg1
= (wxValidator
*) 0 ;
32466 PyObject
* obj0
= 0 ;
32467 char *kwnames
[] = {
32468 (char *) "self", NULL
32471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
32472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32473 if (SWIG_arg_fail(1)) SWIG_fail
;
32475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32476 result
= (wxWindow
*)(arg1
)->GetWindow();
32478 wxPyEndAllowThreads(__tstate
);
32479 if (PyErr_Occurred()) SWIG_fail
;
32482 resultobj
= wxPyMake_wxObject(result
, 0);
32490 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32491 PyObject
*resultobj
;
32492 wxValidator
*arg1
= (wxValidator
*) 0 ;
32493 wxWindow
*arg2
= (wxWindow
*) 0 ;
32494 PyObject
* obj0
= 0 ;
32495 PyObject
* obj1
= 0 ;
32496 char *kwnames
[] = {
32497 (char *) "self",(char *) "window", NULL
32500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
32501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32502 if (SWIG_arg_fail(1)) SWIG_fail
;
32503 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32504 if (SWIG_arg_fail(2)) SWIG_fail
;
32506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32507 (arg1
)->SetWindow(arg2
);
32509 wxPyEndAllowThreads(__tstate
);
32510 if (PyErr_Occurred()) SWIG_fail
;
32512 Py_INCREF(Py_None
); resultobj
= Py_None
;
32519 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32520 PyObject
*resultobj
;
32522 char *kwnames
[] = {
32526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
32528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32529 result
= (bool)wxValidator::IsSilent();
32531 wxPyEndAllowThreads(__tstate
);
32532 if (PyErr_Occurred()) SWIG_fail
;
32535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32543 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32544 PyObject
*resultobj
;
32545 int arg1
= (int) true ;
32546 PyObject
* obj0
= 0 ;
32547 char *kwnames
[] = {
32548 (char *) "doIt", NULL
32551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
32554 arg1
= (int)(SWIG_As_int(obj0
));
32555 if (SWIG_arg_fail(1)) SWIG_fail
;
32559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32560 wxValidator::SetBellOnError(arg1
);
32562 wxPyEndAllowThreads(__tstate
);
32563 if (PyErr_Occurred()) SWIG_fail
;
32565 Py_INCREF(Py_None
); resultobj
= Py_None
;
32572 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
32574 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32575 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
32577 return Py_BuildValue((char *)"");
32579 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32580 PyObject
*resultobj
;
32581 wxPyValidator
*result
;
32582 char *kwnames
[] = {
32586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
32588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32589 result
= (wxPyValidator
*)new wxPyValidator();
32591 wxPyEndAllowThreads(__tstate
);
32592 if (PyErr_Occurred()) SWIG_fail
;
32594 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
32601 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32602 PyObject
*resultobj
;
32603 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
32604 PyObject
*arg2
= (PyObject
*) 0 ;
32605 PyObject
*arg3
= (PyObject
*) 0 ;
32606 int arg4
= (int) true ;
32607 PyObject
* obj0
= 0 ;
32608 PyObject
* obj1
= 0 ;
32609 PyObject
* obj2
= 0 ;
32610 PyObject
* obj3
= 0 ;
32611 char *kwnames
[] = {
32612 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
32615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyValidator
, SWIG_POINTER_EXCEPTION
| 0);
32617 if (SWIG_arg_fail(1)) SWIG_fail
;
32622 arg4
= (int)(SWIG_As_int(obj3
));
32623 if (SWIG_arg_fail(4)) SWIG_fail
;
32627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32628 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
32630 wxPyEndAllowThreads(__tstate
);
32631 if (PyErr_Occurred()) SWIG_fail
;
32633 Py_INCREF(Py_None
); resultobj
= Py_None
;
32640 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
32642 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32643 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
32645 return Py_BuildValue((char *)"");
32647 static int _wrap_DefaultValidator_set(PyObject
*) {
32648 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
32653 static PyObject
*_wrap_DefaultValidator_get(void) {
32656 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
32661 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32662 PyObject
*resultobj
;
32663 wxString
const &arg1_defvalue
= wxPyEmptyString
;
32664 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
32665 long arg2
= (long) 0 ;
32667 bool temp1
= false ;
32668 PyObject
* obj0
= 0 ;
32669 PyObject
* obj1
= 0 ;
32670 char *kwnames
[] = {
32671 (char *) "title",(char *) "style", NULL
32674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
32677 arg1
= wxString_in_helper(obj0
);
32678 if (arg1
== NULL
) SWIG_fail
;
32684 arg2
= (long)(SWIG_As_long(obj1
));
32685 if (SWIG_arg_fail(2)) SWIG_fail
;
32689 if (!wxPyCheckForApp()) SWIG_fail
;
32690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32691 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
32693 wxPyEndAllowThreads(__tstate
);
32694 if (PyErr_Occurred()) SWIG_fail
;
32696 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
32711 static PyObject
*_wrap_Menu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32712 PyObject
*resultobj
;
32713 wxMenu
*arg1
= (wxMenu
*) 0 ;
32715 wxString
*arg3
= 0 ;
32716 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32717 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32718 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
32719 wxMenuItem
*result
;
32720 bool temp3
= false ;
32721 bool temp4
= false ;
32722 PyObject
* obj0
= 0 ;
32723 PyObject
* obj1
= 0 ;
32724 PyObject
* obj2
= 0 ;
32725 PyObject
* obj3
= 0 ;
32726 PyObject
* obj4
= 0 ;
32727 char *kwnames
[] = {
32728 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32733 if (SWIG_arg_fail(1)) SWIG_fail
;
32735 arg2
= (int)(SWIG_As_int(obj1
));
32736 if (SWIG_arg_fail(2)) SWIG_fail
;
32739 arg3
= wxString_in_helper(obj2
);
32740 if (arg3
== NULL
) SWIG_fail
;
32745 arg4
= wxString_in_helper(obj3
);
32746 if (arg4
== NULL
) SWIG_fail
;
32752 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
32753 if (SWIG_arg_fail(5)) SWIG_fail
;
32757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32758 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
32760 wxPyEndAllowThreads(__tstate
);
32761 if (PyErr_Occurred()) SWIG_fail
;
32764 resultobj
= wxPyMake_wxObject(result
, 0);
32788 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32789 PyObject
*resultobj
;
32790 wxMenu
*arg1
= (wxMenu
*) 0 ;
32791 wxMenuItem
*result
;
32792 PyObject
* obj0
= 0 ;
32793 char *kwnames
[] = {
32794 (char *) "self", NULL
32797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
32798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32799 if (SWIG_arg_fail(1)) SWIG_fail
;
32801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32802 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
32804 wxPyEndAllowThreads(__tstate
);
32805 if (PyErr_Occurred()) SWIG_fail
;
32808 resultobj
= wxPyMake_wxObject(result
, 0);
32816 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32817 PyObject
*resultobj
;
32818 wxMenu
*arg1
= (wxMenu
*) 0 ;
32820 wxString
*arg3
= 0 ;
32821 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32822 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32823 wxMenuItem
*result
;
32824 bool temp3
= false ;
32825 bool temp4
= false ;
32826 PyObject
* obj0
= 0 ;
32827 PyObject
* obj1
= 0 ;
32828 PyObject
* obj2
= 0 ;
32829 PyObject
* obj3
= 0 ;
32830 char *kwnames
[] = {
32831 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32836 if (SWIG_arg_fail(1)) SWIG_fail
;
32838 arg2
= (int)(SWIG_As_int(obj1
));
32839 if (SWIG_arg_fail(2)) SWIG_fail
;
32842 arg3
= wxString_in_helper(obj2
);
32843 if (arg3
== NULL
) SWIG_fail
;
32848 arg4
= wxString_in_helper(obj3
);
32849 if (arg4
== NULL
) SWIG_fail
;
32854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32855 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32857 wxPyEndAllowThreads(__tstate
);
32858 if (PyErr_Occurred()) SWIG_fail
;
32861 resultobj
= wxPyMake_wxObject(result
, 0);
32885 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32886 PyObject
*resultobj
;
32887 wxMenu
*arg1
= (wxMenu
*) 0 ;
32889 wxString
*arg3
= 0 ;
32890 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32891 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32892 wxMenuItem
*result
;
32893 bool temp3
= false ;
32894 bool temp4
= false ;
32895 PyObject
* obj0
= 0 ;
32896 PyObject
* obj1
= 0 ;
32897 PyObject
* obj2
= 0 ;
32898 PyObject
* obj3
= 0 ;
32899 char *kwnames
[] = {
32900 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32905 if (SWIG_arg_fail(1)) SWIG_fail
;
32907 arg2
= (int)(SWIG_As_int(obj1
));
32908 if (SWIG_arg_fail(2)) SWIG_fail
;
32911 arg3
= wxString_in_helper(obj2
);
32912 if (arg3
== NULL
) SWIG_fail
;
32917 arg4
= wxString_in_helper(obj3
);
32918 if (arg4
== NULL
) SWIG_fail
;
32923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32924 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32926 wxPyEndAllowThreads(__tstate
);
32927 if (PyErr_Occurred()) SWIG_fail
;
32930 resultobj
= wxPyMake_wxObject(result
, 0);
32954 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32955 PyObject
*resultobj
;
32956 wxMenu
*arg1
= (wxMenu
*) 0 ;
32958 wxString
*arg3
= 0 ;
32959 wxMenu
*arg4
= (wxMenu
*) 0 ;
32960 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32961 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32962 wxMenuItem
*result
;
32963 bool temp3
= false ;
32964 bool temp5
= false ;
32965 PyObject
* obj0
= 0 ;
32966 PyObject
* obj1
= 0 ;
32967 PyObject
* obj2
= 0 ;
32968 PyObject
* obj3
= 0 ;
32969 PyObject
* obj4
= 0 ;
32970 char *kwnames
[] = {
32971 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
32974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32976 if (SWIG_arg_fail(1)) SWIG_fail
;
32978 arg2
= (int)(SWIG_As_int(obj1
));
32979 if (SWIG_arg_fail(2)) SWIG_fail
;
32982 arg3
= wxString_in_helper(obj2
);
32983 if (arg3
== NULL
) SWIG_fail
;
32986 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32987 if (SWIG_arg_fail(4)) SWIG_fail
;
32990 arg5
= wxString_in_helper(obj4
);
32991 if (arg5
== NULL
) SWIG_fail
;
32996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32997 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
32999 wxPyEndAllowThreads(__tstate
);
33000 if (PyErr_Occurred()) SWIG_fail
;
33003 resultobj
= wxPyMake_wxObject(result
, 0);
33027 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33028 PyObject
*resultobj
;
33029 wxMenu
*arg1
= (wxMenu
*) 0 ;
33030 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33031 wxMenuItem
*result
;
33032 PyObject
* obj0
= 0 ;
33033 PyObject
* obj1
= 0 ;
33034 char *kwnames
[] = {
33035 (char *) "self",(char *) "item", NULL
33038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33040 if (SWIG_arg_fail(1)) SWIG_fail
;
33041 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33042 if (SWIG_arg_fail(2)) SWIG_fail
;
33044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33045 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
33047 wxPyEndAllowThreads(__tstate
);
33048 if (PyErr_Occurred()) SWIG_fail
;
33051 resultobj
= wxPyMake_wxObject(result
, 0);
33059 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33060 PyObject
*resultobj
;
33061 wxMenu
*arg1
= (wxMenu
*) 0 ;
33062 PyObject
* obj0
= 0 ;
33063 char *kwnames
[] = {
33064 (char *) "self", NULL
33067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
33068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33069 if (SWIG_arg_fail(1)) SWIG_fail
;
33071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33074 wxPyEndAllowThreads(__tstate
);
33075 if (PyErr_Occurred()) SWIG_fail
;
33077 Py_INCREF(Py_None
); resultobj
= Py_None
;
33084 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33085 PyObject
*resultobj
;
33086 wxMenu
*arg1
= (wxMenu
*) 0 ;
33088 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
33089 wxMenuItem
*result
;
33090 PyObject
* obj0
= 0 ;
33091 PyObject
* obj1
= 0 ;
33092 PyObject
* obj2
= 0 ;
33093 char *kwnames
[] = {
33094 (char *) "self",(char *) "pos",(char *) "item", NULL
33097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33099 if (SWIG_arg_fail(1)) SWIG_fail
;
33101 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33102 if (SWIG_arg_fail(2)) SWIG_fail
;
33104 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33105 if (SWIG_arg_fail(3)) SWIG_fail
;
33107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33108 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
33110 wxPyEndAllowThreads(__tstate
);
33111 if (PyErr_Occurred()) SWIG_fail
;
33114 resultobj
= wxPyMake_wxObject(result
, 0);
33122 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33123 PyObject
*resultobj
;
33124 wxMenu
*arg1
= (wxMenu
*) 0 ;
33127 wxString
*arg4
= 0 ;
33128 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33129 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33130 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
33131 wxMenuItem
*result
;
33132 bool temp4
= false ;
33133 bool temp5
= false ;
33134 PyObject
* obj0
= 0 ;
33135 PyObject
* obj1
= 0 ;
33136 PyObject
* obj2
= 0 ;
33137 PyObject
* obj3
= 0 ;
33138 PyObject
* obj4
= 0 ;
33139 PyObject
* obj5
= 0 ;
33140 char *kwnames
[] = {
33141 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
33144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33146 if (SWIG_arg_fail(1)) SWIG_fail
;
33148 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33149 if (SWIG_arg_fail(2)) SWIG_fail
;
33152 arg3
= (int)(SWIG_As_int(obj2
));
33153 if (SWIG_arg_fail(3)) SWIG_fail
;
33156 arg4
= wxString_in_helper(obj3
);
33157 if (arg4
== NULL
) SWIG_fail
;
33162 arg5
= wxString_in_helper(obj4
);
33163 if (arg5
== NULL
) SWIG_fail
;
33169 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
33170 if (SWIG_arg_fail(6)) SWIG_fail
;
33174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33175 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
33177 wxPyEndAllowThreads(__tstate
);
33178 if (PyErr_Occurred()) SWIG_fail
;
33181 resultobj
= wxPyMake_wxObject(result
, 0);
33205 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33206 PyObject
*resultobj
;
33207 wxMenu
*arg1
= (wxMenu
*) 0 ;
33209 wxMenuItem
*result
;
33210 PyObject
* obj0
= 0 ;
33211 PyObject
* obj1
= 0 ;
33212 char *kwnames
[] = {
33213 (char *) "self",(char *) "pos", NULL
33216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
33217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33218 if (SWIG_arg_fail(1)) SWIG_fail
;
33220 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33221 if (SWIG_arg_fail(2)) SWIG_fail
;
33224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33225 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
33227 wxPyEndAllowThreads(__tstate
);
33228 if (PyErr_Occurred()) SWIG_fail
;
33231 resultobj
= wxPyMake_wxObject(result
, 0);
33239 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33240 PyObject
*resultobj
;
33241 wxMenu
*arg1
= (wxMenu
*) 0 ;
33244 wxString
*arg4
= 0 ;
33245 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33246 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33247 wxMenuItem
*result
;
33248 bool temp4
= false ;
33249 bool temp5
= false ;
33250 PyObject
* obj0
= 0 ;
33251 PyObject
* obj1
= 0 ;
33252 PyObject
* obj2
= 0 ;
33253 PyObject
* obj3
= 0 ;
33254 PyObject
* obj4
= 0 ;
33255 char *kwnames
[] = {
33256 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
33259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33261 if (SWIG_arg_fail(1)) SWIG_fail
;
33263 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33264 if (SWIG_arg_fail(2)) SWIG_fail
;
33267 arg3
= (int)(SWIG_As_int(obj2
));
33268 if (SWIG_arg_fail(3)) SWIG_fail
;
33271 arg4
= wxString_in_helper(obj3
);
33272 if (arg4
== NULL
) SWIG_fail
;
33277 arg5
= wxString_in_helper(obj4
);
33278 if (arg5
== NULL
) SWIG_fail
;
33283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33284 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
33286 wxPyEndAllowThreads(__tstate
);
33287 if (PyErr_Occurred()) SWIG_fail
;
33290 resultobj
= wxPyMake_wxObject(result
, 0);
33314 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33315 PyObject
*resultobj
;
33316 wxMenu
*arg1
= (wxMenu
*) 0 ;
33319 wxString
*arg4
= 0 ;
33320 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33321 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33322 wxMenuItem
*result
;
33323 bool temp4
= false ;
33324 bool temp5
= false ;
33325 PyObject
* obj0
= 0 ;
33326 PyObject
* obj1
= 0 ;
33327 PyObject
* obj2
= 0 ;
33328 PyObject
* obj3
= 0 ;
33329 PyObject
* obj4
= 0 ;
33330 char *kwnames
[] = {
33331 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
33334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33336 if (SWIG_arg_fail(1)) SWIG_fail
;
33338 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33339 if (SWIG_arg_fail(2)) SWIG_fail
;
33342 arg3
= (int)(SWIG_As_int(obj2
));
33343 if (SWIG_arg_fail(3)) SWIG_fail
;
33346 arg4
= wxString_in_helper(obj3
);
33347 if (arg4
== NULL
) SWIG_fail
;
33352 arg5
= wxString_in_helper(obj4
);
33353 if (arg5
== NULL
) SWIG_fail
;
33358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33359 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
33361 wxPyEndAllowThreads(__tstate
);
33362 if (PyErr_Occurred()) SWIG_fail
;
33365 resultobj
= wxPyMake_wxObject(result
, 0);
33389 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33390 PyObject
*resultobj
;
33391 wxMenu
*arg1
= (wxMenu
*) 0 ;
33394 wxString
*arg4
= 0 ;
33395 wxMenu
*arg5
= (wxMenu
*) 0 ;
33396 wxString
const &arg6_defvalue
= wxPyEmptyString
;
33397 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
33398 wxMenuItem
*result
;
33399 bool temp4
= false ;
33400 bool temp6
= false ;
33401 PyObject
* obj0
= 0 ;
33402 PyObject
* obj1
= 0 ;
33403 PyObject
* obj2
= 0 ;
33404 PyObject
* obj3
= 0 ;
33405 PyObject
* obj4
= 0 ;
33406 PyObject
* obj5
= 0 ;
33407 char *kwnames
[] = {
33408 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33413 if (SWIG_arg_fail(1)) SWIG_fail
;
33415 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33416 if (SWIG_arg_fail(2)) SWIG_fail
;
33419 arg3
= (int)(SWIG_As_int(obj2
));
33420 if (SWIG_arg_fail(3)) SWIG_fail
;
33423 arg4
= wxString_in_helper(obj3
);
33424 if (arg4
== NULL
) SWIG_fail
;
33427 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33428 if (SWIG_arg_fail(5)) SWIG_fail
;
33431 arg6
= wxString_in_helper(obj5
);
33432 if (arg6
== NULL
) SWIG_fail
;
33437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33438 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
33440 wxPyEndAllowThreads(__tstate
);
33441 if (PyErr_Occurred()) SWIG_fail
;
33444 resultobj
= wxPyMake_wxObject(result
, 0);
33468 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33469 PyObject
*resultobj
;
33470 wxMenu
*arg1
= (wxMenu
*) 0 ;
33471 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33472 wxMenuItem
*result
;
33473 PyObject
* obj0
= 0 ;
33474 PyObject
* obj1
= 0 ;
33475 char *kwnames
[] = {
33476 (char *) "self",(char *) "item", NULL
33479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33481 if (SWIG_arg_fail(1)) SWIG_fail
;
33482 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33483 if (SWIG_arg_fail(2)) SWIG_fail
;
33485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33486 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
33488 wxPyEndAllowThreads(__tstate
);
33489 if (PyErr_Occurred()) SWIG_fail
;
33492 resultobj
= wxPyMake_wxObject(result
, 0);
33500 static PyObject
*_wrap_Menu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33501 PyObject
*resultobj
;
33502 wxMenu
*arg1
= (wxMenu
*) 0 ;
33504 wxString
*arg3
= 0 ;
33505 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33506 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33507 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
33508 wxMenuItem
*result
;
33509 bool temp3
= false ;
33510 bool temp4
= false ;
33511 PyObject
* obj0
= 0 ;
33512 PyObject
* obj1
= 0 ;
33513 PyObject
* obj2
= 0 ;
33514 PyObject
* obj3
= 0 ;
33515 PyObject
* obj4
= 0 ;
33516 char *kwnames
[] = {
33517 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
33520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33522 if (SWIG_arg_fail(1)) SWIG_fail
;
33524 arg2
= (int)(SWIG_As_int(obj1
));
33525 if (SWIG_arg_fail(2)) SWIG_fail
;
33528 arg3
= wxString_in_helper(obj2
);
33529 if (arg3
== NULL
) SWIG_fail
;
33534 arg4
= wxString_in_helper(obj3
);
33535 if (arg4
== NULL
) SWIG_fail
;
33541 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
33542 if (SWIG_arg_fail(5)) SWIG_fail
;
33546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33547 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
33549 wxPyEndAllowThreads(__tstate
);
33550 if (PyErr_Occurred()) SWIG_fail
;
33553 resultobj
= wxPyMake_wxObject(result
, 0);
33577 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33578 PyObject
*resultobj
;
33579 wxMenu
*arg1
= (wxMenu
*) 0 ;
33580 wxMenuItem
*result
;
33581 PyObject
* obj0
= 0 ;
33582 char *kwnames
[] = {
33583 (char *) "self", NULL
33586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
33587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33588 if (SWIG_arg_fail(1)) SWIG_fail
;
33590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33591 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
33593 wxPyEndAllowThreads(__tstate
);
33594 if (PyErr_Occurred()) SWIG_fail
;
33597 resultobj
= wxPyMake_wxObject(result
, 0);
33605 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33606 PyObject
*resultobj
;
33607 wxMenu
*arg1
= (wxMenu
*) 0 ;
33609 wxString
*arg3
= 0 ;
33610 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33611 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33612 wxMenuItem
*result
;
33613 bool temp3
= false ;
33614 bool temp4
= false ;
33615 PyObject
* obj0
= 0 ;
33616 PyObject
* obj1
= 0 ;
33617 PyObject
* obj2
= 0 ;
33618 PyObject
* obj3
= 0 ;
33619 char *kwnames
[] = {
33620 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33625 if (SWIG_arg_fail(1)) SWIG_fail
;
33627 arg2
= (int)(SWIG_As_int(obj1
));
33628 if (SWIG_arg_fail(2)) SWIG_fail
;
33631 arg3
= wxString_in_helper(obj2
);
33632 if (arg3
== NULL
) SWIG_fail
;
33637 arg4
= wxString_in_helper(obj3
);
33638 if (arg4
== NULL
) SWIG_fail
;
33643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33644 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33646 wxPyEndAllowThreads(__tstate
);
33647 if (PyErr_Occurred()) SWIG_fail
;
33650 resultobj
= wxPyMake_wxObject(result
, 0);
33674 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33675 PyObject
*resultobj
;
33676 wxMenu
*arg1
= (wxMenu
*) 0 ;
33678 wxString
*arg3
= 0 ;
33679 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33680 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33681 wxMenuItem
*result
;
33682 bool temp3
= false ;
33683 bool temp4
= false ;
33684 PyObject
* obj0
= 0 ;
33685 PyObject
* obj1
= 0 ;
33686 PyObject
* obj2
= 0 ;
33687 PyObject
* obj3
= 0 ;
33688 char *kwnames
[] = {
33689 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33694 if (SWIG_arg_fail(1)) SWIG_fail
;
33696 arg2
= (int)(SWIG_As_int(obj1
));
33697 if (SWIG_arg_fail(2)) SWIG_fail
;
33700 arg3
= wxString_in_helper(obj2
);
33701 if (arg3
== NULL
) SWIG_fail
;
33706 arg4
= wxString_in_helper(obj3
);
33707 if (arg4
== NULL
) SWIG_fail
;
33712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33713 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33715 wxPyEndAllowThreads(__tstate
);
33716 if (PyErr_Occurred()) SWIG_fail
;
33719 resultobj
= wxPyMake_wxObject(result
, 0);
33743 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33744 PyObject
*resultobj
;
33745 wxMenu
*arg1
= (wxMenu
*) 0 ;
33747 wxString
*arg3
= 0 ;
33748 wxMenu
*arg4
= (wxMenu
*) 0 ;
33749 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33750 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33751 wxMenuItem
*result
;
33752 bool temp3
= false ;
33753 bool temp5
= false ;
33754 PyObject
* obj0
= 0 ;
33755 PyObject
* obj1
= 0 ;
33756 PyObject
* obj2
= 0 ;
33757 PyObject
* obj3
= 0 ;
33758 PyObject
* obj4
= 0 ;
33759 char *kwnames
[] = {
33760 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33765 if (SWIG_arg_fail(1)) SWIG_fail
;
33767 arg2
= (int)(SWIG_As_int(obj1
));
33768 if (SWIG_arg_fail(2)) SWIG_fail
;
33771 arg3
= wxString_in_helper(obj2
);
33772 if (arg3
== NULL
) SWIG_fail
;
33775 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33776 if (SWIG_arg_fail(4)) SWIG_fail
;
33779 arg5
= wxString_in_helper(obj4
);
33780 if (arg5
== NULL
) SWIG_fail
;
33785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33786 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
33788 wxPyEndAllowThreads(__tstate
);
33789 if (PyErr_Occurred()) SWIG_fail
;
33792 resultobj
= wxPyMake_wxObject(result
, 0);
33816 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33817 PyObject
*resultobj
;
33818 wxMenu
*arg1
= (wxMenu
*) 0 ;
33820 wxMenuItem
*result
;
33821 PyObject
* obj0
= 0 ;
33822 PyObject
* obj1
= 0 ;
33823 char *kwnames
[] = {
33824 (char *) "self",(char *) "id", NULL
33827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) 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
= (int)(SWIG_As_int(obj1
));
33832 if (SWIG_arg_fail(2)) SWIG_fail
;
33835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33836 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
33838 wxPyEndAllowThreads(__tstate
);
33839 if (PyErr_Occurred()) SWIG_fail
;
33842 resultobj
= wxPyMake_wxObject(result
, 0);
33850 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33851 PyObject
*resultobj
;
33852 wxMenu
*arg1
= (wxMenu
*) 0 ;
33853 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33854 wxMenuItem
*result
;
33855 PyObject
* obj0
= 0 ;
33856 PyObject
* obj1
= 0 ;
33857 char *kwnames
[] = {
33858 (char *) "self",(char *) "item", NULL
33861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33863 if (SWIG_arg_fail(1)) SWIG_fail
;
33864 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33865 if (SWIG_arg_fail(2)) SWIG_fail
;
33867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33868 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
33870 wxPyEndAllowThreads(__tstate
);
33871 if (PyErr_Occurred()) SWIG_fail
;
33874 resultobj
= wxPyMake_wxObject(result
, 0);
33882 static PyObject
*_wrap_Menu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33883 PyObject
*resultobj
;
33884 wxMenu
*arg1
= (wxMenu
*) 0 ;
33887 PyObject
* obj0
= 0 ;
33888 PyObject
* obj1
= 0 ;
33889 char *kwnames
[] = {
33890 (char *) "self",(char *) "id", NULL
33893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
33894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33895 if (SWIG_arg_fail(1)) SWIG_fail
;
33897 arg2
= (int)(SWIG_As_int(obj1
));
33898 if (SWIG_arg_fail(2)) SWIG_fail
;
33901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33902 result
= (bool)(arg1
)->Delete(arg2
);
33904 wxPyEndAllowThreads(__tstate
);
33905 if (PyErr_Occurred()) SWIG_fail
;
33908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33916 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33917 PyObject
*resultobj
;
33918 wxMenu
*arg1
= (wxMenu
*) 0 ;
33919 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33921 PyObject
* obj0
= 0 ;
33922 PyObject
* obj1
= 0 ;
33923 char *kwnames
[] = {
33924 (char *) "self",(char *) "item", NULL
33927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33929 if (SWIG_arg_fail(1)) SWIG_fail
;
33930 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33931 if (SWIG_arg_fail(2)) SWIG_fail
;
33933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33934 result
= (bool)(arg1
)->Delete(arg2
);
33936 wxPyEndAllowThreads(__tstate
);
33937 if (PyErr_Occurred()) SWIG_fail
;
33940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33948 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33949 PyObject
*resultobj
;
33950 wxMenu
*arg1
= (wxMenu
*) 0 ;
33951 PyObject
* obj0
= 0 ;
33952 char *kwnames
[] = {
33953 (char *) "self", NULL
33956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
33957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33958 if (SWIG_arg_fail(1)) SWIG_fail
;
33960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33961 wxMenu_Destroy(arg1
);
33963 wxPyEndAllowThreads(__tstate
);
33964 if (PyErr_Occurred()) SWIG_fail
;
33966 Py_INCREF(Py_None
); resultobj
= Py_None
;
33973 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33974 PyObject
*resultobj
;
33975 wxMenu
*arg1
= (wxMenu
*) 0 ;
33978 PyObject
* obj0
= 0 ;
33979 PyObject
* obj1
= 0 ;
33980 char *kwnames
[] = {
33981 (char *) "self",(char *) "id", NULL
33984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
33985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33986 if (SWIG_arg_fail(1)) SWIG_fail
;
33988 arg2
= (int)(SWIG_As_int(obj1
));
33989 if (SWIG_arg_fail(2)) SWIG_fail
;
33992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33993 result
= (bool)(arg1
)->Destroy(arg2
);
33995 wxPyEndAllowThreads(__tstate
);
33996 if (PyErr_Occurred()) SWIG_fail
;
33999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34007 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34008 PyObject
*resultobj
;
34009 wxMenu
*arg1
= (wxMenu
*) 0 ;
34010 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
34012 PyObject
* obj0
= 0 ;
34013 PyObject
* obj1
= 0 ;
34014 char *kwnames
[] = {
34015 (char *) "self",(char *) "item", NULL
34018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34020 if (SWIG_arg_fail(1)) SWIG_fail
;
34021 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
34022 if (SWIG_arg_fail(2)) SWIG_fail
;
34024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34025 result
= (bool)(arg1
)->Destroy(arg2
);
34027 wxPyEndAllowThreads(__tstate
);
34028 if (PyErr_Occurred()) SWIG_fail
;
34031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34039 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34040 PyObject
*resultobj
;
34041 wxMenu
*arg1
= (wxMenu
*) 0 ;
34043 PyObject
* obj0
= 0 ;
34044 char *kwnames
[] = {
34045 (char *) "self", NULL
34048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
34049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34050 if (SWIG_arg_fail(1)) SWIG_fail
;
34052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34053 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
34055 wxPyEndAllowThreads(__tstate
);
34056 if (PyErr_Occurred()) SWIG_fail
;
34059 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
34067 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34068 PyObject
*resultobj
;
34069 wxMenu
*arg1
= (wxMenu
*) 0 ;
34071 PyObject
* obj0
= 0 ;
34072 char *kwnames
[] = {
34073 (char *) "self", NULL
34076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
34077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34078 if (SWIG_arg_fail(1)) SWIG_fail
;
34080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34081 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
34083 wxPyEndAllowThreads(__tstate
);
34084 if (PyErr_Occurred()) SWIG_fail
;
34086 resultobj
= result
;
34093 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34094 PyObject
*resultobj
;
34095 wxMenu
*arg1
= (wxMenu
*) 0 ;
34096 wxString
*arg2
= 0 ;
34098 bool temp2
= false ;
34099 PyObject
* obj0
= 0 ;
34100 PyObject
* obj1
= 0 ;
34101 char *kwnames
[] = {
34102 (char *) "self",(char *) "item", NULL
34105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34107 if (SWIG_arg_fail(1)) SWIG_fail
;
34109 arg2
= wxString_in_helper(obj1
);
34110 if (arg2
== NULL
) SWIG_fail
;
34114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34115 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
34117 wxPyEndAllowThreads(__tstate
);
34118 if (PyErr_Occurred()) SWIG_fail
;
34121 resultobj
= SWIG_From_int((int)(result
));
34137 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34138 PyObject
*resultobj
;
34139 wxMenu
*arg1
= (wxMenu
*) 0 ;
34141 wxMenuItem
*result
;
34142 PyObject
* obj0
= 0 ;
34143 PyObject
* obj1
= 0 ;
34144 char *kwnames
[] = {
34145 (char *) "self",(char *) "id", NULL
34148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
34149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34150 if (SWIG_arg_fail(1)) SWIG_fail
;
34152 arg2
= (int)(SWIG_As_int(obj1
));
34153 if (SWIG_arg_fail(2)) SWIG_fail
;
34156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34157 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
34159 wxPyEndAllowThreads(__tstate
);
34160 if (PyErr_Occurred()) SWIG_fail
;
34163 resultobj
= wxPyMake_wxObject(result
, 0);
34171 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34172 PyObject
*resultobj
;
34173 wxMenu
*arg1
= (wxMenu
*) 0 ;
34175 wxMenuItem
*result
;
34176 PyObject
* obj0
= 0 ;
34177 PyObject
* obj1
= 0 ;
34178 char *kwnames
[] = {
34179 (char *) "self",(char *) "position", NULL
34182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
34183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34184 if (SWIG_arg_fail(1)) SWIG_fail
;
34186 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34187 if (SWIG_arg_fail(2)) SWIG_fail
;
34190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34191 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
34193 wxPyEndAllowThreads(__tstate
);
34194 if (PyErr_Occurred()) SWIG_fail
;
34197 resultobj
= wxPyMake_wxObject(result
, 0);
34205 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34206 PyObject
*resultobj
;
34207 wxMenu
*arg1
= (wxMenu
*) 0 ;
34210 PyObject
* obj0
= 0 ;
34211 PyObject
* obj1
= 0 ;
34212 PyObject
* obj2
= 0 ;
34213 char *kwnames
[] = {
34214 (char *) "self",(char *) "id",(char *) "enable", NULL
34217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34219 if (SWIG_arg_fail(1)) SWIG_fail
;
34221 arg2
= (int)(SWIG_As_int(obj1
));
34222 if (SWIG_arg_fail(2)) SWIG_fail
;
34225 arg3
= (bool)(SWIG_As_bool(obj2
));
34226 if (SWIG_arg_fail(3)) SWIG_fail
;
34229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34230 (arg1
)->Enable(arg2
,arg3
);
34232 wxPyEndAllowThreads(__tstate
);
34233 if (PyErr_Occurred()) SWIG_fail
;
34235 Py_INCREF(Py_None
); resultobj
= Py_None
;
34242 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34243 PyObject
*resultobj
;
34244 wxMenu
*arg1
= (wxMenu
*) 0 ;
34247 PyObject
* obj0
= 0 ;
34248 PyObject
* obj1
= 0 ;
34249 char *kwnames
[] = {
34250 (char *) "self",(char *) "id", NULL
34253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
34254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34255 if (SWIG_arg_fail(1)) SWIG_fail
;
34257 arg2
= (int)(SWIG_As_int(obj1
));
34258 if (SWIG_arg_fail(2)) SWIG_fail
;
34261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34262 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
34264 wxPyEndAllowThreads(__tstate
);
34265 if (PyErr_Occurred()) SWIG_fail
;
34268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34276 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34277 PyObject
*resultobj
;
34278 wxMenu
*arg1
= (wxMenu
*) 0 ;
34281 PyObject
* obj0
= 0 ;
34282 PyObject
* obj1
= 0 ;
34283 PyObject
* obj2
= 0 ;
34284 char *kwnames
[] = {
34285 (char *) "self",(char *) "id",(char *) "check", NULL
34288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34290 if (SWIG_arg_fail(1)) SWIG_fail
;
34292 arg2
= (int)(SWIG_As_int(obj1
));
34293 if (SWIG_arg_fail(2)) SWIG_fail
;
34296 arg3
= (bool)(SWIG_As_bool(obj2
));
34297 if (SWIG_arg_fail(3)) SWIG_fail
;
34300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34301 (arg1
)->Check(arg2
,arg3
);
34303 wxPyEndAllowThreads(__tstate
);
34304 if (PyErr_Occurred()) SWIG_fail
;
34306 Py_INCREF(Py_None
); resultobj
= Py_None
;
34313 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34314 PyObject
*resultobj
;
34315 wxMenu
*arg1
= (wxMenu
*) 0 ;
34318 PyObject
* obj0
= 0 ;
34319 PyObject
* obj1
= 0 ;
34320 char *kwnames
[] = {
34321 (char *) "self",(char *) "id", NULL
34324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
34325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34326 if (SWIG_arg_fail(1)) SWIG_fail
;
34328 arg2
= (int)(SWIG_As_int(obj1
));
34329 if (SWIG_arg_fail(2)) SWIG_fail
;
34332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34333 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
34335 wxPyEndAllowThreads(__tstate
);
34336 if (PyErr_Occurred()) SWIG_fail
;
34339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34347 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34348 PyObject
*resultobj
;
34349 wxMenu
*arg1
= (wxMenu
*) 0 ;
34351 wxString
*arg3
= 0 ;
34352 bool temp3
= false ;
34353 PyObject
* obj0
= 0 ;
34354 PyObject
* obj1
= 0 ;
34355 PyObject
* obj2
= 0 ;
34356 char *kwnames
[] = {
34357 (char *) "self",(char *) "id",(char *) "label", NULL
34360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34362 if (SWIG_arg_fail(1)) SWIG_fail
;
34364 arg2
= (int)(SWIG_As_int(obj1
));
34365 if (SWIG_arg_fail(2)) SWIG_fail
;
34368 arg3
= wxString_in_helper(obj2
);
34369 if (arg3
== NULL
) SWIG_fail
;
34373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34374 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
34376 wxPyEndAllowThreads(__tstate
);
34377 if (PyErr_Occurred()) SWIG_fail
;
34379 Py_INCREF(Py_None
); resultobj
= Py_None
;
34394 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34395 PyObject
*resultobj
;
34396 wxMenu
*arg1
= (wxMenu
*) 0 ;
34399 PyObject
* obj0
= 0 ;
34400 PyObject
* obj1
= 0 ;
34401 char *kwnames
[] = {
34402 (char *) "self",(char *) "id", NULL
34405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
34406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34407 if (SWIG_arg_fail(1)) SWIG_fail
;
34409 arg2
= (int)(SWIG_As_int(obj1
));
34410 if (SWIG_arg_fail(2)) SWIG_fail
;
34413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34414 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
34416 wxPyEndAllowThreads(__tstate
);
34417 if (PyErr_Occurred()) SWIG_fail
;
34421 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34423 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34432 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34433 PyObject
*resultobj
;
34434 wxMenu
*arg1
= (wxMenu
*) 0 ;
34436 wxString
*arg3
= 0 ;
34437 bool temp3
= false ;
34438 PyObject
* obj0
= 0 ;
34439 PyObject
* obj1
= 0 ;
34440 PyObject
* obj2
= 0 ;
34441 char *kwnames
[] = {
34442 (char *) "self",(char *) "id",(char *) "helpString", NULL
34445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34447 if (SWIG_arg_fail(1)) SWIG_fail
;
34449 arg2
= (int)(SWIG_As_int(obj1
));
34450 if (SWIG_arg_fail(2)) SWIG_fail
;
34453 arg3
= wxString_in_helper(obj2
);
34454 if (arg3
== NULL
) SWIG_fail
;
34458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34459 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
34461 wxPyEndAllowThreads(__tstate
);
34462 if (PyErr_Occurred()) SWIG_fail
;
34464 Py_INCREF(Py_None
); resultobj
= Py_None
;
34479 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34480 PyObject
*resultobj
;
34481 wxMenu
*arg1
= (wxMenu
*) 0 ;
34484 PyObject
* obj0
= 0 ;
34485 PyObject
* obj1
= 0 ;
34486 char *kwnames
[] = {
34487 (char *) "self",(char *) "id", NULL
34490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
34491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34492 if (SWIG_arg_fail(1)) SWIG_fail
;
34494 arg2
= (int)(SWIG_As_int(obj1
));
34495 if (SWIG_arg_fail(2)) SWIG_fail
;
34498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34499 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
34501 wxPyEndAllowThreads(__tstate
);
34502 if (PyErr_Occurred()) SWIG_fail
;
34506 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34508 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34517 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34518 PyObject
*resultobj
;
34519 wxMenu
*arg1
= (wxMenu
*) 0 ;
34520 wxString
*arg2
= 0 ;
34521 bool temp2
= false ;
34522 PyObject
* obj0
= 0 ;
34523 PyObject
* obj1
= 0 ;
34524 char *kwnames
[] = {
34525 (char *) "self",(char *) "title", NULL
34528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
34529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34530 if (SWIG_arg_fail(1)) SWIG_fail
;
34532 arg2
= wxString_in_helper(obj1
);
34533 if (arg2
== NULL
) SWIG_fail
;
34537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34538 (arg1
)->SetTitle((wxString
const &)*arg2
);
34540 wxPyEndAllowThreads(__tstate
);
34541 if (PyErr_Occurred()) SWIG_fail
;
34543 Py_INCREF(Py_None
); resultobj
= Py_None
;
34558 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34559 PyObject
*resultobj
;
34560 wxMenu
*arg1
= (wxMenu
*) 0 ;
34562 PyObject
* obj0
= 0 ;
34563 char *kwnames
[] = {
34564 (char *) "self", NULL
34567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
34568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34569 if (SWIG_arg_fail(1)) SWIG_fail
;
34571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34572 result
= ((wxMenu
const *)arg1
)->GetTitle();
34574 wxPyEndAllowThreads(__tstate
);
34575 if (PyErr_Occurred()) SWIG_fail
;
34579 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34581 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34590 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34591 PyObject
*resultobj
;
34592 wxMenu
*arg1
= (wxMenu
*) 0 ;
34593 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
34594 PyObject
* obj0
= 0 ;
34595 PyObject
* obj1
= 0 ;
34596 char *kwnames
[] = {
34597 (char *) "self",(char *) "handler", NULL
34600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
34601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34602 if (SWIG_arg_fail(1)) SWIG_fail
;
34603 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
34604 if (SWIG_arg_fail(2)) SWIG_fail
;
34606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34607 (arg1
)->SetEventHandler(arg2
);
34609 wxPyEndAllowThreads(__tstate
);
34610 if (PyErr_Occurred()) SWIG_fail
;
34612 Py_INCREF(Py_None
); resultobj
= Py_None
;
34619 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34620 PyObject
*resultobj
;
34621 wxMenu
*arg1
= (wxMenu
*) 0 ;
34622 wxEvtHandler
*result
;
34623 PyObject
* obj0
= 0 ;
34624 char *kwnames
[] = {
34625 (char *) "self", NULL
34628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
34629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34630 if (SWIG_arg_fail(1)) SWIG_fail
;
34632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34633 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
34635 wxPyEndAllowThreads(__tstate
);
34636 if (PyErr_Occurred()) SWIG_fail
;
34639 resultobj
= wxPyMake_wxObject(result
, 0);
34647 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34648 PyObject
*resultobj
;
34649 wxMenu
*arg1
= (wxMenu
*) 0 ;
34650 wxWindow
*arg2
= (wxWindow
*) 0 ;
34651 PyObject
* obj0
= 0 ;
34652 PyObject
* obj1
= 0 ;
34653 char *kwnames
[] = {
34654 (char *) "self",(char *) "win", NULL
34657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
34658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34659 if (SWIG_arg_fail(1)) SWIG_fail
;
34660 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34661 if (SWIG_arg_fail(2)) SWIG_fail
;
34663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34664 (arg1
)->SetInvokingWindow(arg2
);
34666 wxPyEndAllowThreads(__tstate
);
34667 if (PyErr_Occurred()) SWIG_fail
;
34669 Py_INCREF(Py_None
); resultobj
= Py_None
;
34676 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34677 PyObject
*resultobj
;
34678 wxMenu
*arg1
= (wxMenu
*) 0 ;
34680 PyObject
* obj0
= 0 ;
34681 char *kwnames
[] = {
34682 (char *) "self", NULL
34685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
34686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34687 if (SWIG_arg_fail(1)) SWIG_fail
;
34689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34690 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
34692 wxPyEndAllowThreads(__tstate
);
34693 if (PyErr_Occurred()) SWIG_fail
;
34696 resultobj
= wxPyMake_wxObject(result
, 0);
34704 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34705 PyObject
*resultobj
;
34706 wxMenu
*arg1
= (wxMenu
*) 0 ;
34708 PyObject
* obj0
= 0 ;
34709 char *kwnames
[] = {
34710 (char *) "self", NULL
34713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
34714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34715 if (SWIG_arg_fail(1)) SWIG_fail
;
34717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34718 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
34720 wxPyEndAllowThreads(__tstate
);
34721 if (PyErr_Occurred()) SWIG_fail
;
34724 resultobj
= SWIG_From_long((long)(result
));
34732 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34733 PyObject
*resultobj
;
34734 wxMenu
*arg1
= (wxMenu
*) 0 ;
34735 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
34736 PyObject
* obj0
= 0 ;
34737 PyObject
* obj1
= 0 ;
34738 char *kwnames
[] = {
34739 (char *) "self",(char *) "source", NULL
34742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
34743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34744 if (SWIG_arg_fail(1)) SWIG_fail
;
34746 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
34747 if (SWIG_arg_fail(2)) SWIG_fail
;
34750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34751 (arg1
)->UpdateUI(arg2
);
34753 wxPyEndAllowThreads(__tstate
);
34754 if (PyErr_Occurred()) SWIG_fail
;
34756 Py_INCREF(Py_None
); resultobj
= Py_None
;
34763 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34764 PyObject
*resultobj
;
34765 wxMenu
*arg1
= (wxMenu
*) 0 ;
34767 PyObject
* obj0
= 0 ;
34768 char *kwnames
[] = {
34769 (char *) "self", NULL
34772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
34773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34774 if (SWIG_arg_fail(1)) SWIG_fail
;
34776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34777 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
34779 wxPyEndAllowThreads(__tstate
);
34780 if (PyErr_Occurred()) SWIG_fail
;
34783 resultobj
= wxPyMake_wxObject(result
, 0);
34791 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34792 PyObject
*resultobj
;
34793 wxMenu
*arg1
= (wxMenu
*) 0 ;
34794 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
34795 PyObject
* obj0
= 0 ;
34796 PyObject
* obj1
= 0 ;
34797 char *kwnames
[] = {
34798 (char *) "self",(char *) "menubar", NULL
34801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
34802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34803 if (SWIG_arg_fail(1)) SWIG_fail
;
34804 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBarBase
, SWIG_POINTER_EXCEPTION
| 0);
34805 if (SWIG_arg_fail(2)) SWIG_fail
;
34807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34808 (arg1
)->Attach(arg2
);
34810 wxPyEndAllowThreads(__tstate
);
34811 if (PyErr_Occurred()) SWIG_fail
;
34813 Py_INCREF(Py_None
); resultobj
= Py_None
;
34820 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34821 PyObject
*resultobj
;
34822 wxMenu
*arg1
= (wxMenu
*) 0 ;
34823 PyObject
* obj0
= 0 ;
34824 char *kwnames
[] = {
34825 (char *) "self", NULL
34828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
34829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34830 if (SWIG_arg_fail(1)) SWIG_fail
;
34832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34835 wxPyEndAllowThreads(__tstate
);
34836 if (PyErr_Occurred()) SWIG_fail
;
34838 Py_INCREF(Py_None
); resultobj
= Py_None
;
34845 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34846 PyObject
*resultobj
;
34847 wxMenu
*arg1
= (wxMenu
*) 0 ;
34849 PyObject
* obj0
= 0 ;
34850 char *kwnames
[] = {
34851 (char *) "self", NULL
34854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
34855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34856 if (SWIG_arg_fail(1)) SWIG_fail
;
34858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34859 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
34861 wxPyEndAllowThreads(__tstate
);
34862 if (PyErr_Occurred()) SWIG_fail
;
34865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34873 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34874 PyObject
*resultobj
;
34875 wxMenu
*arg1
= (wxMenu
*) 0 ;
34876 wxMenu
*arg2
= (wxMenu
*) 0 ;
34877 PyObject
* obj0
= 0 ;
34878 PyObject
* obj1
= 0 ;
34879 char *kwnames
[] = {
34880 (char *) "self",(char *) "parent", NULL
34883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
34884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34885 if (SWIG_arg_fail(1)) SWIG_fail
;
34886 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34887 if (SWIG_arg_fail(2)) SWIG_fail
;
34889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34890 (arg1
)->SetParent(arg2
);
34892 wxPyEndAllowThreads(__tstate
);
34893 if (PyErr_Occurred()) SWIG_fail
;
34895 Py_INCREF(Py_None
); resultobj
= Py_None
;
34902 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34903 PyObject
*resultobj
;
34904 wxMenu
*arg1
= (wxMenu
*) 0 ;
34906 PyObject
* obj0
= 0 ;
34907 char *kwnames
[] = {
34908 (char *) "self", NULL
34911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
34912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34913 if (SWIG_arg_fail(1)) SWIG_fail
;
34915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34916 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
34918 wxPyEndAllowThreads(__tstate
);
34919 if (PyErr_Occurred()) SWIG_fail
;
34922 resultobj
= wxPyMake_wxObject(result
, 0);
34930 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
34932 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34933 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
34935 return Py_BuildValue((char *)"");
34937 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34938 PyObject
*resultobj
;
34939 long arg1
= (long) 0 ;
34941 PyObject
* obj0
= 0 ;
34942 char *kwnames
[] = {
34943 (char *) "style", NULL
34946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
34949 arg1
= (long)(SWIG_As_long(obj0
));
34950 if (SWIG_arg_fail(1)) SWIG_fail
;
34954 if (!wxPyCheckForApp()) SWIG_fail
;
34955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34956 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
34958 wxPyEndAllowThreads(__tstate
);
34959 if (PyErr_Occurred()) SWIG_fail
;
34961 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
34968 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34969 PyObject
*resultobj
;
34970 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34971 wxMenu
*arg2
= (wxMenu
*) 0 ;
34972 wxString
*arg3
= 0 ;
34974 bool temp3
= false ;
34975 PyObject
* obj0
= 0 ;
34976 PyObject
* obj1
= 0 ;
34977 PyObject
* obj2
= 0 ;
34978 char *kwnames
[] = {
34979 (char *) "self",(char *) "menu",(char *) "title", NULL
34982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34984 if (SWIG_arg_fail(1)) SWIG_fail
;
34985 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34986 if (SWIG_arg_fail(2)) SWIG_fail
;
34988 arg3
= wxString_in_helper(obj2
);
34989 if (arg3
== NULL
) SWIG_fail
;
34993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34994 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
34996 wxPyEndAllowThreads(__tstate
);
34997 if (PyErr_Occurred()) SWIG_fail
;
35000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35016 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35017 PyObject
*resultobj
;
35018 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35020 wxMenu
*arg3
= (wxMenu
*) 0 ;
35021 wxString
*arg4
= 0 ;
35023 bool temp4
= false ;
35024 PyObject
* obj0
= 0 ;
35025 PyObject
* obj1
= 0 ;
35026 PyObject
* obj2
= 0 ;
35027 PyObject
* obj3
= 0 ;
35028 char *kwnames
[] = {
35029 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
35032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
35033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35034 if (SWIG_arg_fail(1)) SWIG_fail
;
35036 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35037 if (SWIG_arg_fail(2)) SWIG_fail
;
35039 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35040 if (SWIG_arg_fail(3)) SWIG_fail
;
35042 arg4
= wxString_in_helper(obj3
);
35043 if (arg4
== NULL
) SWIG_fail
;
35047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35048 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
35050 wxPyEndAllowThreads(__tstate
);
35051 if (PyErr_Occurred()) SWIG_fail
;
35054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35070 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35071 PyObject
*resultobj
;
35072 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35074 PyObject
* obj0
= 0 ;
35075 char *kwnames
[] = {
35076 (char *) "self", NULL
35079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
35080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35081 if (SWIG_arg_fail(1)) SWIG_fail
;
35083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35084 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
35086 wxPyEndAllowThreads(__tstate
);
35087 if (PyErr_Occurred()) SWIG_fail
;
35090 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
35098 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35099 PyObject
*resultobj
;
35100 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35103 PyObject
* obj0
= 0 ;
35104 PyObject
* obj1
= 0 ;
35105 char *kwnames
[] = {
35106 (char *) "self",(char *) "pos", NULL
35109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35111 if (SWIG_arg_fail(1)) SWIG_fail
;
35113 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35114 if (SWIG_arg_fail(2)) SWIG_fail
;
35117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35118 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
35120 wxPyEndAllowThreads(__tstate
);
35121 if (PyErr_Occurred()) SWIG_fail
;
35124 resultobj
= wxPyMake_wxObject(result
, 0);
35132 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35133 PyObject
*resultobj
;
35134 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35136 wxMenu
*arg3
= (wxMenu
*) 0 ;
35137 wxString
*arg4
= 0 ;
35139 bool temp4
= false ;
35140 PyObject
* obj0
= 0 ;
35141 PyObject
* obj1
= 0 ;
35142 PyObject
* obj2
= 0 ;
35143 PyObject
* obj3
= 0 ;
35144 char *kwnames
[] = {
35145 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
35148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
35149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35150 if (SWIG_arg_fail(1)) SWIG_fail
;
35152 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35153 if (SWIG_arg_fail(2)) SWIG_fail
;
35155 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35156 if (SWIG_arg_fail(3)) SWIG_fail
;
35158 arg4
= wxString_in_helper(obj3
);
35159 if (arg4
== NULL
) SWIG_fail
;
35163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35164 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
35166 wxPyEndAllowThreads(__tstate
);
35167 if (PyErr_Occurred()) SWIG_fail
;
35170 resultobj
= wxPyMake_wxObject(result
, 0);
35186 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35187 PyObject
*resultobj
;
35188 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35191 PyObject
* obj0
= 0 ;
35192 PyObject
* obj1
= 0 ;
35193 char *kwnames
[] = {
35194 (char *) "self",(char *) "pos", NULL
35197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
35198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35199 if (SWIG_arg_fail(1)) SWIG_fail
;
35201 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35202 if (SWIG_arg_fail(2)) SWIG_fail
;
35205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35206 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
35208 wxPyEndAllowThreads(__tstate
);
35209 if (PyErr_Occurred()) SWIG_fail
;
35212 resultobj
= wxPyMake_wxObject(result
, 0);
35220 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35221 PyObject
*resultobj
;
35222 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35225 PyObject
* obj0
= 0 ;
35226 PyObject
* obj1
= 0 ;
35227 PyObject
* obj2
= 0 ;
35228 char *kwnames
[] = {
35229 (char *) "self",(char *) "pos",(char *) "enable", NULL
35232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35234 if (SWIG_arg_fail(1)) SWIG_fail
;
35236 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35237 if (SWIG_arg_fail(2)) SWIG_fail
;
35240 arg3
= (bool)(SWIG_As_bool(obj2
));
35241 if (SWIG_arg_fail(3)) SWIG_fail
;
35244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35245 (arg1
)->EnableTop(arg2
,arg3
);
35247 wxPyEndAllowThreads(__tstate
);
35248 if (PyErr_Occurred()) SWIG_fail
;
35250 Py_INCREF(Py_None
); resultobj
= Py_None
;
35257 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35258 PyObject
*resultobj
;
35259 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35262 PyObject
* obj0
= 0 ;
35263 PyObject
* obj1
= 0 ;
35264 char *kwnames
[] = {
35265 (char *) "self",(char *) "pos", NULL
35268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
35269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35270 if (SWIG_arg_fail(1)) SWIG_fail
;
35272 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35273 if (SWIG_arg_fail(2)) SWIG_fail
;
35276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35277 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
35279 wxPyEndAllowThreads(__tstate
);
35280 if (PyErr_Occurred()) SWIG_fail
;
35283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35291 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35292 PyObject
*resultobj
;
35293 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35295 wxString
*arg3
= 0 ;
35296 bool temp3
= false ;
35297 PyObject
* obj0
= 0 ;
35298 PyObject
* obj1
= 0 ;
35299 PyObject
* obj2
= 0 ;
35300 char *kwnames
[] = {
35301 (char *) "self",(char *) "pos",(char *) "label", NULL
35304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35306 if (SWIG_arg_fail(1)) SWIG_fail
;
35308 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35309 if (SWIG_arg_fail(2)) SWIG_fail
;
35312 arg3
= wxString_in_helper(obj2
);
35313 if (arg3
== NULL
) SWIG_fail
;
35317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35318 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
35320 wxPyEndAllowThreads(__tstate
);
35321 if (PyErr_Occurred()) SWIG_fail
;
35323 Py_INCREF(Py_None
); resultobj
= Py_None
;
35338 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35339 PyObject
*resultobj
;
35340 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35343 PyObject
* obj0
= 0 ;
35344 PyObject
* obj1
= 0 ;
35345 char *kwnames
[] = {
35346 (char *) "self",(char *) "pos", NULL
35349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
35350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35351 if (SWIG_arg_fail(1)) SWIG_fail
;
35353 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35354 if (SWIG_arg_fail(2)) SWIG_fail
;
35357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35358 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
35360 wxPyEndAllowThreads(__tstate
);
35361 if (PyErr_Occurred()) SWIG_fail
;
35365 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35367 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35376 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35377 PyObject
*resultobj
;
35378 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35379 wxString
*arg2
= 0 ;
35380 wxString
*arg3
= 0 ;
35382 bool temp2
= false ;
35383 bool temp3
= false ;
35384 PyObject
* obj0
= 0 ;
35385 PyObject
* obj1
= 0 ;
35386 PyObject
* obj2
= 0 ;
35387 char *kwnames
[] = {
35388 (char *) "self",(char *) "menu",(char *) "item", NULL
35391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35393 if (SWIG_arg_fail(1)) SWIG_fail
;
35395 arg2
= wxString_in_helper(obj1
);
35396 if (arg2
== NULL
) SWIG_fail
;
35400 arg3
= wxString_in_helper(obj2
);
35401 if (arg3
== NULL
) SWIG_fail
;
35405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35406 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
35408 wxPyEndAllowThreads(__tstate
);
35409 if (PyErr_Occurred()) SWIG_fail
;
35412 resultobj
= SWIG_From_int((int)(result
));
35436 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35437 PyObject
*resultobj
;
35438 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35440 wxMenuItem
*result
;
35441 PyObject
* obj0
= 0 ;
35442 PyObject
* obj1
= 0 ;
35443 char *kwnames
[] = {
35444 (char *) "self",(char *) "id", NULL
35447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
35448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35449 if (SWIG_arg_fail(1)) SWIG_fail
;
35451 arg2
= (int)(SWIG_As_int(obj1
));
35452 if (SWIG_arg_fail(2)) SWIG_fail
;
35455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35456 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
35458 wxPyEndAllowThreads(__tstate
);
35459 if (PyErr_Occurred()) SWIG_fail
;
35462 resultobj
= wxPyMake_wxObject(result
, 0);
35470 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35471 PyObject
*resultobj
;
35472 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35473 wxString
*arg2
= 0 ;
35475 bool temp2
= false ;
35476 PyObject
* obj0
= 0 ;
35477 PyObject
* obj1
= 0 ;
35478 char *kwnames
[] = {
35479 (char *) "self",(char *) "title", NULL
35482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35484 if (SWIG_arg_fail(1)) SWIG_fail
;
35486 arg2
= wxString_in_helper(obj1
);
35487 if (arg2
== NULL
) SWIG_fail
;
35491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35492 result
= (int)(arg1
)->FindMenu((wxString
const &)*arg2
);
35494 wxPyEndAllowThreads(__tstate
);
35495 if (PyErr_Occurred()) SWIG_fail
;
35498 resultobj
= SWIG_From_int((int)(result
));
35514 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35515 PyObject
*resultobj
;
35516 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35519 PyObject
* obj0
= 0 ;
35520 PyObject
* obj1
= 0 ;
35521 PyObject
* obj2
= 0 ;
35522 char *kwnames
[] = {
35523 (char *) "self",(char *) "id",(char *) "enable", NULL
35526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35528 if (SWIG_arg_fail(1)) SWIG_fail
;
35530 arg2
= (int)(SWIG_As_int(obj1
));
35531 if (SWIG_arg_fail(2)) SWIG_fail
;
35534 arg3
= (bool)(SWIG_As_bool(obj2
));
35535 if (SWIG_arg_fail(3)) SWIG_fail
;
35538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35539 (arg1
)->Enable(arg2
,arg3
);
35541 wxPyEndAllowThreads(__tstate
);
35542 if (PyErr_Occurred()) SWIG_fail
;
35544 Py_INCREF(Py_None
); resultobj
= Py_None
;
35551 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35552 PyObject
*resultobj
;
35553 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35556 PyObject
* obj0
= 0 ;
35557 PyObject
* obj1
= 0 ;
35558 PyObject
* obj2
= 0 ;
35559 char *kwnames
[] = {
35560 (char *) "self",(char *) "id",(char *) "check", NULL
35563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35565 if (SWIG_arg_fail(1)) SWIG_fail
;
35567 arg2
= (int)(SWIG_As_int(obj1
));
35568 if (SWIG_arg_fail(2)) SWIG_fail
;
35571 arg3
= (bool)(SWIG_As_bool(obj2
));
35572 if (SWIG_arg_fail(3)) SWIG_fail
;
35575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35576 (arg1
)->Check(arg2
,arg3
);
35578 wxPyEndAllowThreads(__tstate
);
35579 if (PyErr_Occurred()) SWIG_fail
;
35581 Py_INCREF(Py_None
); resultobj
= Py_None
;
35588 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35589 PyObject
*resultobj
;
35590 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35593 PyObject
* obj0
= 0 ;
35594 PyObject
* obj1
= 0 ;
35595 char *kwnames
[] = {
35596 (char *) "self",(char *) "id", NULL
35599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
35600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35601 if (SWIG_arg_fail(1)) SWIG_fail
;
35603 arg2
= (int)(SWIG_As_int(obj1
));
35604 if (SWIG_arg_fail(2)) SWIG_fail
;
35607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35608 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
35610 wxPyEndAllowThreads(__tstate
);
35611 if (PyErr_Occurred()) SWIG_fail
;
35614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35622 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35623 PyObject
*resultobj
;
35624 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35627 PyObject
* obj0
= 0 ;
35628 PyObject
* obj1
= 0 ;
35629 char *kwnames
[] = {
35630 (char *) "self",(char *) "id", NULL
35633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
35634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35635 if (SWIG_arg_fail(1)) SWIG_fail
;
35637 arg2
= (int)(SWIG_As_int(obj1
));
35638 if (SWIG_arg_fail(2)) SWIG_fail
;
35641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35642 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
35644 wxPyEndAllowThreads(__tstate
);
35645 if (PyErr_Occurred()) SWIG_fail
;
35648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35656 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35657 PyObject
*resultobj
;
35658 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35660 wxString
*arg3
= 0 ;
35661 bool temp3
= false ;
35662 PyObject
* obj0
= 0 ;
35663 PyObject
* obj1
= 0 ;
35664 PyObject
* obj2
= 0 ;
35665 char *kwnames
[] = {
35666 (char *) "self",(char *) "id",(char *) "label", NULL
35669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35671 if (SWIG_arg_fail(1)) SWIG_fail
;
35673 arg2
= (int)(SWIG_As_int(obj1
));
35674 if (SWIG_arg_fail(2)) SWIG_fail
;
35677 arg3
= wxString_in_helper(obj2
);
35678 if (arg3
== NULL
) SWIG_fail
;
35682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35683 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
35685 wxPyEndAllowThreads(__tstate
);
35686 if (PyErr_Occurred()) SWIG_fail
;
35688 Py_INCREF(Py_None
); resultobj
= Py_None
;
35703 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35704 PyObject
*resultobj
;
35705 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35708 PyObject
* obj0
= 0 ;
35709 PyObject
* obj1
= 0 ;
35710 char *kwnames
[] = {
35711 (char *) "self",(char *) "id", NULL
35714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
35715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35716 if (SWIG_arg_fail(1)) SWIG_fail
;
35718 arg2
= (int)(SWIG_As_int(obj1
));
35719 if (SWIG_arg_fail(2)) SWIG_fail
;
35722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35723 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
35725 wxPyEndAllowThreads(__tstate
);
35726 if (PyErr_Occurred()) SWIG_fail
;
35730 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35732 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35741 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35742 PyObject
*resultobj
;
35743 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35745 wxString
*arg3
= 0 ;
35746 bool temp3
= false ;
35747 PyObject
* obj0
= 0 ;
35748 PyObject
* obj1
= 0 ;
35749 PyObject
* obj2
= 0 ;
35750 char *kwnames
[] = {
35751 (char *) "self",(char *) "id",(char *) "helpString", NULL
35754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35756 if (SWIG_arg_fail(1)) SWIG_fail
;
35758 arg2
= (int)(SWIG_As_int(obj1
));
35759 if (SWIG_arg_fail(2)) SWIG_fail
;
35762 arg3
= wxString_in_helper(obj2
);
35763 if (arg3
== NULL
) SWIG_fail
;
35767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35768 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
35770 wxPyEndAllowThreads(__tstate
);
35771 if (PyErr_Occurred()) SWIG_fail
;
35773 Py_INCREF(Py_None
); resultobj
= Py_None
;
35788 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35789 PyObject
*resultobj
;
35790 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35793 PyObject
* obj0
= 0 ;
35794 PyObject
* obj1
= 0 ;
35795 char *kwnames
[] = {
35796 (char *) "self",(char *) "id", NULL
35799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
35800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35801 if (SWIG_arg_fail(1)) SWIG_fail
;
35803 arg2
= (int)(SWIG_As_int(obj1
));
35804 if (SWIG_arg_fail(2)) SWIG_fail
;
35807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35808 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
35810 wxPyEndAllowThreads(__tstate
);
35811 if (PyErr_Occurred()) SWIG_fail
;
35815 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35817 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35826 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35827 PyObject
*resultobj
;
35828 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35830 PyObject
* obj0
= 0 ;
35831 char *kwnames
[] = {
35832 (char *) "self", NULL
35835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
35836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35837 if (SWIG_arg_fail(1)) SWIG_fail
;
35839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35840 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
35842 wxPyEndAllowThreads(__tstate
);
35843 if (PyErr_Occurred()) SWIG_fail
;
35846 resultobj
= wxPyMake_wxObject(result
, 0);
35854 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35855 PyObject
*resultobj
;
35856 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35858 PyObject
* obj0
= 0 ;
35859 char *kwnames
[] = {
35860 (char *) "self", NULL
35863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
35864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35865 if (SWIG_arg_fail(1)) SWIG_fail
;
35867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35868 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
35870 wxPyEndAllowThreads(__tstate
);
35871 if (PyErr_Occurred()) SWIG_fail
;
35874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35882 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35883 PyObject
*resultobj
;
35884 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35885 wxFrame
*arg2
= (wxFrame
*) 0 ;
35886 PyObject
* obj0
= 0 ;
35887 PyObject
* obj1
= 0 ;
35888 char *kwnames
[] = {
35889 (char *) "self",(char *) "frame", NULL
35892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
35893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35894 if (SWIG_arg_fail(1)) SWIG_fail
;
35895 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
35896 if (SWIG_arg_fail(2)) SWIG_fail
;
35898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35899 (arg1
)->Attach(arg2
);
35901 wxPyEndAllowThreads(__tstate
);
35902 if (PyErr_Occurred()) SWIG_fail
;
35904 Py_INCREF(Py_None
); resultobj
= Py_None
;
35911 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35912 PyObject
*resultobj
;
35913 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35914 PyObject
* obj0
= 0 ;
35915 char *kwnames
[] = {
35916 (char *) "self", NULL
35919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
35920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35921 if (SWIG_arg_fail(1)) SWIG_fail
;
35923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35926 wxPyEndAllowThreads(__tstate
);
35927 if (PyErr_Occurred()) SWIG_fail
;
35929 Py_INCREF(Py_None
); resultobj
= Py_None
;
35936 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
35938 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35939 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
35941 return Py_BuildValue((char *)"");
35943 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35944 PyObject
*resultobj
;
35945 wxMenu
*arg1
= (wxMenu
*) NULL
;
35946 int arg2
= (int) wxID_ANY
;
35947 wxString
const &arg3_defvalue
= wxPyEmptyString
;
35948 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
35949 wxString
const &arg4_defvalue
= wxPyEmptyString
;
35950 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
35951 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
35952 wxMenu
*arg6
= (wxMenu
*) NULL
;
35953 wxMenuItem
*result
;
35954 bool temp3
= false ;
35955 bool temp4
= false ;
35956 PyObject
* obj0
= 0 ;
35957 PyObject
* obj1
= 0 ;
35958 PyObject
* obj2
= 0 ;
35959 PyObject
* obj3
= 0 ;
35960 PyObject
* obj4
= 0 ;
35961 PyObject
* obj5
= 0 ;
35962 char *kwnames
[] = {
35963 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
35966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35969 if (SWIG_arg_fail(1)) SWIG_fail
;
35973 arg2
= (int)(SWIG_As_int(obj1
));
35974 if (SWIG_arg_fail(2)) SWIG_fail
;
35979 arg3
= wxString_in_helper(obj2
);
35980 if (arg3
== NULL
) SWIG_fail
;
35986 arg4
= wxString_in_helper(obj3
);
35987 if (arg4
== NULL
) SWIG_fail
;
35993 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
35994 if (SWIG_arg_fail(5)) SWIG_fail
;
35998 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35999 if (SWIG_arg_fail(6)) SWIG_fail
;
36002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36003 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
36005 wxPyEndAllowThreads(__tstate
);
36006 if (PyErr_Occurred()) SWIG_fail
;
36009 resultobj
= wxPyMake_wxObject(result
, 1);
36033 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36034 PyObject
*resultobj
;
36035 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36037 PyObject
* obj0
= 0 ;
36038 char *kwnames
[] = {
36039 (char *) "self", NULL
36042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
36043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36044 if (SWIG_arg_fail(1)) SWIG_fail
;
36046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36047 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
36049 wxPyEndAllowThreads(__tstate
);
36050 if (PyErr_Occurred()) SWIG_fail
;
36053 resultobj
= wxPyMake_wxObject(result
, 0);
36061 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36062 PyObject
*resultobj
;
36063 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36064 wxMenu
*arg2
= (wxMenu
*) 0 ;
36065 PyObject
* obj0
= 0 ;
36066 PyObject
* obj1
= 0 ;
36067 char *kwnames
[] = {
36068 (char *) "self",(char *) "menu", NULL
36071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
36072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36073 if (SWIG_arg_fail(1)) SWIG_fail
;
36074 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
36075 if (SWIG_arg_fail(2)) SWIG_fail
;
36077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36078 (arg1
)->SetMenu(arg2
);
36080 wxPyEndAllowThreads(__tstate
);
36081 if (PyErr_Occurred()) SWIG_fail
;
36083 Py_INCREF(Py_None
); resultobj
= Py_None
;
36090 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36091 PyObject
*resultobj
;
36092 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36094 PyObject
* obj0
= 0 ;
36095 PyObject
* obj1
= 0 ;
36096 char *kwnames
[] = {
36097 (char *) "self",(char *) "id", NULL
36100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
36101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36102 if (SWIG_arg_fail(1)) SWIG_fail
;
36104 arg2
= (int)(SWIG_As_int(obj1
));
36105 if (SWIG_arg_fail(2)) SWIG_fail
;
36108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36109 (arg1
)->SetId(arg2
);
36111 wxPyEndAllowThreads(__tstate
);
36112 if (PyErr_Occurred()) SWIG_fail
;
36114 Py_INCREF(Py_None
); resultobj
= Py_None
;
36121 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36122 PyObject
*resultobj
;
36123 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36125 PyObject
* obj0
= 0 ;
36126 char *kwnames
[] = {
36127 (char *) "self", NULL
36130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
36131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36132 if (SWIG_arg_fail(1)) SWIG_fail
;
36134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36135 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
36137 wxPyEndAllowThreads(__tstate
);
36138 if (PyErr_Occurred()) SWIG_fail
;
36141 resultobj
= SWIG_From_int((int)(result
));
36149 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36150 PyObject
*resultobj
;
36151 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36153 PyObject
* obj0
= 0 ;
36154 char *kwnames
[] = {
36155 (char *) "self", NULL
36158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
36159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36160 if (SWIG_arg_fail(1)) SWIG_fail
;
36162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36163 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
36165 wxPyEndAllowThreads(__tstate
);
36166 if (PyErr_Occurred()) SWIG_fail
;
36169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36177 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36178 PyObject
*resultobj
;
36179 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36180 wxString
*arg2
= 0 ;
36181 bool temp2
= false ;
36182 PyObject
* obj0
= 0 ;
36183 PyObject
* obj1
= 0 ;
36184 char *kwnames
[] = {
36185 (char *) "self",(char *) "str", NULL
36188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
36189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36190 if (SWIG_arg_fail(1)) SWIG_fail
;
36192 arg2
= wxString_in_helper(obj1
);
36193 if (arg2
== NULL
) SWIG_fail
;
36197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36198 (arg1
)->SetText((wxString
const &)*arg2
);
36200 wxPyEndAllowThreads(__tstate
);
36201 if (PyErr_Occurred()) SWIG_fail
;
36203 Py_INCREF(Py_None
); resultobj
= Py_None
;
36218 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36219 PyObject
*resultobj
;
36220 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36222 PyObject
* obj0
= 0 ;
36223 char *kwnames
[] = {
36224 (char *) "self", NULL
36227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
36228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36229 if (SWIG_arg_fail(1)) SWIG_fail
;
36231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36232 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
36234 wxPyEndAllowThreads(__tstate
);
36235 if (PyErr_Occurred()) SWIG_fail
;
36239 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36241 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36250 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36251 PyObject
*resultobj
;
36252 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36254 PyObject
* obj0
= 0 ;
36255 char *kwnames
[] = {
36256 (char *) "self", NULL
36259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
36260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36261 if (SWIG_arg_fail(1)) SWIG_fail
;
36263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36265 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
36266 result
= (wxString
*) &_result_ref
;
36269 wxPyEndAllowThreads(__tstate
);
36270 if (PyErr_Occurred()) SWIG_fail
;
36274 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
36276 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
36285 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36286 PyObject
*resultobj
;
36287 wxString
*arg1
= 0 ;
36289 bool temp1
= false ;
36290 PyObject
* obj0
= 0 ;
36291 char *kwnames
[] = {
36292 (char *) "text", NULL
36295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
36297 arg1
= wxString_in_helper(obj0
);
36298 if (arg1
== NULL
) SWIG_fail
;
36302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36303 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
36305 wxPyEndAllowThreads(__tstate
);
36306 if (PyErr_Occurred()) SWIG_fail
;
36310 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36312 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36329 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36330 PyObject
*resultobj
;
36331 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36333 PyObject
* obj0
= 0 ;
36334 char *kwnames
[] = {
36335 (char *) "self", NULL
36338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
36339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36340 if (SWIG_arg_fail(1)) SWIG_fail
;
36342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36343 result
= (wxItemKind
)((wxMenuItem
const *)arg1
)->GetKind();
36345 wxPyEndAllowThreads(__tstate
);
36346 if (PyErr_Occurred()) SWIG_fail
;
36348 resultobj
= SWIG_From_int((result
));
36355 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36356 PyObject
*resultobj
;
36357 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36359 PyObject
* obj0
= 0 ;
36360 PyObject
* obj1
= 0 ;
36361 char *kwnames
[] = {
36362 (char *) "self",(char *) "kind", NULL
36365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
36366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36367 if (SWIG_arg_fail(1)) SWIG_fail
;
36369 arg2
= (wxItemKind
)(SWIG_As_int(obj1
));
36370 if (SWIG_arg_fail(2)) SWIG_fail
;
36373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36374 (arg1
)->SetKind((wxItemKind
)arg2
);
36376 wxPyEndAllowThreads(__tstate
);
36377 if (PyErr_Occurred()) SWIG_fail
;
36379 Py_INCREF(Py_None
); resultobj
= Py_None
;
36386 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36387 PyObject
*resultobj
;
36388 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36390 PyObject
* obj0
= 0 ;
36391 PyObject
* obj1
= 0 ;
36392 char *kwnames
[] = {
36393 (char *) "self",(char *) "checkable", NULL
36396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
36397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36398 if (SWIG_arg_fail(1)) SWIG_fail
;
36400 arg2
= (bool)(SWIG_As_bool(obj1
));
36401 if (SWIG_arg_fail(2)) SWIG_fail
;
36404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36405 (arg1
)->SetCheckable(arg2
);
36407 wxPyEndAllowThreads(__tstate
);
36408 if (PyErr_Occurred()) SWIG_fail
;
36410 Py_INCREF(Py_None
); resultobj
= Py_None
;
36417 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36418 PyObject
*resultobj
;
36419 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36421 PyObject
* obj0
= 0 ;
36422 char *kwnames
[] = {
36423 (char *) "self", NULL
36426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
36427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36428 if (SWIG_arg_fail(1)) SWIG_fail
;
36430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36431 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
36433 wxPyEndAllowThreads(__tstate
);
36434 if (PyErr_Occurred()) SWIG_fail
;
36437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36445 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36446 PyObject
*resultobj
;
36447 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36449 PyObject
* obj0
= 0 ;
36450 char *kwnames
[] = {
36451 (char *) "self", NULL
36454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
36455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36456 if (SWIG_arg_fail(1)) SWIG_fail
;
36458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36459 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
36461 wxPyEndAllowThreads(__tstate
);
36462 if (PyErr_Occurred()) SWIG_fail
;
36465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36473 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36474 PyObject
*resultobj
;
36475 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36476 wxMenu
*arg2
= (wxMenu
*) 0 ;
36477 PyObject
* obj0
= 0 ;
36478 PyObject
* obj1
= 0 ;
36479 char *kwnames
[] = {
36480 (char *) "self",(char *) "menu", NULL
36483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
36484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36485 if (SWIG_arg_fail(1)) SWIG_fail
;
36486 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
36487 if (SWIG_arg_fail(2)) SWIG_fail
;
36489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36490 (arg1
)->SetSubMenu(arg2
);
36492 wxPyEndAllowThreads(__tstate
);
36493 if (PyErr_Occurred()) SWIG_fail
;
36495 Py_INCREF(Py_None
); resultobj
= Py_None
;
36502 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36503 PyObject
*resultobj
;
36504 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36506 PyObject
* obj0
= 0 ;
36507 char *kwnames
[] = {
36508 (char *) "self", NULL
36511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
36512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36513 if (SWIG_arg_fail(1)) SWIG_fail
;
36515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36516 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
36518 wxPyEndAllowThreads(__tstate
);
36519 if (PyErr_Occurred()) SWIG_fail
;
36522 resultobj
= wxPyMake_wxObject(result
, 0);
36530 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36531 PyObject
*resultobj
;
36532 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36533 bool arg2
= (bool) true ;
36534 PyObject
* obj0
= 0 ;
36535 PyObject
* obj1
= 0 ;
36536 char *kwnames
[] = {
36537 (char *) "self",(char *) "enable", NULL
36540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
36541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36542 if (SWIG_arg_fail(1)) SWIG_fail
;
36545 arg2
= (bool)(SWIG_As_bool(obj1
));
36546 if (SWIG_arg_fail(2)) SWIG_fail
;
36550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36551 (arg1
)->Enable(arg2
);
36553 wxPyEndAllowThreads(__tstate
);
36554 if (PyErr_Occurred()) SWIG_fail
;
36556 Py_INCREF(Py_None
); resultobj
= Py_None
;
36563 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36564 PyObject
*resultobj
;
36565 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36567 PyObject
* obj0
= 0 ;
36568 char *kwnames
[] = {
36569 (char *) "self", NULL
36572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
36573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36574 if (SWIG_arg_fail(1)) SWIG_fail
;
36576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36577 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
36579 wxPyEndAllowThreads(__tstate
);
36580 if (PyErr_Occurred()) SWIG_fail
;
36583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36591 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36592 PyObject
*resultobj
;
36593 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36594 bool arg2
= (bool) true ;
36595 PyObject
* obj0
= 0 ;
36596 PyObject
* obj1
= 0 ;
36597 char *kwnames
[] = {
36598 (char *) "self",(char *) "check", NULL
36601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
36602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36603 if (SWIG_arg_fail(1)) SWIG_fail
;
36606 arg2
= (bool)(SWIG_As_bool(obj1
));
36607 if (SWIG_arg_fail(2)) SWIG_fail
;
36611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36612 (arg1
)->Check(arg2
);
36614 wxPyEndAllowThreads(__tstate
);
36615 if (PyErr_Occurred()) SWIG_fail
;
36617 Py_INCREF(Py_None
); resultobj
= Py_None
;
36624 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36625 PyObject
*resultobj
;
36626 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36628 PyObject
* obj0
= 0 ;
36629 char *kwnames
[] = {
36630 (char *) "self", NULL
36633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
36634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36635 if (SWIG_arg_fail(1)) SWIG_fail
;
36637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36638 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
36640 wxPyEndAllowThreads(__tstate
);
36641 if (PyErr_Occurred()) SWIG_fail
;
36644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36652 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36653 PyObject
*resultobj
;
36654 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36655 PyObject
* obj0
= 0 ;
36656 char *kwnames
[] = {
36657 (char *) "self", NULL
36660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
36661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36662 if (SWIG_arg_fail(1)) SWIG_fail
;
36664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36667 wxPyEndAllowThreads(__tstate
);
36668 if (PyErr_Occurred()) SWIG_fail
;
36670 Py_INCREF(Py_None
); resultobj
= Py_None
;
36677 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36678 PyObject
*resultobj
;
36679 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36680 wxString
*arg2
= 0 ;
36681 bool temp2
= false ;
36682 PyObject
* obj0
= 0 ;
36683 PyObject
* obj1
= 0 ;
36684 char *kwnames
[] = {
36685 (char *) "self",(char *) "str", NULL
36688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
36689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36690 if (SWIG_arg_fail(1)) SWIG_fail
;
36692 arg2
= wxString_in_helper(obj1
);
36693 if (arg2
== NULL
) SWIG_fail
;
36697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36698 (arg1
)->SetHelp((wxString
const &)*arg2
);
36700 wxPyEndAllowThreads(__tstate
);
36701 if (PyErr_Occurred()) SWIG_fail
;
36703 Py_INCREF(Py_None
); resultobj
= Py_None
;
36718 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36719 PyObject
*resultobj
;
36720 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36722 PyObject
* obj0
= 0 ;
36723 char *kwnames
[] = {
36724 (char *) "self", NULL
36727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
36728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36729 if (SWIG_arg_fail(1)) SWIG_fail
;
36731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36733 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
36734 result
= (wxString
*) &_result_ref
;
36737 wxPyEndAllowThreads(__tstate
);
36738 if (PyErr_Occurred()) SWIG_fail
;
36742 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
36744 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
36753 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36754 PyObject
*resultobj
;
36755 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36756 wxAcceleratorEntry
*result
;
36757 PyObject
* obj0
= 0 ;
36758 char *kwnames
[] = {
36759 (char *) "self", NULL
36762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
36763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36764 if (SWIG_arg_fail(1)) SWIG_fail
;
36766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36767 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
36769 wxPyEndAllowThreads(__tstate
);
36770 if (PyErr_Occurred()) SWIG_fail
;
36772 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
36779 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36780 PyObject
*resultobj
;
36781 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36782 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
36783 PyObject
* obj0
= 0 ;
36784 PyObject
* obj1
= 0 ;
36785 char *kwnames
[] = {
36786 (char *) "self",(char *) "accel", NULL
36789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
36790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36791 if (SWIG_arg_fail(1)) SWIG_fail
;
36792 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
36793 if (SWIG_arg_fail(2)) SWIG_fail
;
36795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36796 (arg1
)->SetAccel(arg2
);
36798 wxPyEndAllowThreads(__tstate
);
36799 if (PyErr_Occurred()) SWIG_fail
;
36801 Py_INCREF(Py_None
); resultobj
= Py_None
;
36808 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36809 PyObject
*resultobj
;
36810 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36812 PyObject
* obj0
= 0 ;
36813 PyObject
* obj1
= 0 ;
36814 char *kwnames
[] = {
36815 (char *) "self",(char *) "font", NULL
36818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
36819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36820 if (SWIG_arg_fail(1)) SWIG_fail
;
36822 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
36823 if (SWIG_arg_fail(2)) SWIG_fail
;
36824 if (arg2
== NULL
) {
36825 SWIG_null_ref("wxFont");
36827 if (SWIG_arg_fail(2)) SWIG_fail
;
36830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36831 wxMenuItem_SetFont(arg1
,(wxFont
const &)*arg2
);
36833 wxPyEndAllowThreads(__tstate
);
36834 if (PyErr_Occurred()) SWIG_fail
;
36836 Py_INCREF(Py_None
); resultobj
= Py_None
;
36843 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36844 PyObject
*resultobj
;
36845 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36847 PyObject
* obj0
= 0 ;
36848 char *kwnames
[] = {
36849 (char *) "self", NULL
36852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
36853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36854 if (SWIG_arg_fail(1)) SWIG_fail
;
36856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36857 result
= wxMenuItem_GetFont(arg1
);
36859 wxPyEndAllowThreads(__tstate
);
36860 if (PyErr_Occurred()) SWIG_fail
;
36863 wxFont
* resultptr
;
36864 resultptr
= new wxFont((wxFont
&)(result
));
36865 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
36873 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36874 PyObject
*resultobj
;
36875 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36876 wxColour
*arg2
= 0 ;
36878 PyObject
* obj0
= 0 ;
36879 PyObject
* obj1
= 0 ;
36880 char *kwnames
[] = {
36881 (char *) "self",(char *) "colText", NULL
36884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
36885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36886 if (SWIG_arg_fail(1)) SWIG_fail
;
36889 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36893 wxMenuItem_SetTextColour(arg1
,(wxColour
const &)*arg2
);
36895 wxPyEndAllowThreads(__tstate
);
36896 if (PyErr_Occurred()) SWIG_fail
;
36898 Py_INCREF(Py_None
); resultobj
= Py_None
;
36905 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36906 PyObject
*resultobj
;
36907 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36909 PyObject
* obj0
= 0 ;
36910 char *kwnames
[] = {
36911 (char *) "self", NULL
36914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
36915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36916 if (SWIG_arg_fail(1)) SWIG_fail
;
36918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36919 result
= wxMenuItem_GetTextColour(arg1
);
36921 wxPyEndAllowThreads(__tstate
);
36922 if (PyErr_Occurred()) SWIG_fail
;
36925 wxColour
* resultptr
;
36926 resultptr
= new wxColour((wxColour
&)(result
));
36927 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
36935 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36936 PyObject
*resultobj
;
36937 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36938 wxColour
*arg2
= 0 ;
36940 PyObject
* obj0
= 0 ;
36941 PyObject
* obj1
= 0 ;
36942 char *kwnames
[] = {
36943 (char *) "self",(char *) "colBack", NULL
36946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
36947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36948 if (SWIG_arg_fail(1)) SWIG_fail
;
36951 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36955 wxMenuItem_SetBackgroundColour(arg1
,(wxColour
const &)*arg2
);
36957 wxPyEndAllowThreads(__tstate
);
36958 if (PyErr_Occurred()) SWIG_fail
;
36960 Py_INCREF(Py_None
); resultobj
= Py_None
;
36967 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36968 PyObject
*resultobj
;
36969 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36971 PyObject
* obj0
= 0 ;
36972 char *kwnames
[] = {
36973 (char *) "self", NULL
36976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
36977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36978 if (SWIG_arg_fail(1)) SWIG_fail
;
36980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36981 result
= wxMenuItem_GetBackgroundColour(arg1
);
36983 wxPyEndAllowThreads(__tstate
);
36984 if (PyErr_Occurred()) SWIG_fail
;
36987 wxColour
* resultptr
;
36988 resultptr
= new wxColour((wxColour
&)(result
));
36989 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
36997 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36998 PyObject
*resultobj
;
36999 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37000 wxBitmap
*arg2
= 0 ;
37001 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
37002 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
37003 PyObject
* obj0
= 0 ;
37004 PyObject
* obj1
= 0 ;
37005 PyObject
* obj2
= 0 ;
37006 char *kwnames
[] = {
37007 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
37010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37012 if (SWIG_arg_fail(1)) SWIG_fail
;
37014 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37015 if (SWIG_arg_fail(2)) SWIG_fail
;
37016 if (arg2
== NULL
) {
37017 SWIG_null_ref("wxBitmap");
37019 if (SWIG_arg_fail(2)) SWIG_fail
;
37023 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37024 if (SWIG_arg_fail(3)) SWIG_fail
;
37025 if (arg3
== NULL
) {
37026 SWIG_null_ref("wxBitmap");
37028 if (SWIG_arg_fail(3)) SWIG_fail
;
37032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37033 wxMenuItem_SetBitmaps(arg1
,(wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
37035 wxPyEndAllowThreads(__tstate
);
37036 if (PyErr_Occurred()) SWIG_fail
;
37038 Py_INCREF(Py_None
); resultobj
= Py_None
;
37045 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37046 PyObject
*resultobj
;
37047 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37048 wxBitmap
*arg2
= 0 ;
37049 PyObject
* obj0
= 0 ;
37050 PyObject
* obj1
= 0 ;
37051 char *kwnames
[] = {
37052 (char *) "self",(char *) "bmpDisabled", NULL
37055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) 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 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37060 if (SWIG_arg_fail(2)) SWIG_fail
;
37061 if (arg2
== NULL
) {
37062 SWIG_null_ref("wxBitmap");
37064 if (SWIG_arg_fail(2)) SWIG_fail
;
37067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37068 wxMenuItem_SetDisabledBitmap(arg1
,(wxBitmap
const &)*arg2
);
37070 wxPyEndAllowThreads(__tstate
);
37071 if (PyErr_Occurred()) SWIG_fail
;
37073 Py_INCREF(Py_None
); resultobj
= Py_None
;
37080 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37081 PyObject
*resultobj
;
37082 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37084 PyObject
* obj0
= 0 ;
37085 char *kwnames
[] = {
37086 (char *) "self", NULL
37089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
37090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37091 if (SWIG_arg_fail(1)) SWIG_fail
;
37093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37095 wxBitmap
const &_result_ref
= wxMenuItem_GetDisabledBitmap((wxMenuItem
const *)arg1
);
37096 result
= (wxBitmap
*) &_result_ref
;
37099 wxPyEndAllowThreads(__tstate
);
37100 if (PyErr_Occurred()) SWIG_fail
;
37103 wxBitmap
* resultptr
= new wxBitmap(*result
);
37104 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
37112 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37113 PyObject
*resultobj
;
37114 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37116 PyObject
* obj0
= 0 ;
37117 PyObject
* obj1
= 0 ;
37118 char *kwnames
[] = {
37119 (char *) "self",(char *) "nWidth", NULL
37122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
37123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37124 if (SWIG_arg_fail(1)) SWIG_fail
;
37126 arg2
= (int)(SWIG_As_int(obj1
));
37127 if (SWIG_arg_fail(2)) SWIG_fail
;
37130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37131 wxMenuItem_SetMarginWidth(arg1
,arg2
);
37133 wxPyEndAllowThreads(__tstate
);
37134 if (PyErr_Occurred()) SWIG_fail
;
37136 Py_INCREF(Py_None
); resultobj
= Py_None
;
37143 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37144 PyObject
*resultobj
;
37145 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37147 PyObject
* obj0
= 0 ;
37148 char *kwnames
[] = {
37149 (char *) "self", NULL
37152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
37153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37154 if (SWIG_arg_fail(1)) SWIG_fail
;
37156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37157 result
= (int)wxMenuItem_GetMarginWidth(arg1
);
37159 wxPyEndAllowThreads(__tstate
);
37160 if (PyErr_Occurred()) SWIG_fail
;
37163 resultobj
= SWIG_From_int((int)(result
));
37171 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37172 PyObject
*resultobj
;
37174 char *kwnames
[] = {
37178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
37180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37181 result
= (int)MenuItem_GetDefaultMarginWidth();
37183 wxPyEndAllowThreads(__tstate
);
37184 if (PyErr_Occurred()) SWIG_fail
;
37187 resultobj
= SWIG_From_int((int)(result
));
37195 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37196 PyObject
*resultobj
;
37197 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37199 PyObject
* obj0
= 0 ;
37200 char *kwnames
[] = {
37201 (char *) "self", NULL
37204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",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();
37209 result
= (bool)wxMenuItem_IsOwnerDrawn(arg1
);
37211 wxPyEndAllowThreads(__tstate
);
37212 if (PyErr_Occurred()) SWIG_fail
;
37215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37223 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37224 PyObject
*resultobj
;
37225 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37226 bool arg2
= (bool) true ;
37227 PyObject
* obj0
= 0 ;
37228 PyObject
* obj1
= 0 ;
37229 char *kwnames
[] = {
37230 (char *) "self",(char *) "ownerDrawn", NULL
37233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
37234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37235 if (SWIG_arg_fail(1)) SWIG_fail
;
37238 arg2
= (bool)(SWIG_As_bool(obj1
));
37239 if (SWIG_arg_fail(2)) SWIG_fail
;
37243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37244 wxMenuItem_SetOwnerDrawn(arg1
,arg2
);
37246 wxPyEndAllowThreads(__tstate
);
37247 if (PyErr_Occurred()) SWIG_fail
;
37249 Py_INCREF(Py_None
); resultobj
= Py_None
;
37256 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37257 PyObject
*resultobj
;
37258 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37259 PyObject
* obj0
= 0 ;
37260 char *kwnames
[] = {
37261 (char *) "self", NULL
37264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
37265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37266 if (SWIG_arg_fail(1)) SWIG_fail
;
37268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37269 wxMenuItem_ResetOwnerDrawn(arg1
);
37271 wxPyEndAllowThreads(__tstate
);
37272 if (PyErr_Occurred()) SWIG_fail
;
37274 Py_INCREF(Py_None
); resultobj
= Py_None
;
37281 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37282 PyObject
*resultobj
;
37283 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37284 wxBitmap
*arg2
= 0 ;
37285 PyObject
* obj0
= 0 ;
37286 PyObject
* obj1
= 0 ;
37287 char *kwnames
[] = {
37288 (char *) "self",(char *) "bitmap", NULL
37291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
37292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37293 if (SWIG_arg_fail(1)) SWIG_fail
;
37295 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37296 if (SWIG_arg_fail(2)) SWIG_fail
;
37297 if (arg2
== NULL
) {
37298 SWIG_null_ref("wxBitmap");
37300 if (SWIG_arg_fail(2)) SWIG_fail
;
37303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37304 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
37306 wxPyEndAllowThreads(__tstate
);
37307 if (PyErr_Occurred()) SWIG_fail
;
37309 Py_INCREF(Py_None
); resultobj
= Py_None
;
37316 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37317 PyObject
*resultobj
;
37318 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37320 PyObject
* obj0
= 0 ;
37321 char *kwnames
[] = {
37322 (char *) "self", NULL
37325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
37326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37327 if (SWIG_arg_fail(1)) SWIG_fail
;
37329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37331 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
37332 result
= (wxBitmap
*) &_result_ref
;
37335 wxPyEndAllowThreads(__tstate
);
37336 if (PyErr_Occurred()) SWIG_fail
;
37339 wxBitmap
* resultptr
= new wxBitmap(*result
);
37340 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
37348 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
37350 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37351 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
37353 return Py_BuildValue((char *)"");
37355 static int _wrap_ControlNameStr_set(PyObject
*) {
37356 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
37361 static PyObject
*_wrap_ControlNameStr_get(void) {
37366 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
37368 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
37375 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37376 PyObject
*resultobj
;
37377 wxWindow
*arg1
= (wxWindow
*) 0 ;
37378 int arg2
= (int) -1 ;
37379 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
37380 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
37381 wxSize
const &arg4_defvalue
= wxDefaultSize
;
37382 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
37383 long arg5
= (long) 0 ;
37384 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
37385 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
37386 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
37387 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37391 bool temp7
= false ;
37392 PyObject
* obj0
= 0 ;
37393 PyObject
* obj1
= 0 ;
37394 PyObject
* obj2
= 0 ;
37395 PyObject
* obj3
= 0 ;
37396 PyObject
* obj4
= 0 ;
37397 PyObject
* obj5
= 0 ;
37398 PyObject
* obj6
= 0 ;
37399 char *kwnames
[] = {
37400 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
37403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
37405 if (SWIG_arg_fail(1)) SWIG_fail
;
37408 arg2
= (int)(SWIG_As_int(obj1
));
37409 if (SWIG_arg_fail(2)) SWIG_fail
;
37415 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37421 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
37426 arg5
= (long)(SWIG_As_long(obj4
));
37427 if (SWIG_arg_fail(5)) SWIG_fail
;
37432 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
37433 if (SWIG_arg_fail(6)) SWIG_fail
;
37434 if (arg6
== NULL
) {
37435 SWIG_null_ref("wxValidator");
37437 if (SWIG_arg_fail(6)) SWIG_fail
;
37442 arg7
= wxString_in_helper(obj6
);
37443 if (arg7
== NULL
) SWIG_fail
;
37448 if (!wxPyCheckForApp()) SWIG_fail
;
37449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37450 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
37452 wxPyEndAllowThreads(__tstate
);
37453 if (PyErr_Occurred()) SWIG_fail
;
37455 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
37470 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37471 PyObject
*resultobj
;
37473 char *kwnames
[] = {
37477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
37479 if (!wxPyCheckForApp()) SWIG_fail
;
37480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37481 result
= (wxControl
*)new wxControl();
37483 wxPyEndAllowThreads(__tstate
);
37484 if (PyErr_Occurred()) SWIG_fail
;
37486 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
37493 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37494 PyObject
*resultobj
;
37495 wxControl
*arg1
= (wxControl
*) 0 ;
37496 wxWindow
*arg2
= (wxWindow
*) 0 ;
37497 int arg3
= (int) -1 ;
37498 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37499 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37500 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37501 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37502 long arg6
= (long) 0 ;
37503 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
37504 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
37505 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
37506 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37510 bool temp8
= false ;
37511 PyObject
* obj0
= 0 ;
37512 PyObject
* obj1
= 0 ;
37513 PyObject
* obj2
= 0 ;
37514 PyObject
* obj3
= 0 ;
37515 PyObject
* obj4
= 0 ;
37516 PyObject
* obj5
= 0 ;
37517 PyObject
* obj6
= 0 ;
37518 PyObject
* obj7
= 0 ;
37519 char *kwnames
[] = {
37520 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
37523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
37524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37525 if (SWIG_arg_fail(1)) SWIG_fail
;
37526 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
37527 if (SWIG_arg_fail(2)) SWIG_fail
;
37530 arg3
= (int)(SWIG_As_int(obj2
));
37531 if (SWIG_arg_fail(3)) SWIG_fail
;
37537 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37543 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37548 arg6
= (long)(SWIG_As_long(obj5
));
37549 if (SWIG_arg_fail(6)) SWIG_fail
;
37554 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
37555 if (SWIG_arg_fail(7)) SWIG_fail
;
37556 if (arg7
== NULL
) {
37557 SWIG_null_ref("wxValidator");
37559 if (SWIG_arg_fail(7)) SWIG_fail
;
37564 arg8
= wxString_in_helper(obj7
);
37565 if (arg8
== NULL
) SWIG_fail
;
37570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37571 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
37573 wxPyEndAllowThreads(__tstate
);
37574 if (PyErr_Occurred()) SWIG_fail
;
37577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37593 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37594 PyObject
*resultobj
;
37595 wxControl
*arg1
= (wxControl
*) 0 ;
37596 wxCommandEvent
*arg2
= 0 ;
37597 PyObject
* obj0
= 0 ;
37598 PyObject
* obj1
= 0 ;
37599 char *kwnames
[] = {
37600 (char *) "self",(char *) "event", NULL
37603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
37604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37605 if (SWIG_arg_fail(1)) SWIG_fail
;
37607 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
37608 if (SWIG_arg_fail(2)) SWIG_fail
;
37609 if (arg2
== NULL
) {
37610 SWIG_null_ref("wxCommandEvent");
37612 if (SWIG_arg_fail(2)) SWIG_fail
;
37615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37616 (arg1
)->Command(*arg2
);
37618 wxPyEndAllowThreads(__tstate
);
37619 if (PyErr_Occurred()) SWIG_fail
;
37621 Py_INCREF(Py_None
); resultobj
= Py_None
;
37628 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37629 PyObject
*resultobj
;
37630 wxControl
*arg1
= (wxControl
*) 0 ;
37632 PyObject
* obj0
= 0 ;
37633 char *kwnames
[] = {
37634 (char *) "self", NULL
37637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
37638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37639 if (SWIG_arg_fail(1)) SWIG_fail
;
37641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37642 result
= (arg1
)->GetLabel();
37644 wxPyEndAllowThreads(__tstate
);
37645 if (PyErr_Occurred()) SWIG_fail
;
37649 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37651 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37660 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37661 PyObject
*resultobj
;
37662 wxControl
*arg1
= (wxControl
*) 0 ;
37663 wxString
*arg2
= 0 ;
37664 bool temp2
= false ;
37665 PyObject
* obj0
= 0 ;
37666 PyObject
* obj1
= 0 ;
37667 char *kwnames
[] = {
37668 (char *) "self",(char *) "label", NULL
37671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
37672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37673 if (SWIG_arg_fail(1)) SWIG_fail
;
37675 arg2
= wxString_in_helper(obj1
);
37676 if (arg2
== NULL
) SWIG_fail
;
37680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37681 (arg1
)->SetLabel((wxString
const &)*arg2
);
37683 wxPyEndAllowThreads(__tstate
);
37684 if (PyErr_Occurred()) SWIG_fail
;
37686 Py_INCREF(Py_None
); resultobj
= Py_None
;
37701 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37702 PyObject
*resultobj
;
37703 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37704 wxVisualAttributes result
;
37705 PyObject
* obj0
= 0 ;
37706 char *kwnames
[] = {
37707 (char *) "variant", NULL
37710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
37713 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
37714 if (SWIG_arg_fail(1)) SWIG_fail
;
37718 if (!wxPyCheckForApp()) SWIG_fail
;
37719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37720 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
37722 wxPyEndAllowThreads(__tstate
);
37723 if (PyErr_Occurred()) SWIG_fail
;
37726 wxVisualAttributes
* resultptr
;
37727 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
37728 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
37736 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
37738 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37739 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
37741 return Py_BuildValue((char *)"");
37743 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37744 PyObject
*resultobj
;
37745 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37746 wxString
*arg2
= 0 ;
37747 PyObject
*arg3
= (PyObject
*) NULL
;
37749 bool temp2
= false ;
37750 PyObject
* obj0
= 0 ;
37751 PyObject
* obj1
= 0 ;
37752 PyObject
* obj2
= 0 ;
37753 char *kwnames
[] = {
37754 (char *) "self",(char *) "item",(char *) "clientData", NULL
37757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37759 if (SWIG_arg_fail(1)) SWIG_fail
;
37761 arg2
= wxString_in_helper(obj1
);
37762 if (arg2
== NULL
) SWIG_fail
;
37769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37770 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
37772 wxPyEndAllowThreads(__tstate
);
37773 if (PyErr_Occurred()) SWIG_fail
;
37776 resultobj
= SWIG_From_int((int)(result
));
37792 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37793 PyObject
*resultobj
;
37794 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37795 wxArrayString
*arg2
= 0 ;
37796 bool temp2
= false ;
37797 PyObject
* obj0
= 0 ;
37798 PyObject
* obj1
= 0 ;
37799 char *kwnames
[] = {
37800 (char *) "self",(char *) "strings", NULL
37803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
37804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37805 if (SWIG_arg_fail(1)) SWIG_fail
;
37807 if (! PySequence_Check(obj1
)) {
37808 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
37811 arg2
= new wxArrayString
;
37813 int i
, len
=PySequence_Length(obj1
);
37814 for (i
=0; i
<len
; i
++) {
37815 PyObject
* item
= PySequence_GetItem(obj1
, i
);
37816 wxString
* s
= wxString_in_helper(item
);
37817 if (PyErr_Occurred()) SWIG_fail
;
37824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37825 (arg1
)->Append((wxArrayString
const &)*arg2
);
37827 wxPyEndAllowThreads(__tstate
);
37828 if (PyErr_Occurred()) SWIG_fail
;
37830 Py_INCREF(Py_None
); resultobj
= Py_None
;
37832 if (temp2
) delete arg2
;
37837 if (temp2
) delete arg2
;
37843 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37844 PyObject
*resultobj
;
37845 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37846 wxString
*arg2
= 0 ;
37848 PyObject
*arg4
= (PyObject
*) NULL
;
37850 bool temp2
= false ;
37851 PyObject
* obj0
= 0 ;
37852 PyObject
* obj1
= 0 ;
37853 PyObject
* obj2
= 0 ;
37854 PyObject
* obj3
= 0 ;
37855 char *kwnames
[] = {
37856 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
37859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37861 if (SWIG_arg_fail(1)) SWIG_fail
;
37863 arg2
= wxString_in_helper(obj1
);
37864 if (arg2
== NULL
) SWIG_fail
;
37868 arg3
= (int)(SWIG_As_int(obj2
));
37869 if (SWIG_arg_fail(3)) SWIG_fail
;
37875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37876 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
37878 wxPyEndAllowThreads(__tstate
);
37879 if (PyErr_Occurred()) SWIG_fail
;
37882 resultobj
= SWIG_From_int((int)(result
));
37898 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37899 PyObject
*resultobj
;
37900 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37901 PyObject
* obj0
= 0 ;
37902 char *kwnames
[] = {
37903 (char *) "self", NULL
37906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
37907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37908 if (SWIG_arg_fail(1)) SWIG_fail
;
37910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37913 wxPyEndAllowThreads(__tstate
);
37914 if (PyErr_Occurred()) SWIG_fail
;
37916 Py_INCREF(Py_None
); resultobj
= Py_None
;
37923 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37924 PyObject
*resultobj
;
37925 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37927 PyObject
* obj0
= 0 ;
37928 PyObject
* obj1
= 0 ;
37929 char *kwnames
[] = {
37930 (char *) "self",(char *) "n", NULL
37933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
37934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37935 if (SWIG_arg_fail(1)) SWIG_fail
;
37937 arg2
= (int)(SWIG_As_int(obj1
));
37938 if (SWIG_arg_fail(2)) SWIG_fail
;
37941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37942 (arg1
)->Delete(arg2
);
37944 wxPyEndAllowThreads(__tstate
);
37945 if (PyErr_Occurred()) SWIG_fail
;
37947 Py_INCREF(Py_None
); resultobj
= Py_None
;
37954 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37955 PyObject
*resultobj
;
37956 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37959 PyObject
* obj0
= 0 ;
37960 PyObject
* obj1
= 0 ;
37961 char *kwnames
[] = {
37962 (char *) "self",(char *) "n", NULL
37965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
37966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37967 if (SWIG_arg_fail(1)) SWIG_fail
;
37969 arg2
= (int)(SWIG_As_int(obj1
));
37970 if (SWIG_arg_fail(2)) SWIG_fail
;
37973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37974 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
37976 wxPyEndAllowThreads(__tstate
);
37977 if (PyErr_Occurred()) SWIG_fail
;
37979 resultobj
= result
;
37986 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37987 PyObject
*resultobj
;
37988 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37990 PyObject
*arg3
= (PyObject
*) 0 ;
37991 PyObject
* obj0
= 0 ;
37992 PyObject
* obj1
= 0 ;
37993 PyObject
* obj2
= 0 ;
37994 char *kwnames
[] = {
37995 (char *) "self",(char *) "n",(char *) "clientData", NULL
37998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38000 if (SWIG_arg_fail(1)) SWIG_fail
;
38002 arg2
= (int)(SWIG_As_int(obj1
));
38003 if (SWIG_arg_fail(2)) SWIG_fail
;
38007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38008 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
38010 wxPyEndAllowThreads(__tstate
);
38011 if (PyErr_Occurred()) SWIG_fail
;
38013 Py_INCREF(Py_None
); resultobj
= Py_None
;
38020 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38021 PyObject
*resultobj
;
38022 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38024 PyObject
* obj0
= 0 ;
38025 char *kwnames
[] = {
38026 (char *) "self", NULL
38029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
38030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38031 if (SWIG_arg_fail(1)) SWIG_fail
;
38033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38034 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
38036 wxPyEndAllowThreads(__tstate
);
38037 if (PyErr_Occurred()) SWIG_fail
;
38040 resultobj
= SWIG_From_int((int)(result
));
38048 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38049 PyObject
*resultobj
;
38050 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38052 PyObject
* obj0
= 0 ;
38053 char *kwnames
[] = {
38054 (char *) "self", NULL
38057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
38058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38059 if (SWIG_arg_fail(1)) SWIG_fail
;
38061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38062 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
38064 wxPyEndAllowThreads(__tstate
);
38065 if (PyErr_Occurred()) SWIG_fail
;
38068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38076 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38077 PyObject
*resultobj
;
38078 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38081 PyObject
* obj0
= 0 ;
38082 PyObject
* obj1
= 0 ;
38083 char *kwnames
[] = {
38084 (char *) "self",(char *) "n", NULL
38087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
38088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38089 if (SWIG_arg_fail(1)) SWIG_fail
;
38091 arg2
= (int)(SWIG_As_int(obj1
));
38092 if (SWIG_arg_fail(2)) SWIG_fail
;
38095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38096 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
38098 wxPyEndAllowThreads(__tstate
);
38099 if (PyErr_Occurred()) SWIG_fail
;
38103 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38105 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38114 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38115 PyObject
*resultobj
;
38116 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38117 wxArrayString result
;
38118 PyObject
* obj0
= 0 ;
38119 char *kwnames
[] = {
38120 (char *) "self", NULL
38123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
38124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38125 if (SWIG_arg_fail(1)) SWIG_fail
;
38127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38128 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
38130 wxPyEndAllowThreads(__tstate
);
38131 if (PyErr_Occurred()) SWIG_fail
;
38134 resultobj
= wxArrayString2PyList_helper(result
);
38142 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38143 PyObject
*resultobj
;
38144 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38146 wxString
*arg3
= 0 ;
38147 bool temp3
= false ;
38148 PyObject
* obj0
= 0 ;
38149 PyObject
* obj1
= 0 ;
38150 PyObject
* obj2
= 0 ;
38151 char *kwnames
[] = {
38152 (char *) "self",(char *) "n",(char *) "s", NULL
38155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38157 if (SWIG_arg_fail(1)) SWIG_fail
;
38159 arg2
= (int)(SWIG_As_int(obj1
));
38160 if (SWIG_arg_fail(2)) SWIG_fail
;
38163 arg3
= wxString_in_helper(obj2
);
38164 if (arg3
== NULL
) SWIG_fail
;
38168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38169 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
38171 wxPyEndAllowThreads(__tstate
);
38172 if (PyErr_Occurred()) SWIG_fail
;
38174 Py_INCREF(Py_None
); resultobj
= Py_None
;
38189 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38190 PyObject
*resultobj
;
38191 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38192 wxString
*arg2
= 0 ;
38194 bool temp2
= false ;
38195 PyObject
* obj0
= 0 ;
38196 PyObject
* obj1
= 0 ;
38197 char *kwnames
[] = {
38198 (char *) "self",(char *) "s", NULL
38201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
38202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38203 if (SWIG_arg_fail(1)) SWIG_fail
;
38205 arg2
= wxString_in_helper(obj1
);
38206 if (arg2
== NULL
) SWIG_fail
;
38210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38211 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
38213 wxPyEndAllowThreads(__tstate
);
38214 if (PyErr_Occurred()) SWIG_fail
;
38217 resultobj
= SWIG_From_int((int)(result
));
38233 static PyObject
*_wrap_ItemContainer_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38234 PyObject
*resultobj
;
38235 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38237 PyObject
* obj0
= 0 ;
38238 PyObject
* obj1
= 0 ;
38239 char *kwnames
[] = {
38240 (char *) "self",(char *) "n", NULL
38243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
38244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38245 if (SWIG_arg_fail(1)) SWIG_fail
;
38247 arg2
= (int)(SWIG_As_int(obj1
));
38248 if (SWIG_arg_fail(2)) SWIG_fail
;
38251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38252 (arg1
)->SetSelection(arg2
);
38254 wxPyEndAllowThreads(__tstate
);
38255 if (PyErr_Occurred()) SWIG_fail
;
38257 Py_INCREF(Py_None
); resultobj
= Py_None
;
38264 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38265 PyObject
*resultobj
;
38266 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38268 PyObject
* obj0
= 0 ;
38269 char *kwnames
[] = {
38270 (char *) "self", NULL
38273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
38274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38275 if (SWIG_arg_fail(1)) SWIG_fail
;
38277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38278 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
38280 wxPyEndAllowThreads(__tstate
);
38281 if (PyErr_Occurred()) SWIG_fail
;
38284 resultobj
= SWIG_From_int((int)(result
));
38292 static PyObject
*_wrap_ItemContainer_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38293 PyObject
*resultobj
;
38294 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38295 wxString
*arg2
= 0 ;
38297 bool temp2
= false ;
38298 PyObject
* obj0
= 0 ;
38299 PyObject
* obj1
= 0 ;
38300 char *kwnames
[] = {
38301 (char *) "self",(char *) "s", NULL
38304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
38305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38306 if (SWIG_arg_fail(1)) SWIG_fail
;
38308 arg2
= wxString_in_helper(obj1
);
38309 if (arg2
== NULL
) SWIG_fail
;
38313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38314 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
38316 wxPyEndAllowThreads(__tstate
);
38317 if (PyErr_Occurred()) SWIG_fail
;
38320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38336 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38337 PyObject
*resultobj
;
38338 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38340 PyObject
* obj0
= 0 ;
38341 char *kwnames
[] = {
38342 (char *) "self", NULL
38345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
38346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38347 if (SWIG_arg_fail(1)) SWIG_fail
;
38349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38350 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
38352 wxPyEndAllowThreads(__tstate
);
38353 if (PyErr_Occurred()) SWIG_fail
;
38357 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38359 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38368 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38369 PyObject
*resultobj
;
38370 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38372 PyObject
* obj0
= 0 ;
38373 PyObject
* obj1
= 0 ;
38374 char *kwnames
[] = {
38375 (char *) "self",(char *) "n", NULL
38378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
38379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38380 if (SWIG_arg_fail(1)) SWIG_fail
;
38382 arg2
= (int)(SWIG_As_int(obj1
));
38383 if (SWIG_arg_fail(2)) SWIG_fail
;
38386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38387 (arg1
)->Select(arg2
);
38389 wxPyEndAllowThreads(__tstate
);
38390 if (PyErr_Occurred()) SWIG_fail
;
38392 Py_INCREF(Py_None
); resultobj
= Py_None
;
38399 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
38401 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38402 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
38404 return Py_BuildValue((char *)"");
38406 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
38408 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38409 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
38411 return Py_BuildValue((char *)"");
38413 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38414 PyObject
*resultobj
;
38415 wxSizerItem
*result
;
38416 char *kwnames
[] = {
38420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
38422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38423 result
= (wxSizerItem
*)new wxSizerItem();
38425 wxPyEndAllowThreads(__tstate
);
38426 if (PyErr_Occurred()) SWIG_fail
;
38428 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38435 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38436 PyObject
*resultobj
;
38437 wxWindow
*arg1
= (wxWindow
*) 0 ;
38441 PyObject
*arg5
= (PyObject
*) NULL
;
38442 wxSizerItem
*result
;
38443 PyObject
* obj0
= 0 ;
38444 PyObject
* obj1
= 0 ;
38445 PyObject
* obj2
= 0 ;
38446 PyObject
* obj3
= 0 ;
38447 PyObject
* obj4
= 0 ;
38448 char *kwnames
[] = {
38449 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
38453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
38454 if (SWIG_arg_fail(1)) SWIG_fail
;
38456 arg2
= (int)(SWIG_As_int(obj1
));
38457 if (SWIG_arg_fail(2)) SWIG_fail
;
38460 arg3
= (int)(SWIG_As_int(obj2
));
38461 if (SWIG_arg_fail(3)) SWIG_fail
;
38464 arg4
= (int)(SWIG_As_int(obj3
));
38465 if (SWIG_arg_fail(4)) SWIG_fail
;
38471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38472 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
38474 wxPyEndAllowThreads(__tstate
);
38475 if (PyErr_Occurred()) SWIG_fail
;
38477 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38484 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38485 PyObject
*resultobj
;
38491 PyObject
*arg6
= (PyObject
*) NULL
;
38492 wxSizerItem
*result
;
38493 PyObject
* obj0
= 0 ;
38494 PyObject
* obj1
= 0 ;
38495 PyObject
* obj2
= 0 ;
38496 PyObject
* obj3
= 0 ;
38497 PyObject
* obj4
= 0 ;
38498 PyObject
* obj5
= 0 ;
38499 char *kwnames
[] = {
38500 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38505 arg1
= (int)(SWIG_As_int(obj0
));
38506 if (SWIG_arg_fail(1)) SWIG_fail
;
38509 arg2
= (int)(SWIG_As_int(obj1
));
38510 if (SWIG_arg_fail(2)) SWIG_fail
;
38513 arg3
= (int)(SWIG_As_int(obj2
));
38514 if (SWIG_arg_fail(3)) SWIG_fail
;
38517 arg4
= (int)(SWIG_As_int(obj3
));
38518 if (SWIG_arg_fail(4)) SWIG_fail
;
38521 arg5
= (int)(SWIG_As_int(obj4
));
38522 if (SWIG_arg_fail(5)) SWIG_fail
;
38528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38529 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
38531 wxPyEndAllowThreads(__tstate
);
38532 if (PyErr_Occurred()) SWIG_fail
;
38534 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38541 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38542 PyObject
*resultobj
;
38543 wxSizer
*arg1
= (wxSizer
*) 0 ;
38547 PyObject
*arg5
= (PyObject
*) NULL
;
38548 wxSizerItem
*result
;
38549 PyObject
* obj0
= 0 ;
38550 PyObject
* obj1
= 0 ;
38551 PyObject
* obj2
= 0 ;
38552 PyObject
* obj3
= 0 ;
38553 PyObject
* obj4
= 0 ;
38554 char *kwnames
[] = {
38555 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
38559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38560 if (SWIG_arg_fail(1)) SWIG_fail
;
38562 arg2
= (int)(SWIG_As_int(obj1
));
38563 if (SWIG_arg_fail(2)) SWIG_fail
;
38566 arg3
= (int)(SWIG_As_int(obj2
));
38567 if (SWIG_arg_fail(3)) SWIG_fail
;
38570 arg4
= (int)(SWIG_As_int(obj3
));
38571 if (SWIG_arg_fail(4)) SWIG_fail
;
38577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38578 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
38580 wxPyEndAllowThreads(__tstate
);
38581 if (PyErr_Occurred()) SWIG_fail
;
38583 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38590 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38591 PyObject
*resultobj
;
38592 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38593 PyObject
* obj0
= 0 ;
38594 char *kwnames
[] = {
38595 (char *) "self", NULL
38598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
38599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38600 if (SWIG_arg_fail(1)) SWIG_fail
;
38602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38603 (arg1
)->DeleteWindows();
38605 wxPyEndAllowThreads(__tstate
);
38606 if (PyErr_Occurred()) SWIG_fail
;
38608 Py_INCREF(Py_None
); resultobj
= Py_None
;
38615 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38616 PyObject
*resultobj
;
38617 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38618 PyObject
* obj0
= 0 ;
38619 char *kwnames
[] = {
38620 (char *) "self", NULL
38623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
38624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38625 if (SWIG_arg_fail(1)) SWIG_fail
;
38627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38628 (arg1
)->DetachSizer();
38630 wxPyEndAllowThreads(__tstate
);
38631 if (PyErr_Occurred()) SWIG_fail
;
38633 Py_INCREF(Py_None
); resultobj
= Py_None
;
38640 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38641 PyObject
*resultobj
;
38642 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38644 PyObject
* obj0
= 0 ;
38645 char *kwnames
[] = {
38646 (char *) "self", NULL
38649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
38650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38651 if (SWIG_arg_fail(1)) SWIG_fail
;
38653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38654 result
= (arg1
)->GetSize();
38656 wxPyEndAllowThreads(__tstate
);
38657 if (PyErr_Occurred()) SWIG_fail
;
38660 wxSize
* resultptr
;
38661 resultptr
= new wxSize((wxSize
&)(result
));
38662 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38670 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38671 PyObject
*resultobj
;
38672 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38674 PyObject
* obj0
= 0 ;
38675 char *kwnames
[] = {
38676 (char *) "self", NULL
38679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
38680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38681 if (SWIG_arg_fail(1)) SWIG_fail
;
38683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38684 result
= (arg1
)->CalcMin();
38686 wxPyEndAllowThreads(__tstate
);
38687 if (PyErr_Occurred()) SWIG_fail
;
38690 wxSize
* resultptr
;
38691 resultptr
= new wxSize((wxSize
&)(result
));
38692 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38700 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38701 PyObject
*resultobj
;
38702 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38705 PyObject
* obj0
= 0 ;
38706 PyObject
* obj1
= 0 ;
38707 PyObject
* obj2
= 0 ;
38708 char *kwnames
[] = {
38709 (char *) "self",(char *) "pos",(char *) "size", NULL
38712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38714 if (SWIG_arg_fail(1)) SWIG_fail
;
38717 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
);
38718 if (SWIG_arg_fail(2)) SWIG_fail
;
38719 if (argp
== NULL
) {
38720 SWIG_null_ref("wxPoint");
38722 if (SWIG_arg_fail(2)) SWIG_fail
;
38727 SWIG_Python_ConvertPtr(obj2
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
38728 if (SWIG_arg_fail(3)) SWIG_fail
;
38729 if (argp
== NULL
) {
38730 SWIG_null_ref("wxSize");
38732 if (SWIG_arg_fail(3)) SWIG_fail
;
38736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38737 (arg1
)->SetDimension(arg2
,arg3
);
38739 wxPyEndAllowThreads(__tstate
);
38740 if (PyErr_Occurred()) SWIG_fail
;
38742 Py_INCREF(Py_None
); resultobj
= Py_None
;
38749 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38750 PyObject
*resultobj
;
38751 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38753 PyObject
* obj0
= 0 ;
38754 char *kwnames
[] = {
38755 (char *) "self", NULL
38758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
38759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38760 if (SWIG_arg_fail(1)) SWIG_fail
;
38762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38763 result
= (arg1
)->GetMinSize();
38765 wxPyEndAllowThreads(__tstate
);
38766 if (PyErr_Occurred()) SWIG_fail
;
38769 wxSize
* resultptr
;
38770 resultptr
= new wxSize((wxSize
&)(result
));
38771 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38779 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38780 PyObject
*resultobj
;
38781 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38783 PyObject
* obj0
= 0 ;
38784 char *kwnames
[] = {
38785 (char *) "self", NULL
38788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
38789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38790 if (SWIG_arg_fail(1)) SWIG_fail
;
38792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38793 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
38795 wxPyEndAllowThreads(__tstate
);
38796 if (PyErr_Occurred()) SWIG_fail
;
38799 wxSize
* resultptr
;
38800 resultptr
= new wxSize((wxSize
&)(result
));
38801 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38809 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38810 PyObject
*resultobj
;
38811 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38814 PyObject
* obj0
= 0 ;
38815 PyObject
* obj1
= 0 ;
38816 PyObject
* obj2
= 0 ;
38817 char *kwnames
[] = {
38818 (char *) "self",(char *) "x",(char *) "y", NULL
38821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38823 if (SWIG_arg_fail(1)) SWIG_fail
;
38825 arg2
= (int)(SWIG_As_int(obj1
));
38826 if (SWIG_arg_fail(2)) SWIG_fail
;
38829 arg3
= (int)(SWIG_As_int(obj2
));
38830 if (SWIG_arg_fail(3)) SWIG_fail
;
38833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38834 (arg1
)->SetInitSize(arg2
,arg3
);
38836 wxPyEndAllowThreads(__tstate
);
38837 if (PyErr_Occurred()) SWIG_fail
;
38839 Py_INCREF(Py_None
); resultobj
= Py_None
;
38846 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38847 PyObject
*resultobj
;
38848 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38851 PyObject
* obj0
= 0 ;
38852 PyObject
* obj1
= 0 ;
38853 PyObject
* obj2
= 0 ;
38854 char *kwnames
[] = {
38855 (char *) "self",(char *) "width",(char *) "height", NULL
38858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38860 if (SWIG_arg_fail(1)) SWIG_fail
;
38862 arg2
= (int)(SWIG_As_int(obj1
));
38863 if (SWIG_arg_fail(2)) SWIG_fail
;
38866 arg3
= (int)(SWIG_As_int(obj2
));
38867 if (SWIG_arg_fail(3)) SWIG_fail
;
38870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38871 (arg1
)->SetRatio(arg2
,arg3
);
38873 wxPyEndAllowThreads(__tstate
);
38874 if (PyErr_Occurred()) SWIG_fail
;
38876 Py_INCREF(Py_None
); resultobj
= Py_None
;
38883 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38884 PyObject
*resultobj
;
38885 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38888 PyObject
* obj0
= 0 ;
38889 PyObject
* obj1
= 0 ;
38890 char *kwnames
[] = {
38891 (char *) "self",(char *) "size", NULL
38894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38896 if (SWIG_arg_fail(1)) SWIG_fail
;
38899 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38903 (arg1
)->SetRatio((wxSize
const &)*arg2
);
38905 wxPyEndAllowThreads(__tstate
);
38906 if (PyErr_Occurred()) SWIG_fail
;
38908 Py_INCREF(Py_None
); resultobj
= Py_None
;
38915 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38916 PyObject
*resultobj
;
38917 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38919 PyObject
* obj0
= 0 ;
38920 PyObject
* obj1
= 0 ;
38921 char *kwnames
[] = {
38922 (char *) "self",(char *) "ratio", NULL
38925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
38926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38927 if (SWIG_arg_fail(1)) SWIG_fail
;
38929 arg2
= (float)(SWIG_As_float(obj1
));
38930 if (SWIG_arg_fail(2)) SWIG_fail
;
38933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38934 (arg1
)->SetRatio(arg2
);
38936 wxPyEndAllowThreads(__tstate
);
38937 if (PyErr_Occurred()) SWIG_fail
;
38939 Py_INCREF(Py_None
); resultobj
= Py_None
;
38946 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38947 PyObject
*resultobj
;
38948 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38950 PyObject
* obj0
= 0 ;
38951 char *kwnames
[] = {
38952 (char *) "self", NULL
38955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
38956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38957 if (SWIG_arg_fail(1)) SWIG_fail
;
38959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38960 result
= (float)(arg1
)->GetRatio();
38962 wxPyEndAllowThreads(__tstate
);
38963 if (PyErr_Occurred()) SWIG_fail
;
38966 resultobj
= SWIG_From_float((float)(result
));
38974 static PyObject
*_wrap_SizerItem_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38975 PyObject
*resultobj
;
38976 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38978 PyObject
* obj0
= 0 ;
38979 char *kwnames
[] = {
38980 (char *) "self", NULL
38983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRect",kwnames
,&obj0
)) goto fail
;
38984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38985 if (SWIG_arg_fail(1)) SWIG_fail
;
38987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38988 result
= (arg1
)->GetRect();
38990 wxPyEndAllowThreads(__tstate
);
38991 if (PyErr_Occurred()) SWIG_fail
;
38994 wxRect
* resultptr
;
38995 resultptr
= new wxRect((wxRect
&)(result
));
38996 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
39004 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39005 PyObject
*resultobj
;
39006 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39008 PyObject
* obj0
= 0 ;
39009 char *kwnames
[] = {
39010 (char *) "self", NULL
39013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
39014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39015 if (SWIG_arg_fail(1)) SWIG_fail
;
39017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39018 result
= (bool)(arg1
)->IsWindow();
39020 wxPyEndAllowThreads(__tstate
);
39021 if (PyErr_Occurred()) SWIG_fail
;
39024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39032 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39033 PyObject
*resultobj
;
39034 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39036 PyObject
* obj0
= 0 ;
39037 char *kwnames
[] = {
39038 (char *) "self", NULL
39041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
39042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39043 if (SWIG_arg_fail(1)) SWIG_fail
;
39045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39046 result
= (bool)(arg1
)->IsSizer();
39048 wxPyEndAllowThreads(__tstate
);
39049 if (PyErr_Occurred()) SWIG_fail
;
39052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39060 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39061 PyObject
*resultobj
;
39062 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39064 PyObject
* obj0
= 0 ;
39065 char *kwnames
[] = {
39066 (char *) "self", NULL
39069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
39070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39071 if (SWIG_arg_fail(1)) SWIG_fail
;
39073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39074 result
= (bool)(arg1
)->IsSpacer();
39076 wxPyEndAllowThreads(__tstate
);
39077 if (PyErr_Occurred()) SWIG_fail
;
39080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39088 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39089 PyObject
*resultobj
;
39090 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39092 PyObject
* obj0
= 0 ;
39093 PyObject
* obj1
= 0 ;
39094 char *kwnames
[] = {
39095 (char *) "self",(char *) "proportion", NULL
39098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
39099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39100 if (SWIG_arg_fail(1)) SWIG_fail
;
39102 arg2
= (int)(SWIG_As_int(obj1
));
39103 if (SWIG_arg_fail(2)) SWIG_fail
;
39106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39107 (arg1
)->SetProportion(arg2
);
39109 wxPyEndAllowThreads(__tstate
);
39110 if (PyErr_Occurred()) SWIG_fail
;
39112 Py_INCREF(Py_None
); resultobj
= Py_None
;
39119 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39120 PyObject
*resultobj
;
39121 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39123 PyObject
* obj0
= 0 ;
39124 char *kwnames
[] = {
39125 (char *) "self", NULL
39128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
39129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39130 if (SWIG_arg_fail(1)) SWIG_fail
;
39132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39133 result
= (int)(arg1
)->GetProportion();
39135 wxPyEndAllowThreads(__tstate
);
39136 if (PyErr_Occurred()) SWIG_fail
;
39139 resultobj
= SWIG_From_int((int)(result
));
39147 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39148 PyObject
*resultobj
;
39149 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39151 PyObject
* obj0
= 0 ;
39152 PyObject
* obj1
= 0 ;
39153 char *kwnames
[] = {
39154 (char *) "self",(char *) "flag", NULL
39157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
39158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39159 if (SWIG_arg_fail(1)) SWIG_fail
;
39161 arg2
= (int)(SWIG_As_int(obj1
));
39162 if (SWIG_arg_fail(2)) SWIG_fail
;
39165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39166 (arg1
)->SetFlag(arg2
);
39168 wxPyEndAllowThreads(__tstate
);
39169 if (PyErr_Occurred()) SWIG_fail
;
39171 Py_INCREF(Py_None
); resultobj
= Py_None
;
39178 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39179 PyObject
*resultobj
;
39180 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39182 PyObject
* obj0
= 0 ;
39183 char *kwnames
[] = {
39184 (char *) "self", NULL
39187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
39188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39189 if (SWIG_arg_fail(1)) SWIG_fail
;
39191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39192 result
= (int)(arg1
)->GetFlag();
39194 wxPyEndAllowThreads(__tstate
);
39195 if (PyErr_Occurred()) SWIG_fail
;
39198 resultobj
= SWIG_From_int((int)(result
));
39206 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39207 PyObject
*resultobj
;
39208 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39210 PyObject
* obj0
= 0 ;
39211 PyObject
* obj1
= 0 ;
39212 char *kwnames
[] = {
39213 (char *) "self",(char *) "border", NULL
39216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
39217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39218 if (SWIG_arg_fail(1)) SWIG_fail
;
39220 arg2
= (int)(SWIG_As_int(obj1
));
39221 if (SWIG_arg_fail(2)) SWIG_fail
;
39224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39225 (arg1
)->SetBorder(arg2
);
39227 wxPyEndAllowThreads(__tstate
);
39228 if (PyErr_Occurred()) SWIG_fail
;
39230 Py_INCREF(Py_None
); resultobj
= Py_None
;
39237 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39238 PyObject
*resultobj
;
39239 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39241 PyObject
* obj0
= 0 ;
39242 char *kwnames
[] = {
39243 (char *) "self", NULL
39246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
39247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39248 if (SWIG_arg_fail(1)) SWIG_fail
;
39250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39251 result
= (int)(arg1
)->GetBorder();
39253 wxPyEndAllowThreads(__tstate
);
39254 if (PyErr_Occurred()) SWIG_fail
;
39257 resultobj
= SWIG_From_int((int)(result
));
39265 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39266 PyObject
*resultobj
;
39267 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39269 PyObject
* obj0
= 0 ;
39270 char *kwnames
[] = {
39271 (char *) "self", NULL
39274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
39275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39276 if (SWIG_arg_fail(1)) SWIG_fail
;
39278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39279 result
= (wxWindow
*)(arg1
)->GetWindow();
39281 wxPyEndAllowThreads(__tstate
);
39282 if (PyErr_Occurred()) SWIG_fail
;
39285 resultobj
= wxPyMake_wxObject(result
, 0);
39293 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39294 PyObject
*resultobj
;
39295 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39296 wxWindow
*arg2
= (wxWindow
*) 0 ;
39297 PyObject
* obj0
= 0 ;
39298 PyObject
* obj1
= 0 ;
39299 char *kwnames
[] = {
39300 (char *) "self",(char *) "window", NULL
39303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
39304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39305 if (SWIG_arg_fail(1)) SWIG_fail
;
39306 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39307 if (SWIG_arg_fail(2)) SWIG_fail
;
39309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39310 (arg1
)->SetWindow(arg2
);
39312 wxPyEndAllowThreads(__tstate
);
39313 if (PyErr_Occurred()) SWIG_fail
;
39315 Py_INCREF(Py_None
); resultobj
= Py_None
;
39322 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39323 PyObject
*resultobj
;
39324 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39326 PyObject
* obj0
= 0 ;
39327 char *kwnames
[] = {
39328 (char *) "self", NULL
39331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
39332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39333 if (SWIG_arg_fail(1)) SWIG_fail
;
39335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39336 result
= (wxSizer
*)(arg1
)->GetSizer();
39338 wxPyEndAllowThreads(__tstate
);
39339 if (PyErr_Occurred()) SWIG_fail
;
39342 resultobj
= wxPyMake_wxObject(result
, 0);
39350 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39351 PyObject
*resultobj
;
39352 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39353 wxSizer
*arg2
= (wxSizer
*) 0 ;
39354 PyObject
* obj0
= 0 ;
39355 PyObject
* obj1
= 0 ;
39356 char *kwnames
[] = {
39357 (char *) "self",(char *) "sizer", NULL
39360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
39361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39362 if (SWIG_arg_fail(1)) SWIG_fail
;
39363 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39364 if (SWIG_arg_fail(2)) SWIG_fail
;
39366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39367 (arg1
)->SetSizer(arg2
);
39369 wxPyEndAllowThreads(__tstate
);
39370 if (PyErr_Occurred()) SWIG_fail
;
39372 Py_INCREF(Py_None
); resultobj
= Py_None
;
39379 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39380 PyObject
*resultobj
;
39381 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39383 PyObject
* obj0
= 0 ;
39384 char *kwnames
[] = {
39385 (char *) "self", NULL
39388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
39389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39390 if (SWIG_arg_fail(1)) SWIG_fail
;
39392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39394 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
39395 result
= (wxSize
*) &_result_ref
;
39398 wxPyEndAllowThreads(__tstate
);
39399 if (PyErr_Occurred()) SWIG_fail
;
39401 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
39408 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39409 PyObject
*resultobj
;
39410 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39413 PyObject
* obj0
= 0 ;
39414 PyObject
* obj1
= 0 ;
39415 char *kwnames
[] = {
39416 (char *) "self",(char *) "size", NULL
39419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
39420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39421 if (SWIG_arg_fail(1)) SWIG_fail
;
39424 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
39427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39428 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
39430 wxPyEndAllowThreads(__tstate
);
39431 if (PyErr_Occurred()) SWIG_fail
;
39433 Py_INCREF(Py_None
); resultobj
= Py_None
;
39440 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39441 PyObject
*resultobj
;
39442 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39444 PyObject
* obj0
= 0 ;
39445 PyObject
* obj1
= 0 ;
39446 char *kwnames
[] = {
39447 (char *) "self",(char *) "show", NULL
39450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
39451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39452 if (SWIG_arg_fail(1)) SWIG_fail
;
39454 arg2
= (bool)(SWIG_As_bool(obj1
));
39455 if (SWIG_arg_fail(2)) SWIG_fail
;
39458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39459 (arg1
)->Show(arg2
);
39461 wxPyEndAllowThreads(__tstate
);
39462 if (PyErr_Occurred()) SWIG_fail
;
39464 Py_INCREF(Py_None
); resultobj
= Py_None
;
39471 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39472 PyObject
*resultobj
;
39473 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39475 PyObject
* obj0
= 0 ;
39476 char *kwnames
[] = {
39477 (char *) "self", NULL
39480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
39481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39482 if (SWIG_arg_fail(1)) SWIG_fail
;
39484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39485 result
= (bool)(arg1
)->IsShown();
39487 wxPyEndAllowThreads(__tstate
);
39488 if (PyErr_Occurred()) SWIG_fail
;
39491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39499 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39500 PyObject
*resultobj
;
39501 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39503 PyObject
* obj0
= 0 ;
39504 char *kwnames
[] = {
39505 (char *) "self", NULL
39508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
39509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39510 if (SWIG_arg_fail(1)) SWIG_fail
;
39512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39513 result
= (arg1
)->GetPosition();
39515 wxPyEndAllowThreads(__tstate
);
39516 if (PyErr_Occurred()) SWIG_fail
;
39519 wxPoint
* resultptr
;
39520 resultptr
= new wxPoint((wxPoint
&)(result
));
39521 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
39529 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39530 PyObject
*resultobj
;
39531 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39533 PyObject
* obj0
= 0 ;
39534 char *kwnames
[] = {
39535 (char *) "self", NULL
39538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
39539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39540 if (SWIG_arg_fail(1)) SWIG_fail
;
39542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39543 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
39545 wxPyEndAllowThreads(__tstate
);
39546 if (PyErr_Occurred()) SWIG_fail
;
39548 resultobj
= result
;
39555 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
39557 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39558 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
39560 return Py_BuildValue((char *)"");
39562 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39563 PyObject
*resultobj
;
39564 wxSizer
*arg1
= (wxSizer
*) 0 ;
39565 PyObject
*arg2
= (PyObject
*) 0 ;
39566 PyObject
* obj0
= 0 ;
39567 PyObject
* obj1
= 0 ;
39568 char *kwnames
[] = {
39569 (char *) "self",(char *) "_self", NULL
39572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
39573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39574 if (SWIG_arg_fail(1)) SWIG_fail
;
39577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39578 wxSizer__setOORInfo(arg1
,arg2
);
39580 wxPyEndAllowThreads(__tstate
);
39581 if (PyErr_Occurred()) SWIG_fail
;
39583 Py_INCREF(Py_None
); resultobj
= Py_None
;
39590 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39591 PyObject
*resultobj
;
39592 wxSizer
*arg1
= (wxSizer
*) 0 ;
39593 PyObject
*arg2
= (PyObject
*) 0 ;
39594 int arg3
= (int) 0 ;
39595 int arg4
= (int) 0 ;
39596 int arg5
= (int) 0 ;
39597 PyObject
*arg6
= (PyObject
*) NULL
;
39598 wxSizerItem
*result
;
39599 PyObject
* obj0
= 0 ;
39600 PyObject
* obj1
= 0 ;
39601 PyObject
* obj2
= 0 ;
39602 PyObject
* obj3
= 0 ;
39603 PyObject
* obj4
= 0 ;
39604 PyObject
* obj5
= 0 ;
39605 char *kwnames
[] = {
39606 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39611 if (SWIG_arg_fail(1)) SWIG_fail
;
39615 arg3
= (int)(SWIG_As_int(obj2
));
39616 if (SWIG_arg_fail(3)) SWIG_fail
;
39621 arg4
= (int)(SWIG_As_int(obj3
));
39622 if (SWIG_arg_fail(4)) SWIG_fail
;
39627 arg5
= (int)(SWIG_As_int(obj4
));
39628 if (SWIG_arg_fail(5)) SWIG_fail
;
39635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39636 result
= (wxSizerItem
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
39638 wxPyEndAllowThreads(__tstate
);
39639 if (PyErr_Occurred()) SWIG_fail
;
39641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39648 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39649 PyObject
*resultobj
;
39650 wxSizer
*arg1
= (wxSizer
*) 0 ;
39652 PyObject
*arg3
= (PyObject
*) 0 ;
39653 int arg4
= (int) 0 ;
39654 int arg5
= (int) 0 ;
39655 int arg6
= (int) 0 ;
39656 PyObject
*arg7
= (PyObject
*) NULL
;
39657 wxSizerItem
*result
;
39658 PyObject
* obj0
= 0 ;
39659 PyObject
* obj1
= 0 ;
39660 PyObject
* obj2
= 0 ;
39661 PyObject
* obj3
= 0 ;
39662 PyObject
* obj4
= 0 ;
39663 PyObject
* obj5
= 0 ;
39664 PyObject
* obj6
= 0 ;
39665 char *kwnames
[] = {
39666 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
39670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39671 if (SWIG_arg_fail(1)) SWIG_fail
;
39673 arg2
= (int)(SWIG_As_int(obj1
));
39674 if (SWIG_arg_fail(2)) SWIG_fail
;
39679 arg4
= (int)(SWIG_As_int(obj3
));
39680 if (SWIG_arg_fail(4)) SWIG_fail
;
39685 arg5
= (int)(SWIG_As_int(obj4
));
39686 if (SWIG_arg_fail(5)) SWIG_fail
;
39691 arg6
= (int)(SWIG_As_int(obj5
));
39692 if (SWIG_arg_fail(6)) SWIG_fail
;
39699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39700 result
= (wxSizerItem
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
39702 wxPyEndAllowThreads(__tstate
);
39703 if (PyErr_Occurred()) SWIG_fail
;
39705 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39712 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39713 PyObject
*resultobj
;
39714 wxSizer
*arg1
= (wxSizer
*) 0 ;
39715 PyObject
*arg2
= (PyObject
*) 0 ;
39716 int arg3
= (int) 0 ;
39717 int arg4
= (int) 0 ;
39718 int arg5
= (int) 0 ;
39719 PyObject
*arg6
= (PyObject
*) NULL
;
39720 wxSizerItem
*result
;
39721 PyObject
* obj0
= 0 ;
39722 PyObject
* obj1
= 0 ;
39723 PyObject
* obj2
= 0 ;
39724 PyObject
* obj3
= 0 ;
39725 PyObject
* obj4
= 0 ;
39726 PyObject
* obj5
= 0 ;
39727 char *kwnames
[] = {
39728 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39733 if (SWIG_arg_fail(1)) SWIG_fail
;
39737 arg3
= (int)(SWIG_As_int(obj2
));
39738 if (SWIG_arg_fail(3)) SWIG_fail
;
39743 arg4
= (int)(SWIG_As_int(obj3
));
39744 if (SWIG_arg_fail(4)) SWIG_fail
;
39749 arg5
= (int)(SWIG_As_int(obj4
));
39750 if (SWIG_arg_fail(5)) SWIG_fail
;
39757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39758 result
= (wxSizerItem
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
39760 wxPyEndAllowThreads(__tstate
);
39761 if (PyErr_Occurred()) SWIG_fail
;
39763 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39770 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39771 PyObject
*resultobj
;
39772 wxSizer
*arg1
= (wxSizer
*) 0 ;
39773 PyObject
*arg2
= (PyObject
*) 0 ;
39775 PyObject
* obj0
= 0 ;
39776 PyObject
* obj1
= 0 ;
39777 char *kwnames
[] = {
39778 (char *) "self",(char *) "item", NULL
39781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
39782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39783 if (SWIG_arg_fail(1)) SWIG_fail
;
39786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39787 result
= (bool)wxSizer_Remove(arg1
,arg2
);
39789 wxPyEndAllowThreads(__tstate
);
39790 if (PyErr_Occurred()) SWIG_fail
;
39793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39801 static PyObject
*_wrap_Sizer_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39802 PyObject
*resultobj
;
39803 wxSizer
*arg1
= (wxSizer
*) 0 ;
39804 PyObject
*arg2
= (PyObject
*) 0 ;
39806 PyObject
* obj0
= 0 ;
39807 PyObject
* obj1
= 0 ;
39808 char *kwnames
[] = {
39809 (char *) "self",(char *) "item", NULL
39812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
39813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39814 if (SWIG_arg_fail(1)) SWIG_fail
;
39817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39818 result
= (bool)wxSizer_Detach(arg1
,arg2
);
39820 wxPyEndAllowThreads(__tstate
);
39821 if (PyErr_Occurred()) SWIG_fail
;
39824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39832 static PyObject
*_wrap_Sizer_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39833 PyObject
*resultobj
;
39834 wxSizer
*arg1
= (wxSizer
*) 0 ;
39835 PyObject
*arg2
= (PyObject
*) 0 ;
39836 wxSizerItem
*result
;
39837 PyObject
* obj0
= 0 ;
39838 PyObject
* obj1
= 0 ;
39839 char *kwnames
[] = {
39840 (char *) "self",(char *) "item", NULL
39843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_GetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39845 if (SWIG_arg_fail(1)) SWIG_fail
;
39848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39849 result
= (wxSizerItem
*)wxSizer_GetItem(arg1
,arg2
);
39851 wxPyEndAllowThreads(__tstate
);
39852 if (PyErr_Occurred()) SWIG_fail
;
39854 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39861 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39862 PyObject
*resultobj
;
39863 wxSizer
*arg1
= (wxSizer
*) 0 ;
39864 PyObject
*arg2
= (PyObject
*) 0 ;
39867 PyObject
* obj0
= 0 ;
39868 PyObject
* obj1
= 0 ;
39869 PyObject
* obj2
= 0 ;
39870 char *kwnames
[] = {
39871 (char *) "self",(char *) "item",(char *) "size", NULL
39874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39876 if (SWIG_arg_fail(1)) SWIG_fail
;
39880 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
39883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39884 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
39886 wxPyEndAllowThreads(__tstate
);
39887 if (PyErr_Occurred()) SWIG_fail
;
39889 Py_INCREF(Py_None
); resultobj
= Py_None
;
39896 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39897 PyObject
*resultobj
;
39898 wxSizer
*arg1
= (wxSizer
*) 0 ;
39899 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
39900 wxSizerItem
*result
;
39901 PyObject
* obj0
= 0 ;
39902 PyObject
* obj1
= 0 ;
39903 char *kwnames
[] = {
39904 (char *) "self",(char *) "item", NULL
39907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39909 if (SWIG_arg_fail(1)) SWIG_fail
;
39910 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39911 if (SWIG_arg_fail(2)) SWIG_fail
;
39913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39914 result
= (wxSizerItem
*)(arg1
)->Add(arg2
);
39916 wxPyEndAllowThreads(__tstate
);
39917 if (PyErr_Occurred()) SWIG_fail
;
39919 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39926 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39927 PyObject
*resultobj
;
39928 wxSizer
*arg1
= (wxSizer
*) 0 ;
39930 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
39931 wxSizerItem
*result
;
39932 PyObject
* obj0
= 0 ;
39933 PyObject
* obj1
= 0 ;
39934 PyObject
* obj2
= 0 ;
39935 char *kwnames
[] = {
39936 (char *) "self",(char *) "index",(char *) "item", NULL
39939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39941 if (SWIG_arg_fail(1)) SWIG_fail
;
39943 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
39944 if (SWIG_arg_fail(2)) SWIG_fail
;
39946 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39947 if (SWIG_arg_fail(3)) SWIG_fail
;
39949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39950 result
= (wxSizerItem
*)(arg1
)->Insert(arg2
,arg3
);
39952 wxPyEndAllowThreads(__tstate
);
39953 if (PyErr_Occurred()) SWIG_fail
;
39955 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39962 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39963 PyObject
*resultobj
;
39964 wxSizer
*arg1
= (wxSizer
*) 0 ;
39965 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
39966 wxSizerItem
*result
;
39967 PyObject
* obj0
= 0 ;
39968 PyObject
* obj1
= 0 ;
39969 char *kwnames
[] = {
39970 (char *) "self",(char *) "item", NULL
39973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39975 if (SWIG_arg_fail(1)) SWIG_fail
;
39976 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39977 if (SWIG_arg_fail(2)) SWIG_fail
;
39979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39980 result
= (wxSizerItem
*)(arg1
)->Prepend(arg2
);
39982 wxPyEndAllowThreads(__tstate
);
39983 if (PyErr_Occurred()) SWIG_fail
;
39985 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39992 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39993 PyObject
*resultobj
;
39994 wxSizer
*arg1
= (wxSizer
*) 0 ;
39999 PyObject
* obj0
= 0 ;
40000 PyObject
* obj1
= 0 ;
40001 PyObject
* obj2
= 0 ;
40002 PyObject
* obj3
= 0 ;
40003 PyObject
* obj4
= 0 ;
40004 char *kwnames
[] = {
40005 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
40008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
40009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40010 if (SWIG_arg_fail(1)) SWIG_fail
;
40012 arg2
= (int)(SWIG_As_int(obj1
));
40013 if (SWIG_arg_fail(2)) SWIG_fail
;
40016 arg3
= (int)(SWIG_As_int(obj2
));
40017 if (SWIG_arg_fail(3)) SWIG_fail
;
40020 arg4
= (int)(SWIG_As_int(obj3
));
40021 if (SWIG_arg_fail(4)) SWIG_fail
;
40024 arg5
= (int)(SWIG_As_int(obj4
));
40025 if (SWIG_arg_fail(5)) SWIG_fail
;
40028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40029 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
40031 wxPyEndAllowThreads(__tstate
);
40032 if (PyErr_Occurred()) SWIG_fail
;
40034 Py_INCREF(Py_None
); resultobj
= Py_None
;
40041 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40042 PyObject
*resultobj
;
40043 wxSizer
*arg1
= (wxSizer
*) 0 ;
40046 PyObject
* obj0
= 0 ;
40047 PyObject
* obj1
= 0 ;
40048 char *kwnames
[] = {
40049 (char *) "self",(char *) "size", NULL
40052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
40053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40054 if (SWIG_arg_fail(1)) SWIG_fail
;
40057 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
40060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40061 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
40063 wxPyEndAllowThreads(__tstate
);
40064 if (PyErr_Occurred()) SWIG_fail
;
40066 Py_INCREF(Py_None
); resultobj
= Py_None
;
40073 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40074 PyObject
*resultobj
;
40075 wxSizer
*arg1
= (wxSizer
*) 0 ;
40077 PyObject
* obj0
= 0 ;
40078 char *kwnames
[] = {
40079 (char *) "self", NULL
40082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
40083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40084 if (SWIG_arg_fail(1)) SWIG_fail
;
40086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40087 result
= (arg1
)->GetSize();
40089 wxPyEndAllowThreads(__tstate
);
40090 if (PyErr_Occurred()) SWIG_fail
;
40093 wxSize
* resultptr
;
40094 resultptr
= new wxSize((wxSize
&)(result
));
40095 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40103 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40104 PyObject
*resultobj
;
40105 wxSizer
*arg1
= (wxSizer
*) 0 ;
40107 PyObject
* obj0
= 0 ;
40108 char *kwnames
[] = {
40109 (char *) "self", NULL
40112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
40113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40114 if (SWIG_arg_fail(1)) SWIG_fail
;
40116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40117 result
= (arg1
)->GetPosition();
40119 wxPyEndAllowThreads(__tstate
);
40120 if (PyErr_Occurred()) SWIG_fail
;
40123 wxPoint
* resultptr
;
40124 resultptr
= new wxPoint((wxPoint
&)(result
));
40125 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
40133 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40134 PyObject
*resultobj
;
40135 wxSizer
*arg1
= (wxSizer
*) 0 ;
40137 PyObject
* obj0
= 0 ;
40138 char *kwnames
[] = {
40139 (char *) "self", NULL
40142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
40143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40144 if (SWIG_arg_fail(1)) SWIG_fail
;
40146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40147 result
= (arg1
)->GetMinSize();
40149 wxPyEndAllowThreads(__tstate
);
40150 if (PyErr_Occurred()) SWIG_fail
;
40153 wxSize
* resultptr
;
40154 resultptr
= new wxSize((wxSize
&)(result
));
40155 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40163 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40164 PyObject
*resultobj
;
40165 wxSizer
*arg1
= (wxSizer
*) 0 ;
40166 PyObject
* obj0
= 0 ;
40167 char *kwnames
[] = {
40168 (char *) "self", NULL
40171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
40172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40173 if (SWIG_arg_fail(1)) SWIG_fail
;
40175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40176 (arg1
)->RecalcSizes();
40178 wxPyEndAllowThreads(__tstate
);
40179 if (PyErr_Occurred()) SWIG_fail
;
40181 Py_INCREF(Py_None
); resultobj
= Py_None
;
40188 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40189 PyObject
*resultobj
;
40190 wxSizer
*arg1
= (wxSizer
*) 0 ;
40192 PyObject
* obj0
= 0 ;
40193 char *kwnames
[] = {
40194 (char *) "self", NULL
40197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
40198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40199 if (SWIG_arg_fail(1)) SWIG_fail
;
40201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40202 result
= (arg1
)->CalcMin();
40204 wxPyEndAllowThreads(__tstate
);
40205 if (PyErr_Occurred()) SWIG_fail
;
40208 wxSize
* resultptr
;
40209 resultptr
= new wxSize((wxSize
&)(result
));
40210 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40218 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40219 PyObject
*resultobj
;
40220 wxSizer
*arg1
= (wxSizer
*) 0 ;
40221 PyObject
* obj0
= 0 ;
40222 char *kwnames
[] = {
40223 (char *) "self", NULL
40226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
40227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40228 if (SWIG_arg_fail(1)) SWIG_fail
;
40230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40233 wxPyEndAllowThreads(__tstate
);
40234 if (PyErr_Occurred()) SWIG_fail
;
40236 Py_INCREF(Py_None
); resultobj
= Py_None
;
40243 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40244 PyObject
*resultobj
;
40245 wxSizer
*arg1
= (wxSizer
*) 0 ;
40246 wxWindow
*arg2
= (wxWindow
*) 0 ;
40248 PyObject
* obj0
= 0 ;
40249 PyObject
* obj1
= 0 ;
40250 char *kwnames
[] = {
40251 (char *) "self",(char *) "window", NULL
40254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
40255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40256 if (SWIG_arg_fail(1)) SWIG_fail
;
40257 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40258 if (SWIG_arg_fail(2)) SWIG_fail
;
40260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40261 result
= (arg1
)->Fit(arg2
);
40263 wxPyEndAllowThreads(__tstate
);
40264 if (PyErr_Occurred()) SWIG_fail
;
40267 wxSize
* resultptr
;
40268 resultptr
= new wxSize((wxSize
&)(result
));
40269 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40277 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40278 PyObject
*resultobj
;
40279 wxSizer
*arg1
= (wxSizer
*) 0 ;
40280 wxWindow
*arg2
= (wxWindow
*) 0 ;
40281 PyObject
* obj0
= 0 ;
40282 PyObject
* obj1
= 0 ;
40283 char *kwnames
[] = {
40284 (char *) "self",(char *) "window", NULL
40287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
40288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40289 if (SWIG_arg_fail(1)) SWIG_fail
;
40290 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40291 if (SWIG_arg_fail(2)) SWIG_fail
;
40293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40294 (arg1
)->FitInside(arg2
);
40296 wxPyEndAllowThreads(__tstate
);
40297 if (PyErr_Occurred()) SWIG_fail
;
40299 Py_INCREF(Py_None
); resultobj
= Py_None
;
40306 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40307 PyObject
*resultobj
;
40308 wxSizer
*arg1
= (wxSizer
*) 0 ;
40309 wxWindow
*arg2
= (wxWindow
*) 0 ;
40310 PyObject
* obj0
= 0 ;
40311 PyObject
* obj1
= 0 ;
40312 char *kwnames
[] = {
40313 (char *) "self",(char *) "window", NULL
40316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
40317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40318 if (SWIG_arg_fail(1)) SWIG_fail
;
40319 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40320 if (SWIG_arg_fail(2)) SWIG_fail
;
40322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40323 (arg1
)->SetSizeHints(arg2
);
40325 wxPyEndAllowThreads(__tstate
);
40326 if (PyErr_Occurred()) SWIG_fail
;
40328 Py_INCREF(Py_None
); resultobj
= Py_None
;
40335 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40336 PyObject
*resultobj
;
40337 wxSizer
*arg1
= (wxSizer
*) 0 ;
40338 wxWindow
*arg2
= (wxWindow
*) 0 ;
40339 PyObject
* obj0
= 0 ;
40340 PyObject
* obj1
= 0 ;
40341 char *kwnames
[] = {
40342 (char *) "self",(char *) "window", NULL
40345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
40346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40347 if (SWIG_arg_fail(1)) SWIG_fail
;
40348 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40349 if (SWIG_arg_fail(2)) SWIG_fail
;
40351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40352 (arg1
)->SetVirtualSizeHints(arg2
);
40354 wxPyEndAllowThreads(__tstate
);
40355 if (PyErr_Occurred()) SWIG_fail
;
40357 Py_INCREF(Py_None
); resultobj
= Py_None
;
40364 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40365 PyObject
*resultobj
;
40366 wxSizer
*arg1
= (wxSizer
*) 0 ;
40367 bool arg2
= (bool) false ;
40368 PyObject
* obj0
= 0 ;
40369 PyObject
* obj1
= 0 ;
40370 char *kwnames
[] = {
40371 (char *) "self",(char *) "deleteWindows", NULL
40374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
40375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40376 if (SWIG_arg_fail(1)) SWIG_fail
;
40379 arg2
= (bool)(SWIG_As_bool(obj1
));
40380 if (SWIG_arg_fail(2)) SWIG_fail
;
40384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40385 (arg1
)->Clear(arg2
);
40387 wxPyEndAllowThreads(__tstate
);
40388 if (PyErr_Occurred()) SWIG_fail
;
40390 Py_INCREF(Py_None
); resultobj
= Py_None
;
40397 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40398 PyObject
*resultobj
;
40399 wxSizer
*arg1
= (wxSizer
*) 0 ;
40400 PyObject
* obj0
= 0 ;
40401 char *kwnames
[] = {
40402 (char *) "self", NULL
40405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
40406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40407 if (SWIG_arg_fail(1)) SWIG_fail
;
40409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40410 (arg1
)->DeleteWindows();
40412 wxPyEndAllowThreads(__tstate
);
40413 if (PyErr_Occurred()) SWIG_fail
;
40415 Py_INCREF(Py_None
); resultobj
= Py_None
;
40422 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40423 PyObject
*resultobj
;
40424 wxSizer
*arg1
= (wxSizer
*) 0 ;
40426 PyObject
* obj0
= 0 ;
40427 char *kwnames
[] = {
40428 (char *) "self", NULL
40431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
40432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40433 if (SWIG_arg_fail(1)) SWIG_fail
;
40435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40436 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
40438 wxPyEndAllowThreads(__tstate
);
40439 if (PyErr_Occurred()) SWIG_fail
;
40441 resultobj
= result
;
40448 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40449 PyObject
*resultobj
;
40450 wxSizer
*arg1
= (wxSizer
*) 0 ;
40451 PyObject
*arg2
= (PyObject
*) 0 ;
40452 bool arg3
= (bool) true ;
40453 bool arg4
= (bool) false ;
40455 PyObject
* obj0
= 0 ;
40456 PyObject
* obj1
= 0 ;
40457 PyObject
* obj2
= 0 ;
40458 PyObject
* obj3
= 0 ;
40459 char *kwnames
[] = {
40460 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
40463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40465 if (SWIG_arg_fail(1)) SWIG_fail
;
40469 arg3
= (bool)(SWIG_As_bool(obj2
));
40470 if (SWIG_arg_fail(3)) SWIG_fail
;
40475 arg4
= (bool)(SWIG_As_bool(obj3
));
40476 if (SWIG_arg_fail(4)) SWIG_fail
;
40480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40481 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
40483 wxPyEndAllowThreads(__tstate
);
40484 if (PyErr_Occurred()) SWIG_fail
;
40487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40495 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40496 PyObject
*resultobj
;
40497 wxSizer
*arg1
= (wxSizer
*) 0 ;
40498 PyObject
*arg2
= (PyObject
*) 0 ;
40500 PyObject
* obj0
= 0 ;
40501 PyObject
* obj1
= 0 ;
40502 char *kwnames
[] = {
40503 (char *) "self",(char *) "item", NULL
40506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
40507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40508 if (SWIG_arg_fail(1)) SWIG_fail
;
40511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40512 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
40514 wxPyEndAllowThreads(__tstate
);
40515 if (PyErr_Occurred()) SWIG_fail
;
40518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40526 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40527 PyObject
*resultobj
;
40528 wxSizer
*arg1
= (wxSizer
*) 0 ;
40530 PyObject
* obj0
= 0 ;
40531 PyObject
* obj1
= 0 ;
40532 char *kwnames
[] = {
40533 (char *) "self",(char *) "show", NULL
40536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
40537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40538 if (SWIG_arg_fail(1)) SWIG_fail
;
40540 arg2
= (bool)(SWIG_As_bool(obj1
));
40541 if (SWIG_arg_fail(2)) SWIG_fail
;
40544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40545 (arg1
)->ShowItems(arg2
);
40547 wxPyEndAllowThreads(__tstate
);
40548 if (PyErr_Occurred()) SWIG_fail
;
40550 Py_INCREF(Py_None
); resultobj
= Py_None
;
40557 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
40559 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40560 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
40562 return Py_BuildValue((char *)"");
40564 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40565 PyObject
*resultobj
;
40567 char *kwnames
[] = {
40571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
40573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40574 result
= (wxPySizer
*)new wxPySizer();
40576 wxPyEndAllowThreads(__tstate
);
40577 if (PyErr_Occurred()) SWIG_fail
;
40579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
40586 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40587 PyObject
*resultobj
;
40588 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
40589 PyObject
*arg2
= (PyObject
*) 0 ;
40590 PyObject
*arg3
= (PyObject
*) 0 ;
40591 PyObject
* obj0
= 0 ;
40592 PyObject
* obj1
= 0 ;
40593 PyObject
* obj2
= 0 ;
40594 char *kwnames
[] = {
40595 (char *) "self",(char *) "self",(char *) "_class", NULL
40598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPySizer
, SWIG_POINTER_EXCEPTION
| 0);
40600 if (SWIG_arg_fail(1)) SWIG_fail
;
40604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40605 (arg1
)->_setCallbackInfo(arg2
,arg3
);
40607 wxPyEndAllowThreads(__tstate
);
40608 if (PyErr_Occurred()) SWIG_fail
;
40610 Py_INCREF(Py_None
); resultobj
= Py_None
;
40617 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
40619 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40620 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
40622 return Py_BuildValue((char *)"");
40624 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40625 PyObject
*resultobj
;
40626 int arg1
= (int) wxHORIZONTAL
;
40627 wxBoxSizer
*result
;
40628 PyObject
* obj0
= 0 ;
40629 char *kwnames
[] = {
40630 (char *) "orient", NULL
40633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
40636 arg1
= (int)(SWIG_As_int(obj0
));
40637 if (SWIG_arg_fail(1)) SWIG_fail
;
40641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40642 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
40644 wxPyEndAllowThreads(__tstate
);
40645 if (PyErr_Occurred()) SWIG_fail
;
40647 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
40654 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40655 PyObject
*resultobj
;
40656 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
40658 PyObject
* obj0
= 0 ;
40659 char *kwnames
[] = {
40660 (char *) "self", NULL
40663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
40664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40665 if (SWIG_arg_fail(1)) SWIG_fail
;
40667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40668 result
= (int)(arg1
)->GetOrientation();
40670 wxPyEndAllowThreads(__tstate
);
40671 if (PyErr_Occurred()) SWIG_fail
;
40674 resultobj
= SWIG_From_int((int)(result
));
40682 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40683 PyObject
*resultobj
;
40684 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
40686 PyObject
* obj0
= 0 ;
40687 PyObject
* obj1
= 0 ;
40688 char *kwnames
[] = {
40689 (char *) "self",(char *) "orient", NULL
40692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
40693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40694 if (SWIG_arg_fail(1)) SWIG_fail
;
40696 arg2
= (int)(SWIG_As_int(obj1
));
40697 if (SWIG_arg_fail(2)) SWIG_fail
;
40700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40701 (arg1
)->SetOrientation(arg2
);
40703 wxPyEndAllowThreads(__tstate
);
40704 if (PyErr_Occurred()) SWIG_fail
;
40706 Py_INCREF(Py_None
); resultobj
= Py_None
;
40713 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
40715 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40716 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
40718 return Py_BuildValue((char *)"");
40720 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40721 PyObject
*resultobj
;
40722 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
40723 int arg2
= (int) wxHORIZONTAL
;
40724 wxStaticBoxSizer
*result
;
40725 PyObject
* obj0
= 0 ;
40726 PyObject
* obj1
= 0 ;
40727 char *kwnames
[] = {
40728 (char *) "box",(char *) "orient", NULL
40731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
40732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
40733 if (SWIG_arg_fail(1)) SWIG_fail
;
40736 arg2
= (int)(SWIG_As_int(obj1
));
40737 if (SWIG_arg_fail(2)) SWIG_fail
;
40741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40742 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
40744 wxPyEndAllowThreads(__tstate
);
40745 if (PyErr_Occurred()) SWIG_fail
;
40747 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
40754 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40755 PyObject
*resultobj
;
40756 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
40757 wxStaticBox
*result
;
40758 PyObject
* obj0
= 0 ;
40759 char *kwnames
[] = {
40760 (char *) "self", NULL
40763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
40764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40765 if (SWIG_arg_fail(1)) SWIG_fail
;
40767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40768 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
40770 wxPyEndAllowThreads(__tstate
);
40771 if (PyErr_Occurred()) SWIG_fail
;
40774 resultobj
= wxPyMake_wxObject(result
, 0);
40782 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
40784 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40785 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
40787 return Py_BuildValue((char *)"");
40789 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40790 PyObject
*resultobj
;
40791 int arg1
= (int) 1 ;
40792 int arg2
= (int) 0 ;
40793 int arg3
= (int) 0 ;
40794 int arg4
= (int) 0 ;
40795 wxGridSizer
*result
;
40796 PyObject
* obj0
= 0 ;
40797 PyObject
* obj1
= 0 ;
40798 PyObject
* obj2
= 0 ;
40799 PyObject
* obj3
= 0 ;
40800 char *kwnames
[] = {
40801 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
40804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40807 arg1
= (int)(SWIG_As_int(obj0
));
40808 if (SWIG_arg_fail(1)) SWIG_fail
;
40813 arg2
= (int)(SWIG_As_int(obj1
));
40814 if (SWIG_arg_fail(2)) SWIG_fail
;
40819 arg3
= (int)(SWIG_As_int(obj2
));
40820 if (SWIG_arg_fail(3)) SWIG_fail
;
40825 arg4
= (int)(SWIG_As_int(obj3
));
40826 if (SWIG_arg_fail(4)) SWIG_fail
;
40830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40831 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
40833 wxPyEndAllowThreads(__tstate
);
40834 if (PyErr_Occurred()) SWIG_fail
;
40836 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
40843 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40844 PyObject
*resultobj
;
40845 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40847 PyObject
* obj0
= 0 ;
40848 PyObject
* obj1
= 0 ;
40849 char *kwnames
[] = {
40850 (char *) "self",(char *) "cols", NULL
40853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
40854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40855 if (SWIG_arg_fail(1)) SWIG_fail
;
40857 arg2
= (int)(SWIG_As_int(obj1
));
40858 if (SWIG_arg_fail(2)) SWIG_fail
;
40861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40862 (arg1
)->SetCols(arg2
);
40864 wxPyEndAllowThreads(__tstate
);
40865 if (PyErr_Occurred()) SWIG_fail
;
40867 Py_INCREF(Py_None
); resultobj
= Py_None
;
40874 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40875 PyObject
*resultobj
;
40876 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40878 PyObject
* obj0
= 0 ;
40879 PyObject
* obj1
= 0 ;
40880 char *kwnames
[] = {
40881 (char *) "self",(char *) "rows", NULL
40884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
40885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40886 if (SWIG_arg_fail(1)) SWIG_fail
;
40888 arg2
= (int)(SWIG_As_int(obj1
));
40889 if (SWIG_arg_fail(2)) SWIG_fail
;
40892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40893 (arg1
)->SetRows(arg2
);
40895 wxPyEndAllowThreads(__tstate
);
40896 if (PyErr_Occurred()) SWIG_fail
;
40898 Py_INCREF(Py_None
); resultobj
= Py_None
;
40905 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40906 PyObject
*resultobj
;
40907 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40909 PyObject
* obj0
= 0 ;
40910 PyObject
* obj1
= 0 ;
40911 char *kwnames
[] = {
40912 (char *) "self",(char *) "gap", NULL
40915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
40916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40917 if (SWIG_arg_fail(1)) SWIG_fail
;
40919 arg2
= (int)(SWIG_As_int(obj1
));
40920 if (SWIG_arg_fail(2)) SWIG_fail
;
40923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40924 (arg1
)->SetVGap(arg2
);
40926 wxPyEndAllowThreads(__tstate
);
40927 if (PyErr_Occurred()) SWIG_fail
;
40929 Py_INCREF(Py_None
); resultobj
= Py_None
;
40936 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40937 PyObject
*resultobj
;
40938 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40940 PyObject
* obj0
= 0 ;
40941 PyObject
* obj1
= 0 ;
40942 char *kwnames
[] = {
40943 (char *) "self",(char *) "gap", NULL
40946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
40947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40948 if (SWIG_arg_fail(1)) SWIG_fail
;
40950 arg2
= (int)(SWIG_As_int(obj1
));
40951 if (SWIG_arg_fail(2)) SWIG_fail
;
40954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40955 (arg1
)->SetHGap(arg2
);
40957 wxPyEndAllowThreads(__tstate
);
40958 if (PyErr_Occurred()) SWIG_fail
;
40960 Py_INCREF(Py_None
); resultobj
= Py_None
;
40967 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40968 PyObject
*resultobj
;
40969 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40971 PyObject
* obj0
= 0 ;
40972 char *kwnames
[] = {
40973 (char *) "self", NULL
40976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
40977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40978 if (SWIG_arg_fail(1)) SWIG_fail
;
40980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40981 result
= (int)(arg1
)->GetCols();
40983 wxPyEndAllowThreads(__tstate
);
40984 if (PyErr_Occurred()) SWIG_fail
;
40987 resultobj
= SWIG_From_int((int)(result
));
40995 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40996 PyObject
*resultobj
;
40997 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40999 PyObject
* obj0
= 0 ;
41000 char *kwnames
[] = {
41001 (char *) "self", NULL
41004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
41005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41006 if (SWIG_arg_fail(1)) SWIG_fail
;
41008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41009 result
= (int)(arg1
)->GetRows();
41011 wxPyEndAllowThreads(__tstate
);
41012 if (PyErr_Occurred()) SWIG_fail
;
41015 resultobj
= SWIG_From_int((int)(result
));
41023 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41024 PyObject
*resultobj
;
41025 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41027 PyObject
* obj0
= 0 ;
41028 char *kwnames
[] = {
41029 (char *) "self", NULL
41032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
41033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41034 if (SWIG_arg_fail(1)) SWIG_fail
;
41036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41037 result
= (int)(arg1
)->GetVGap();
41039 wxPyEndAllowThreads(__tstate
);
41040 if (PyErr_Occurred()) SWIG_fail
;
41043 resultobj
= SWIG_From_int((int)(result
));
41051 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41052 PyObject
*resultobj
;
41053 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41055 PyObject
* obj0
= 0 ;
41056 char *kwnames
[] = {
41057 (char *) "self", NULL
41060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
41061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41062 if (SWIG_arg_fail(1)) SWIG_fail
;
41064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41065 result
= (int)(arg1
)->GetHGap();
41067 wxPyEndAllowThreads(__tstate
);
41068 if (PyErr_Occurred()) SWIG_fail
;
41071 resultobj
= SWIG_From_int((int)(result
));
41079 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
41081 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41082 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
41084 return Py_BuildValue((char *)"");
41086 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41087 PyObject
*resultobj
;
41088 int arg1
= (int) 1 ;
41089 int arg2
= (int) 0 ;
41090 int arg3
= (int) 0 ;
41091 int arg4
= (int) 0 ;
41092 wxFlexGridSizer
*result
;
41093 PyObject
* obj0
= 0 ;
41094 PyObject
* obj1
= 0 ;
41095 PyObject
* obj2
= 0 ;
41096 PyObject
* obj3
= 0 ;
41097 char *kwnames
[] = {
41098 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
41101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
41104 arg1
= (int)(SWIG_As_int(obj0
));
41105 if (SWIG_arg_fail(1)) SWIG_fail
;
41110 arg2
= (int)(SWIG_As_int(obj1
));
41111 if (SWIG_arg_fail(2)) SWIG_fail
;
41116 arg3
= (int)(SWIG_As_int(obj2
));
41117 if (SWIG_arg_fail(3)) SWIG_fail
;
41122 arg4
= (int)(SWIG_As_int(obj3
));
41123 if (SWIG_arg_fail(4)) SWIG_fail
;
41127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41128 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
41130 wxPyEndAllowThreads(__tstate
);
41131 if (PyErr_Occurred()) SWIG_fail
;
41133 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
41140 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41141 PyObject
*resultobj
;
41142 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41144 int arg3
= (int) 0 ;
41145 PyObject
* obj0
= 0 ;
41146 PyObject
* obj1
= 0 ;
41147 PyObject
* obj2
= 0 ;
41148 char *kwnames
[] = {
41149 (char *) "self",(char *) "idx",(char *) "proportion", NULL
41152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41154 if (SWIG_arg_fail(1)) SWIG_fail
;
41156 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41157 if (SWIG_arg_fail(2)) SWIG_fail
;
41161 arg3
= (int)(SWIG_As_int(obj2
));
41162 if (SWIG_arg_fail(3)) SWIG_fail
;
41166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41167 (arg1
)->AddGrowableRow(arg2
,arg3
);
41169 wxPyEndAllowThreads(__tstate
);
41170 if (PyErr_Occurred()) SWIG_fail
;
41172 Py_INCREF(Py_None
); resultobj
= Py_None
;
41179 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41180 PyObject
*resultobj
;
41181 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41183 PyObject
* obj0
= 0 ;
41184 PyObject
* obj1
= 0 ;
41185 char *kwnames
[] = {
41186 (char *) "self",(char *) "idx", NULL
41189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
41190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41191 if (SWIG_arg_fail(1)) SWIG_fail
;
41193 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41194 if (SWIG_arg_fail(2)) SWIG_fail
;
41197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41198 (arg1
)->RemoveGrowableRow(arg2
);
41200 wxPyEndAllowThreads(__tstate
);
41201 if (PyErr_Occurred()) SWIG_fail
;
41203 Py_INCREF(Py_None
); resultobj
= Py_None
;
41210 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41211 PyObject
*resultobj
;
41212 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41214 int arg3
= (int) 0 ;
41215 PyObject
* obj0
= 0 ;
41216 PyObject
* obj1
= 0 ;
41217 PyObject
* obj2
= 0 ;
41218 char *kwnames
[] = {
41219 (char *) "self",(char *) "idx",(char *) "proportion", NULL
41222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41224 if (SWIG_arg_fail(1)) SWIG_fail
;
41226 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41227 if (SWIG_arg_fail(2)) SWIG_fail
;
41231 arg3
= (int)(SWIG_As_int(obj2
));
41232 if (SWIG_arg_fail(3)) SWIG_fail
;
41236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41237 (arg1
)->AddGrowableCol(arg2
,arg3
);
41239 wxPyEndAllowThreads(__tstate
);
41240 if (PyErr_Occurred()) SWIG_fail
;
41242 Py_INCREF(Py_None
); resultobj
= Py_None
;
41249 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41250 PyObject
*resultobj
;
41251 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41253 PyObject
* obj0
= 0 ;
41254 PyObject
* obj1
= 0 ;
41255 char *kwnames
[] = {
41256 (char *) "self",(char *) "idx", NULL
41259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
41260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41261 if (SWIG_arg_fail(1)) SWIG_fail
;
41263 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41264 if (SWIG_arg_fail(2)) SWIG_fail
;
41267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41268 (arg1
)->RemoveGrowableCol(arg2
);
41270 wxPyEndAllowThreads(__tstate
);
41271 if (PyErr_Occurred()) SWIG_fail
;
41273 Py_INCREF(Py_None
); resultobj
= Py_None
;
41280 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41281 PyObject
*resultobj
;
41282 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41284 PyObject
* obj0
= 0 ;
41285 PyObject
* obj1
= 0 ;
41286 char *kwnames
[] = {
41287 (char *) "self",(char *) "direction", NULL
41290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
41291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41292 if (SWIG_arg_fail(1)) SWIG_fail
;
41294 arg2
= (int)(SWIG_As_int(obj1
));
41295 if (SWIG_arg_fail(2)) SWIG_fail
;
41298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41299 (arg1
)->SetFlexibleDirection(arg2
);
41301 wxPyEndAllowThreads(__tstate
);
41302 if (PyErr_Occurred()) SWIG_fail
;
41304 Py_INCREF(Py_None
); resultobj
= Py_None
;
41311 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41312 PyObject
*resultobj
;
41313 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41315 PyObject
* obj0
= 0 ;
41316 char *kwnames
[] = {
41317 (char *) "self", NULL
41320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
41321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41322 if (SWIG_arg_fail(1)) SWIG_fail
;
41324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41325 result
= (int)(arg1
)->GetFlexibleDirection();
41327 wxPyEndAllowThreads(__tstate
);
41328 if (PyErr_Occurred()) SWIG_fail
;
41331 resultobj
= SWIG_From_int((int)(result
));
41339 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41340 PyObject
*resultobj
;
41341 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41342 wxFlexSizerGrowMode arg2
;
41343 PyObject
* obj0
= 0 ;
41344 PyObject
* obj1
= 0 ;
41345 char *kwnames
[] = {
41346 (char *) "self",(char *) "mode", NULL
41349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
41350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41351 if (SWIG_arg_fail(1)) SWIG_fail
;
41353 arg2
= (wxFlexSizerGrowMode
)(SWIG_As_int(obj1
));
41354 if (SWIG_arg_fail(2)) SWIG_fail
;
41357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41358 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
41360 wxPyEndAllowThreads(__tstate
);
41361 if (PyErr_Occurred()) SWIG_fail
;
41363 Py_INCREF(Py_None
); resultobj
= Py_None
;
41370 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41371 PyObject
*resultobj
;
41372 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41373 wxFlexSizerGrowMode result
;
41374 PyObject
* obj0
= 0 ;
41375 char *kwnames
[] = {
41376 (char *) "self", NULL
41379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
41380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41381 if (SWIG_arg_fail(1)) SWIG_fail
;
41383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41384 result
= (wxFlexSizerGrowMode
)(arg1
)->GetNonFlexibleGrowMode();
41386 wxPyEndAllowThreads(__tstate
);
41387 if (PyErr_Occurred()) SWIG_fail
;
41389 resultobj
= SWIG_From_int((result
));
41396 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41397 PyObject
*resultobj
;
41398 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41399 wxArrayInt
*result
;
41400 PyObject
* obj0
= 0 ;
41401 char *kwnames
[] = {
41402 (char *) "self", NULL
41405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
41406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41407 if (SWIG_arg_fail(1)) SWIG_fail
;
41409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41411 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
41412 result
= (wxArrayInt
*) &_result_ref
;
41415 wxPyEndAllowThreads(__tstate
);
41416 if (PyErr_Occurred()) SWIG_fail
;
41419 resultobj
= PyList_New(0);
41421 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
41422 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
41423 PyList_Append(resultobj
, val
);
41433 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41434 PyObject
*resultobj
;
41435 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41436 wxArrayInt
*result
;
41437 PyObject
* obj0
= 0 ;
41438 char *kwnames
[] = {
41439 (char *) "self", NULL
41442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
41443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41444 if (SWIG_arg_fail(1)) SWIG_fail
;
41446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41448 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
41449 result
= (wxArrayInt
*) &_result_ref
;
41452 wxPyEndAllowThreads(__tstate
);
41453 if (PyErr_Occurred()) SWIG_fail
;
41456 resultobj
= PyList_New(0);
41458 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
41459 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
41460 PyList_Append(resultobj
, val
);
41470 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
41472 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41473 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
41475 return Py_BuildValue((char *)"");
41477 static PyObject
*_wrap_new_StdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41478 PyObject
*resultobj
;
41479 wxStdDialogButtonSizer
*result
;
41480 char *kwnames
[] = {
41484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StdDialogButtonSizer",kwnames
)) goto fail
;
41486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41487 result
= (wxStdDialogButtonSizer
*)new wxStdDialogButtonSizer();
41489 wxPyEndAllowThreads(__tstate
);
41490 if (PyErr_Occurred()) SWIG_fail
;
41492 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 1);
41499 static PyObject
*_wrap_StdDialogButtonSizer_AddButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41500 PyObject
*resultobj
;
41501 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41502 wxButton
*arg2
= (wxButton
*) 0 ;
41503 PyObject
* obj0
= 0 ;
41504 PyObject
* obj1
= 0 ;
41505 char *kwnames
[] = {
41506 (char *) "self",(char *) "button", NULL
41509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_AddButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41511 if (SWIG_arg_fail(1)) SWIG_fail
;
41512 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41513 if (SWIG_arg_fail(2)) SWIG_fail
;
41515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41516 (arg1
)->AddButton(arg2
);
41518 wxPyEndAllowThreads(__tstate
);
41519 if (PyErr_Occurred()) SWIG_fail
;
41521 Py_INCREF(Py_None
); resultobj
= Py_None
;
41528 static PyObject
*_wrap_StdDialogButtonSizer_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41529 PyObject
*resultobj
;
41530 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41531 PyObject
* obj0
= 0 ;
41532 char *kwnames
[] = {
41533 (char *) "self", NULL
41536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_Realize",kwnames
,&obj0
)) goto fail
;
41537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41538 if (SWIG_arg_fail(1)) SWIG_fail
;
41540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41543 wxPyEndAllowThreads(__tstate
);
41544 if (PyErr_Occurred()) SWIG_fail
;
41546 Py_INCREF(Py_None
); resultobj
= Py_None
;
41553 static PyObject
*_wrap_StdDialogButtonSizer_SetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41554 PyObject
*resultobj
;
41555 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41556 wxButton
*arg2
= (wxButton
*) 0 ;
41557 PyObject
* obj0
= 0 ;
41558 PyObject
* obj1
= 0 ;
41559 char *kwnames
[] = {
41560 (char *) "self",(char *) "button", NULL
41563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetAffirmativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41565 if (SWIG_arg_fail(1)) SWIG_fail
;
41566 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41567 if (SWIG_arg_fail(2)) SWIG_fail
;
41569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41570 (arg1
)->SetAffirmativeButton(arg2
);
41572 wxPyEndAllowThreads(__tstate
);
41573 if (PyErr_Occurred()) SWIG_fail
;
41575 Py_INCREF(Py_None
); resultobj
= Py_None
;
41582 static PyObject
*_wrap_StdDialogButtonSizer_SetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41583 PyObject
*resultobj
;
41584 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41585 wxButton
*arg2
= (wxButton
*) 0 ;
41586 PyObject
* obj0
= 0 ;
41587 PyObject
* obj1
= 0 ;
41588 char *kwnames
[] = {
41589 (char *) "self",(char *) "button", NULL
41592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetNegativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41594 if (SWIG_arg_fail(1)) SWIG_fail
;
41595 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41596 if (SWIG_arg_fail(2)) SWIG_fail
;
41598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41599 (arg1
)->SetNegativeButton(arg2
);
41601 wxPyEndAllowThreads(__tstate
);
41602 if (PyErr_Occurred()) SWIG_fail
;
41604 Py_INCREF(Py_None
); resultobj
= Py_None
;
41611 static PyObject
*_wrap_StdDialogButtonSizer_SetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41612 PyObject
*resultobj
;
41613 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41614 wxButton
*arg2
= (wxButton
*) 0 ;
41615 PyObject
* obj0
= 0 ;
41616 PyObject
* obj1
= 0 ;
41617 char *kwnames
[] = {
41618 (char *) "self",(char *) "button", NULL
41621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetCancelButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41623 if (SWIG_arg_fail(1)) SWIG_fail
;
41624 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41625 if (SWIG_arg_fail(2)) SWIG_fail
;
41627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41628 (arg1
)->SetCancelButton(arg2
);
41630 wxPyEndAllowThreads(__tstate
);
41631 if (PyErr_Occurred()) SWIG_fail
;
41633 Py_INCREF(Py_None
); resultobj
= Py_None
;
41640 static PyObject
*_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41641 PyObject
*resultobj
;
41642 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41644 PyObject
* obj0
= 0 ;
41645 char *kwnames
[] = {
41646 (char *) "self", NULL
41649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetAffirmativeButton",kwnames
,&obj0
)) goto fail
;
41650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41651 if (SWIG_arg_fail(1)) SWIG_fail
;
41653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41654 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetAffirmativeButton();
41656 wxPyEndAllowThreads(__tstate
);
41657 if (PyErr_Occurred()) SWIG_fail
;
41660 resultobj
= wxPyMake_wxObject(result
, 0);
41668 static PyObject
*_wrap_StdDialogButtonSizer_GetApplyButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41669 PyObject
*resultobj
;
41670 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41672 PyObject
* obj0
= 0 ;
41673 char *kwnames
[] = {
41674 (char *) "self", NULL
41677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetApplyButton",kwnames
,&obj0
)) goto fail
;
41678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41679 if (SWIG_arg_fail(1)) SWIG_fail
;
41681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41682 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetApplyButton();
41684 wxPyEndAllowThreads(__tstate
);
41685 if (PyErr_Occurred()) SWIG_fail
;
41688 resultobj
= wxPyMake_wxObject(result
, 0);
41696 static PyObject
*_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41697 PyObject
*resultobj
;
41698 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41700 PyObject
* obj0
= 0 ;
41701 char *kwnames
[] = {
41702 (char *) "self", NULL
41705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetNegativeButton",kwnames
,&obj0
)) goto fail
;
41706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41707 if (SWIG_arg_fail(1)) SWIG_fail
;
41709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41710 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetNegativeButton();
41712 wxPyEndAllowThreads(__tstate
);
41713 if (PyErr_Occurred()) SWIG_fail
;
41716 resultobj
= wxPyMake_wxObject(result
, 0);
41724 static PyObject
*_wrap_StdDialogButtonSizer_GetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41725 PyObject
*resultobj
;
41726 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41728 PyObject
* obj0
= 0 ;
41729 char *kwnames
[] = {
41730 (char *) "self", NULL
41733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetCancelButton",kwnames
,&obj0
)) goto fail
;
41734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41735 if (SWIG_arg_fail(1)) SWIG_fail
;
41737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41738 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetCancelButton();
41740 wxPyEndAllowThreads(__tstate
);
41741 if (PyErr_Occurred()) SWIG_fail
;
41744 resultobj
= wxPyMake_wxObject(result
, 0);
41752 static PyObject
*_wrap_StdDialogButtonSizer_GetHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41753 PyObject
*resultobj
;
41754 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41756 PyObject
* obj0
= 0 ;
41757 char *kwnames
[] = {
41758 (char *) "self", NULL
41761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetHelpButton",kwnames
,&obj0
)) goto fail
;
41762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41763 if (SWIG_arg_fail(1)) SWIG_fail
;
41765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41766 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetHelpButton();
41768 wxPyEndAllowThreads(__tstate
);
41769 if (PyErr_Occurred()) SWIG_fail
;
41772 resultobj
= wxPyMake_wxObject(result
, 0);
41780 static PyObject
* StdDialogButtonSizer_swigregister(PyObject
*, PyObject
*args
) {
41782 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41783 SWIG_TypeClientData(SWIGTYPE_p_wxStdDialogButtonSizer
, obj
);
41785 return Py_BuildValue((char *)"");
41787 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41788 PyObject
*resultobj
;
41789 int arg1
= (int) 0 ;
41790 int arg2
= (int) 0 ;
41791 wxGBPosition
*result
;
41792 PyObject
* obj0
= 0 ;
41793 PyObject
* obj1
= 0 ;
41794 char *kwnames
[] = {
41795 (char *) "row",(char *) "col", NULL
41798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
41801 arg1
= (int)(SWIG_As_int(obj0
));
41802 if (SWIG_arg_fail(1)) SWIG_fail
;
41807 arg2
= (int)(SWIG_As_int(obj1
));
41808 if (SWIG_arg_fail(2)) SWIG_fail
;
41812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41813 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
41815 wxPyEndAllowThreads(__tstate
);
41816 if (PyErr_Occurred()) SWIG_fail
;
41818 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
41825 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41826 PyObject
*resultobj
;
41827 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41829 PyObject
* obj0
= 0 ;
41830 char *kwnames
[] = {
41831 (char *) "self", NULL
41834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
41835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41836 if (SWIG_arg_fail(1)) SWIG_fail
;
41838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41839 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
41841 wxPyEndAllowThreads(__tstate
);
41842 if (PyErr_Occurred()) SWIG_fail
;
41845 resultobj
= SWIG_From_int((int)(result
));
41853 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41854 PyObject
*resultobj
;
41855 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41857 PyObject
* obj0
= 0 ;
41858 char *kwnames
[] = {
41859 (char *) "self", NULL
41862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
41863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41864 if (SWIG_arg_fail(1)) SWIG_fail
;
41866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41867 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
41869 wxPyEndAllowThreads(__tstate
);
41870 if (PyErr_Occurred()) SWIG_fail
;
41873 resultobj
= SWIG_From_int((int)(result
));
41881 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41882 PyObject
*resultobj
;
41883 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41885 PyObject
* obj0
= 0 ;
41886 PyObject
* obj1
= 0 ;
41887 char *kwnames
[] = {
41888 (char *) "self",(char *) "row", NULL
41891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
41892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41893 if (SWIG_arg_fail(1)) SWIG_fail
;
41895 arg2
= (int)(SWIG_As_int(obj1
));
41896 if (SWIG_arg_fail(2)) SWIG_fail
;
41899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41900 (arg1
)->SetRow(arg2
);
41902 wxPyEndAllowThreads(__tstate
);
41903 if (PyErr_Occurred()) SWIG_fail
;
41905 Py_INCREF(Py_None
); resultobj
= Py_None
;
41912 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41913 PyObject
*resultobj
;
41914 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41916 PyObject
* obj0
= 0 ;
41917 PyObject
* obj1
= 0 ;
41918 char *kwnames
[] = {
41919 (char *) "self",(char *) "col", NULL
41922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
41923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41924 if (SWIG_arg_fail(1)) SWIG_fail
;
41926 arg2
= (int)(SWIG_As_int(obj1
));
41927 if (SWIG_arg_fail(2)) SWIG_fail
;
41930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41931 (arg1
)->SetCol(arg2
);
41933 wxPyEndAllowThreads(__tstate
);
41934 if (PyErr_Occurred()) SWIG_fail
;
41936 Py_INCREF(Py_None
); resultobj
= Py_None
;
41943 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41944 PyObject
*resultobj
;
41945 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41946 wxGBPosition
*arg2
= 0 ;
41948 wxGBPosition temp2
;
41949 PyObject
* obj0
= 0 ;
41950 PyObject
* obj1
= 0 ;
41951 char *kwnames
[] = {
41952 (char *) "self",(char *) "other", NULL
41955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
41956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41957 if (SWIG_arg_fail(1)) SWIG_fail
;
41960 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41964 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
41966 wxPyEndAllowThreads(__tstate
);
41967 if (PyErr_Occurred()) SWIG_fail
;
41970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41978 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41979 PyObject
*resultobj
;
41980 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41981 wxGBPosition
*arg2
= 0 ;
41983 wxGBPosition temp2
;
41984 PyObject
* obj0
= 0 ;
41985 PyObject
* obj1
= 0 ;
41986 char *kwnames
[] = {
41987 (char *) "self",(char *) "other", NULL
41990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
41991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41992 if (SWIG_arg_fail(1)) SWIG_fail
;
41995 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41999 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
42001 wxPyEndAllowThreads(__tstate
);
42002 if (PyErr_Occurred()) SWIG_fail
;
42005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42013 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42014 PyObject
*resultobj
;
42015 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42016 int arg2
= (int) 0 ;
42017 int arg3
= (int) 0 ;
42018 PyObject
* obj0
= 0 ;
42019 PyObject
* obj1
= 0 ;
42020 PyObject
* obj2
= 0 ;
42021 char *kwnames
[] = {
42022 (char *) "self",(char *) "row",(char *) "col", NULL
42025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42027 if (SWIG_arg_fail(1)) SWIG_fail
;
42030 arg2
= (int)(SWIG_As_int(obj1
));
42031 if (SWIG_arg_fail(2)) SWIG_fail
;
42036 arg3
= (int)(SWIG_As_int(obj2
));
42037 if (SWIG_arg_fail(3)) SWIG_fail
;
42041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42042 wxGBPosition_Set(arg1
,arg2
,arg3
);
42044 wxPyEndAllowThreads(__tstate
);
42045 if (PyErr_Occurred()) SWIG_fail
;
42047 Py_INCREF(Py_None
); resultobj
= Py_None
;
42054 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42055 PyObject
*resultobj
;
42056 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42058 PyObject
* obj0
= 0 ;
42059 char *kwnames
[] = {
42060 (char *) "self", NULL
42063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
42064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42065 if (SWIG_arg_fail(1)) SWIG_fail
;
42067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42068 result
= (PyObject
*)wxGBPosition_Get(arg1
);
42070 wxPyEndAllowThreads(__tstate
);
42071 if (PyErr_Occurred()) SWIG_fail
;
42073 resultobj
= result
;
42080 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
42082 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42083 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
42085 return Py_BuildValue((char *)"");
42087 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42088 PyObject
*resultobj
;
42089 int arg1
= (int) 1 ;
42090 int arg2
= (int) 1 ;
42092 PyObject
* obj0
= 0 ;
42093 PyObject
* obj1
= 0 ;
42094 char *kwnames
[] = {
42095 (char *) "rowspan",(char *) "colspan", NULL
42098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
42101 arg1
= (int)(SWIG_As_int(obj0
));
42102 if (SWIG_arg_fail(1)) SWIG_fail
;
42107 arg2
= (int)(SWIG_As_int(obj1
));
42108 if (SWIG_arg_fail(2)) SWIG_fail
;
42112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42113 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
42115 wxPyEndAllowThreads(__tstate
);
42116 if (PyErr_Occurred()) SWIG_fail
;
42118 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
42125 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42126 PyObject
*resultobj
;
42127 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42129 PyObject
* obj0
= 0 ;
42130 char *kwnames
[] = {
42131 (char *) "self", NULL
42134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
42135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42136 if (SWIG_arg_fail(1)) SWIG_fail
;
42138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42139 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
42141 wxPyEndAllowThreads(__tstate
);
42142 if (PyErr_Occurred()) SWIG_fail
;
42145 resultobj
= SWIG_From_int((int)(result
));
42153 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42154 PyObject
*resultobj
;
42155 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42157 PyObject
* obj0
= 0 ;
42158 char *kwnames
[] = {
42159 (char *) "self", NULL
42162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
42163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42164 if (SWIG_arg_fail(1)) SWIG_fail
;
42166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42167 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
42169 wxPyEndAllowThreads(__tstate
);
42170 if (PyErr_Occurred()) SWIG_fail
;
42173 resultobj
= SWIG_From_int((int)(result
));
42181 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42182 PyObject
*resultobj
;
42183 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42185 PyObject
* obj0
= 0 ;
42186 PyObject
* obj1
= 0 ;
42187 char *kwnames
[] = {
42188 (char *) "self",(char *) "rowspan", NULL
42191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
42192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42193 if (SWIG_arg_fail(1)) SWIG_fail
;
42195 arg2
= (int)(SWIG_As_int(obj1
));
42196 if (SWIG_arg_fail(2)) SWIG_fail
;
42199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42200 (arg1
)->SetRowspan(arg2
);
42202 wxPyEndAllowThreads(__tstate
);
42203 if (PyErr_Occurred()) SWIG_fail
;
42205 Py_INCREF(Py_None
); resultobj
= Py_None
;
42212 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42213 PyObject
*resultobj
;
42214 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42216 PyObject
* obj0
= 0 ;
42217 PyObject
* obj1
= 0 ;
42218 char *kwnames
[] = {
42219 (char *) "self",(char *) "colspan", NULL
42222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
42223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42224 if (SWIG_arg_fail(1)) SWIG_fail
;
42226 arg2
= (int)(SWIG_As_int(obj1
));
42227 if (SWIG_arg_fail(2)) SWIG_fail
;
42230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42231 (arg1
)->SetColspan(arg2
);
42233 wxPyEndAllowThreads(__tstate
);
42234 if (PyErr_Occurred()) SWIG_fail
;
42236 Py_INCREF(Py_None
); resultobj
= Py_None
;
42243 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42244 PyObject
*resultobj
;
42245 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42246 wxGBSpan
*arg2
= 0 ;
42249 PyObject
* obj0
= 0 ;
42250 PyObject
* obj1
= 0 ;
42251 char *kwnames
[] = {
42252 (char *) "self",(char *) "other", NULL
42255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
42256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42257 if (SWIG_arg_fail(1)) SWIG_fail
;
42260 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42264 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
42266 wxPyEndAllowThreads(__tstate
);
42267 if (PyErr_Occurred()) SWIG_fail
;
42270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42278 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42279 PyObject
*resultobj
;
42280 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42281 wxGBSpan
*arg2
= 0 ;
42284 PyObject
* obj0
= 0 ;
42285 PyObject
* obj1
= 0 ;
42286 char *kwnames
[] = {
42287 (char *) "self",(char *) "other", NULL
42290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
42291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42292 if (SWIG_arg_fail(1)) SWIG_fail
;
42295 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42299 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
42301 wxPyEndAllowThreads(__tstate
);
42302 if (PyErr_Occurred()) SWIG_fail
;
42305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42313 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42314 PyObject
*resultobj
;
42315 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42316 int arg2
= (int) 1 ;
42317 int arg3
= (int) 1 ;
42318 PyObject
* obj0
= 0 ;
42319 PyObject
* obj1
= 0 ;
42320 PyObject
* obj2
= 0 ;
42321 char *kwnames
[] = {
42322 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
42325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42327 if (SWIG_arg_fail(1)) SWIG_fail
;
42330 arg2
= (int)(SWIG_As_int(obj1
));
42331 if (SWIG_arg_fail(2)) SWIG_fail
;
42336 arg3
= (int)(SWIG_As_int(obj2
));
42337 if (SWIG_arg_fail(3)) SWIG_fail
;
42341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42342 wxGBSpan_Set(arg1
,arg2
,arg3
);
42344 wxPyEndAllowThreads(__tstate
);
42345 if (PyErr_Occurred()) SWIG_fail
;
42347 Py_INCREF(Py_None
); resultobj
= Py_None
;
42354 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42355 PyObject
*resultobj
;
42356 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42358 PyObject
* obj0
= 0 ;
42359 char *kwnames
[] = {
42360 (char *) "self", NULL
42363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
42364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42365 if (SWIG_arg_fail(1)) SWIG_fail
;
42367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42368 result
= (PyObject
*)wxGBSpan_Get(arg1
);
42370 wxPyEndAllowThreads(__tstate
);
42371 if (PyErr_Occurred()) SWIG_fail
;
42373 resultobj
= result
;
42380 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
42382 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42383 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
42385 return Py_BuildValue((char *)"");
42387 static int _wrap_DefaultSpan_set(PyObject
*) {
42388 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
42393 static PyObject
*_wrap_DefaultSpan_get(void) {
42396 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
42401 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42402 PyObject
*resultobj
;
42403 wxGBSizerItem
*result
;
42404 char *kwnames
[] = {
42408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
42410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42411 result
= (wxGBSizerItem
*)new wxGBSizerItem();
42413 wxPyEndAllowThreads(__tstate
);
42414 if (PyErr_Occurred()) SWIG_fail
;
42416 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42423 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42424 PyObject
*resultobj
;
42425 wxWindow
*arg1
= (wxWindow
*) 0 ;
42426 wxGBPosition
*arg2
= 0 ;
42427 wxGBSpan
*arg3
= 0 ;
42430 PyObject
*arg6
= (PyObject
*) NULL
;
42431 wxGBSizerItem
*result
;
42432 wxGBPosition temp2
;
42434 PyObject
* obj0
= 0 ;
42435 PyObject
* obj1
= 0 ;
42436 PyObject
* obj2
= 0 ;
42437 PyObject
* obj3
= 0 ;
42438 PyObject
* obj4
= 0 ;
42439 PyObject
* obj5
= 0 ;
42440 char *kwnames
[] = {
42441 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
42445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42446 if (SWIG_arg_fail(1)) SWIG_fail
;
42449 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42453 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42456 arg4
= (int)(SWIG_As_int(obj3
));
42457 if (SWIG_arg_fail(4)) SWIG_fail
;
42460 arg5
= (int)(SWIG_As_int(obj4
));
42461 if (SWIG_arg_fail(5)) SWIG_fail
;
42467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42468 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
42470 wxPyEndAllowThreads(__tstate
);
42471 if (PyErr_Occurred()) SWIG_fail
;
42473 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42480 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42481 PyObject
*resultobj
;
42482 wxSizer
*arg1
= (wxSizer
*) 0 ;
42483 wxGBPosition
*arg2
= 0 ;
42484 wxGBSpan
*arg3
= 0 ;
42487 PyObject
*arg6
= (PyObject
*) NULL
;
42488 wxGBSizerItem
*result
;
42489 wxGBPosition temp2
;
42491 PyObject
* obj0
= 0 ;
42492 PyObject
* obj1
= 0 ;
42493 PyObject
* obj2
= 0 ;
42494 PyObject
* obj3
= 0 ;
42495 PyObject
* obj4
= 0 ;
42496 PyObject
* obj5
= 0 ;
42497 char *kwnames
[] = {
42498 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
42502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42503 if (SWIG_arg_fail(1)) SWIG_fail
;
42506 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42510 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42513 arg4
= (int)(SWIG_As_int(obj3
));
42514 if (SWIG_arg_fail(4)) SWIG_fail
;
42517 arg5
= (int)(SWIG_As_int(obj4
));
42518 if (SWIG_arg_fail(5)) SWIG_fail
;
42524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42525 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
42527 wxPyEndAllowThreads(__tstate
);
42528 if (PyErr_Occurred()) SWIG_fail
;
42530 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42537 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42538 PyObject
*resultobj
;
42541 wxGBPosition
*arg3
= 0 ;
42542 wxGBSpan
*arg4
= 0 ;
42545 PyObject
*arg7
= (PyObject
*) NULL
;
42546 wxGBSizerItem
*result
;
42547 wxGBPosition temp3
;
42549 PyObject
* obj0
= 0 ;
42550 PyObject
* obj1
= 0 ;
42551 PyObject
* obj2
= 0 ;
42552 PyObject
* obj3
= 0 ;
42553 PyObject
* obj4
= 0 ;
42554 PyObject
* obj5
= 0 ;
42555 PyObject
* obj6
= 0 ;
42556 char *kwnames
[] = {
42557 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
42562 arg1
= (int)(SWIG_As_int(obj0
));
42563 if (SWIG_arg_fail(1)) SWIG_fail
;
42566 arg2
= (int)(SWIG_As_int(obj1
));
42567 if (SWIG_arg_fail(2)) SWIG_fail
;
42571 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42575 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
42578 arg5
= (int)(SWIG_As_int(obj4
));
42579 if (SWIG_arg_fail(5)) SWIG_fail
;
42582 arg6
= (int)(SWIG_As_int(obj5
));
42583 if (SWIG_arg_fail(6)) SWIG_fail
;
42589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42590 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
42592 wxPyEndAllowThreads(__tstate
);
42593 if (PyErr_Occurred()) SWIG_fail
;
42595 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42602 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42603 PyObject
*resultobj
;
42604 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42605 wxGBPosition result
;
42606 PyObject
* obj0
= 0 ;
42607 char *kwnames
[] = {
42608 (char *) "self", NULL
42611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
42612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42613 if (SWIG_arg_fail(1)) SWIG_fail
;
42615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42616 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
42618 wxPyEndAllowThreads(__tstate
);
42619 if (PyErr_Occurred()) SWIG_fail
;
42622 wxGBPosition
* resultptr
;
42623 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42624 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42632 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42633 PyObject
*resultobj
;
42634 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42636 PyObject
* obj0
= 0 ;
42637 char *kwnames
[] = {
42638 (char *) "self", NULL
42641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
42642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42643 if (SWIG_arg_fail(1)) SWIG_fail
;
42645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42646 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
42648 wxPyEndAllowThreads(__tstate
);
42649 if (PyErr_Occurred()) SWIG_fail
;
42652 wxGBSpan
* resultptr
;
42653 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
42654 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
42662 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42663 PyObject
*resultobj
;
42664 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42665 wxGBPosition
*arg2
= 0 ;
42667 wxGBPosition temp2
;
42668 PyObject
* obj0
= 0 ;
42669 PyObject
* obj1
= 0 ;
42670 char *kwnames
[] = {
42671 (char *) "self",(char *) "pos", NULL
42674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
42675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42676 if (SWIG_arg_fail(1)) SWIG_fail
;
42679 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42683 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
42685 wxPyEndAllowThreads(__tstate
);
42686 if (PyErr_Occurred()) SWIG_fail
;
42689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42697 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42698 PyObject
*resultobj
;
42699 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42700 wxGBSpan
*arg2
= 0 ;
42703 PyObject
* obj0
= 0 ;
42704 PyObject
* obj1
= 0 ;
42705 char *kwnames
[] = {
42706 (char *) "self",(char *) "span", NULL
42709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
42710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42711 if (SWIG_arg_fail(1)) SWIG_fail
;
42714 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42718 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
42720 wxPyEndAllowThreads(__tstate
);
42721 if (PyErr_Occurred()) SWIG_fail
;
42724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42732 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42733 PyObject
*resultobj
;
42734 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42735 wxGBSizerItem
*arg2
= 0 ;
42737 PyObject
* obj0
= 0 ;
42738 PyObject
* obj1
= 0 ;
42739 char *kwnames
[] = {
42740 (char *) "self",(char *) "other", NULL
42743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
42744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42745 if (SWIG_arg_fail(1)) SWIG_fail
;
42747 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42748 if (SWIG_arg_fail(2)) SWIG_fail
;
42749 if (arg2
== NULL
) {
42750 SWIG_null_ref("wxGBSizerItem");
42752 if (SWIG_arg_fail(2)) SWIG_fail
;
42755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42756 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
42758 wxPyEndAllowThreads(__tstate
);
42759 if (PyErr_Occurred()) SWIG_fail
;
42762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42770 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42771 PyObject
*resultobj
;
42772 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42773 wxGBPosition
*arg2
= 0 ;
42774 wxGBSpan
*arg3
= 0 ;
42776 wxGBPosition temp2
;
42778 PyObject
* obj0
= 0 ;
42779 PyObject
* obj1
= 0 ;
42780 PyObject
* obj2
= 0 ;
42781 char *kwnames
[] = {
42782 (char *) "self",(char *) "pos",(char *) "span", NULL
42785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42787 if (SWIG_arg_fail(1)) SWIG_fail
;
42790 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42794 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42798 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
42800 wxPyEndAllowThreads(__tstate
);
42801 if (PyErr_Occurred()) SWIG_fail
;
42804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42812 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42813 PyObject
*resultobj
;
42814 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42815 wxGBPosition result
;
42816 PyObject
* obj0
= 0 ;
42817 char *kwnames
[] = {
42818 (char *) "self", NULL
42821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
42822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42823 if (SWIG_arg_fail(1)) SWIG_fail
;
42825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42826 result
= wxGBSizerItem_GetEndPos(arg1
);
42828 wxPyEndAllowThreads(__tstate
);
42829 if (PyErr_Occurred()) SWIG_fail
;
42832 wxGBPosition
* resultptr
;
42833 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42834 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42842 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42843 PyObject
*resultobj
;
42844 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42845 wxGridBagSizer
*result
;
42846 PyObject
* obj0
= 0 ;
42847 char *kwnames
[] = {
42848 (char *) "self", NULL
42851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
42852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42853 if (SWIG_arg_fail(1)) SWIG_fail
;
42855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42856 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
42858 wxPyEndAllowThreads(__tstate
);
42859 if (PyErr_Occurred()) SWIG_fail
;
42861 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
42868 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42869 PyObject
*resultobj
;
42870 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42871 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
42872 PyObject
* obj0
= 0 ;
42873 PyObject
* obj1
= 0 ;
42874 char *kwnames
[] = {
42875 (char *) "self",(char *) "sizer", NULL
42878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
42879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42880 if (SWIG_arg_fail(1)) SWIG_fail
;
42881 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42882 if (SWIG_arg_fail(2)) SWIG_fail
;
42884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42885 (arg1
)->SetGBSizer(arg2
);
42887 wxPyEndAllowThreads(__tstate
);
42888 if (PyErr_Occurred()) SWIG_fail
;
42890 Py_INCREF(Py_None
); resultobj
= Py_None
;
42897 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
42899 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42900 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
42902 return Py_BuildValue((char *)"");
42904 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42905 PyObject
*resultobj
;
42906 int arg1
= (int) 0 ;
42907 int arg2
= (int) 0 ;
42908 wxGridBagSizer
*result
;
42909 PyObject
* obj0
= 0 ;
42910 PyObject
* obj1
= 0 ;
42911 char *kwnames
[] = {
42912 (char *) "vgap",(char *) "hgap", NULL
42915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
42918 arg1
= (int)(SWIG_As_int(obj0
));
42919 if (SWIG_arg_fail(1)) SWIG_fail
;
42924 arg2
= (int)(SWIG_As_int(obj1
));
42925 if (SWIG_arg_fail(2)) SWIG_fail
;
42929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42930 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
42932 wxPyEndAllowThreads(__tstate
);
42933 if (PyErr_Occurred()) SWIG_fail
;
42935 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
42942 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42943 PyObject
*resultobj
;
42944 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42945 PyObject
*arg2
= (PyObject
*) 0 ;
42946 wxGBPosition
*arg3
= 0 ;
42947 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
42948 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
42949 int arg5
= (int) 0 ;
42950 int arg6
= (int) 0 ;
42951 PyObject
*arg7
= (PyObject
*) NULL
;
42952 wxGBSizerItem
*result
;
42953 wxGBPosition temp3
;
42955 PyObject
* obj0
= 0 ;
42956 PyObject
* obj1
= 0 ;
42957 PyObject
* obj2
= 0 ;
42958 PyObject
* obj3
= 0 ;
42959 PyObject
* obj4
= 0 ;
42960 PyObject
* obj5
= 0 ;
42961 PyObject
* obj6
= 0 ;
42962 char *kwnames
[] = {
42963 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
42967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42968 if (SWIG_arg_fail(1)) SWIG_fail
;
42972 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42977 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
42982 arg5
= (int)(SWIG_As_int(obj4
));
42983 if (SWIG_arg_fail(5)) SWIG_fail
;
42988 arg6
= (int)(SWIG_As_int(obj5
));
42989 if (SWIG_arg_fail(6)) SWIG_fail
;
42996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42997 result
= (wxGBSizerItem
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
42999 wxPyEndAllowThreads(__tstate
);
43000 if (PyErr_Occurred()) SWIG_fail
;
43002 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43009 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43010 PyObject
*resultobj
;
43011 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43012 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
43013 wxGBSizerItem
*result
;
43014 PyObject
* obj0
= 0 ;
43015 PyObject
* obj1
= 0 ;
43016 char *kwnames
[] = {
43017 (char *) "self",(char *) "item", NULL
43020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
43021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43022 if (SWIG_arg_fail(1)) SWIG_fail
;
43023 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43024 if (SWIG_arg_fail(2)) SWIG_fail
;
43026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43027 result
= (wxGBSizerItem
*)(arg1
)->Add(arg2
);
43029 wxPyEndAllowThreads(__tstate
);
43030 if (PyErr_Occurred()) SWIG_fail
;
43032 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43039 static PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43040 PyObject
*resultobj
;
43041 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43045 PyObject
* obj0
= 0 ;
43046 PyObject
* obj1
= 0 ;
43047 PyObject
* obj2
= 0 ;
43048 char *kwnames
[] = {
43049 (char *) "self",(char *) "row",(char *) "col", NULL
43052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43054 if (SWIG_arg_fail(1)) SWIG_fail
;
43056 arg2
= (int)(SWIG_As_int(obj1
));
43057 if (SWIG_arg_fail(2)) SWIG_fail
;
43060 arg3
= (int)(SWIG_As_int(obj2
));
43061 if (SWIG_arg_fail(3)) SWIG_fail
;
43064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43065 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
43067 wxPyEndAllowThreads(__tstate
);
43068 if (PyErr_Occurred()) SWIG_fail
;
43071 wxSize
* resultptr
;
43072 resultptr
= new wxSize((wxSize
&)(result
));
43073 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
43081 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43082 PyObject
*resultobj
;
43083 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43085 PyObject
* obj0
= 0 ;
43086 char *kwnames
[] = {
43087 (char *) "self", NULL
43090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
43091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43092 if (SWIG_arg_fail(1)) SWIG_fail
;
43094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43095 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
43097 wxPyEndAllowThreads(__tstate
);
43098 if (PyErr_Occurred()) SWIG_fail
;
43101 wxSize
* resultptr
;
43102 resultptr
= new wxSize((wxSize
&)(result
));
43103 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
43111 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43112 PyObject
*resultobj
;
43113 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43116 PyObject
* obj0
= 0 ;
43117 PyObject
* obj1
= 0 ;
43118 char *kwnames
[] = {
43119 (char *) "self",(char *) "sz", NULL
43122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
43123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43124 if (SWIG_arg_fail(1)) SWIG_fail
;
43127 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
43130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43131 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
43133 wxPyEndAllowThreads(__tstate
);
43134 if (PyErr_Occurred()) SWIG_fail
;
43136 Py_INCREF(Py_None
); resultobj
= Py_None
;
43143 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
43144 PyObject
*resultobj
;
43145 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43146 wxWindow
*arg2
= (wxWindow
*) 0 ;
43147 wxGBPosition result
;
43148 PyObject
* obj0
= 0 ;
43149 PyObject
* obj1
= 0 ;
43151 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43153 if (SWIG_arg_fail(1)) SWIG_fail
;
43154 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43155 if (SWIG_arg_fail(2)) SWIG_fail
;
43157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43158 result
= (arg1
)->GetItemPosition(arg2
);
43160 wxPyEndAllowThreads(__tstate
);
43161 if (PyErr_Occurred()) SWIG_fail
;
43164 wxGBPosition
* resultptr
;
43165 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43166 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43174 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
43175 PyObject
*resultobj
;
43176 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43177 wxSizer
*arg2
= (wxSizer
*) 0 ;
43178 wxGBPosition result
;
43179 PyObject
* obj0
= 0 ;
43180 PyObject
* obj1
= 0 ;
43182 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43184 if (SWIG_arg_fail(1)) SWIG_fail
;
43185 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43186 if (SWIG_arg_fail(2)) SWIG_fail
;
43188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43189 result
= (arg1
)->GetItemPosition(arg2
);
43191 wxPyEndAllowThreads(__tstate
);
43192 if (PyErr_Occurred()) SWIG_fail
;
43195 wxGBPosition
* resultptr
;
43196 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43197 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43205 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
43206 PyObject
*resultobj
;
43207 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43209 wxGBPosition result
;
43210 PyObject
* obj0
= 0 ;
43211 PyObject
* obj1
= 0 ;
43213 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43215 if (SWIG_arg_fail(1)) SWIG_fail
;
43217 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43218 if (SWIG_arg_fail(2)) SWIG_fail
;
43221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43222 result
= (arg1
)->GetItemPosition(arg2
);
43224 wxPyEndAllowThreads(__tstate
);
43225 if (PyErr_Occurred()) SWIG_fail
;
43228 wxGBPosition
* resultptr
;
43229 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43230 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43238 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
43243 argc
= PyObject_Length(args
);
43244 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43245 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43251 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43261 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43269 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
43277 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43287 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43295 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
43303 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43311 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43313 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
43318 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
43323 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
43324 PyObject
*resultobj
;
43325 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43326 wxWindow
*arg2
= (wxWindow
*) 0 ;
43327 wxGBPosition
*arg3
= 0 ;
43329 wxGBPosition temp3
;
43330 PyObject
* obj0
= 0 ;
43331 PyObject
* obj1
= 0 ;
43332 PyObject
* obj2
= 0 ;
43334 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43336 if (SWIG_arg_fail(1)) SWIG_fail
;
43337 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43338 if (SWIG_arg_fail(2)) SWIG_fail
;
43341 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43345 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43347 wxPyEndAllowThreads(__tstate
);
43348 if (PyErr_Occurred()) SWIG_fail
;
43351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43359 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
43360 PyObject
*resultobj
;
43361 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43362 wxSizer
*arg2
= (wxSizer
*) 0 ;
43363 wxGBPosition
*arg3
= 0 ;
43365 wxGBPosition temp3
;
43366 PyObject
* obj0
= 0 ;
43367 PyObject
* obj1
= 0 ;
43368 PyObject
* obj2
= 0 ;
43370 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43372 if (SWIG_arg_fail(1)) SWIG_fail
;
43373 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43374 if (SWIG_arg_fail(2)) SWIG_fail
;
43377 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43381 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43383 wxPyEndAllowThreads(__tstate
);
43384 if (PyErr_Occurred()) SWIG_fail
;
43387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43395 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
43396 PyObject
*resultobj
;
43397 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43399 wxGBPosition
*arg3
= 0 ;
43401 wxGBPosition temp3
;
43402 PyObject
* obj0
= 0 ;
43403 PyObject
* obj1
= 0 ;
43404 PyObject
* obj2
= 0 ;
43406 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43408 if (SWIG_arg_fail(1)) SWIG_fail
;
43410 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43411 if (SWIG_arg_fail(2)) SWIG_fail
;
43415 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43419 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43421 wxPyEndAllowThreads(__tstate
);
43422 if (PyErr_Occurred()) SWIG_fail
;
43425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43433 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
43438 argc
= PyObject_Length(args
);
43439 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
43440 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43446 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43456 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43465 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43468 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
43477 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43487 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43496 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43499 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
43508 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43516 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43519 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43522 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
43528 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
43533 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
43534 PyObject
*resultobj
;
43535 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43536 wxWindow
*arg2
= (wxWindow
*) 0 ;
43538 PyObject
* obj0
= 0 ;
43539 PyObject
* obj1
= 0 ;
43541 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43543 if (SWIG_arg_fail(1)) SWIG_fail
;
43544 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43545 if (SWIG_arg_fail(2)) SWIG_fail
;
43547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43548 result
= (arg1
)->GetItemSpan(arg2
);
43550 wxPyEndAllowThreads(__tstate
);
43551 if (PyErr_Occurred()) SWIG_fail
;
43554 wxGBSpan
* resultptr
;
43555 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43556 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43564 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
43565 PyObject
*resultobj
;
43566 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43567 wxSizer
*arg2
= (wxSizer
*) 0 ;
43569 PyObject
* obj0
= 0 ;
43570 PyObject
* obj1
= 0 ;
43572 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43574 if (SWIG_arg_fail(1)) SWIG_fail
;
43575 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43576 if (SWIG_arg_fail(2)) SWIG_fail
;
43578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43579 result
= (arg1
)->GetItemSpan(arg2
);
43581 wxPyEndAllowThreads(__tstate
);
43582 if (PyErr_Occurred()) SWIG_fail
;
43585 wxGBSpan
* resultptr
;
43586 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43587 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43595 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
43596 PyObject
*resultobj
;
43597 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43600 PyObject
* obj0
= 0 ;
43601 PyObject
* obj1
= 0 ;
43603 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43605 if (SWIG_arg_fail(1)) SWIG_fail
;
43607 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43608 if (SWIG_arg_fail(2)) SWIG_fail
;
43611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43612 result
= (arg1
)->GetItemSpan(arg2
);
43614 wxPyEndAllowThreads(__tstate
);
43615 if (PyErr_Occurred()) SWIG_fail
;
43618 wxGBSpan
* resultptr
;
43619 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43620 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43628 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
43633 argc
= PyObject_Length(args
);
43634 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43635 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43641 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43651 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43659 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
43667 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43677 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43685 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
43693 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43701 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43703 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
43708 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
43713 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
43714 PyObject
*resultobj
;
43715 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43716 wxWindow
*arg2
= (wxWindow
*) 0 ;
43717 wxGBSpan
*arg3
= 0 ;
43720 PyObject
* obj0
= 0 ;
43721 PyObject
* obj1
= 0 ;
43722 PyObject
* obj2
= 0 ;
43724 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43726 if (SWIG_arg_fail(1)) SWIG_fail
;
43727 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43728 if (SWIG_arg_fail(2)) SWIG_fail
;
43731 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43735 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43737 wxPyEndAllowThreads(__tstate
);
43738 if (PyErr_Occurred()) SWIG_fail
;
43741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43749 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
43750 PyObject
*resultobj
;
43751 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43752 wxSizer
*arg2
= (wxSizer
*) 0 ;
43753 wxGBSpan
*arg3
= 0 ;
43756 PyObject
* obj0
= 0 ;
43757 PyObject
* obj1
= 0 ;
43758 PyObject
* obj2
= 0 ;
43760 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43762 if (SWIG_arg_fail(1)) SWIG_fail
;
43763 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43764 if (SWIG_arg_fail(2)) SWIG_fail
;
43767 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43771 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43773 wxPyEndAllowThreads(__tstate
);
43774 if (PyErr_Occurred()) SWIG_fail
;
43777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43785 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
43786 PyObject
*resultobj
;
43787 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43789 wxGBSpan
*arg3
= 0 ;
43792 PyObject
* obj0
= 0 ;
43793 PyObject
* obj1
= 0 ;
43794 PyObject
* obj2
= 0 ;
43796 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43798 if (SWIG_arg_fail(1)) SWIG_fail
;
43800 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43801 if (SWIG_arg_fail(2)) SWIG_fail
;
43805 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43809 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43811 wxPyEndAllowThreads(__tstate
);
43812 if (PyErr_Occurred()) SWIG_fail
;
43815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43823 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
43828 argc
= PyObject_Length(args
);
43829 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
43830 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43836 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43846 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43855 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43858 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
43867 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43877 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43886 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43889 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
43898 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43906 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43909 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43912 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
43918 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
43923 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
43924 PyObject
*resultobj
;
43925 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43926 wxWindow
*arg2
= (wxWindow
*) 0 ;
43927 wxGBSizerItem
*result
;
43928 PyObject
* obj0
= 0 ;
43929 PyObject
* obj1
= 0 ;
43931 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
43932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43933 if (SWIG_arg_fail(1)) SWIG_fail
;
43934 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43935 if (SWIG_arg_fail(2)) SWIG_fail
;
43937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43938 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
43940 wxPyEndAllowThreads(__tstate
);
43941 if (PyErr_Occurred()) SWIG_fail
;
43943 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43950 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
43951 PyObject
*resultobj
;
43952 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43953 wxSizer
*arg2
= (wxSizer
*) 0 ;
43954 wxGBSizerItem
*result
;
43955 PyObject
* obj0
= 0 ;
43956 PyObject
* obj1
= 0 ;
43958 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
43959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43960 if (SWIG_arg_fail(1)) SWIG_fail
;
43961 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43962 if (SWIG_arg_fail(2)) SWIG_fail
;
43964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43965 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
43967 wxPyEndAllowThreads(__tstate
);
43968 if (PyErr_Occurred()) SWIG_fail
;
43970 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43977 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
43982 argc
= PyObject_Length(args
);
43983 for (ii
= 0; (ii
< argc
) && (ii
< 2); 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) {
44008 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
44016 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44026 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
44034 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
44039 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
44044 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44045 PyObject
*resultobj
;
44046 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44047 wxGBPosition
*arg2
= 0 ;
44048 wxGBSizerItem
*result
;
44049 wxGBPosition temp2
;
44050 PyObject
* obj0
= 0 ;
44051 PyObject
* obj1
= 0 ;
44052 char *kwnames
[] = {
44053 (char *) "self",(char *) "pos", NULL
44056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
44057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44058 if (SWIG_arg_fail(1)) SWIG_fail
;
44061 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
44064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44065 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
44067 wxPyEndAllowThreads(__tstate
);
44068 if (PyErr_Occurred()) SWIG_fail
;
44070 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
44077 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44078 PyObject
*resultobj
;
44079 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44080 wxPoint
*arg2
= 0 ;
44081 wxGBSizerItem
*result
;
44083 PyObject
* obj0
= 0 ;
44084 PyObject
* obj1
= 0 ;
44085 char *kwnames
[] = {
44086 (char *) "self",(char *) "pt", NULL
44089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
44090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44091 if (SWIG_arg_fail(1)) SWIG_fail
;
44094 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
44097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44098 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
44100 wxPyEndAllowThreads(__tstate
);
44101 if (PyErr_Occurred()) SWIG_fail
;
44103 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
44110 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44111 PyObject
*resultobj
;
44112 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44113 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
44114 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
44116 PyObject
* obj0
= 0 ;
44117 PyObject
* obj1
= 0 ;
44118 PyObject
* obj2
= 0 ;
44119 char *kwnames
[] = {
44120 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
44123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44125 if (SWIG_arg_fail(1)) SWIG_fail
;
44126 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44127 if (SWIG_arg_fail(2)) SWIG_fail
;
44129 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44130 if (SWIG_arg_fail(3)) SWIG_fail
;
44133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44134 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
44136 wxPyEndAllowThreads(__tstate
);
44137 if (PyErr_Occurred()) SWIG_fail
;
44140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44148 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44149 PyObject
*resultobj
;
44150 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44151 wxGBPosition
*arg2
= 0 ;
44152 wxGBSpan
*arg3
= 0 ;
44153 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
44155 wxGBPosition temp2
;
44157 PyObject
* obj0
= 0 ;
44158 PyObject
* obj1
= 0 ;
44159 PyObject
* obj2
= 0 ;
44160 PyObject
* obj3
= 0 ;
44161 char *kwnames
[] = {
44162 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
44165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44167 if (SWIG_arg_fail(1)) SWIG_fail
;
44170 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
44174 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
44177 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44178 if (SWIG_arg_fail(4)) SWIG_fail
;
44181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44182 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
44184 wxPyEndAllowThreads(__tstate
);
44185 if (PyErr_Occurred()) SWIG_fail
;
44188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44196 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
44198 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
44199 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
44201 return Py_BuildValue((char *)"");
44203 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44204 PyObject
*resultobj
;
44205 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44206 wxRelationship arg2
;
44207 wxWindow
*arg3
= (wxWindow
*) 0 ;
44209 int arg5
= (int) 0 ;
44210 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
44211 PyObject
* obj0
= 0 ;
44212 PyObject
* obj1
= 0 ;
44213 PyObject
* obj2
= 0 ;
44214 PyObject
* obj3
= 0 ;
44215 PyObject
* obj4
= 0 ;
44216 PyObject
* obj5
= 0 ;
44217 char *kwnames
[] = {
44218 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
44221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
44222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44223 if (SWIG_arg_fail(1)) SWIG_fail
;
44225 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
44226 if (SWIG_arg_fail(2)) SWIG_fail
;
44228 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44229 if (SWIG_arg_fail(3)) SWIG_fail
;
44231 arg4
= (wxEdge
)(SWIG_As_int(obj3
));
44232 if (SWIG_arg_fail(4)) SWIG_fail
;
44236 arg5
= (int)(SWIG_As_int(obj4
));
44237 if (SWIG_arg_fail(5)) SWIG_fail
;
44242 arg6
= (int)(SWIG_As_int(obj5
));
44243 if (SWIG_arg_fail(6)) SWIG_fail
;
44247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44248 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
44250 wxPyEndAllowThreads(__tstate
);
44251 if (PyErr_Occurred()) SWIG_fail
;
44253 Py_INCREF(Py_None
); resultobj
= Py_None
;
44260 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44261 PyObject
*resultobj
;
44262 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44263 wxWindow
*arg2
= (wxWindow
*) 0 ;
44264 int arg3
= (int) 0 ;
44265 PyObject
* obj0
= 0 ;
44266 PyObject
* obj1
= 0 ;
44267 PyObject
* obj2
= 0 ;
44268 char *kwnames
[] = {
44269 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44274 if (SWIG_arg_fail(1)) SWIG_fail
;
44275 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44276 if (SWIG_arg_fail(2)) SWIG_fail
;
44279 arg3
= (int)(SWIG_As_int(obj2
));
44280 if (SWIG_arg_fail(3)) SWIG_fail
;
44284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44285 (arg1
)->LeftOf(arg2
,arg3
);
44287 wxPyEndAllowThreads(__tstate
);
44288 if (PyErr_Occurred()) SWIG_fail
;
44290 Py_INCREF(Py_None
); resultobj
= Py_None
;
44297 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44298 PyObject
*resultobj
;
44299 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44300 wxWindow
*arg2
= (wxWindow
*) 0 ;
44301 int arg3
= (int) 0 ;
44302 PyObject
* obj0
= 0 ;
44303 PyObject
* obj1
= 0 ;
44304 PyObject
* obj2
= 0 ;
44305 char *kwnames
[] = {
44306 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44311 if (SWIG_arg_fail(1)) SWIG_fail
;
44312 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44313 if (SWIG_arg_fail(2)) SWIG_fail
;
44316 arg3
= (int)(SWIG_As_int(obj2
));
44317 if (SWIG_arg_fail(3)) SWIG_fail
;
44321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44322 (arg1
)->RightOf(arg2
,arg3
);
44324 wxPyEndAllowThreads(__tstate
);
44325 if (PyErr_Occurred()) SWIG_fail
;
44327 Py_INCREF(Py_None
); resultobj
= Py_None
;
44334 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44335 PyObject
*resultobj
;
44336 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44337 wxWindow
*arg2
= (wxWindow
*) 0 ;
44338 int arg3
= (int) 0 ;
44339 PyObject
* obj0
= 0 ;
44340 PyObject
* obj1
= 0 ;
44341 PyObject
* obj2
= 0 ;
44342 char *kwnames
[] = {
44343 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44348 if (SWIG_arg_fail(1)) SWIG_fail
;
44349 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44350 if (SWIG_arg_fail(2)) SWIG_fail
;
44353 arg3
= (int)(SWIG_As_int(obj2
));
44354 if (SWIG_arg_fail(3)) SWIG_fail
;
44358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44359 (arg1
)->Above(arg2
,arg3
);
44361 wxPyEndAllowThreads(__tstate
);
44362 if (PyErr_Occurred()) SWIG_fail
;
44364 Py_INCREF(Py_None
); resultobj
= Py_None
;
44371 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44372 PyObject
*resultobj
;
44373 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44374 wxWindow
*arg2
= (wxWindow
*) 0 ;
44375 int arg3
= (int) 0 ;
44376 PyObject
* obj0
= 0 ;
44377 PyObject
* obj1
= 0 ;
44378 PyObject
* obj2
= 0 ;
44379 char *kwnames
[] = {
44380 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44385 if (SWIG_arg_fail(1)) SWIG_fail
;
44386 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44387 if (SWIG_arg_fail(2)) SWIG_fail
;
44390 arg3
= (int)(SWIG_As_int(obj2
));
44391 if (SWIG_arg_fail(3)) SWIG_fail
;
44395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44396 (arg1
)->Below(arg2
,arg3
);
44398 wxPyEndAllowThreads(__tstate
);
44399 if (PyErr_Occurred()) SWIG_fail
;
44401 Py_INCREF(Py_None
); resultobj
= Py_None
;
44408 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44409 PyObject
*resultobj
;
44410 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44411 wxWindow
*arg2
= (wxWindow
*) 0 ;
44413 int arg4
= (int) 0 ;
44414 PyObject
* obj0
= 0 ;
44415 PyObject
* obj1
= 0 ;
44416 PyObject
* obj2
= 0 ;
44417 PyObject
* obj3
= 0 ;
44418 char *kwnames
[] = {
44419 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
44422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44424 if (SWIG_arg_fail(1)) SWIG_fail
;
44425 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44426 if (SWIG_arg_fail(2)) SWIG_fail
;
44428 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
44429 if (SWIG_arg_fail(3)) SWIG_fail
;
44433 arg4
= (int)(SWIG_As_int(obj3
));
44434 if (SWIG_arg_fail(4)) SWIG_fail
;
44438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44439 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
44441 wxPyEndAllowThreads(__tstate
);
44442 if (PyErr_Occurred()) SWIG_fail
;
44444 Py_INCREF(Py_None
); resultobj
= Py_None
;
44451 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44452 PyObject
*resultobj
;
44453 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44454 wxWindow
*arg2
= (wxWindow
*) 0 ;
44457 PyObject
* obj0
= 0 ;
44458 PyObject
* obj1
= 0 ;
44459 PyObject
* obj2
= 0 ;
44460 PyObject
* obj3
= 0 ;
44461 char *kwnames
[] = {
44462 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
44465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44467 if (SWIG_arg_fail(1)) SWIG_fail
;
44468 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44469 if (SWIG_arg_fail(2)) SWIG_fail
;
44471 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
44472 if (SWIG_arg_fail(3)) SWIG_fail
;
44475 arg4
= (int)(SWIG_As_int(obj3
));
44476 if (SWIG_arg_fail(4)) SWIG_fail
;
44479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44480 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
44482 wxPyEndAllowThreads(__tstate
);
44483 if (PyErr_Occurred()) SWIG_fail
;
44485 Py_INCREF(Py_None
); resultobj
= Py_None
;
44492 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44493 PyObject
*resultobj
;
44494 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44496 PyObject
* obj0
= 0 ;
44497 PyObject
* obj1
= 0 ;
44498 char *kwnames
[] = {
44499 (char *) "self",(char *) "val", NULL
44502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
44503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44504 if (SWIG_arg_fail(1)) SWIG_fail
;
44506 arg2
= (int)(SWIG_As_int(obj1
));
44507 if (SWIG_arg_fail(2)) SWIG_fail
;
44510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44511 (arg1
)->Absolute(arg2
);
44513 wxPyEndAllowThreads(__tstate
);
44514 if (PyErr_Occurred()) SWIG_fail
;
44516 Py_INCREF(Py_None
); resultobj
= Py_None
;
44523 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44524 PyObject
*resultobj
;
44525 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44526 PyObject
* obj0
= 0 ;
44527 char *kwnames
[] = {
44528 (char *) "self", NULL
44531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
44532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44533 if (SWIG_arg_fail(1)) SWIG_fail
;
44535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44536 (arg1
)->Unconstrained();
44538 wxPyEndAllowThreads(__tstate
);
44539 if (PyErr_Occurred()) SWIG_fail
;
44541 Py_INCREF(Py_None
); resultobj
= Py_None
;
44548 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44549 PyObject
*resultobj
;
44550 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44551 PyObject
* obj0
= 0 ;
44552 char *kwnames
[] = {
44553 (char *) "self", NULL
44556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
44557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44558 if (SWIG_arg_fail(1)) SWIG_fail
;
44560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44563 wxPyEndAllowThreads(__tstate
);
44564 if (PyErr_Occurred()) SWIG_fail
;
44566 Py_INCREF(Py_None
); resultobj
= Py_None
;
44573 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44574 PyObject
*resultobj
;
44575 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44577 PyObject
* obj0
= 0 ;
44578 char *kwnames
[] = {
44579 (char *) "self", NULL
44582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
44583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44584 if (SWIG_arg_fail(1)) SWIG_fail
;
44586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44587 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
44589 wxPyEndAllowThreads(__tstate
);
44590 if (PyErr_Occurred()) SWIG_fail
;
44593 resultobj
= wxPyMake_wxObject(result
, 0);
44601 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44602 PyObject
*resultobj
;
44603 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44605 PyObject
* obj0
= 0 ;
44606 char *kwnames
[] = {
44607 (char *) "self", NULL
44610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
44611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44612 if (SWIG_arg_fail(1)) SWIG_fail
;
44614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44615 result
= (wxEdge
)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
44617 wxPyEndAllowThreads(__tstate
);
44618 if (PyErr_Occurred()) SWIG_fail
;
44620 resultobj
= SWIG_From_int((result
));
44627 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44628 PyObject
*resultobj
;
44629 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44631 PyObject
* obj0
= 0 ;
44632 PyObject
* obj1
= 0 ;
44633 char *kwnames
[] = {
44634 (char *) "self",(char *) "which", NULL
44637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
44638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44639 if (SWIG_arg_fail(1)) SWIG_fail
;
44641 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
44642 if (SWIG_arg_fail(2)) SWIG_fail
;
44645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44646 (arg1
)->SetEdge((wxEdge
)arg2
);
44648 wxPyEndAllowThreads(__tstate
);
44649 if (PyErr_Occurred()) SWIG_fail
;
44651 Py_INCREF(Py_None
); resultobj
= Py_None
;
44658 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44659 PyObject
*resultobj
;
44660 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44662 PyObject
* obj0
= 0 ;
44663 PyObject
* obj1
= 0 ;
44664 char *kwnames
[] = {
44665 (char *) "self",(char *) "v", NULL
44668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
44669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44670 if (SWIG_arg_fail(1)) SWIG_fail
;
44672 arg2
= (int)(SWIG_As_int(obj1
));
44673 if (SWIG_arg_fail(2)) SWIG_fail
;
44676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44677 (arg1
)->SetValue(arg2
);
44679 wxPyEndAllowThreads(__tstate
);
44680 if (PyErr_Occurred()) SWIG_fail
;
44682 Py_INCREF(Py_None
); resultobj
= Py_None
;
44689 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44690 PyObject
*resultobj
;
44691 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44693 PyObject
* obj0
= 0 ;
44694 char *kwnames
[] = {
44695 (char *) "self", NULL
44698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
44699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44700 if (SWIG_arg_fail(1)) SWIG_fail
;
44702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44703 result
= (int)(arg1
)->GetMargin();
44705 wxPyEndAllowThreads(__tstate
);
44706 if (PyErr_Occurred()) SWIG_fail
;
44709 resultobj
= SWIG_From_int((int)(result
));
44717 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44718 PyObject
*resultobj
;
44719 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44721 PyObject
* obj0
= 0 ;
44722 PyObject
* obj1
= 0 ;
44723 char *kwnames
[] = {
44724 (char *) "self",(char *) "m", NULL
44727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
44728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44729 if (SWIG_arg_fail(1)) SWIG_fail
;
44731 arg2
= (int)(SWIG_As_int(obj1
));
44732 if (SWIG_arg_fail(2)) SWIG_fail
;
44735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44736 (arg1
)->SetMargin(arg2
);
44738 wxPyEndAllowThreads(__tstate
);
44739 if (PyErr_Occurred()) SWIG_fail
;
44741 Py_INCREF(Py_None
); resultobj
= Py_None
;
44748 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44749 PyObject
*resultobj
;
44750 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44752 PyObject
* obj0
= 0 ;
44753 char *kwnames
[] = {
44754 (char *) "self", NULL
44757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
44758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44759 if (SWIG_arg_fail(1)) SWIG_fail
;
44761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44762 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
44764 wxPyEndAllowThreads(__tstate
);
44765 if (PyErr_Occurred()) SWIG_fail
;
44768 resultobj
= SWIG_From_int((int)(result
));
44776 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44777 PyObject
*resultobj
;
44778 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44780 PyObject
* obj0
= 0 ;
44781 char *kwnames
[] = {
44782 (char *) "self", NULL
44785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
44786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44787 if (SWIG_arg_fail(1)) SWIG_fail
;
44789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44790 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
44792 wxPyEndAllowThreads(__tstate
);
44793 if (PyErr_Occurred()) SWIG_fail
;
44796 resultobj
= SWIG_From_int((int)(result
));
44804 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44805 PyObject
*resultobj
;
44806 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44808 PyObject
* obj0
= 0 ;
44809 char *kwnames
[] = {
44810 (char *) "self", NULL
44813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
44814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44815 if (SWIG_arg_fail(1)) SWIG_fail
;
44817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44818 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
44820 wxPyEndAllowThreads(__tstate
);
44821 if (PyErr_Occurred()) SWIG_fail
;
44824 resultobj
= SWIG_From_int((int)(result
));
44832 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44833 PyObject
*resultobj
;
44834 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44836 PyObject
* obj0
= 0 ;
44837 char *kwnames
[] = {
44838 (char *) "self", NULL
44841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
44842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44843 if (SWIG_arg_fail(1)) SWIG_fail
;
44845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44846 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
44848 wxPyEndAllowThreads(__tstate
);
44849 if (PyErr_Occurred()) SWIG_fail
;
44852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44860 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44861 PyObject
*resultobj
;
44862 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44864 PyObject
* obj0
= 0 ;
44865 PyObject
* obj1
= 0 ;
44866 char *kwnames
[] = {
44867 (char *) "self",(char *) "d", NULL
44870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
44871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44872 if (SWIG_arg_fail(1)) SWIG_fail
;
44874 arg2
= (bool)(SWIG_As_bool(obj1
));
44875 if (SWIG_arg_fail(2)) SWIG_fail
;
44878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44879 (arg1
)->SetDone(arg2
);
44881 wxPyEndAllowThreads(__tstate
);
44882 if (PyErr_Occurred()) SWIG_fail
;
44884 Py_INCREF(Py_None
); resultobj
= Py_None
;
44891 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44892 PyObject
*resultobj
;
44893 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44894 wxRelationship result
;
44895 PyObject
* obj0
= 0 ;
44896 char *kwnames
[] = {
44897 (char *) "self", NULL
44900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
44901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44902 if (SWIG_arg_fail(1)) SWIG_fail
;
44904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44905 result
= (wxRelationship
)(arg1
)->GetRelationship();
44907 wxPyEndAllowThreads(__tstate
);
44908 if (PyErr_Occurred()) SWIG_fail
;
44910 resultobj
= SWIG_From_int((result
));
44917 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44918 PyObject
*resultobj
;
44919 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44920 wxRelationship arg2
;
44921 PyObject
* obj0
= 0 ;
44922 PyObject
* obj1
= 0 ;
44923 char *kwnames
[] = {
44924 (char *) "self",(char *) "r", NULL
44927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
44928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44929 if (SWIG_arg_fail(1)) SWIG_fail
;
44931 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
44932 if (SWIG_arg_fail(2)) SWIG_fail
;
44935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44936 (arg1
)->SetRelationship((wxRelationship
)arg2
);
44938 wxPyEndAllowThreads(__tstate
);
44939 if (PyErr_Occurred()) SWIG_fail
;
44941 Py_INCREF(Py_None
); resultobj
= Py_None
;
44948 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44949 PyObject
*resultobj
;
44950 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44951 wxWindow
*arg2
= (wxWindow
*) 0 ;
44953 PyObject
* obj0
= 0 ;
44954 PyObject
* obj1
= 0 ;
44955 char *kwnames
[] = {
44956 (char *) "self",(char *) "otherW", NULL
44959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
44960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44961 if (SWIG_arg_fail(1)) SWIG_fail
;
44962 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44963 if (SWIG_arg_fail(2)) SWIG_fail
;
44965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44966 result
= (bool)(arg1
)->ResetIfWin(arg2
);
44968 wxPyEndAllowThreads(__tstate
);
44969 if (PyErr_Occurred()) SWIG_fail
;
44972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44980 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44981 PyObject
*resultobj
;
44982 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44983 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
44984 wxWindow
*arg3
= (wxWindow
*) 0 ;
44986 PyObject
* obj0
= 0 ;
44987 PyObject
* obj1
= 0 ;
44988 PyObject
* obj2
= 0 ;
44989 char *kwnames
[] = {
44990 (char *) "self",(char *) "constraints",(char *) "win", NULL
44993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44995 if (SWIG_arg_fail(1)) SWIG_fail
;
44996 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44997 if (SWIG_arg_fail(2)) SWIG_fail
;
44998 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44999 if (SWIG_arg_fail(3)) SWIG_fail
;
45001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45002 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
45004 wxPyEndAllowThreads(__tstate
);
45005 if (PyErr_Occurred()) SWIG_fail
;
45008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45016 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45017 PyObject
*resultobj
;
45018 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45020 wxWindow
*arg3
= (wxWindow
*) 0 ;
45021 wxWindow
*arg4
= (wxWindow
*) 0 ;
45023 PyObject
* obj0
= 0 ;
45024 PyObject
* obj1
= 0 ;
45025 PyObject
* obj2
= 0 ;
45026 PyObject
* obj3
= 0 ;
45027 char *kwnames
[] = {
45028 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
45031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
45032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45033 if (SWIG_arg_fail(1)) SWIG_fail
;
45035 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
45036 if (SWIG_arg_fail(2)) SWIG_fail
;
45038 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45039 if (SWIG_arg_fail(3)) SWIG_fail
;
45040 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45041 if (SWIG_arg_fail(4)) SWIG_fail
;
45043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45044 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
45046 wxPyEndAllowThreads(__tstate
);
45047 if (PyErr_Occurred()) SWIG_fail
;
45050 resultobj
= SWIG_From_int((int)(result
));
45058 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
45060 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
45061 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
45063 return Py_BuildValue((char *)"");
45065 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45066 PyObject
*resultobj
;
45067 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45068 wxIndividualLayoutConstraint
*result
;
45069 PyObject
* obj0
= 0 ;
45070 char *kwnames
[] = {
45071 (char *) "self", NULL
45074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
45075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45076 if (SWIG_arg_fail(1)) SWIG_fail
;
45077 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
45079 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45086 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45087 PyObject
*resultobj
;
45088 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45089 wxIndividualLayoutConstraint
*result
;
45090 PyObject
* obj0
= 0 ;
45091 char *kwnames
[] = {
45092 (char *) "self", NULL
45095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
45096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45097 if (SWIG_arg_fail(1)) SWIG_fail
;
45098 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
45100 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45107 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45108 PyObject
*resultobj
;
45109 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45110 wxIndividualLayoutConstraint
*result
;
45111 PyObject
* obj0
= 0 ;
45112 char *kwnames
[] = {
45113 (char *) "self", NULL
45116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
45117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45118 if (SWIG_arg_fail(1)) SWIG_fail
;
45119 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
45121 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45128 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45129 PyObject
*resultobj
;
45130 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45131 wxIndividualLayoutConstraint
*result
;
45132 PyObject
* obj0
= 0 ;
45133 char *kwnames
[] = {
45134 (char *) "self", NULL
45137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
45138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45139 if (SWIG_arg_fail(1)) SWIG_fail
;
45140 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
45142 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45149 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45150 PyObject
*resultobj
;
45151 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45152 wxIndividualLayoutConstraint
*result
;
45153 PyObject
* obj0
= 0 ;
45154 char *kwnames
[] = {
45155 (char *) "self", NULL
45158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
45159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45160 if (SWIG_arg_fail(1)) SWIG_fail
;
45161 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
45163 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45170 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45171 PyObject
*resultobj
;
45172 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45173 wxIndividualLayoutConstraint
*result
;
45174 PyObject
* obj0
= 0 ;
45175 char *kwnames
[] = {
45176 (char *) "self", NULL
45179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
45180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45181 if (SWIG_arg_fail(1)) SWIG_fail
;
45182 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
45184 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45191 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45192 PyObject
*resultobj
;
45193 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45194 wxIndividualLayoutConstraint
*result
;
45195 PyObject
* obj0
= 0 ;
45196 char *kwnames
[] = {
45197 (char *) "self", NULL
45200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
45201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45202 if (SWIG_arg_fail(1)) SWIG_fail
;
45203 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
45205 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45212 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45213 PyObject
*resultobj
;
45214 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45215 wxIndividualLayoutConstraint
*result
;
45216 PyObject
* obj0
= 0 ;
45217 char *kwnames
[] = {
45218 (char *) "self", NULL
45221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
45222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45223 if (SWIG_arg_fail(1)) SWIG_fail
;
45224 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
45226 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45233 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45234 PyObject
*resultobj
;
45235 wxLayoutConstraints
*result
;
45236 char *kwnames
[] = {
45240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
45242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45243 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
45245 wxPyEndAllowThreads(__tstate
);
45246 if (PyErr_Occurred()) SWIG_fail
;
45248 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
45255 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45256 PyObject
*resultobj
;
45257 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45258 wxWindow
*arg2
= (wxWindow
*) 0 ;
45259 int *arg3
= (int *) 0 ;
45263 PyObject
* obj0
= 0 ;
45264 PyObject
* obj1
= 0 ;
45265 char *kwnames
[] = {
45266 (char *) "self",(char *) "win", NULL
45269 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
45270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
45271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45272 if (SWIG_arg_fail(1)) SWIG_fail
;
45273 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45274 if (SWIG_arg_fail(2)) SWIG_fail
;
45276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45277 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
45279 wxPyEndAllowThreads(__tstate
);
45280 if (PyErr_Occurred()) SWIG_fail
;
45283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45285 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
45286 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
45293 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45294 PyObject
*resultobj
;
45295 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45297 PyObject
* obj0
= 0 ;
45298 char *kwnames
[] = {
45299 (char *) "self", NULL
45302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
45303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45304 if (SWIG_arg_fail(1)) SWIG_fail
;
45306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45307 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
45309 wxPyEndAllowThreads(__tstate
);
45310 if (PyErr_Occurred()) SWIG_fail
;
45313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45321 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
45323 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
45324 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
45326 return Py_BuildValue((char *)"");
45328 static PyMethodDef SwigMethods
[] = {
45329 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
45330 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
45331 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45332 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45333 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
45334 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45335 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45336 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45337 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45338 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45339 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45340 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45341 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45342 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45343 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45344 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45345 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45346 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45347 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45348 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45349 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45350 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45351 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45352 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45353 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45354 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
45355 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45356 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45357 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45358 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45359 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45360 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45361 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45362 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45363 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45364 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45365 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45366 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45367 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
45368 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45369 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45370 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45371 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45372 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45373 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45374 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45375 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45376 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45377 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45378 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45379 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45380 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45381 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45382 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
45383 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45384 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45385 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45386 { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45387 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45388 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45389 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45390 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45391 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45392 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45393 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45394 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45395 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45396 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45397 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45398 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45399 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45400 { (char *)"Rect_IsEmpty", (PyCFunction
) _wrap_Rect_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45401 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45402 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45403 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45404 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45405 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45406 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45407 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45408 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45409 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45410 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45411 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45412 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45413 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45414 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45415 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45416 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45417 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45418 { (char *)"Rect_Union", (PyCFunction
) _wrap_Rect_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45419 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45420 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45421 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45422 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45423 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45424 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45425 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45426 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45427 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45428 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45429 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45430 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45431 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45432 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45433 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45434 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45435 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45436 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
45437 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45438 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45439 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45440 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45441 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45442 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45443 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45444 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45445 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45446 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45447 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45448 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45449 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45450 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45451 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45452 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45453 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45454 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45455 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45456 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45457 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45458 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45459 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45460 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45461 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45462 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45463 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45464 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
45465 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45466 { (char *)"delete_InputStream", (PyCFunction
) _wrap_delete_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45467 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45468 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45469 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45470 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45471 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45472 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45473 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45474 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45475 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45476 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45477 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45478 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45479 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45480 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45481 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45482 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45483 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
45484 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45485 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
45486 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45487 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45488 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45489 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45490 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45491 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45492 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45493 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
45494 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
45495 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45496 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45497 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45498 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45499 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45500 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45501 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45502 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45503 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45504 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45505 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45506 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
45507 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45508 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45509 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45510 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45511 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45512 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45513 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45514 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45515 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45516 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45517 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45518 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
45519 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45520 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45521 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45522 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
45523 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45524 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45525 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45526 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45527 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45528 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
45529 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45530 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45531 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45532 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45533 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45534 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45535 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45536 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45537 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45538 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
45539 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45540 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45541 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45542 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45543 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45544 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45545 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45546 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45547 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45548 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
45549 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45550 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45551 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45552 { (char *)"ImageHistogram_GetCount", (PyCFunction
) _wrap_ImageHistogram_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45553 { (char *)"ImageHistogram_GetCountRGB", (PyCFunction
) _wrap_ImageHistogram_GetCountRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45554 { (char *)"ImageHistogram_GetCountColour", (PyCFunction
) _wrap_ImageHistogram_GetCountColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45555 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
45556 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45557 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45558 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45559 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45560 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45561 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45562 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45563 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45564 { (char *)"new_ImageFromDataWithAlpha", (PyCFunction
) _wrap_new_ImageFromDataWithAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45565 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45566 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45567 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45568 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45569 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45570 { (char *)"Image_Resize", (PyCFunction
) _wrap_Image_Resize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45571 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45572 { (char *)"Image_SetRGBRect", (PyCFunction
) _wrap_Image_SetRGBRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45573 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45574 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45575 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45576 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45577 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45578 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45579 { (char *)"Image_InitAlpha", (PyCFunction
) _wrap_Image_InitAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45580 { (char *)"Image_IsTransparent", (PyCFunction
) _wrap_Image_IsTransparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45581 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45582 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45583 { (char *)"Image_ConvertColourToAlpha", (PyCFunction
) _wrap_Image_ConvertColourToAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45584 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45585 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45586 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45587 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45588 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45589 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45590 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45591 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45592 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45593 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45594 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45595 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45596 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45597 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45598 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45599 { (char *)"Image_Size", (PyCFunction
) _wrap_Image_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45600 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45601 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45602 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45603 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45604 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45605 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45606 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45607 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45608 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45609 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45610 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45611 { (char *)"Image_GetOrFindMaskColour", (PyCFunction
) _wrap_Image_GetOrFindMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45612 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45613 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45614 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45615 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45616 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45617 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45618 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45619 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45620 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45621 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45622 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45623 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45624 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45625 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45626 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45627 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45628 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45629 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45630 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45631 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45632 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45633 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45634 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45635 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
45636 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45637 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
45638 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45639 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
45640 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45641 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
45642 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45643 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
45644 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45645 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
45646 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45647 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
45648 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45649 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
45650 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45651 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
45652 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45653 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
45654 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45655 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
45656 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45657 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
45658 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45659 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
45660 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45661 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45662 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45663 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45664 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45665 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45666 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45667 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45668 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45669 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45670 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45671 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45672 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45673 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
45674 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45675 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45676 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45677 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45678 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45679 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45680 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45681 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45682 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45683 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45684 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45685 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45686 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45687 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45688 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45689 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45690 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45691 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
45692 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45693 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45694 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
45695 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45696 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45697 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
45698 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45699 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45700 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45701 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45702 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45703 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45704 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45705 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45706 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45707 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45708 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45709 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
45710 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45711 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45712 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45713 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45714 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
45715 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45716 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45717 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45718 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45719 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45720 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
45721 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45722 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45723 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45724 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45725 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45726 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
45727 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45728 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45729 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45730 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45731 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45732 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45733 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45734 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45735 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45736 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45737 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45738 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45739 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45740 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45741 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45742 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45743 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45744 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45745 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45746 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45747 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45748 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45749 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45750 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45751 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45752 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45753 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45754 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45755 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45756 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45757 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45758 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45759 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45760 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45761 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45762 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45763 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45764 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45765 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45766 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45767 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45768 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45769 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45770 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45771 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45772 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45773 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45774 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45775 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45776 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45777 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45778 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45779 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45780 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45781 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45782 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45783 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45784 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45785 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45786 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45787 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45788 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45789 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
45790 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45791 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45792 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45793 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45794 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45795 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45796 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
45797 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45798 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45799 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45800 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45801 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45802 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45803 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45804 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45805 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45806 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45807 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45808 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45809 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45810 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45811 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45812 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45813 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45814 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45815 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45816 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45817 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45818 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45819 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45820 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45821 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45822 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45823 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45824 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45825 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45826 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45827 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45828 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45829 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45830 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45831 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45832 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
45833 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45834 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45835 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45836 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45837 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45838 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45839 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45840 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45841 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45842 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
45843 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45844 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45845 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45846 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45847 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45848 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
45849 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45850 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
45851 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45852 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
45853 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45854 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45855 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
45856 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45857 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45858 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45859 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
45860 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45861 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45862 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
45863 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45864 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45865 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
45866 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45867 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
45868 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45869 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45870 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45871 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45872 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
45873 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45874 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45875 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45876 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45877 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45878 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45879 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45880 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
45881 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45882 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45883 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45884 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
45885 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45886 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45887 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
45888 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45889 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
45890 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45891 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45892 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45893 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
45894 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45895 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45896 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45897 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45898 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45899 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45900 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45901 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45902 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45903 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45904 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45905 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45906 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45907 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45908 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45909 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45910 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
45911 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45912 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45913 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45914 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45915 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45916 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45917 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45918 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45919 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45920 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45921 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45922 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45923 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45924 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45925 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
45926 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45927 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45928 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45929 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45930 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45931 { (char *)"NavigationKeyEvent_IsFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_IsFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45932 { (char *)"NavigationKeyEvent_SetFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_SetFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45933 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45934 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45935 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45936 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
45937 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45938 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45939 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
45940 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45941 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45942 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
45943 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45944 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45945 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45946 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
45947 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45948 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45949 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45950 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45951 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45952 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45953 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
45954 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45955 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45956 { (char *)"PyEvent__SetSelf", (PyCFunction
) _wrap_PyEvent__SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45957 { (char *)"PyEvent__GetSelf", (PyCFunction
) _wrap_PyEvent__GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45958 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
45959 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45960 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45961 { (char *)"PyCommandEvent__SetSelf", (PyCFunction
) _wrap_PyCommandEvent__SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45962 { (char *)"PyCommandEvent__GetSelf", (PyCFunction
) _wrap_PyCommandEvent__GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45963 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
45964 { (char *)"new_DateEvent", (PyCFunction
) _wrap_new_DateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45965 { (char *)"DateEvent_GetDate", (PyCFunction
) _wrap_DateEvent_GetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45966 { (char *)"DateEvent_SetDate", (PyCFunction
) _wrap_DateEvent_SetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45967 { (char *)"DateEvent_swigregister", DateEvent_swigregister
, METH_VARARGS
, NULL
},
45968 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45969 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45970 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45971 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45972 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45973 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45974 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45975 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45976 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45977 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45978 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45979 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45980 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45981 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
) _wrap_PyApp_IsMainLoopRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45982 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45983 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45984 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45985 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45986 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45987 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45988 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45989 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45990 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45991 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45992 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45993 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45994 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45995 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45996 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45997 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45998 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45999 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46000 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46001 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46002 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46003 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46004 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46005 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46006 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46007 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46008 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46009 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46010 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46011 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46012 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
46013 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46014 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46015 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46016 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46017 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46018 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46019 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46020 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46021 { (char *)"SetDefaultPyEncoding", (PyCFunction
) _wrap_SetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46022 { (char *)"GetDefaultPyEncoding", (PyCFunction
) _wrap_GetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46023 { (char *)"new_EventLoop", (PyCFunction
) _wrap_new_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46024 { (char *)"delete_EventLoop", (PyCFunction
) _wrap_delete_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46025 { (char *)"EventLoop_Run", (PyCFunction
) _wrap_EventLoop_Run
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46026 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46027 { (char *)"EventLoop_Pending", (PyCFunction
) _wrap_EventLoop_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46028 { (char *)"EventLoop_Dispatch", (PyCFunction
) _wrap_EventLoop_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46029 { (char *)"EventLoop_IsRunning", (PyCFunction
) _wrap_EventLoop_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46030 { (char *)"EventLoop_GetActive", (PyCFunction
) _wrap_EventLoop_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46031 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46032 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
46033 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46034 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46035 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46036 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46037 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46038 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46039 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
46040 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46041 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46042 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46043 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
46044 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46045 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46046 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46047 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46048 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46049 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46050 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46051 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46052 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46053 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
46054 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46055 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46056 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46057 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46058 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46059 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46060 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46061 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46062 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46063 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46064 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46065 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46066 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46067 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46068 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46069 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46070 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46071 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46072 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46073 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46074 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46075 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46076 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46077 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46078 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46079 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46080 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46081 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46082 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46083 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46084 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46085 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46086 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46087 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46088 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46089 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46090 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46091 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46092 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46093 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46094 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46095 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46096 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46097 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46098 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46099 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46100 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46101 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46102 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46103 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46104 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46105 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46106 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46107 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46108 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46109 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46110 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46111 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46112 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46113 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46114 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46115 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46116 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46117 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46118 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46119 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46120 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46121 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46122 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46123 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46124 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46125 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46126 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46127 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46128 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46129 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46130 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46131 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46132 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46133 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46134 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46135 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46136 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46137 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46138 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46139 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46140 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46141 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46142 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46143 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46144 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46145 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46146 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46147 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46148 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46149 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46150 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46151 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46152 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46153 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46154 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46155 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46156 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46157 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46158 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46159 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46160 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46161 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46162 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46163 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46164 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46165 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46166 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46167 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46168 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46169 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46170 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46171 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46172 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46173 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46174 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46175 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46176 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46177 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46178 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46179 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46180 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46181 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46182 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46183 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46184 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46185 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46186 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46187 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46188 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46189 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46190 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46191 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46192 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46193 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46194 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46195 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46196 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46197 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46198 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46199 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46200 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46201 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46202 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46203 { (char *)"Window_InheritsBackgroundColour", (PyCFunction
) _wrap_Window_InheritsBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46204 { (char *)"Window_UseBgCol", (PyCFunction
) _wrap_Window_UseBgCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46205 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46206 { (char *)"Window_GetBackgroundStyle", (PyCFunction
) _wrap_Window_GetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46207 { (char *)"Window_HasTransparentBackground", (PyCFunction
) _wrap_Window_HasTransparentBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46208 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46209 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46210 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46211 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46212 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46213 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46214 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46215 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46216 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46217 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46218 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46219 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46220 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46221 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46222 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46223 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46224 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46225 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
46226 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46227 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46228 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46229 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46230 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46231 { (char *)"Window_DissociateHandle", (PyCFunction
) _wrap_Window_DissociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46232 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46233 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46234 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46235 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46236 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46237 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46238 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46239 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46240 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46241 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46242 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46243 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46244 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46245 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46246 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46247 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46248 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46249 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46250 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46251 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46252 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46253 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46254 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46255 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46256 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46257 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46258 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46259 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46260 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46261 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46262 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46263 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46264 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46265 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46266 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
46267 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46268 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46269 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46270 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46271 { (char *)"GetTopLevelWindows", (PyCFunction
) _wrap_GetTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46272 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46273 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46274 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46275 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46276 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46277 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46278 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46279 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46280 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46281 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
46282 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46283 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46284 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
46285 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46286 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46287 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46288 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46289 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46290 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46291 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46292 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46293 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46294 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46295 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46296 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46297 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46298 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46299 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46300 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46301 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46302 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46303 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46304 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46305 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46306 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46307 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46308 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46309 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46310 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46311 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46312 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46313 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46314 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46315 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46316 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46317 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46318 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46319 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46320 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46321 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46322 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46323 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46324 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46325 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46326 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46327 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46328 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46329 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46330 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46331 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46332 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46333 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46334 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46335 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46336 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46337 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46338 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46339 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
46340 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46341 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46342 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46343 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46344 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46345 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46346 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46347 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46348 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46349 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46350 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46351 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46352 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46353 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46354 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46355 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46356 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46357 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46358 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46359 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46360 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46361 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46362 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46363 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46364 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46365 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46366 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
46367 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46368 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46369 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46370 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46371 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46372 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46373 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46374 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46375 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46376 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46377 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46378 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46379 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46380 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46381 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46382 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46383 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46384 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46385 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46386 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46387 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46388 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46389 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46390 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46391 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46392 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46393 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46394 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46395 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46396 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46397 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46398 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46399 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46400 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46401 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46402 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46403 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46404 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46405 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46406 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46407 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46408 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46409 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46410 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
46411 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46412 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46413 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46414 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46415 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46416 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46417 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46418 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
46419 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46420 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46421 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46422 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46423 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46424 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46425 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46426 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46427 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46428 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46429 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46430 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46431 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46432 { (char *)"ItemContainer_SetSelection", (PyCFunction
) _wrap_ItemContainer_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46433 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46434 { (char *)"ItemContainer_SetStringSelection", (PyCFunction
) _wrap_ItemContainer_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46435 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46436 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46437 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
46438 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
46439 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46440 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46441 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46442 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46443 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46444 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46445 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46446 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46447 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46448 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46449 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46450 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46451 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46452 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46453 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46454 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46455 { (char *)"SizerItem_GetRect", (PyCFunction
) _wrap_SizerItem_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46456 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46457 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46458 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46459 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46460 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46461 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46462 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46463 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46464 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46465 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46466 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46467 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46468 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46469 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46470 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46471 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46472 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46473 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46474 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46475 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
46476 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46477 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46478 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46479 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46480 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46481 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46482 { (char *)"Sizer_GetItem", (PyCFunction
) _wrap_Sizer_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46483 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46484 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46485 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46486 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46487 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46488 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46489 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46490 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46491 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46492 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46493 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46494 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46495 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46496 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46497 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46498 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46499 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46500 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46501 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46502 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46503 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46504 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46505 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
46506 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46507 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46508 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
46509 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46510 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46511 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46512 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
46513 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46514 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46515 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
46516 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46517 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46518 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46519 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46520 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46521 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46522 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46523 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46524 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46525 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
46526 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46527 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46528 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46529 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46530 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46531 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46532 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46533 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46534 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46535 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46536 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46537 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
46538 { (char *)"new_StdDialogButtonSizer", (PyCFunction
) _wrap_new_StdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46539 { (char *)"StdDialogButtonSizer_AddButton", (PyCFunction
) _wrap_StdDialogButtonSizer_AddButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46540 { (char *)"StdDialogButtonSizer_Realize", (PyCFunction
) _wrap_StdDialogButtonSizer_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46541 { (char *)"StdDialogButtonSizer_SetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46542 { (char *)"StdDialogButtonSizer_SetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46543 { (char *)"StdDialogButtonSizer_SetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46544 { (char *)"StdDialogButtonSizer_GetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46545 { (char *)"StdDialogButtonSizer_GetApplyButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetApplyButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46546 { (char *)"StdDialogButtonSizer_GetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46547 { (char *)"StdDialogButtonSizer_GetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46548 { (char *)"StdDialogButtonSizer_GetHelpButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46549 { (char *)"StdDialogButtonSizer_swigregister", StdDialogButtonSizer_swigregister
, METH_VARARGS
, NULL
},
46550 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46551 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46552 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46553 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46554 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46555 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46556 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46557 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46558 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46559 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
46560 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46561 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46562 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46563 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46564 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46565 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46566 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46567 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46568 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46569 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
46570 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46571 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46572 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46573 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46574 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46575 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46576 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46577 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46578 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46579 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46580 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46581 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46582 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46583 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
46584 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46585 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46586 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46587 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46588 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46589 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46590 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
46591 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
46592 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
46593 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
46594 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
46595 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46596 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46597 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46598 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46599 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
46600 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46601 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46602 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46603 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46604 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46605 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46606 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46607 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46608 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46609 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46610 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46611 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46612 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46613 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46614 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46615 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46616 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46617 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46618 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46619 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46620 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46621 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46622 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46623 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46624 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46625 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46626 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
46627 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46628 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46629 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46630 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46631 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46632 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46633 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46634 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46635 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46636 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46637 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46638 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
46639 { NULL
, NULL
, 0, NULL
}
46643 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
46645 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
46646 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
46648 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
46649 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
46651 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
46652 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46654 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
46655 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46657 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
46658 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46660 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
46661 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
46663 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
46664 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46666 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
46667 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
46669 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
46670 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46672 static void *_p_wxStdDialogButtonSizerTo_p_wxBoxSizer(void *x
) {
46673 return (void *)((wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46675 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
46676 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46678 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
46679 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
46681 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
46682 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
46684 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
46685 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
46687 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
46688 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
46690 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
46691 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
46693 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
46694 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
46696 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
46697 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
46699 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
46700 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
46702 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
46703 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46705 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
46706 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
46708 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
46709 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46711 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
46712 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46714 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
46715 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
46717 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
46718 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
46720 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
46721 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
46723 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
46724 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
46726 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
46727 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
46729 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
46730 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
46732 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
46733 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
46735 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
46736 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
46738 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
46739 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46741 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
46742 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46744 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
46745 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46747 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
46748 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46750 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
46751 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46753 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
46754 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
46756 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
46757 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
46759 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
46760 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46762 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
46763 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
46765 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
46766 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
46768 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
46769 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46771 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
46772 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46774 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
46775 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46777 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
46778 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
46780 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
46781 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
46783 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
46784 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46786 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
46787 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46789 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
46790 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46792 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
46793 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
46795 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
46796 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
46798 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
46799 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
46801 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
46802 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
46804 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
46805 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46807 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
46808 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
46810 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
46811 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
46813 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
46814 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
46816 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
46817 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
46819 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
46820 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
46822 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
46823 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
46825 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
46826 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
46828 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
46829 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
46831 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
46832 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
46834 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
46835 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
46837 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
46838 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46840 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
46841 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
46843 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
46844 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
46846 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
46847 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46849 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
46850 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46852 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
46853 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
46855 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
46856 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
46858 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
46859 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
46861 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
46862 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
46864 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
46865 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
46867 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
46868 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
46870 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
46871 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
46873 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
46874 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
46876 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46877 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
46879 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46880 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
46882 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46883 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
46885 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
46886 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
46888 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
46889 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
46891 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
46892 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
46894 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
46895 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
46897 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
46898 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
46900 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
46901 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46903 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
46904 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
46906 static void *_p_wxSizerTo_p_wxObject(void *x
) {
46907 return (void *)((wxObject
*) ((wxSizer
*) x
));
46909 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
46910 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46912 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
46913 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46915 static void *_p_wxEventTo_p_wxObject(void *x
) {
46916 return (void *)((wxObject
*) ((wxEvent
*) x
));
46918 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
46919 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46921 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
46922 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
46924 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
46925 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
46927 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
46928 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
46930 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
46931 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
46933 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
46934 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46936 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
46937 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46939 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
46940 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46942 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
46943 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46945 static void *_p_wxControlTo_p_wxObject(void *x
) {
46946 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
46948 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
46949 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
46951 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
46952 return (void *)((wxObject
*) ((wxFSFile
*) x
));
46954 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
46955 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
46957 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
46958 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
46960 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
46961 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46963 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
46964 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
46966 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
46967 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
46969 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
46970 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
46972 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
46973 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
46975 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
46976 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46978 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
46979 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46981 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
46982 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
46984 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
46985 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
46987 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
46988 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
46990 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
46991 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
46993 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
46994 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
46996 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
46997 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
46999 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
47000 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
47002 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
47003 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
47005 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
47006 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
47008 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
47009 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
47011 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
47012 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
47014 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
47015 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
47017 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
47018 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
47020 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
47021 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
47023 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
47024 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
47026 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
47027 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
47029 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
47030 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
47032 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
47033 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
47035 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
47036 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
47038 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
47039 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
47041 static void *_p_wxImageTo_p_wxObject(void *x
) {
47042 return (void *)((wxObject
*) ((wxImage
*) x
));
47044 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
47045 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
47047 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
47048 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47050 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
47051 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
47053 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
47054 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
47056 static void *_p_wxWindowTo_p_wxObject(void *x
) {
47057 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
47059 static void *_p_wxMenuTo_p_wxObject(void *x
) {
47060 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
47062 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
47063 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
47065 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
47066 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
47068 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
47069 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47071 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
47072 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
47074 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
47075 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
47077 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
47078 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
47080 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
47081 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
47083 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
47084 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
47086 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
47087 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47089 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
47090 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
47092 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
47093 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
47095 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
47096 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
47098 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
47099 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47101 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
47102 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
47104 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
47105 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
47107 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
47108 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
47110 static void *_p_wxControlTo_p_wxWindow(void *x
) {
47111 return (void *)((wxWindow
*) ((wxControl
*) x
));
47113 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
47114 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
47116 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
47117 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
47119 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
47120 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47122 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
47123 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
47125 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
47126 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47128 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
47129 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
47131 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
47132 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47134 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
47135 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47137 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
47138 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47140 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
47141 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47143 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
47144 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47146 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
47147 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
47149 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}};
47150 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}};
47151 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}};
47152 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}};
47153 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}};
47154 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}};
47155 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}};
47156 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}};
47157 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}};
47158 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}};
47159 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}};
47160 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}};
47161 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}};
47162 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}};
47163 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}};
47164 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}};
47165 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}};
47166 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}};
47167 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}};
47168 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}};
47169 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}};
47170 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}};
47171 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}};
47172 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}};
47173 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}};
47174 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}};
47175 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}};
47176 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}};
47177 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}};
47178 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}};
47179 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}};
47180 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}};
47181 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}};
47182 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}};
47183 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}};
47184 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}};
47185 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}};
47186 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}};
47187 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}};
47188 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}};
47189 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}};
47190 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}};
47191 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}};
47192 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}};
47193 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}};
47194 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}};
47195 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}};
47196 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}};
47197 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}};
47198 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}};
47199 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}};
47200 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}};
47201 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}};
47202 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}};
47203 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}};
47204 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}};
47205 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}};
47206 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}};
47207 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}};
47208 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}};
47209 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}};
47210 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}};
47211 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}};
47212 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}};
47213 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}};
47214 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}};
47215 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}};
47216 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}};
47217 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}};
47218 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}};
47219 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}};
47220 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}};
47221 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}};
47222 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}};
47223 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}};
47224 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}};
47225 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}};
47226 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}};
47227 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}};
47228 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}};
47229 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}};
47230 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}};
47231 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}};
47232 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}};
47233 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}};
47234 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}};
47235 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}};
47236 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}};
47237 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}};
47238 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}};
47239 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}};
47240 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}};
47241 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}};
47242 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}};
47243 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}};
47244 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}};
47245 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}};
47246 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}};
47247 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}};
47248 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}};
47249 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}};
47250 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}};
47251 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}};
47252 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}};
47253 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}};
47254 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}};
47255 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}};
47256 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}};
47257 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}};
47258 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}};
47259 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}};
47260 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}};
47261 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}};
47262 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}};
47263 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}};
47264 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}};
47265 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}};
47266 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}};
47267 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}};
47268 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}};
47269 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}};
47270 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}};
47271 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}};
47272 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}};
47273 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}};
47274 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}};
47275 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}};
47276 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}};
47278 static swig_type_info
*swig_types_initial
[] = {
47279 _swigt__p_wxLayoutConstraints
,
47280 _swigt__p_wxRealPoint
,
47281 _swigt__p_wxSizerItem
,
47282 _swigt__p_wxGBSizerItem
,
47283 _swigt__p_wxScrollEvent
,
47284 _swigt__p_wxEventLoop
,
47285 _swigt__p_wxIndividualLayoutConstraint
,
47287 _swigt__p_wxBoxSizer
,
47288 _swigt__p_wxStaticBoxSizer
,
47289 _swigt__p_wxGridBagSizer
,
47290 _swigt__p_wxAcceleratorEntry
,
47291 _swigt__p_wxUpdateUIEvent
,
47295 _swigt__p_wxGridSizer
,
47296 _swigt__p_wxFlexGridSizer
,
47297 _swigt__p_wxInitDialogEvent
,
47298 _swigt__p_wxItemContainer
,
47299 _swigt__p_wxNcPaintEvent
,
47300 _swigt__p_wxPaintEvent
,
47301 _swigt__p_wxSysColourChangedEvent
,
47302 _swigt__p_wxMouseCaptureChangedEvent
,
47303 _swigt__p_wxDisplayChangedEvent
,
47304 _swigt__p_wxPaletteChangedEvent
,
47305 _swigt__p_wxControl
,
47307 _swigt__p_wxMenuBarBase
,
47308 _swigt__p_wxSetCursorEvent
,
47309 _swigt__p_wxFSFile
,
47312 _swigt__std__ptrdiff_t
,
47313 _swigt__p_wxRegion
,
47314 _swigt__p_wxPoint2D
,
47318 _swigt__p_wxPySizer
,
47319 _swigt__p_wxVisualAttributes
,
47320 _swigt__p_wxNotifyEvent
,
47321 _swigt__p_wxPyEvent
,
47322 _swigt__p_wxPropagationDisabler
,
47323 _swigt__p_form_ops_t
,
47324 _swigt__p_wxAppTraits
,
47325 _swigt__p_wxArrayString
,
47326 _swigt__p_wxShowEvent
,
47327 _swigt__p_wxToolTip
,
47328 _swigt__p_wxMoveEvent
,
47329 _swigt__p_wxSizeEvent
,
47330 _swigt__p_wxActivateEvent
,
47331 _swigt__p_wxIconizeEvent
,
47332 _swigt__p_wxMaximizeEvent
,
47333 _swigt__p_wxQueryNewPaletteEvent
,
47334 _swigt__p_wxWindowCreateEvent
,
47335 _swigt__p_wxIdleEvent
,
47336 _swigt__p_wxDateEvent
,
47337 _swigt__p_wxMenuItem
,
47338 _swigt__p_wxStaticBox
,
47340 _swigt__p_wxDuplexMode
,
47341 _swigt__p_wxTIFFHandler
,
47342 _swigt__p_wxXPMHandler
,
47343 _swigt__p_wxPNMHandler
,
47344 _swigt__p_wxJPEGHandler
,
47345 _swigt__p_wxPCXHandler
,
47346 _swigt__p_wxGIFHandler
,
47347 _swigt__p_wxPNGHandler
,
47348 _swigt__p_wxANIHandler
,
47349 _swigt__p_wxMemoryFSHandler
,
47350 _swigt__p_wxZipFSHandler
,
47351 _swigt__p_wxInternetFSHandler
,
47352 _swigt__p_wxPyFileSystemHandler
,
47353 _swigt__p_wxEvtHandler
,
47354 _swigt__p_wxCURHandler
,
47355 _swigt__p_wxICOHandler
,
47356 _swigt__p_wxBMPHandler
,
47357 _swigt__p_wxImageHandler
,
47358 _swigt__p_wxFileSystemHandler
,
47360 _swigt__p_wxButton
,
47361 _swigt__p_wxGBSpan
,
47362 _swigt__p_wxPropagateOnce
,
47363 _swigt__p_wxAcceleratorTable
,
47364 _swigt__p_wxStdDialogButtonSizer
,
47366 _swigt__p_wxGBPosition
,
47369 _swigt__p_wxScrollWinEvent
,
47370 _swigt__p_wxPaperSize
,
47371 _swigt__p_wxImageHistogram
,
47373 _swigt__p_wxCursor
,
47374 _swigt__p_wxObject
,
47375 _swigt__p_wxInputStream
,
47376 _swigt__p_wxOutputStream
,
47377 _swigt__p_wxPyInputStream
,
47378 _swigt__p_wxDateTime
,
47379 _swigt__p_wxKeyEvent
,
47380 _swigt__p_wxNavigationKeyEvent
,
47381 _swigt__p_wxWindowDestroyEvent
,
47382 _swigt__p_unsigned_long
,
47383 _swigt__p_wxWindow
,
47384 _swigt__p_wxMenuBar
,
47385 _swigt__p_wxFileSystem
,
47386 _swigt__p_wxBitmap
,
47387 _swigt__unsigned_int
,
47388 _swigt__p_unsigned_int
,
47389 _swigt__p_wxMenuEvent
,
47390 _swigt__p_wxContextMenuEvent
,
47391 _swigt__p_unsigned_char
,
47392 _swigt__p_wxEraseEvent
,
47393 _swigt__p_wxMouseEvent
,
47394 _swigt__p_wxCloseEvent
,
47396 _swigt__p_wxCommandEvent
,
47397 _swigt__p_wxPyCommandEvent
,
47398 _swigt__p_wxPyDropTarget
,
47399 _swigt__p_wxQuantize
,
47400 _swigt__p_wxFocusEvent
,
47401 _swigt__p_wxChildFocusEvent
,
47402 _swigt__p_wxDropFilesEvent
,
47403 _swigt__p_wxControlWithItems
,
47404 _swigt__p_wxColour
,
47405 _swigt__p_wxValidator
,
47406 _swigt__p_wxPyValidator
,
47411 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
47413 static swig_const_info swig_const_table
[] = {
47414 {0, 0, 0, 0.0, 0, 0}};
47425 /* Python-specific SWIG API */
47426 #define SWIG_newvarlink() SWIG_Python_newvarlink()
47427 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
47428 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
47430 /* -----------------------------------------------------------------------------
47431 * global variable support code.
47432 * ----------------------------------------------------------------------------- */
47434 typedef struct swig_globalvar
{
47435 char *name
; /* Name of global variable */
47436 PyObject
*(*get_attr
)(); /* Return the current value */
47437 int (*set_attr
)(PyObject
*); /* Set the value */
47438 struct swig_globalvar
*next
;
47441 typedef struct swig_varlinkobject
{
47443 swig_globalvar
*vars
;
47444 } swig_varlinkobject
;
47447 swig_varlink_repr(swig_varlinkobject
*v
) {
47449 return PyString_FromString("<Swig global variables>");
47453 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
47454 swig_globalvar
*var
;
47456 fprintf(fp
,"Swig global variables { ");
47457 for (var
= v
->vars
; var
; var
=var
->next
) {
47458 fprintf(fp
,"%s", var
->name
);
47459 if (var
->next
) fprintf(fp
,", ");
47461 fprintf(fp
," }\n");
47466 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
47467 swig_globalvar
*var
= v
->vars
;
47469 if (strcmp(var
->name
,n
) == 0) {
47470 return (*var
->get_attr
)();
47474 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
47479 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
47480 swig_globalvar
*var
= v
->vars
;
47482 if (strcmp(var
->name
,n
) == 0) {
47483 return (*var
->set_attr
)(p
);
47487 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
47491 static PyTypeObject varlinktype
= {
47492 PyObject_HEAD_INIT(0)
47493 0, /* Number of items in variable part (ob_size) */
47494 (char *)"swigvarlink", /* Type name (tp_name) */
47495 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
47496 0, /* Itemsize (tp_itemsize) */
47497 0, /* Deallocator (tp_dealloc) */
47498 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
47499 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
47500 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
47501 0, /* tp_compare */
47502 (reprfunc
) swig_varlink_repr
, /* tp_repr */
47503 0, /* tp_as_number */
47504 0, /* tp_as_sequence */
47505 0, /* tp_as_mapping */
47509 0, /* tp_getattro */
47510 0, /* tp_setattro */
47511 0, /* tp_as_buffer */
47514 #if PY_VERSION_HEX >= 0x02000000
47515 0, /* tp_traverse */
47518 #if PY_VERSION_HEX >= 0x02010000
47519 0, /* tp_richcompare */
47520 0, /* tp_weaklistoffset */
47522 #if PY_VERSION_HEX >= 0x02020000
47523 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
47525 #if PY_VERSION_HEX >= 0x02030000
47528 #ifdef COUNT_ALLOCS
47529 0,0,0,0 /* tp_alloc -> tp_next */
47533 /* Create a variable linking object for use later */
47535 SWIG_Python_newvarlink(void) {
47536 swig_varlinkobject
*result
= 0;
47537 result
= PyMem_NEW(swig_varlinkobject
,1);
47538 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
47539 result
->ob_type
= &varlinktype
;
47541 result
->ob_refcnt
= 0;
47542 Py_XINCREF((PyObject
*) result
);
47543 return ((PyObject
*) result
);
47547 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
47548 swig_varlinkobject
*v
;
47549 swig_globalvar
*gv
;
47550 v
= (swig_varlinkobject
*) p
;
47551 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
47552 gv
->name
= (char *) malloc(strlen(name
)+1);
47553 strcpy(gv
->name
,name
);
47554 gv
->get_attr
= get_attr
;
47555 gv
->set_attr
= set_attr
;
47556 gv
->next
= v
->vars
;
47560 /* -----------------------------------------------------------------------------
47561 * constants/methods manipulation
47562 * ----------------------------------------------------------------------------- */
47564 /* Install Constants */
47566 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
47569 for (i
= 0; constants
[i
].type
; i
++) {
47570 switch(constants
[i
].type
) {
47572 obj
= PyInt_FromLong(constants
[i
].lvalue
);
47574 case SWIG_PY_FLOAT
:
47575 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
47577 case SWIG_PY_STRING
:
47578 if (constants
[i
].pvalue
) {
47579 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
47581 Py_INCREF(Py_None
);
47585 case SWIG_PY_POINTER
:
47586 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
47588 case SWIG_PY_BINARY
:
47589 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
47596 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
47602 /* -----------------------------------------------------------------------------*/
47603 /* Fix SwigMethods to carry the callback ptrs when needed */
47604 /* -----------------------------------------------------------------------------*/
47607 SWIG_Python_FixMethods(PyMethodDef
*methods
,
47608 swig_const_info
*const_table
,
47609 swig_type_info
**types
,
47610 swig_type_info
**types_initial
) {
47612 for (i
= 0; methods
[i
].ml_name
; ++i
) {
47613 char *c
= methods
[i
].ml_doc
;
47614 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
47616 swig_const_info
*ci
= 0;
47617 char *name
= c
+ 10;
47618 for (j
= 0; const_table
[j
].type
; j
++) {
47619 if (strncmp(const_table
[j
].name
, name
,
47620 strlen(const_table
[j
].name
)) == 0) {
47621 ci
= &(const_table
[j
]);
47626 size_t shift
= (ci
->ptype
) - types
;
47627 swig_type_info
*ty
= types_initial
[shift
];
47628 size_t ldoc
= (c
- methods
[i
].ml_doc
);
47629 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
47630 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
47632 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
47633 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
47635 strncpy(buff
, "swig_ptr: ", 10);
47637 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
47638 methods
[i
].ml_doc
= ndoc
;
47644 /* -----------------------------------------------------------------------------*
47645 * Initialize type list
47646 * -----------------------------------------------------------------------------*/
47648 #if PY_MAJOR_VERSION < 2
47649 /* PyModule_AddObject function was introduced in Python 2.0. The following function
47650 is copied out of Python/modsupport.c in python version 2.3.4 */
47652 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
47655 if (!PyModule_Check(m
)) {
47656 PyErr_SetString(PyExc_TypeError
,
47657 "PyModule_AddObject() needs module as first arg");
47661 PyErr_SetString(PyExc_TypeError
,
47662 "PyModule_AddObject() needs non-NULL value");
47666 dict
= PyModule_GetDict(m
);
47667 if (dict
== NULL
) {
47668 /* Internal error -- modules must have a dict! */
47669 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
47670 PyModule_GetName(m
));
47673 if (PyDict_SetItemString(dict
, name
, o
))
47680 static swig_type_info
**
47681 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
47682 static PyMethodDef swig_empty_runtime_method_table
[] = {
47684 NULL
, NULL
, 0, NULL
47688 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
47689 swig_empty_runtime_method_table
);
47690 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
47691 if (pointer
&& module) {
47692 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
47694 return type_list_handle
;
47697 static swig_type_info
**
47698 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
47699 swig_type_info
**type_pointer
;
47701 /* first check if module already created */
47702 type_pointer
= SWIG_Python_GetTypeListHandle();
47703 if (type_pointer
) {
47704 return type_pointer
;
47706 /* create a new module and variable */
47707 return SWIG_Python_SetTypeListHandle(type_list_handle
);
47715 /* -----------------------------------------------------------------------------*
47716 * Partial Init method
47717 * -----------------------------------------------------------------------------*/
47719 #ifdef SWIG_LINK_RUNTIME
47723 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
47729 SWIGEXPORT(void) SWIG_init(void) {
47730 static PyObject
*SWIG_globals
= 0;
47731 static int typeinit
= 0;
47734 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
47736 /* Fix SwigMethods to carry the callback ptrs when needed */
47737 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
47739 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
47740 d
= PyModule_GetDict(m
);
47743 #ifdef SWIG_LINK_RUNTIME
47744 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
47746 # ifndef SWIG_STATIC_RUNTIME
47747 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
47750 for (i
= 0; swig_types_initial
[i
]; i
++) {
47751 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
47755 SWIG_InstallConstants(d
,swig_const_table
);
47758 #ifndef wxPyUSE_EXPORT
47759 // Make our API structure a CObject so other modules can import it
47760 // from this module.
47761 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
47762 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
47767 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_From_int((int)(wxNOT_FOUND
)));
47770 PyDict_SetItemString(d
,"VSCROLL", SWIG_From_int((int)(wxVSCROLL
)));
47773 PyDict_SetItemString(d
,"HSCROLL", SWIG_From_int((int)(wxHSCROLL
)));
47776 PyDict_SetItemString(d
,"CAPTION", SWIG_From_int((int)(wxCAPTION
)));
47779 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_From_int((int)(wxDOUBLE_BORDER
)));
47782 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_From_int((int)(wxSUNKEN_BORDER
)));
47785 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_From_int((int)(wxRAISED_BORDER
)));
47788 PyDict_SetItemString(d
,"BORDER", SWIG_From_int((int)(wxBORDER
)));
47791 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_From_int((int)(wxSIMPLE_BORDER
)));
47794 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_From_int((int)(wxSTATIC_BORDER
)));
47797 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_From_int((int)(wxTRANSPARENT_WINDOW
)));
47800 PyDict_SetItemString(d
,"NO_BORDER", SWIG_From_int((int)(wxNO_BORDER
)));
47803 PyDict_SetItemString(d
,"DEFAULT_CONTROL_BORDER", SWIG_From_int((int)(wxDEFAULT_CONTROL_BORDER
)));
47806 PyDict_SetItemString(d
,"DEFAULT_STATUSBAR_STYLE", SWIG_From_int((int)(wxDEFAULT_STATUSBAR_STYLE
)));
47809 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_From_int((int)(wxTAB_TRAVERSAL
)));
47812 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_From_int((int)(wxWANTS_CHARS
)));
47815 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_From_int((int)(wxPOPUP_WINDOW
)));
47818 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_From_int((int)(wxCENTER_FRAME
)));
47821 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_From_int((int)(wxCENTRE_ON_SCREEN
)));
47824 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_From_int((int)(wxCENTER_ON_SCREEN
)));
47827 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_From_int((int)(wxCLIP_CHILDREN
)));
47830 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_From_int((int)(wxCLIP_SIBLINGS
)));
47833 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_From_int((int)(wxALWAYS_SHOW_SB
)));
47836 PyDict_SetItemString(d
,"RETAINED", SWIG_From_int((int)(wxRETAINED
)));
47839 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_From_int((int)(wxBACKINGSTORE
)));
47842 PyDict_SetItemString(d
,"COLOURED", SWIG_From_int((int)(wxCOLOURED
)));
47845 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_From_int((int)(wxFIXED_LENGTH
)));
47848 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_From_int((int)(wxLB_NEEDED_SB
)));
47851 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_From_int((int)(wxLB_ALWAYS_SB
)));
47854 PyDict_SetItemString(d
,"LB_SORT", SWIG_From_int((int)(wxLB_SORT
)));
47857 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_From_int((int)(wxLB_SINGLE
)));
47860 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_From_int((int)(wxLB_MULTIPLE
)));
47863 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_From_int((int)(wxLB_EXTENDED
)));
47866 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_From_int((int)(wxLB_OWNERDRAW
)));
47869 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_From_int((int)(wxLB_HSCROLL
)));
47872 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_From_int((int)(wxPROCESS_ENTER
)));
47875 PyDict_SetItemString(d
,"PASSWORD", SWIG_From_int((int)(wxPASSWORD
)));
47878 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_From_int((int)(wxCB_SIMPLE
)));
47881 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_From_int((int)(wxCB_DROPDOWN
)));
47884 PyDict_SetItemString(d
,"CB_SORT", SWIG_From_int((int)(wxCB_SORT
)));
47887 PyDict_SetItemString(d
,"CB_READONLY", SWIG_From_int((int)(wxCB_READONLY
)));
47890 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_From_int((int)(wxRA_HORIZONTAL
)));
47893 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_From_int((int)(wxRA_VERTICAL
)));
47896 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_From_int((int)(wxRA_SPECIFY_ROWS
)));
47899 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_From_int((int)(wxRA_SPECIFY_COLS
)));
47902 PyDict_SetItemString(d
,"RA_USE_CHECKBOX", SWIG_From_int((int)(wxRA_USE_CHECKBOX
)));
47905 PyDict_SetItemString(d
,"RB_GROUP", SWIG_From_int((int)(wxRB_GROUP
)));
47908 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_From_int((int)(wxRB_SINGLE
)));
47911 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_From_int((int)(wxSB_HORIZONTAL
)));
47914 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_From_int((int)(wxSB_VERTICAL
)));
47917 PyDict_SetItemString(d
,"RB_USE_CHECKBOX", SWIG_From_int((int)(wxRB_USE_CHECKBOX
)));
47920 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_From_int((int)(wxST_SIZEGRIP
)));
47923 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_From_int((int)(wxST_NO_AUTORESIZE
)));
47926 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_From_int((int)(wxFLOOD_SURFACE
)));
47929 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_From_int((int)(wxFLOOD_BORDER
)));
47932 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_From_int((int)(wxODDEVEN_RULE
)));
47935 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_From_int((int)(wxWINDING_RULE
)));
47938 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_From_int((int)(wxTOOL_TOP
)));
47941 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_From_int((int)(wxTOOL_BOTTOM
)));
47944 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_From_int((int)(wxTOOL_LEFT
)));
47947 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_From_int((int)(wxTOOL_RIGHT
)));
47950 PyDict_SetItemString(d
,"OK", SWIG_From_int((int)(wxOK
)));
47953 PyDict_SetItemString(d
,"YES_NO", SWIG_From_int((int)(wxYES_NO
)));
47956 PyDict_SetItemString(d
,"CANCEL", SWIG_From_int((int)(wxCANCEL
)));
47959 PyDict_SetItemString(d
,"YES", SWIG_From_int((int)(wxYES
)));
47962 PyDict_SetItemString(d
,"NO", SWIG_From_int((int)(wxNO
)));
47965 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_From_int((int)(wxNO_DEFAULT
)));
47968 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_From_int((int)(wxYES_DEFAULT
)));
47971 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_From_int((int)(wxICON_EXCLAMATION
)));
47974 PyDict_SetItemString(d
,"ICON_HAND", SWIG_From_int((int)(wxICON_HAND
)));
47977 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_From_int((int)(wxICON_QUESTION
)));
47980 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_From_int((int)(wxICON_INFORMATION
)));
47983 PyDict_SetItemString(d
,"ICON_STOP", SWIG_From_int((int)(wxICON_STOP
)));
47986 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_From_int((int)(wxICON_ASTERISK
)));
47989 PyDict_SetItemString(d
,"ICON_MASK", SWIG_From_int((int)(wxICON_MASK
)));
47992 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_From_int((int)(wxICON_WARNING
)));
47995 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_From_int((int)(wxICON_ERROR
)));
47998 PyDict_SetItemString(d
,"FORWARD", SWIG_From_int((int)(wxFORWARD
)));
48001 PyDict_SetItemString(d
,"BACKWARD", SWIG_From_int((int)(wxBACKWARD
)));
48004 PyDict_SetItemString(d
,"RESET", SWIG_From_int((int)(wxRESET
)));
48007 PyDict_SetItemString(d
,"HELP", SWIG_From_int((int)(wxHELP
)));
48010 PyDict_SetItemString(d
,"MORE", SWIG_From_int((int)(wxMORE
)));
48013 PyDict_SetItemString(d
,"SETUP", SWIG_From_int((int)(wxSETUP
)));
48016 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_From_int((int)(wxSIZE_AUTO_WIDTH
)));
48019 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)(wxSIZE_AUTO_HEIGHT
)));
48022 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_From_int((int)(wxSIZE_AUTO
)));
48025 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_From_int((int)(wxSIZE_USE_EXISTING
)));
48028 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)(wxSIZE_ALLOW_MINUS_ONE
)));
48031 PyDict_SetItemString(d
,"PORTRAIT", SWIG_From_int((int)(wxPORTRAIT
)));
48034 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_From_int((int)(wxLANDSCAPE
)));
48037 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_From_int((int)(wxPRINT_QUALITY_HIGH
)));
48040 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)(wxPRINT_QUALITY_MEDIUM
)));
48043 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_From_int((int)(wxPRINT_QUALITY_LOW
)));
48046 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)(wxPRINT_QUALITY_DRAFT
)));
48049 PyDict_SetItemString(d
,"ID_ANY", SWIG_From_int((int)(wxID_ANY
)));
48052 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_From_int((int)(wxID_SEPARATOR
)));
48055 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_From_int((int)(wxID_LOWEST
)));
48058 PyDict_SetItemString(d
,"ID_OPEN", SWIG_From_int((int)(wxID_OPEN
)));
48061 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_From_int((int)(wxID_CLOSE
)));
48064 PyDict_SetItemString(d
,"ID_NEW", SWIG_From_int((int)(wxID_NEW
)));
48067 PyDict_SetItemString(d
,"ID_SAVE", SWIG_From_int((int)(wxID_SAVE
)));
48070 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_From_int((int)(wxID_SAVEAS
)));
48073 PyDict_SetItemString(d
,"ID_REVERT", SWIG_From_int((int)(wxID_REVERT
)));
48076 PyDict_SetItemString(d
,"ID_EXIT", SWIG_From_int((int)(wxID_EXIT
)));
48079 PyDict_SetItemString(d
,"ID_UNDO", SWIG_From_int((int)(wxID_UNDO
)));
48082 PyDict_SetItemString(d
,"ID_REDO", SWIG_From_int((int)(wxID_REDO
)));
48085 PyDict_SetItemString(d
,"ID_HELP", SWIG_From_int((int)(wxID_HELP
)));
48088 PyDict_SetItemString(d
,"ID_PRINT", SWIG_From_int((int)(wxID_PRINT
)));
48091 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_From_int((int)(wxID_PRINT_SETUP
)));
48094 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_From_int((int)(wxID_PREVIEW
)));
48097 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_From_int((int)(wxID_ABOUT
)));
48100 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_From_int((int)(wxID_HELP_CONTENTS
)));
48103 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_From_int((int)(wxID_HELP_COMMANDS
)));
48106 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_From_int((int)(wxID_HELP_PROCEDURES
)));
48109 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_From_int((int)(wxID_HELP_CONTEXT
)));
48112 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_From_int((int)(wxID_CLOSE_ALL
)));
48115 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_From_int((int)(wxID_PREFERENCES
)));
48118 PyDict_SetItemString(d
,"ID_CUT", SWIG_From_int((int)(wxID_CUT
)));
48121 PyDict_SetItemString(d
,"ID_COPY", SWIG_From_int((int)(wxID_COPY
)));
48124 PyDict_SetItemString(d
,"ID_PASTE", SWIG_From_int((int)(wxID_PASTE
)));
48127 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_From_int((int)(wxID_CLEAR
)));
48130 PyDict_SetItemString(d
,"ID_FIND", SWIG_From_int((int)(wxID_FIND
)));
48133 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_From_int((int)(wxID_DUPLICATE
)));
48136 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_From_int((int)(wxID_SELECTALL
)));
48139 PyDict_SetItemString(d
,"ID_DELETE", SWIG_From_int((int)(wxID_DELETE
)));
48142 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_From_int((int)(wxID_REPLACE
)));
48145 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_From_int((int)(wxID_REPLACE_ALL
)));
48148 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_From_int((int)(wxID_PROPERTIES
)));
48151 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_From_int((int)(wxID_VIEW_DETAILS
)));
48154 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_From_int((int)(wxID_VIEW_LARGEICONS
)));
48157 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_From_int((int)(wxID_VIEW_SMALLICONS
)));
48160 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_From_int((int)(wxID_VIEW_LIST
)));
48163 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_From_int((int)(wxID_VIEW_SORTDATE
)));
48166 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_From_int((int)(wxID_VIEW_SORTNAME
)));
48169 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_From_int((int)(wxID_VIEW_SORTSIZE
)));
48172 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_From_int((int)(wxID_VIEW_SORTTYPE
)));
48175 PyDict_SetItemString(d
,"ID_FILE1", SWIG_From_int((int)(wxID_FILE1
)));
48178 PyDict_SetItemString(d
,"ID_FILE2", SWIG_From_int((int)(wxID_FILE2
)));
48181 PyDict_SetItemString(d
,"ID_FILE3", SWIG_From_int((int)(wxID_FILE3
)));
48184 PyDict_SetItemString(d
,"ID_FILE4", SWIG_From_int((int)(wxID_FILE4
)));
48187 PyDict_SetItemString(d
,"ID_FILE5", SWIG_From_int((int)(wxID_FILE5
)));
48190 PyDict_SetItemString(d
,"ID_FILE6", SWIG_From_int((int)(wxID_FILE6
)));
48193 PyDict_SetItemString(d
,"ID_FILE7", SWIG_From_int((int)(wxID_FILE7
)));
48196 PyDict_SetItemString(d
,"ID_FILE8", SWIG_From_int((int)(wxID_FILE8
)));
48199 PyDict_SetItemString(d
,"ID_FILE9", SWIG_From_int((int)(wxID_FILE9
)));
48202 PyDict_SetItemString(d
,"ID_OK", SWIG_From_int((int)(wxID_OK
)));
48205 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_From_int((int)(wxID_CANCEL
)));
48208 PyDict_SetItemString(d
,"ID_APPLY", SWIG_From_int((int)(wxID_APPLY
)));
48211 PyDict_SetItemString(d
,"ID_YES", SWIG_From_int((int)(wxID_YES
)));
48214 PyDict_SetItemString(d
,"ID_NO", SWIG_From_int((int)(wxID_NO
)));
48217 PyDict_SetItemString(d
,"ID_STATIC", SWIG_From_int((int)(wxID_STATIC
)));
48220 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_From_int((int)(wxID_FORWARD
)));
48223 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_From_int((int)(wxID_BACKWARD
)));
48226 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_From_int((int)(wxID_DEFAULT
)));
48229 PyDict_SetItemString(d
,"ID_MORE", SWIG_From_int((int)(wxID_MORE
)));
48232 PyDict_SetItemString(d
,"ID_SETUP", SWIG_From_int((int)(wxID_SETUP
)));
48235 PyDict_SetItemString(d
,"ID_RESET", SWIG_From_int((int)(wxID_RESET
)));
48238 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_From_int((int)(wxID_CONTEXT_HELP
)));
48241 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_From_int((int)(wxID_YESTOALL
)));
48244 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_From_int((int)(wxID_NOTOALL
)));
48247 PyDict_SetItemString(d
,"ID_ABORT", SWIG_From_int((int)(wxID_ABORT
)));
48250 PyDict_SetItemString(d
,"ID_RETRY", SWIG_From_int((int)(wxID_RETRY
)));
48253 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_From_int((int)(wxID_IGNORE
)));
48256 PyDict_SetItemString(d
,"ID_ADD", SWIG_From_int((int)(wxID_ADD
)));
48259 PyDict_SetItemString(d
,"ID_REMOVE", SWIG_From_int((int)(wxID_REMOVE
)));
48262 PyDict_SetItemString(d
,"ID_UP", SWIG_From_int((int)(wxID_UP
)));
48265 PyDict_SetItemString(d
,"ID_DOWN", SWIG_From_int((int)(wxID_DOWN
)));
48268 PyDict_SetItemString(d
,"ID_HOME", SWIG_From_int((int)(wxID_HOME
)));
48271 PyDict_SetItemString(d
,"ID_REFRESH", SWIG_From_int((int)(wxID_REFRESH
)));
48274 PyDict_SetItemString(d
,"ID_STOP", SWIG_From_int((int)(wxID_STOP
)));
48277 PyDict_SetItemString(d
,"ID_INDEX", SWIG_From_int((int)(wxID_INDEX
)));
48280 PyDict_SetItemString(d
,"ID_BOLD", SWIG_From_int((int)(wxID_BOLD
)));
48283 PyDict_SetItemString(d
,"ID_ITALIC", SWIG_From_int((int)(wxID_ITALIC
)));
48286 PyDict_SetItemString(d
,"ID_JUSTIFY_CENTER", SWIG_From_int((int)(wxID_JUSTIFY_CENTER
)));
48289 PyDict_SetItemString(d
,"ID_JUSTIFY_FILL", SWIG_From_int((int)(wxID_JUSTIFY_FILL
)));
48292 PyDict_SetItemString(d
,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)(wxID_JUSTIFY_RIGHT
)));
48295 PyDict_SetItemString(d
,"ID_JUSTIFY_LEFT", SWIG_From_int((int)(wxID_JUSTIFY_LEFT
)));
48298 PyDict_SetItemString(d
,"ID_UNDERLINE", SWIG_From_int((int)(wxID_UNDERLINE
)));
48301 PyDict_SetItemString(d
,"ID_INDENT", SWIG_From_int((int)(wxID_INDENT
)));
48304 PyDict_SetItemString(d
,"ID_UNINDENT", SWIG_From_int((int)(wxID_UNINDENT
)));
48307 PyDict_SetItemString(d
,"ID_ZOOM_100", SWIG_From_int((int)(wxID_ZOOM_100
)));
48310 PyDict_SetItemString(d
,"ID_ZOOM_FIT", SWIG_From_int((int)(wxID_ZOOM_FIT
)));
48313 PyDict_SetItemString(d
,"ID_ZOOM_IN", SWIG_From_int((int)(wxID_ZOOM_IN
)));
48316 PyDict_SetItemString(d
,"ID_ZOOM_OUT", SWIG_From_int((int)(wxID_ZOOM_OUT
)));
48319 PyDict_SetItemString(d
,"ID_UNDELETE", SWIG_From_int((int)(wxID_UNDELETE
)));
48322 PyDict_SetItemString(d
,"ID_REVERT_TO_SAVED", SWIG_From_int((int)(wxID_REVERT_TO_SAVED
)));
48325 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_From_int((int)(wxID_HIGHEST
)));
48328 PyDict_SetItemString(d
,"OPEN", SWIG_From_int((int)(wxOPEN
)));
48331 PyDict_SetItemString(d
,"SAVE", SWIG_From_int((int)(wxSAVE
)));
48334 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_From_int((int)(wxHIDE_READONLY
)));
48337 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_From_int((int)(wxOVERWRITE_PROMPT
)));
48340 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_From_int((int)(wxFILE_MUST_EXIST
)));
48343 PyDict_SetItemString(d
,"MULTIPLE", SWIG_From_int((int)(wxMULTIPLE
)));
48346 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_From_int((int)(wxCHANGE_DIR
)));
48349 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_From_int((int)(wxACCEL_ALT
)));
48352 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_From_int((int)(wxACCEL_CTRL
)));
48355 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_From_int((int)(wxACCEL_SHIFT
)));
48358 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_From_int((int)(wxACCEL_NORMAL
)));
48361 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_From_int((int)(wxPD_AUTO_HIDE
)));
48364 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_From_int((int)(wxPD_APP_MODAL
)));
48367 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_From_int((int)(wxPD_CAN_ABORT
)));
48370 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_From_int((int)(wxPD_ELAPSED_TIME
)));
48373 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_From_int((int)(wxPD_ESTIMATED_TIME
)));
48376 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_From_int((int)(wxPD_REMAINING_TIME
)));
48379 PyDict_SetItemString(d
,"PD_SMOOTH", SWIG_From_int((int)(wxPD_SMOOTH
)));
48382 PyDict_SetItemString(d
,"PD_CAN_SKIP", SWIG_From_int((int)(wxPD_CAN_SKIP
)));
48385 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)(wxDD_NEW_DIR_BUTTON
)));
48388 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_From_int((int)(wxDD_DEFAULT_STYLE
)));
48391 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_From_int((int)(wxMENU_TEAROFF
)));
48394 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_From_int((int)(wxMB_DOCKABLE
)));
48397 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxNO_FULL_REPAINT_ON_RESIZE
)));
48400 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxFULL_REPAINT_ON_RESIZE
)));
48403 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_From_int((int)(wxLI_HORIZONTAL
)));
48406 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_From_int((int)(wxLI_VERTICAL
)));
48409 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)(wxWS_EX_VALIDATE_RECURSIVELY
)));
48412 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)(wxWS_EX_BLOCK_EVENTS
)));
48415 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_From_int((int)(wxWS_EX_TRANSIENT
)));
48418 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)(wxWS_EX_THEMED_BACKGROUND
)));
48421 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)(wxWS_EX_PROCESS_IDLE
)));
48424 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)(wxWS_EX_PROCESS_UI_UPDATES
)));
48427 PyDict_SetItemString(d
,"MM_TEXT", SWIG_From_int((int)(wxMM_TEXT
)));
48430 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_From_int((int)(wxMM_LOMETRIC
)));
48433 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_From_int((int)(wxMM_HIMETRIC
)));
48436 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_From_int((int)(wxMM_LOENGLISH
)));
48439 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_From_int((int)(wxMM_HIENGLISH
)));
48442 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_From_int((int)(wxMM_TWIPS
)));
48445 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_From_int((int)(wxMM_ISOTROPIC
)));
48448 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_From_int((int)(wxMM_ANISOTROPIC
)));
48451 PyDict_SetItemString(d
,"MM_POINTS", SWIG_From_int((int)(wxMM_POINTS
)));
48454 PyDict_SetItemString(d
,"MM_METRIC", SWIG_From_int((int)(wxMM_METRIC
)));
48457 PyDict_SetItemString(d
,"CENTRE", SWIG_From_int((int)(wxCENTRE
)));
48460 PyDict_SetItemString(d
,"CENTER", SWIG_From_int((int)(wxCENTER
)));
48463 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_From_int((int)(wxHORIZONTAL
)));
48466 PyDict_SetItemString(d
,"VERTICAL", SWIG_From_int((int)(wxVERTICAL
)));
48469 PyDict_SetItemString(d
,"BOTH", SWIG_From_int((int)(wxBOTH
)));
48472 PyDict_SetItemString(d
,"LEFT", SWIG_From_int((int)(wxLEFT
)));
48475 PyDict_SetItemString(d
,"RIGHT", SWIG_From_int((int)(wxRIGHT
)));
48478 PyDict_SetItemString(d
,"UP", SWIG_From_int((int)(wxUP
)));
48481 PyDict_SetItemString(d
,"DOWN", SWIG_From_int((int)(wxDOWN
)));
48484 PyDict_SetItemString(d
,"TOP", SWIG_From_int((int)(wxTOP
)));
48487 PyDict_SetItemString(d
,"BOTTOM", SWIG_From_int((int)(wxBOTTOM
)));
48490 PyDict_SetItemString(d
,"NORTH", SWIG_From_int((int)(wxNORTH
)));
48493 PyDict_SetItemString(d
,"SOUTH", SWIG_From_int((int)(wxSOUTH
)));
48496 PyDict_SetItemString(d
,"WEST", SWIG_From_int((int)(wxWEST
)));
48499 PyDict_SetItemString(d
,"EAST", SWIG_From_int((int)(wxEAST
)));
48502 PyDict_SetItemString(d
,"ALL", SWIG_From_int((int)(wxALL
)));
48505 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_From_int((int)(wxALIGN_NOT
)));
48508 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTER_HORIZONTAL
)));
48511 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTRE_HORIZONTAL
)));
48514 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_From_int((int)(wxALIGN_LEFT
)));
48517 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_From_int((int)(wxALIGN_TOP
)));
48520 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_From_int((int)(wxALIGN_RIGHT
)));
48523 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_From_int((int)(wxALIGN_BOTTOM
)));
48526 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTER_VERTICAL
)));
48529 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTRE_VERTICAL
)));
48532 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_From_int((int)(wxALIGN_CENTER
)));
48535 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_From_int((int)(wxALIGN_CENTRE
)));
48538 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_From_int((int)(wxALIGN_MASK
)));
48541 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_From_int((int)(wxSTRETCH_NOT
)));
48544 PyDict_SetItemString(d
,"SHRINK", SWIG_From_int((int)(wxSHRINK
)));
48547 PyDict_SetItemString(d
,"GROW", SWIG_From_int((int)(wxGROW
)));
48550 PyDict_SetItemString(d
,"EXPAND", SWIG_From_int((int)(wxEXPAND
)));
48553 PyDict_SetItemString(d
,"SHAPED", SWIG_From_int((int)(wxSHAPED
)));
48556 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_From_int((int)(wxFIXED_MINSIZE
)));
48559 PyDict_SetItemString(d
,"TILE", SWIG_From_int((int)(wxTILE
)));
48562 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_From_int((int)(wxADJUST_MINSIZE
)));
48565 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_From_int((int)(wxBORDER_DEFAULT
)));
48568 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_From_int((int)(wxBORDER_NONE
)));
48571 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_From_int((int)(wxBORDER_STATIC
)));
48574 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_From_int((int)(wxBORDER_SIMPLE
)));
48577 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_From_int((int)(wxBORDER_RAISED
)));
48580 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_From_int((int)(wxBORDER_SUNKEN
)));
48583 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_From_int((int)(wxBORDER_DOUBLE
)));
48586 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_From_int((int)(wxBORDER_MASK
)));
48589 PyDict_SetItemString(d
,"BG_STYLE_SYSTEM", SWIG_From_int((int)(wxBG_STYLE_SYSTEM
)));
48592 PyDict_SetItemString(d
,"BG_STYLE_COLOUR", SWIG_From_int((int)(wxBG_STYLE_COLOUR
)));
48595 PyDict_SetItemString(d
,"BG_STYLE_CUSTOM", SWIG_From_int((int)(wxBG_STYLE_CUSTOM
)));
48598 PyDict_SetItemString(d
,"DEFAULT", SWIG_From_int((int)(wxDEFAULT
)));
48601 PyDict_SetItemString(d
,"DECORATIVE", SWIG_From_int((int)(wxDECORATIVE
)));
48604 PyDict_SetItemString(d
,"ROMAN", SWIG_From_int((int)(wxROMAN
)));
48607 PyDict_SetItemString(d
,"SCRIPT", SWIG_From_int((int)(wxSCRIPT
)));
48610 PyDict_SetItemString(d
,"SWISS", SWIG_From_int((int)(wxSWISS
)));
48613 PyDict_SetItemString(d
,"MODERN", SWIG_From_int((int)(wxMODERN
)));
48616 PyDict_SetItemString(d
,"TELETYPE", SWIG_From_int((int)(wxTELETYPE
)));
48619 PyDict_SetItemString(d
,"VARIABLE", SWIG_From_int((int)(wxVARIABLE
)));
48622 PyDict_SetItemString(d
,"FIXED", SWIG_From_int((int)(wxFIXED
)));
48625 PyDict_SetItemString(d
,"NORMAL", SWIG_From_int((int)(wxNORMAL
)));
48628 PyDict_SetItemString(d
,"LIGHT", SWIG_From_int((int)(wxLIGHT
)));
48631 PyDict_SetItemString(d
,"BOLD", SWIG_From_int((int)(wxBOLD
)));
48634 PyDict_SetItemString(d
,"ITALIC", SWIG_From_int((int)(wxITALIC
)));
48637 PyDict_SetItemString(d
,"SLANT", SWIG_From_int((int)(wxSLANT
)));
48640 PyDict_SetItemString(d
,"SOLID", SWIG_From_int((int)(wxSOLID
)));
48643 PyDict_SetItemString(d
,"DOT", SWIG_From_int((int)(wxDOT
)));
48646 PyDict_SetItemString(d
,"LONG_DASH", SWIG_From_int((int)(wxLONG_DASH
)));
48649 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_From_int((int)(wxSHORT_DASH
)));
48652 PyDict_SetItemString(d
,"DOT_DASH", SWIG_From_int((int)(wxDOT_DASH
)));
48655 PyDict_SetItemString(d
,"USER_DASH", SWIG_From_int((int)(wxUSER_DASH
)));
48658 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_From_int((int)(wxTRANSPARENT
)));
48661 PyDict_SetItemString(d
,"STIPPLE", SWIG_From_int((int)(wxSTIPPLE
)));
48664 PyDict_SetItemString(d
,"STIPPLE_MASK", SWIG_From_int((int)(wxSTIPPLE_MASK
)));
48667 PyDict_SetItemString(d
,"STIPPLE_MASK_OPAQUE", SWIG_From_int((int)(wxSTIPPLE_MASK_OPAQUE
)));
48670 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_From_int((int)(wxBDIAGONAL_HATCH
)));
48673 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_From_int((int)(wxCROSSDIAG_HATCH
)));
48676 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_From_int((int)(wxFDIAGONAL_HATCH
)));
48679 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_From_int((int)(wxCROSS_HATCH
)));
48682 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_From_int((int)(wxHORIZONTAL_HATCH
)));
48685 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_From_int((int)(wxVERTICAL_HATCH
)));
48688 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_From_int((int)(wxJOIN_BEVEL
)));
48691 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_From_int((int)(wxJOIN_MITER
)));
48694 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_From_int((int)(wxJOIN_ROUND
)));
48697 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_From_int((int)(wxCAP_ROUND
)));
48700 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_From_int((int)(wxCAP_PROJECTING
)));
48703 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_From_int((int)(wxCAP_BUTT
)));
48706 PyDict_SetItemString(d
,"CLEAR", SWIG_From_int((int)(wxCLEAR
)));
48709 PyDict_SetItemString(d
,"XOR", SWIG_From_int((int)(wxXOR
)));
48712 PyDict_SetItemString(d
,"INVERT", SWIG_From_int((int)(wxINVERT
)));
48715 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_From_int((int)(wxOR_REVERSE
)));
48718 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_From_int((int)(wxAND_REVERSE
)));
48721 PyDict_SetItemString(d
,"COPY", SWIG_From_int((int)(wxCOPY
)));
48724 PyDict_SetItemString(d
,"AND", SWIG_From_int((int)(wxAND
)));
48727 PyDict_SetItemString(d
,"AND_INVERT", SWIG_From_int((int)(wxAND_INVERT
)));
48730 PyDict_SetItemString(d
,"NO_OP", SWIG_From_int((int)(wxNO_OP
)));
48733 PyDict_SetItemString(d
,"NOR", SWIG_From_int((int)(wxNOR
)));
48736 PyDict_SetItemString(d
,"EQUIV", SWIG_From_int((int)(wxEQUIV
)));
48739 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_From_int((int)(wxSRC_INVERT
)));
48742 PyDict_SetItemString(d
,"OR_INVERT", SWIG_From_int((int)(wxOR_INVERT
)));
48745 PyDict_SetItemString(d
,"NAND", SWIG_From_int((int)(wxNAND
)));
48748 PyDict_SetItemString(d
,"OR", SWIG_From_int((int)(wxOR
)));
48751 PyDict_SetItemString(d
,"SET", SWIG_From_int((int)(wxSET
)));
48754 PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)(WXK_BACK
)));
48757 PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)(WXK_TAB
)));
48760 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)(WXK_RETURN
)));
48763 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)(WXK_ESCAPE
)));
48766 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)(WXK_SPACE
)));
48769 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)(WXK_DELETE
)));
48772 PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)(WXK_START
)));
48775 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)(WXK_LBUTTON
)));
48778 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)(WXK_RBUTTON
)));
48781 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)(WXK_CANCEL
)));
48784 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)(WXK_MBUTTON
)));
48787 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)(WXK_CLEAR
)));
48790 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)(WXK_SHIFT
)));
48793 PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)(WXK_ALT
)));
48796 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)(WXK_CONTROL
)));
48799 PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)(WXK_MENU
)));
48802 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)(WXK_PAUSE
)));
48805 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)(WXK_CAPITAL
)));
48808 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)(WXK_PRIOR
)));
48811 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)(WXK_NEXT
)));
48814 PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)(WXK_END
)));
48817 PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)(WXK_HOME
)));
48820 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)(WXK_LEFT
)));
48823 PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)(WXK_UP
)));
48826 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)(WXK_RIGHT
)));
48829 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)(WXK_DOWN
)));
48832 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)(WXK_SELECT
)));
48835 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)(WXK_PRINT
)));
48838 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)(WXK_EXECUTE
)));
48841 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)(WXK_SNAPSHOT
)));
48844 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)(WXK_INSERT
)));
48847 PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)(WXK_HELP
)));
48850 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)(WXK_NUMPAD0
)));
48853 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)(WXK_NUMPAD1
)));
48856 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)(WXK_NUMPAD2
)));
48859 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)(WXK_NUMPAD3
)));
48862 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)(WXK_NUMPAD4
)));
48865 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)(WXK_NUMPAD5
)));
48868 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)(WXK_NUMPAD6
)));
48871 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)(WXK_NUMPAD7
)));
48874 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)(WXK_NUMPAD8
)));
48877 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)(WXK_NUMPAD9
)));
48880 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)(WXK_MULTIPLY
)));
48883 PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)(WXK_ADD
)));
48886 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)(WXK_SEPARATOR
)));
48889 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)(WXK_SUBTRACT
)));
48892 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)(WXK_DECIMAL
)));
48895 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)(WXK_DIVIDE
)));
48898 PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)(WXK_F1
)));
48901 PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)(WXK_F2
)));
48904 PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)(WXK_F3
)));
48907 PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)(WXK_F4
)));
48910 PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)(WXK_F5
)));
48913 PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)(WXK_F6
)));
48916 PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)(WXK_F7
)));
48919 PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)(WXK_F8
)));
48922 PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)(WXK_F9
)));
48925 PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)(WXK_F10
)));
48928 PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)(WXK_F11
)));
48931 PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)(WXK_F12
)));
48934 PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)(WXK_F13
)));
48937 PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)(WXK_F14
)));
48940 PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)(WXK_F15
)));
48943 PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)(WXK_F16
)));
48946 PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)(WXK_F17
)));
48949 PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)(WXK_F18
)));
48952 PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)(WXK_F19
)));
48955 PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)(WXK_F20
)));
48958 PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)(WXK_F21
)));
48961 PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)(WXK_F22
)));
48964 PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)(WXK_F23
)));
48967 PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)(WXK_F24
)));
48970 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)(WXK_NUMLOCK
)));
48973 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)(WXK_SCROLL
)));
48976 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)(WXK_PAGEUP
)));
48979 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)(WXK_PAGEDOWN
)));
48982 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)(WXK_NUMPAD_SPACE
)));
48985 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)(WXK_NUMPAD_TAB
)));
48988 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)(WXK_NUMPAD_ENTER
)));
48991 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)(WXK_NUMPAD_F1
)));
48994 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)(WXK_NUMPAD_F2
)));
48997 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)(WXK_NUMPAD_F3
)));
49000 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)(WXK_NUMPAD_F4
)));
49003 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)(WXK_NUMPAD_HOME
)));
49006 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)(WXK_NUMPAD_LEFT
)));
49009 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)(WXK_NUMPAD_UP
)));
49012 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)(WXK_NUMPAD_RIGHT
)));
49015 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)(WXK_NUMPAD_DOWN
)));
49018 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)(WXK_NUMPAD_PRIOR
)));
49021 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)(WXK_NUMPAD_PAGEUP
)));
49024 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)(WXK_NUMPAD_NEXT
)));
49027 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)(WXK_NUMPAD_PAGEDOWN
)));
49030 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)(WXK_NUMPAD_END
)));
49033 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)(WXK_NUMPAD_BEGIN
)));
49036 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)(WXK_NUMPAD_INSERT
)));
49039 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)(WXK_NUMPAD_DELETE
)));
49042 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)(WXK_NUMPAD_EQUAL
)));
49045 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)(WXK_NUMPAD_MULTIPLY
)));
49048 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)(WXK_NUMPAD_ADD
)));
49051 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)(WXK_NUMPAD_SEPARATOR
)));
49054 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)(WXK_NUMPAD_SUBTRACT
)));
49057 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)(WXK_NUMPAD_DECIMAL
)));
49060 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)(WXK_NUMPAD_DIVIDE
)));
49063 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)(WXK_WINDOWS_LEFT
)));
49066 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)(WXK_WINDOWS_RIGHT
)));
49069 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)(WXK_WINDOWS_MENU
)));
49072 PyDict_SetItemString(d
,"WXK_COMMAND", SWIG_From_int((int)(WXK_COMMAND
)));
49075 PyDict_SetItemString(d
,"WXK_SPECIAL1", SWIG_From_int((int)(WXK_SPECIAL1
)));
49078 PyDict_SetItemString(d
,"WXK_SPECIAL2", SWIG_From_int((int)(WXK_SPECIAL2
)));
49081 PyDict_SetItemString(d
,"WXK_SPECIAL3", SWIG_From_int((int)(WXK_SPECIAL3
)));
49084 PyDict_SetItemString(d
,"WXK_SPECIAL4", SWIG_From_int((int)(WXK_SPECIAL4
)));
49087 PyDict_SetItemString(d
,"WXK_SPECIAL5", SWIG_From_int((int)(WXK_SPECIAL5
)));
49090 PyDict_SetItemString(d
,"WXK_SPECIAL6", SWIG_From_int((int)(WXK_SPECIAL6
)));
49093 PyDict_SetItemString(d
,"WXK_SPECIAL7", SWIG_From_int((int)(WXK_SPECIAL7
)));
49096 PyDict_SetItemString(d
,"WXK_SPECIAL8", SWIG_From_int((int)(WXK_SPECIAL8
)));
49099 PyDict_SetItemString(d
,"WXK_SPECIAL9", SWIG_From_int((int)(WXK_SPECIAL9
)));
49102 PyDict_SetItemString(d
,"WXK_SPECIAL10", SWIG_From_int((int)(WXK_SPECIAL10
)));
49105 PyDict_SetItemString(d
,"WXK_SPECIAL11", SWIG_From_int((int)(WXK_SPECIAL11
)));
49108 PyDict_SetItemString(d
,"WXK_SPECIAL12", SWIG_From_int((int)(WXK_SPECIAL12
)));
49111 PyDict_SetItemString(d
,"WXK_SPECIAL13", SWIG_From_int((int)(WXK_SPECIAL13
)));
49114 PyDict_SetItemString(d
,"WXK_SPECIAL14", SWIG_From_int((int)(WXK_SPECIAL14
)));
49117 PyDict_SetItemString(d
,"WXK_SPECIAL15", SWIG_From_int((int)(WXK_SPECIAL15
)));
49120 PyDict_SetItemString(d
,"WXK_SPECIAL16", SWIG_From_int((int)(WXK_SPECIAL16
)));
49123 PyDict_SetItemString(d
,"WXK_SPECIAL17", SWIG_From_int((int)(WXK_SPECIAL17
)));
49126 PyDict_SetItemString(d
,"WXK_SPECIAL18", SWIG_From_int((int)(WXK_SPECIAL18
)));
49129 PyDict_SetItemString(d
,"WXK_SPECIAL19", SWIG_From_int((int)(WXK_SPECIAL19
)));
49132 PyDict_SetItemString(d
,"WXK_SPECIAL20", SWIG_From_int((int)(WXK_SPECIAL20
)));
49135 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_From_int((int)(wxPAPER_NONE
)));
49138 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_From_int((int)(wxPAPER_LETTER
)));
49141 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_From_int((int)(wxPAPER_LEGAL
)));
49144 PyDict_SetItemString(d
,"PAPER_A4", SWIG_From_int((int)(wxPAPER_A4
)));
49147 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_From_int((int)(wxPAPER_CSHEET
)));
49150 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_From_int((int)(wxPAPER_DSHEET
)));
49153 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_From_int((int)(wxPAPER_ESHEET
)));
49156 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_From_int((int)(wxPAPER_LETTERSMALL
)));
49159 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_From_int((int)(wxPAPER_TABLOID
)));
49162 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_From_int((int)(wxPAPER_LEDGER
)));
49165 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_From_int((int)(wxPAPER_STATEMENT
)));
49168 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_From_int((int)(wxPAPER_EXECUTIVE
)));
49171 PyDict_SetItemString(d
,"PAPER_A3", SWIG_From_int((int)(wxPAPER_A3
)));
49174 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_From_int((int)(wxPAPER_A4SMALL
)));
49177 PyDict_SetItemString(d
,"PAPER_A5", SWIG_From_int((int)(wxPAPER_A5
)));
49180 PyDict_SetItemString(d
,"PAPER_B4", SWIG_From_int((int)(wxPAPER_B4
)));
49183 PyDict_SetItemString(d
,"PAPER_B5", SWIG_From_int((int)(wxPAPER_B5
)));
49186 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_From_int((int)(wxPAPER_FOLIO
)));
49189 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_From_int((int)(wxPAPER_QUARTO
)));
49192 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_From_int((int)(wxPAPER_10X14
)));
49195 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_From_int((int)(wxPAPER_11X17
)));
49198 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_From_int((int)(wxPAPER_NOTE
)));
49201 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_From_int((int)(wxPAPER_ENV_9
)));
49204 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_From_int((int)(wxPAPER_ENV_10
)));
49207 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_From_int((int)(wxPAPER_ENV_11
)));
49210 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_From_int((int)(wxPAPER_ENV_12
)));
49213 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_From_int((int)(wxPAPER_ENV_14
)));
49216 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_From_int((int)(wxPAPER_ENV_DL
)));
49219 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_From_int((int)(wxPAPER_ENV_C5
)));
49222 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_From_int((int)(wxPAPER_ENV_C3
)));
49225 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_From_int((int)(wxPAPER_ENV_C4
)));
49228 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_From_int((int)(wxPAPER_ENV_C6
)));
49231 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_From_int((int)(wxPAPER_ENV_C65
)));
49234 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_From_int((int)(wxPAPER_ENV_B4
)));
49237 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_From_int((int)(wxPAPER_ENV_B5
)));
49240 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_From_int((int)(wxPAPER_ENV_B6
)));
49243 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_From_int((int)(wxPAPER_ENV_ITALY
)));
49246 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_From_int((int)(wxPAPER_ENV_MONARCH
)));
49249 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_From_int((int)(wxPAPER_ENV_PERSONAL
)));
49252 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_From_int((int)(wxPAPER_FANFOLD_US
)));
49255 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_STD_GERMAN
)));
49258 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_LGL_GERMAN
)));
49261 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_From_int((int)(wxPAPER_ISO_B4
)));
49264 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)(wxPAPER_JAPANESE_POSTCARD
)));
49267 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_From_int((int)(wxPAPER_9X11
)));
49270 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_From_int((int)(wxPAPER_10X11
)));
49273 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_From_int((int)(wxPAPER_15X11
)));
49276 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_From_int((int)(wxPAPER_ENV_INVITE
)));
49279 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA
)));
49282 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)(wxPAPER_LEGAL_EXTRA
)));
49285 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)(wxPAPER_TABLOID_EXTRA
)));
49288 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_From_int((int)(wxPAPER_A4_EXTRA
)));
49291 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_TRANSVERSE
)));
49294 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A4_TRANSVERSE
)));
49297 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA_TRANSVERSE
)));
49300 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_From_int((int)(wxPAPER_A_PLUS
)));
49303 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_From_int((int)(wxPAPER_B_PLUS
)));
49306 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_From_int((int)(wxPAPER_LETTER_PLUS
)));
49309 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_From_int((int)(wxPAPER_A4_PLUS
)));
49312 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A5_TRANSVERSE
)));
49315 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_B5_TRANSVERSE
)));
49318 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_From_int((int)(wxPAPER_A3_EXTRA
)));
49321 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_From_int((int)(wxPAPER_A5_EXTRA
)));
49324 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_From_int((int)(wxPAPER_B5_EXTRA
)));
49327 PyDict_SetItemString(d
,"PAPER_A2", SWIG_From_int((int)(wxPAPER_A2
)));
49330 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_TRANSVERSE
)));
49333 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_EXTRA_TRANSVERSE
)));
49336 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_From_int((int)(wxDUPLEX_SIMPLEX
)));
49339 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_From_int((int)(wxDUPLEX_HORIZONTAL
)));
49342 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_From_int((int)(wxDUPLEX_VERTICAL
)));
49345 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_From_int((int)(wxITEM_SEPARATOR
)));
49348 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_From_int((int)(wxITEM_NORMAL
)));
49351 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_From_int((int)(wxITEM_CHECK
)));
49354 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_From_int((int)(wxITEM_RADIO
)));
49357 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_From_int((int)(wxITEM_MAX
)));
49360 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_From_int((int)(wxHT_NOWHERE
)));
49363 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)(wxHT_SCROLLBAR_FIRST
)));
49366 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_1
)));
49369 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_2
)));
49372 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_1
)));
49375 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_2
)));
49378 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)(wxHT_SCROLLBAR_THUMB
)));
49381 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_1
)));
49384 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_2
)));
49387 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_From_int((int)(wxHT_SCROLLBAR_LAST
)));
49390 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)(wxHT_WINDOW_OUTSIDE
)));
49393 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_From_int((int)(wxHT_WINDOW_INSIDE
)));
49396 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_VERT_SCROLLBAR
)));
49399 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_HORZ_SCROLLBAR
)));
49402 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_From_int((int)(wxHT_WINDOW_CORNER
)));
49405 PyDict_SetItemString(d
,"HT_MAX", SWIG_From_int((int)(wxHT_MAX
)));
49408 PyDict_SetItemString(d
,"MOD_NONE", SWIG_From_int((int)(wxMOD_NONE
)));
49411 PyDict_SetItemString(d
,"MOD_ALT", SWIG_From_int((int)(wxMOD_ALT
)));
49414 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_From_int((int)(wxMOD_CONTROL
)));
49417 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_From_int((int)(wxMOD_SHIFT
)));
49420 PyDict_SetItemString(d
,"MOD_WIN", SWIG_From_int((int)(wxMOD_WIN
)));
49423 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_From_int((int)(wxUPDATE_UI_NONE
)));
49426 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_From_int((int)(wxUPDATE_UI_RECURSE
)));
49429 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)(wxUPDATE_UI_FROMIDLE
)));
49431 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
49432 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
49434 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_From_int((int)(wxBITMAP_TYPE_INVALID
)));
49437 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_From_int((int)(wxBITMAP_TYPE_BMP
)));
49440 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_From_int((int)(wxBITMAP_TYPE_ICO
)));
49443 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_From_int((int)(wxBITMAP_TYPE_CUR
)));
49446 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_From_int((int)(wxBITMAP_TYPE_XBM
)));
49449 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XBM_DATA
)));
49452 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_From_int((int)(wxBITMAP_TYPE_XPM
)));
49455 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XPM_DATA
)));
49458 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_From_int((int)(wxBITMAP_TYPE_TIF
)));
49461 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_From_int((int)(wxBITMAP_TYPE_GIF
)));
49464 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_From_int((int)(wxBITMAP_TYPE_PNG
)));
49467 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_From_int((int)(wxBITMAP_TYPE_JPEG
)));
49470 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_From_int((int)(wxBITMAP_TYPE_PNM
)));
49473 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_From_int((int)(wxBITMAP_TYPE_PCX
)));
49476 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_From_int((int)(wxBITMAP_TYPE_PICT
)));
49479 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_From_int((int)(wxBITMAP_TYPE_ICON
)));
49482 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_From_int((int)(wxBITMAP_TYPE_ANI
)));
49485 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_From_int((int)(wxBITMAP_TYPE_IFF
)));
49488 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)(wxBITMAP_TYPE_MACCURSOR
)));
49491 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_From_int((int)(wxBITMAP_TYPE_ANY
)));
49494 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_From_int((int)(wxCURSOR_NONE
)));
49497 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_From_int((int)(wxCURSOR_ARROW
)));
49500 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)(wxCURSOR_RIGHT_ARROW
)));
49503 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_From_int((int)(wxCURSOR_BULLSEYE
)));
49506 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_From_int((int)(wxCURSOR_CHAR
)));
49509 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_From_int((int)(wxCURSOR_CROSS
)));
49512 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_From_int((int)(wxCURSOR_HAND
)));
49515 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_From_int((int)(wxCURSOR_IBEAM
)));
49518 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)(wxCURSOR_LEFT_BUTTON
)));
49521 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_From_int((int)(wxCURSOR_MAGNIFIER
)));
49524 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)(wxCURSOR_MIDDLE_BUTTON
)));
49527 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_From_int((int)(wxCURSOR_NO_ENTRY
)));
49530 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)(wxCURSOR_PAINT_BRUSH
)));
49533 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_From_int((int)(wxCURSOR_PENCIL
)));
49536 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_From_int((int)(wxCURSOR_POINT_LEFT
)));
49539 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_From_int((int)(wxCURSOR_POINT_RIGHT
)));
49542 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)(wxCURSOR_QUESTION_ARROW
)));
49545 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)(wxCURSOR_RIGHT_BUTTON
)));
49548 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_From_int((int)(wxCURSOR_SIZENESW
)));
49551 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_From_int((int)(wxCURSOR_SIZENS
)));
49554 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_From_int((int)(wxCURSOR_SIZENWSE
)));
49557 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_From_int((int)(wxCURSOR_SIZEWE
)));
49560 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_From_int((int)(wxCURSOR_SIZING
)));
49563 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_From_int((int)(wxCURSOR_SPRAYCAN
)));
49566 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_From_int((int)(wxCURSOR_WAIT
)));
49569 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_From_int((int)(wxCURSOR_WATCH
)));
49572 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_From_int((int)(wxCURSOR_BLANK
)));
49575 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_From_int((int)(wxCURSOR_DEFAULT
)));
49578 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_From_int((int)(wxCURSOR_COPY_ARROW
)));
49581 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_From_int((int)(wxCURSOR_ARROWWAIT
)));
49584 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_From_int((int)(wxCURSOR_MAX
)));
49586 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
49587 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
49589 PyDict_SetItemString(d
,"FromStart", SWIG_From_int((int)(wxFromStart
)));
49592 PyDict_SetItemString(d
,"FromCurrent", SWIG_From_int((int)(wxFromCurrent
)));
49595 PyDict_SetItemString(d
,"FromEnd", SWIG_From_int((int)(wxFromEnd
)));
49598 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
49601 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
49604 PyDict_SetItemString(d
,"IMAGE_ALPHA_TRANSPARENT", SWIG_From_int((int)(wxIMAGE_ALPHA_TRANSPARENT
)));
49607 PyDict_SetItemString(d
,"IMAGE_ALPHA_THRESHOLD", SWIG_From_int((int)(wxIMAGE_ALPHA_THRESHOLD
)));
49610 PyDict_SetItemString(d
,"IMAGE_ALPHA_OPAQUE", SWIG_From_int((int)(wxIMAGE_ALPHA_OPAQUE
)));
49612 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
49613 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_FILENAME",_wrap_IMAGE_OPTION_FILENAME_get
, _wrap_IMAGE_OPTION_FILENAME_set
);
49614 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
49615 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
49616 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
49617 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
49618 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONX",_wrap_IMAGE_OPTION_RESOLUTIONX_get
, _wrap_IMAGE_OPTION_RESOLUTIONX_set
);
49619 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONY",_wrap_IMAGE_OPTION_RESOLUTIONY_get
, _wrap_IMAGE_OPTION_RESOLUTIONY_set
);
49620 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
49621 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_QUALITY",_wrap_IMAGE_OPTION_QUALITY_get
, _wrap_IMAGE_OPTION_QUALITY_set
);
49623 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)(wxIMAGE_RESOLUTION_INCHES
)));
49626 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)(wxIMAGE_RESOLUTION_CM
)));
49628 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BITSPERSAMPLE",_wrap_IMAGE_OPTION_BITSPERSAMPLE_get
, _wrap_IMAGE_OPTION_BITSPERSAMPLE_set
);
49629 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_SAMPLESPERPIXEL",_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get
, _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set
);
49630 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_COMPRESSION",_wrap_IMAGE_OPTION_COMPRESSION_get
, _wrap_IMAGE_OPTION_COMPRESSION_set
);
49631 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_IMAGEDESCRIPTOR",_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get
, _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set
);
49632 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_PNG_FORMAT",_wrap_IMAGE_OPTION_PNG_FORMAT_get
, _wrap_IMAGE_OPTION_PNG_FORMAT_set
);
49633 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_PNG_BITDEPTH",_wrap_IMAGE_OPTION_PNG_BITDEPTH_get
, _wrap_IMAGE_OPTION_PNG_BITDEPTH_set
);
49635 PyDict_SetItemString(d
,"PNG_TYPE_COLOUR", SWIG_From_int((int)(wxPNG_TYPE_COLOUR
)));
49638 PyDict_SetItemString(d
,"PNG_TYPE_GREY", SWIG_From_int((int)(wxPNG_TYPE_GREY
)));
49641 PyDict_SetItemString(d
,"PNG_TYPE_GREY_RED", SWIG_From_int((int)(wxPNG_TYPE_GREY_RED
)));
49644 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_From_int((int)(wxBMP_24BPP
)));
49647 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_From_int((int)(wxBMP_8BPP
)));
49650 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_From_int((int)(wxBMP_8BPP_GREY
)));
49653 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_From_int((int)(wxBMP_8BPP_GRAY
)));
49656 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_From_int((int)(wxBMP_8BPP_RED
)));
49659 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_From_int((int)(wxBMP_8BPP_PALETTE
)));
49662 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_From_int((int)(wxBMP_4BPP
)));
49665 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_From_int((int)(wxBMP_1BPP
)));
49668 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_From_int((int)(wxBMP_1BPP_BW
)));
49671 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
)));
49674 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)(wxQUANTIZE_FILL_DESTINATION_IMAGE
)));
49677 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)(wxEVENT_PROPAGATE_NONE
)));
49680 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)(wxEVENT_PROPAGATE_MAX
)));
49682 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
49683 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
49684 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
49685 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
49686 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
49687 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
49688 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
49689 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
49690 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
49691 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
49692 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
49693 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
49694 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
49695 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
49696 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
49697 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
49698 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
49699 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
49700 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
49701 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
49702 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
49703 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
49704 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
49705 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
49706 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
49707 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
49708 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
49709 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
49710 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
49711 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
49712 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
49713 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
49714 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
49715 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
49716 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
49717 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
49718 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
49719 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
49720 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
49721 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
49722 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
49723 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
49724 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
49725 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
49726 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
49727 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
49728 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
49729 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
49730 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
49731 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
49732 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
49733 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
49734 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
49735 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
49736 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
49737 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
49738 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
49739 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
49740 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
49741 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
49742 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
49743 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
49744 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
49745 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
49746 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
49747 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
49748 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
49749 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
49750 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
49751 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
49752 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
49753 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
49754 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
49755 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
49756 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
49757 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
49758 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
49759 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
49760 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
49761 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
49762 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
49763 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
49764 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
49765 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
49766 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
49767 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
49768 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
49769 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
49770 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
49771 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
49772 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
49773 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
49774 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
49775 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
49776 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
49777 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
49778 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
49779 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
49780 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
49781 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
49782 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
49783 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
49784 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
49785 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
49786 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
49787 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
49788 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
49789 PyDict_SetItemString(d
, "wxEVT_HIBERNATE", PyInt_FromLong(wxEVT_HIBERNATE
));
49790 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
49791 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
49792 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
49793 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
49794 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
49795 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
49796 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
49798 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_From_int((int)(wxMOUSE_BTN_ANY
)));
49801 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_From_int((int)(wxMOUSE_BTN_NONE
)));
49804 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_From_int((int)(wxMOUSE_BTN_LEFT
)));
49807 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)(wxMOUSE_BTN_MIDDLE
)));
49810 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_From_int((int)(wxMOUSE_BTN_RIGHT
)));
49813 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_ALL
)));
49816 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_SPECIFIED
)));
49819 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)(wxNavigationKeyEvent::IsBackward
)));
49822 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_From_int((int)(wxNavigationKeyEvent::IsForward
)));
49825 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_From_int((int)(wxNavigationKeyEvent::WinChange
)));
49828 PyDict_SetItemString(d
,"NavigationKeyEvent_FromTab", SWIG_From_int((int)(wxNavigationKeyEvent::FromTab
)));
49831 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_From_int((int)(wxIDLE_PROCESS_ALL
)));
49834 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)(wxIDLE_PROCESS_SPECIFIED
)));
49836 PyDict_SetItemString(d
, "wxEVT_DATE_CHANGED", PyInt_FromLong(wxEVT_DATE_CHANGED
));
49838 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)(wxPYAPP_ASSERT_SUPPRESS
)));
49841 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)(wxPYAPP_ASSERT_EXCEPTION
)));
49844 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)(wxPYAPP_ASSERT_DIALOG
)));
49847 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_From_int((int)(wxPYAPP_ASSERT_LOG
)));
49850 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_From_int((int)(wxPRINT_WINDOWS
)));
49853 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_From_int((int)(wxPRINT_POSTSCRIPT
)));
49855 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
49856 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
49858 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)(wxWINDOW_VARIANT_NORMAL
)));
49861 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)(wxWINDOW_VARIANT_SMALL
)));
49864 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_From_int((int)(wxWINDOW_VARIANT_MINI
)));
49867 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)(wxWINDOW_VARIANT_LARGE
)));
49870 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_From_int((int)(wxWINDOW_VARIANT_MAX
)));
49872 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
49873 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
49875 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_From_int((int)(wxFLEX_GROWMODE_NONE
)));
49878 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)(wxFLEX_GROWMODE_SPECIFIED
)));
49881 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_From_int((int)(wxFLEX_GROWMODE_ALL
)));
49883 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
49885 PyDict_SetItemString(d
,"Left", SWIG_From_int((int)(wxLeft
)));
49888 PyDict_SetItemString(d
,"Top", SWIG_From_int((int)(wxTop
)));
49891 PyDict_SetItemString(d
,"Right", SWIG_From_int((int)(wxRight
)));
49894 PyDict_SetItemString(d
,"Bottom", SWIG_From_int((int)(wxBottom
)));
49897 PyDict_SetItemString(d
,"Width", SWIG_From_int((int)(wxWidth
)));
49900 PyDict_SetItemString(d
,"Height", SWIG_From_int((int)(wxHeight
)));
49903 PyDict_SetItemString(d
,"Centre", SWIG_From_int((int)(wxCentre
)));
49906 PyDict_SetItemString(d
,"Center", SWIG_From_int((int)(wxCenter
)));
49909 PyDict_SetItemString(d
,"CentreX", SWIG_From_int((int)(wxCentreX
)));
49912 PyDict_SetItemString(d
,"CentreY", SWIG_From_int((int)(wxCentreY
)));
49915 PyDict_SetItemString(d
,"Unconstrained", SWIG_From_int((int)(wxUnconstrained
)));
49918 PyDict_SetItemString(d
,"AsIs", SWIG_From_int((int)(wxAsIs
)));
49921 PyDict_SetItemString(d
,"PercentOf", SWIG_From_int((int)(wxPercentOf
)));
49924 PyDict_SetItemString(d
,"Above", SWIG_From_int((int)(wxAbove
)));
49927 PyDict_SetItemString(d
,"Below", SWIG_From_int((int)(wxBelow
)));
49930 PyDict_SetItemString(d
,"LeftOf", SWIG_From_int((int)(wxLeftOf
)));
49933 PyDict_SetItemString(d
,"RightOf", SWIG_From_int((int)(wxRightOf
)));
49936 PyDict_SetItemString(d
,"SameAs", SWIG_From_int((int)(wxSameAs
)));
49939 PyDict_SetItemString(d
,"Absolute", SWIG_From_int((int)(wxAbsolute
)));
49942 // Initialize threading, some globals and such
49946 // Although these are defined in __version__ they need to be here too so
49947 // that an assert can be done to ensure that the wxPython and the wxWindows
49949 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
49950 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
49951 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));