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
);
37817 PyObject
* str
= PyObject_Unicode(item
);
37819 PyObject
* str
= PyObject_Str(item
);
37821 if (PyErr_Occurred()) SWIG_fail
;
37822 arg2
->Add(Py2wxString(str
));
37828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37829 (arg1
)->Append((wxArrayString
const &)*arg2
);
37831 wxPyEndAllowThreads(__tstate
);
37832 if (PyErr_Occurred()) SWIG_fail
;
37834 Py_INCREF(Py_None
); resultobj
= Py_None
;
37836 if (temp2
) delete arg2
;
37841 if (temp2
) delete arg2
;
37847 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37848 PyObject
*resultobj
;
37849 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37850 wxString
*arg2
= 0 ;
37852 PyObject
*arg4
= (PyObject
*) NULL
;
37854 bool temp2
= false ;
37855 PyObject
* obj0
= 0 ;
37856 PyObject
* obj1
= 0 ;
37857 PyObject
* obj2
= 0 ;
37858 PyObject
* obj3
= 0 ;
37859 char *kwnames
[] = {
37860 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
37863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37865 if (SWIG_arg_fail(1)) SWIG_fail
;
37867 arg2
= wxString_in_helper(obj1
);
37868 if (arg2
== NULL
) SWIG_fail
;
37872 arg3
= (int)(SWIG_As_int(obj2
));
37873 if (SWIG_arg_fail(3)) SWIG_fail
;
37879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37880 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
37882 wxPyEndAllowThreads(__tstate
);
37883 if (PyErr_Occurred()) SWIG_fail
;
37886 resultobj
= SWIG_From_int((int)(result
));
37902 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37903 PyObject
*resultobj
;
37904 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37905 PyObject
* obj0
= 0 ;
37906 char *kwnames
[] = {
37907 (char *) "self", NULL
37910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
37911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37912 if (SWIG_arg_fail(1)) SWIG_fail
;
37914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37917 wxPyEndAllowThreads(__tstate
);
37918 if (PyErr_Occurred()) SWIG_fail
;
37920 Py_INCREF(Py_None
); resultobj
= Py_None
;
37927 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37928 PyObject
*resultobj
;
37929 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37931 PyObject
* obj0
= 0 ;
37932 PyObject
* obj1
= 0 ;
37933 char *kwnames
[] = {
37934 (char *) "self",(char *) "n", NULL
37937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
37938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37939 if (SWIG_arg_fail(1)) SWIG_fail
;
37941 arg2
= (int)(SWIG_As_int(obj1
));
37942 if (SWIG_arg_fail(2)) SWIG_fail
;
37945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37946 (arg1
)->Delete(arg2
);
37948 wxPyEndAllowThreads(__tstate
);
37949 if (PyErr_Occurred()) SWIG_fail
;
37951 Py_INCREF(Py_None
); resultobj
= Py_None
;
37958 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37959 PyObject
*resultobj
;
37960 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37963 PyObject
* obj0
= 0 ;
37964 PyObject
* obj1
= 0 ;
37965 char *kwnames
[] = {
37966 (char *) "self",(char *) "n", NULL
37969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
37970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37971 if (SWIG_arg_fail(1)) SWIG_fail
;
37973 arg2
= (int)(SWIG_As_int(obj1
));
37974 if (SWIG_arg_fail(2)) SWIG_fail
;
37977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37978 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
37980 wxPyEndAllowThreads(__tstate
);
37981 if (PyErr_Occurred()) SWIG_fail
;
37983 resultobj
= result
;
37990 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37991 PyObject
*resultobj
;
37992 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37994 PyObject
*arg3
= (PyObject
*) 0 ;
37995 PyObject
* obj0
= 0 ;
37996 PyObject
* obj1
= 0 ;
37997 PyObject
* obj2
= 0 ;
37998 char *kwnames
[] = {
37999 (char *) "self",(char *) "n",(char *) "clientData", NULL
38002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38004 if (SWIG_arg_fail(1)) SWIG_fail
;
38006 arg2
= (int)(SWIG_As_int(obj1
));
38007 if (SWIG_arg_fail(2)) SWIG_fail
;
38011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38012 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
38014 wxPyEndAllowThreads(__tstate
);
38015 if (PyErr_Occurred()) SWIG_fail
;
38017 Py_INCREF(Py_None
); resultobj
= Py_None
;
38024 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38025 PyObject
*resultobj
;
38026 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38028 PyObject
* obj0
= 0 ;
38029 char *kwnames
[] = {
38030 (char *) "self", NULL
38033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
38034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38035 if (SWIG_arg_fail(1)) SWIG_fail
;
38037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38038 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
38040 wxPyEndAllowThreads(__tstate
);
38041 if (PyErr_Occurred()) SWIG_fail
;
38044 resultobj
= SWIG_From_int((int)(result
));
38052 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38053 PyObject
*resultobj
;
38054 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38056 PyObject
* obj0
= 0 ;
38057 char *kwnames
[] = {
38058 (char *) "self", NULL
38061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
38062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38063 if (SWIG_arg_fail(1)) SWIG_fail
;
38065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38066 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
38068 wxPyEndAllowThreads(__tstate
);
38069 if (PyErr_Occurred()) SWIG_fail
;
38072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38080 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38081 PyObject
*resultobj
;
38082 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38085 PyObject
* obj0
= 0 ;
38086 PyObject
* obj1
= 0 ;
38087 char *kwnames
[] = {
38088 (char *) "self",(char *) "n", NULL
38091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
38092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38093 if (SWIG_arg_fail(1)) SWIG_fail
;
38095 arg2
= (int)(SWIG_As_int(obj1
));
38096 if (SWIG_arg_fail(2)) SWIG_fail
;
38099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38100 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
38102 wxPyEndAllowThreads(__tstate
);
38103 if (PyErr_Occurred()) SWIG_fail
;
38107 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38109 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38118 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38119 PyObject
*resultobj
;
38120 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38121 wxArrayString result
;
38122 PyObject
* obj0
= 0 ;
38123 char *kwnames
[] = {
38124 (char *) "self", NULL
38127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
38128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38129 if (SWIG_arg_fail(1)) SWIG_fail
;
38131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38132 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
38134 wxPyEndAllowThreads(__tstate
);
38135 if (PyErr_Occurred()) SWIG_fail
;
38138 resultobj
= wxArrayString2PyList_helper(result
);
38146 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38147 PyObject
*resultobj
;
38148 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38150 wxString
*arg3
= 0 ;
38151 bool temp3
= false ;
38152 PyObject
* obj0
= 0 ;
38153 PyObject
* obj1
= 0 ;
38154 PyObject
* obj2
= 0 ;
38155 char *kwnames
[] = {
38156 (char *) "self",(char *) "n",(char *) "s", NULL
38159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38161 if (SWIG_arg_fail(1)) SWIG_fail
;
38163 arg2
= (int)(SWIG_As_int(obj1
));
38164 if (SWIG_arg_fail(2)) SWIG_fail
;
38167 arg3
= wxString_in_helper(obj2
);
38168 if (arg3
== NULL
) SWIG_fail
;
38172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38173 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
38175 wxPyEndAllowThreads(__tstate
);
38176 if (PyErr_Occurred()) SWIG_fail
;
38178 Py_INCREF(Py_None
); resultobj
= Py_None
;
38193 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38194 PyObject
*resultobj
;
38195 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38196 wxString
*arg2
= 0 ;
38198 bool temp2
= false ;
38199 PyObject
* obj0
= 0 ;
38200 PyObject
* obj1
= 0 ;
38201 char *kwnames
[] = {
38202 (char *) "self",(char *) "s", NULL
38205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
38206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38207 if (SWIG_arg_fail(1)) SWIG_fail
;
38209 arg2
= wxString_in_helper(obj1
);
38210 if (arg2
== NULL
) SWIG_fail
;
38214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38215 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
38217 wxPyEndAllowThreads(__tstate
);
38218 if (PyErr_Occurred()) SWIG_fail
;
38221 resultobj
= SWIG_From_int((int)(result
));
38237 static PyObject
*_wrap_ItemContainer_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38238 PyObject
*resultobj
;
38239 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38241 PyObject
* obj0
= 0 ;
38242 PyObject
* obj1
= 0 ;
38243 char *kwnames
[] = {
38244 (char *) "self",(char *) "n", NULL
38247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
38248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38249 if (SWIG_arg_fail(1)) SWIG_fail
;
38251 arg2
= (int)(SWIG_As_int(obj1
));
38252 if (SWIG_arg_fail(2)) SWIG_fail
;
38255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38256 (arg1
)->SetSelection(arg2
);
38258 wxPyEndAllowThreads(__tstate
);
38259 if (PyErr_Occurred()) SWIG_fail
;
38261 Py_INCREF(Py_None
); resultobj
= Py_None
;
38268 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38269 PyObject
*resultobj
;
38270 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38272 PyObject
* obj0
= 0 ;
38273 char *kwnames
[] = {
38274 (char *) "self", NULL
38277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
38278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38279 if (SWIG_arg_fail(1)) SWIG_fail
;
38281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38282 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
38284 wxPyEndAllowThreads(__tstate
);
38285 if (PyErr_Occurred()) SWIG_fail
;
38288 resultobj
= SWIG_From_int((int)(result
));
38296 static PyObject
*_wrap_ItemContainer_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38297 PyObject
*resultobj
;
38298 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38299 wxString
*arg2
= 0 ;
38301 bool temp2
= false ;
38302 PyObject
* obj0
= 0 ;
38303 PyObject
* obj1
= 0 ;
38304 char *kwnames
[] = {
38305 (char *) "self",(char *) "s", NULL
38308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
38309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38310 if (SWIG_arg_fail(1)) SWIG_fail
;
38312 arg2
= wxString_in_helper(obj1
);
38313 if (arg2
== NULL
) SWIG_fail
;
38317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38318 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
38320 wxPyEndAllowThreads(__tstate
);
38321 if (PyErr_Occurred()) SWIG_fail
;
38324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38340 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38341 PyObject
*resultobj
;
38342 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38344 PyObject
* obj0
= 0 ;
38345 char *kwnames
[] = {
38346 (char *) "self", NULL
38349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
38350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38351 if (SWIG_arg_fail(1)) SWIG_fail
;
38353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38354 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
38356 wxPyEndAllowThreads(__tstate
);
38357 if (PyErr_Occurred()) SWIG_fail
;
38361 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38363 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38372 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38373 PyObject
*resultobj
;
38374 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38376 PyObject
* obj0
= 0 ;
38377 PyObject
* obj1
= 0 ;
38378 char *kwnames
[] = {
38379 (char *) "self",(char *) "n", NULL
38382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
38383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38384 if (SWIG_arg_fail(1)) SWIG_fail
;
38386 arg2
= (int)(SWIG_As_int(obj1
));
38387 if (SWIG_arg_fail(2)) SWIG_fail
;
38390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38391 (arg1
)->Select(arg2
);
38393 wxPyEndAllowThreads(__tstate
);
38394 if (PyErr_Occurred()) SWIG_fail
;
38396 Py_INCREF(Py_None
); resultobj
= Py_None
;
38403 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
38405 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38406 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
38408 return Py_BuildValue((char *)"");
38410 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
38412 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38413 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
38415 return Py_BuildValue((char *)"");
38417 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38418 PyObject
*resultobj
;
38419 wxSizerItem
*result
;
38420 char *kwnames
[] = {
38424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
38426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38427 result
= (wxSizerItem
*)new wxSizerItem();
38429 wxPyEndAllowThreads(__tstate
);
38430 if (PyErr_Occurred()) SWIG_fail
;
38432 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38439 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38440 PyObject
*resultobj
;
38441 wxWindow
*arg1
= (wxWindow
*) 0 ;
38445 PyObject
*arg5
= (PyObject
*) NULL
;
38446 wxSizerItem
*result
;
38447 PyObject
* obj0
= 0 ;
38448 PyObject
* obj1
= 0 ;
38449 PyObject
* obj2
= 0 ;
38450 PyObject
* obj3
= 0 ;
38451 PyObject
* obj4
= 0 ;
38452 char *kwnames
[] = {
38453 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
38457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
38458 if (SWIG_arg_fail(1)) SWIG_fail
;
38460 arg2
= (int)(SWIG_As_int(obj1
));
38461 if (SWIG_arg_fail(2)) SWIG_fail
;
38464 arg3
= (int)(SWIG_As_int(obj2
));
38465 if (SWIG_arg_fail(3)) SWIG_fail
;
38468 arg4
= (int)(SWIG_As_int(obj3
));
38469 if (SWIG_arg_fail(4)) SWIG_fail
;
38475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38476 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
38478 wxPyEndAllowThreads(__tstate
);
38479 if (PyErr_Occurred()) SWIG_fail
;
38481 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38488 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38489 PyObject
*resultobj
;
38495 PyObject
*arg6
= (PyObject
*) NULL
;
38496 wxSizerItem
*result
;
38497 PyObject
* obj0
= 0 ;
38498 PyObject
* obj1
= 0 ;
38499 PyObject
* obj2
= 0 ;
38500 PyObject
* obj3
= 0 ;
38501 PyObject
* obj4
= 0 ;
38502 PyObject
* obj5
= 0 ;
38503 char *kwnames
[] = {
38504 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38509 arg1
= (int)(SWIG_As_int(obj0
));
38510 if (SWIG_arg_fail(1)) SWIG_fail
;
38513 arg2
= (int)(SWIG_As_int(obj1
));
38514 if (SWIG_arg_fail(2)) SWIG_fail
;
38517 arg3
= (int)(SWIG_As_int(obj2
));
38518 if (SWIG_arg_fail(3)) SWIG_fail
;
38521 arg4
= (int)(SWIG_As_int(obj3
));
38522 if (SWIG_arg_fail(4)) SWIG_fail
;
38525 arg5
= (int)(SWIG_As_int(obj4
));
38526 if (SWIG_arg_fail(5)) SWIG_fail
;
38532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38533 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
38535 wxPyEndAllowThreads(__tstate
);
38536 if (PyErr_Occurred()) SWIG_fail
;
38538 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38545 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38546 PyObject
*resultobj
;
38547 wxSizer
*arg1
= (wxSizer
*) 0 ;
38551 PyObject
*arg5
= (PyObject
*) NULL
;
38552 wxSizerItem
*result
;
38553 PyObject
* obj0
= 0 ;
38554 PyObject
* obj1
= 0 ;
38555 PyObject
* obj2
= 0 ;
38556 PyObject
* obj3
= 0 ;
38557 PyObject
* obj4
= 0 ;
38558 char *kwnames
[] = {
38559 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
38563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38564 if (SWIG_arg_fail(1)) SWIG_fail
;
38566 arg2
= (int)(SWIG_As_int(obj1
));
38567 if (SWIG_arg_fail(2)) SWIG_fail
;
38570 arg3
= (int)(SWIG_As_int(obj2
));
38571 if (SWIG_arg_fail(3)) SWIG_fail
;
38574 arg4
= (int)(SWIG_As_int(obj3
));
38575 if (SWIG_arg_fail(4)) SWIG_fail
;
38581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38582 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
38584 wxPyEndAllowThreads(__tstate
);
38585 if (PyErr_Occurred()) SWIG_fail
;
38587 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38594 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38595 PyObject
*resultobj
;
38596 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38597 PyObject
* obj0
= 0 ;
38598 char *kwnames
[] = {
38599 (char *) "self", NULL
38602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
38603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38604 if (SWIG_arg_fail(1)) SWIG_fail
;
38606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38607 (arg1
)->DeleteWindows();
38609 wxPyEndAllowThreads(__tstate
);
38610 if (PyErr_Occurred()) SWIG_fail
;
38612 Py_INCREF(Py_None
); resultobj
= Py_None
;
38619 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38620 PyObject
*resultobj
;
38621 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38622 PyObject
* obj0
= 0 ;
38623 char *kwnames
[] = {
38624 (char *) "self", NULL
38627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
38628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38629 if (SWIG_arg_fail(1)) SWIG_fail
;
38631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38632 (arg1
)->DetachSizer();
38634 wxPyEndAllowThreads(__tstate
);
38635 if (PyErr_Occurred()) SWIG_fail
;
38637 Py_INCREF(Py_None
); resultobj
= Py_None
;
38644 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38645 PyObject
*resultobj
;
38646 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38648 PyObject
* obj0
= 0 ;
38649 char *kwnames
[] = {
38650 (char *) "self", NULL
38653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
38654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38655 if (SWIG_arg_fail(1)) SWIG_fail
;
38657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38658 result
= (arg1
)->GetSize();
38660 wxPyEndAllowThreads(__tstate
);
38661 if (PyErr_Occurred()) SWIG_fail
;
38664 wxSize
* resultptr
;
38665 resultptr
= new wxSize((wxSize
&)(result
));
38666 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38674 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38675 PyObject
*resultobj
;
38676 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38678 PyObject
* obj0
= 0 ;
38679 char *kwnames
[] = {
38680 (char *) "self", NULL
38683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
38684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38685 if (SWIG_arg_fail(1)) SWIG_fail
;
38687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38688 result
= (arg1
)->CalcMin();
38690 wxPyEndAllowThreads(__tstate
);
38691 if (PyErr_Occurred()) SWIG_fail
;
38694 wxSize
* resultptr
;
38695 resultptr
= new wxSize((wxSize
&)(result
));
38696 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38704 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38705 PyObject
*resultobj
;
38706 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38709 PyObject
* obj0
= 0 ;
38710 PyObject
* obj1
= 0 ;
38711 PyObject
* obj2
= 0 ;
38712 char *kwnames
[] = {
38713 (char *) "self",(char *) "pos",(char *) "size", NULL
38716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38718 if (SWIG_arg_fail(1)) SWIG_fail
;
38721 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
);
38722 if (SWIG_arg_fail(2)) SWIG_fail
;
38723 if (argp
== NULL
) {
38724 SWIG_null_ref("wxPoint");
38726 if (SWIG_arg_fail(2)) SWIG_fail
;
38731 SWIG_Python_ConvertPtr(obj2
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
38732 if (SWIG_arg_fail(3)) SWIG_fail
;
38733 if (argp
== NULL
) {
38734 SWIG_null_ref("wxSize");
38736 if (SWIG_arg_fail(3)) SWIG_fail
;
38740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38741 (arg1
)->SetDimension(arg2
,arg3
);
38743 wxPyEndAllowThreads(__tstate
);
38744 if (PyErr_Occurred()) SWIG_fail
;
38746 Py_INCREF(Py_None
); resultobj
= Py_None
;
38753 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38754 PyObject
*resultobj
;
38755 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38757 PyObject
* obj0
= 0 ;
38758 char *kwnames
[] = {
38759 (char *) "self", NULL
38762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
38763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38764 if (SWIG_arg_fail(1)) SWIG_fail
;
38766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38767 result
= (arg1
)->GetMinSize();
38769 wxPyEndAllowThreads(__tstate
);
38770 if (PyErr_Occurred()) SWIG_fail
;
38773 wxSize
* resultptr
;
38774 resultptr
= new wxSize((wxSize
&)(result
));
38775 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38783 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38784 PyObject
*resultobj
;
38785 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38787 PyObject
* obj0
= 0 ;
38788 char *kwnames
[] = {
38789 (char *) "self", NULL
38792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
38793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38794 if (SWIG_arg_fail(1)) SWIG_fail
;
38796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38797 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
38799 wxPyEndAllowThreads(__tstate
);
38800 if (PyErr_Occurred()) SWIG_fail
;
38803 wxSize
* resultptr
;
38804 resultptr
= new wxSize((wxSize
&)(result
));
38805 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38813 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38814 PyObject
*resultobj
;
38815 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38818 PyObject
* obj0
= 0 ;
38819 PyObject
* obj1
= 0 ;
38820 PyObject
* obj2
= 0 ;
38821 char *kwnames
[] = {
38822 (char *) "self",(char *) "x",(char *) "y", NULL
38825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38827 if (SWIG_arg_fail(1)) SWIG_fail
;
38829 arg2
= (int)(SWIG_As_int(obj1
));
38830 if (SWIG_arg_fail(2)) SWIG_fail
;
38833 arg3
= (int)(SWIG_As_int(obj2
));
38834 if (SWIG_arg_fail(3)) SWIG_fail
;
38837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38838 (arg1
)->SetInitSize(arg2
,arg3
);
38840 wxPyEndAllowThreads(__tstate
);
38841 if (PyErr_Occurred()) SWIG_fail
;
38843 Py_INCREF(Py_None
); resultobj
= Py_None
;
38850 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38851 PyObject
*resultobj
;
38852 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38855 PyObject
* obj0
= 0 ;
38856 PyObject
* obj1
= 0 ;
38857 PyObject
* obj2
= 0 ;
38858 char *kwnames
[] = {
38859 (char *) "self",(char *) "width",(char *) "height", NULL
38862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38864 if (SWIG_arg_fail(1)) SWIG_fail
;
38866 arg2
= (int)(SWIG_As_int(obj1
));
38867 if (SWIG_arg_fail(2)) SWIG_fail
;
38870 arg3
= (int)(SWIG_As_int(obj2
));
38871 if (SWIG_arg_fail(3)) SWIG_fail
;
38874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38875 (arg1
)->SetRatio(arg2
,arg3
);
38877 wxPyEndAllowThreads(__tstate
);
38878 if (PyErr_Occurred()) SWIG_fail
;
38880 Py_INCREF(Py_None
); resultobj
= Py_None
;
38887 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38888 PyObject
*resultobj
;
38889 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38892 PyObject
* obj0
= 0 ;
38893 PyObject
* obj1
= 0 ;
38894 char *kwnames
[] = {
38895 (char *) "self",(char *) "size", NULL
38898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38900 if (SWIG_arg_fail(1)) SWIG_fail
;
38903 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38907 (arg1
)->SetRatio((wxSize
const &)*arg2
);
38909 wxPyEndAllowThreads(__tstate
);
38910 if (PyErr_Occurred()) SWIG_fail
;
38912 Py_INCREF(Py_None
); resultobj
= Py_None
;
38919 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38920 PyObject
*resultobj
;
38921 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38923 PyObject
* obj0
= 0 ;
38924 PyObject
* obj1
= 0 ;
38925 char *kwnames
[] = {
38926 (char *) "self",(char *) "ratio", NULL
38929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
38930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38931 if (SWIG_arg_fail(1)) SWIG_fail
;
38933 arg2
= (float)(SWIG_As_float(obj1
));
38934 if (SWIG_arg_fail(2)) SWIG_fail
;
38937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38938 (arg1
)->SetRatio(arg2
);
38940 wxPyEndAllowThreads(__tstate
);
38941 if (PyErr_Occurred()) SWIG_fail
;
38943 Py_INCREF(Py_None
); resultobj
= Py_None
;
38950 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38951 PyObject
*resultobj
;
38952 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38954 PyObject
* obj0
= 0 ;
38955 char *kwnames
[] = {
38956 (char *) "self", NULL
38959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
38960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38961 if (SWIG_arg_fail(1)) SWIG_fail
;
38963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38964 result
= (float)(arg1
)->GetRatio();
38966 wxPyEndAllowThreads(__tstate
);
38967 if (PyErr_Occurred()) SWIG_fail
;
38970 resultobj
= SWIG_From_float((float)(result
));
38978 static PyObject
*_wrap_SizerItem_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38979 PyObject
*resultobj
;
38980 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38982 PyObject
* obj0
= 0 ;
38983 char *kwnames
[] = {
38984 (char *) "self", NULL
38987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRect",kwnames
,&obj0
)) goto fail
;
38988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38989 if (SWIG_arg_fail(1)) SWIG_fail
;
38991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38992 result
= (arg1
)->GetRect();
38994 wxPyEndAllowThreads(__tstate
);
38995 if (PyErr_Occurred()) SWIG_fail
;
38998 wxRect
* resultptr
;
38999 resultptr
= new wxRect((wxRect
&)(result
));
39000 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
39008 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39009 PyObject
*resultobj
;
39010 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39012 PyObject
* obj0
= 0 ;
39013 char *kwnames
[] = {
39014 (char *) "self", NULL
39017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
39018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39019 if (SWIG_arg_fail(1)) SWIG_fail
;
39021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39022 result
= (bool)(arg1
)->IsWindow();
39024 wxPyEndAllowThreads(__tstate
);
39025 if (PyErr_Occurred()) SWIG_fail
;
39028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39036 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39037 PyObject
*resultobj
;
39038 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39040 PyObject
* obj0
= 0 ;
39041 char *kwnames
[] = {
39042 (char *) "self", NULL
39045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
39046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39047 if (SWIG_arg_fail(1)) SWIG_fail
;
39049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39050 result
= (bool)(arg1
)->IsSizer();
39052 wxPyEndAllowThreads(__tstate
);
39053 if (PyErr_Occurred()) SWIG_fail
;
39056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39064 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39065 PyObject
*resultobj
;
39066 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39068 PyObject
* obj0
= 0 ;
39069 char *kwnames
[] = {
39070 (char *) "self", NULL
39073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
39074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39075 if (SWIG_arg_fail(1)) SWIG_fail
;
39077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39078 result
= (bool)(arg1
)->IsSpacer();
39080 wxPyEndAllowThreads(__tstate
);
39081 if (PyErr_Occurred()) SWIG_fail
;
39084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39092 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39093 PyObject
*resultobj
;
39094 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39096 PyObject
* obj0
= 0 ;
39097 PyObject
* obj1
= 0 ;
39098 char *kwnames
[] = {
39099 (char *) "self",(char *) "proportion", NULL
39102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
39103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39104 if (SWIG_arg_fail(1)) SWIG_fail
;
39106 arg2
= (int)(SWIG_As_int(obj1
));
39107 if (SWIG_arg_fail(2)) SWIG_fail
;
39110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39111 (arg1
)->SetProportion(arg2
);
39113 wxPyEndAllowThreads(__tstate
);
39114 if (PyErr_Occurred()) SWIG_fail
;
39116 Py_INCREF(Py_None
); resultobj
= Py_None
;
39123 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39124 PyObject
*resultobj
;
39125 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39127 PyObject
* obj0
= 0 ;
39128 char *kwnames
[] = {
39129 (char *) "self", NULL
39132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
39133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39134 if (SWIG_arg_fail(1)) SWIG_fail
;
39136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39137 result
= (int)(arg1
)->GetProportion();
39139 wxPyEndAllowThreads(__tstate
);
39140 if (PyErr_Occurred()) SWIG_fail
;
39143 resultobj
= SWIG_From_int((int)(result
));
39151 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39152 PyObject
*resultobj
;
39153 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39155 PyObject
* obj0
= 0 ;
39156 PyObject
* obj1
= 0 ;
39157 char *kwnames
[] = {
39158 (char *) "self",(char *) "flag", NULL
39161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
39162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39163 if (SWIG_arg_fail(1)) SWIG_fail
;
39165 arg2
= (int)(SWIG_As_int(obj1
));
39166 if (SWIG_arg_fail(2)) SWIG_fail
;
39169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39170 (arg1
)->SetFlag(arg2
);
39172 wxPyEndAllowThreads(__tstate
);
39173 if (PyErr_Occurred()) SWIG_fail
;
39175 Py_INCREF(Py_None
); resultobj
= Py_None
;
39182 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39183 PyObject
*resultobj
;
39184 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39186 PyObject
* obj0
= 0 ;
39187 char *kwnames
[] = {
39188 (char *) "self", NULL
39191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
39192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39193 if (SWIG_arg_fail(1)) SWIG_fail
;
39195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39196 result
= (int)(arg1
)->GetFlag();
39198 wxPyEndAllowThreads(__tstate
);
39199 if (PyErr_Occurred()) SWIG_fail
;
39202 resultobj
= SWIG_From_int((int)(result
));
39210 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39211 PyObject
*resultobj
;
39212 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39214 PyObject
* obj0
= 0 ;
39215 PyObject
* obj1
= 0 ;
39216 char *kwnames
[] = {
39217 (char *) "self",(char *) "border", NULL
39220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
39221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39222 if (SWIG_arg_fail(1)) SWIG_fail
;
39224 arg2
= (int)(SWIG_As_int(obj1
));
39225 if (SWIG_arg_fail(2)) SWIG_fail
;
39228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39229 (arg1
)->SetBorder(arg2
);
39231 wxPyEndAllowThreads(__tstate
);
39232 if (PyErr_Occurred()) SWIG_fail
;
39234 Py_INCREF(Py_None
); resultobj
= Py_None
;
39241 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39242 PyObject
*resultobj
;
39243 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39245 PyObject
* obj0
= 0 ;
39246 char *kwnames
[] = {
39247 (char *) "self", NULL
39250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
39251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39252 if (SWIG_arg_fail(1)) SWIG_fail
;
39254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39255 result
= (int)(arg1
)->GetBorder();
39257 wxPyEndAllowThreads(__tstate
);
39258 if (PyErr_Occurred()) SWIG_fail
;
39261 resultobj
= SWIG_From_int((int)(result
));
39269 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39270 PyObject
*resultobj
;
39271 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39273 PyObject
* obj0
= 0 ;
39274 char *kwnames
[] = {
39275 (char *) "self", NULL
39278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
39279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39280 if (SWIG_arg_fail(1)) SWIG_fail
;
39282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39283 result
= (wxWindow
*)(arg1
)->GetWindow();
39285 wxPyEndAllowThreads(__tstate
);
39286 if (PyErr_Occurred()) SWIG_fail
;
39289 resultobj
= wxPyMake_wxObject(result
, 0);
39297 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39298 PyObject
*resultobj
;
39299 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39300 wxWindow
*arg2
= (wxWindow
*) 0 ;
39301 PyObject
* obj0
= 0 ;
39302 PyObject
* obj1
= 0 ;
39303 char *kwnames
[] = {
39304 (char *) "self",(char *) "window", NULL
39307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
39308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39309 if (SWIG_arg_fail(1)) SWIG_fail
;
39310 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39311 if (SWIG_arg_fail(2)) SWIG_fail
;
39313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39314 (arg1
)->SetWindow(arg2
);
39316 wxPyEndAllowThreads(__tstate
);
39317 if (PyErr_Occurred()) SWIG_fail
;
39319 Py_INCREF(Py_None
); resultobj
= Py_None
;
39326 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39327 PyObject
*resultobj
;
39328 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39330 PyObject
* obj0
= 0 ;
39331 char *kwnames
[] = {
39332 (char *) "self", NULL
39335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
39336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39337 if (SWIG_arg_fail(1)) SWIG_fail
;
39339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39340 result
= (wxSizer
*)(arg1
)->GetSizer();
39342 wxPyEndAllowThreads(__tstate
);
39343 if (PyErr_Occurred()) SWIG_fail
;
39346 resultobj
= wxPyMake_wxObject(result
, 0);
39354 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39355 PyObject
*resultobj
;
39356 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39357 wxSizer
*arg2
= (wxSizer
*) 0 ;
39358 PyObject
* obj0
= 0 ;
39359 PyObject
* obj1
= 0 ;
39360 char *kwnames
[] = {
39361 (char *) "self",(char *) "sizer", NULL
39364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
39365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39366 if (SWIG_arg_fail(1)) SWIG_fail
;
39367 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39368 if (SWIG_arg_fail(2)) SWIG_fail
;
39370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39371 (arg1
)->SetSizer(arg2
);
39373 wxPyEndAllowThreads(__tstate
);
39374 if (PyErr_Occurred()) SWIG_fail
;
39376 Py_INCREF(Py_None
); resultobj
= Py_None
;
39383 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39384 PyObject
*resultobj
;
39385 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39387 PyObject
* obj0
= 0 ;
39388 char *kwnames
[] = {
39389 (char *) "self", NULL
39392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
39393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39394 if (SWIG_arg_fail(1)) SWIG_fail
;
39396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39398 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
39399 result
= (wxSize
*) &_result_ref
;
39402 wxPyEndAllowThreads(__tstate
);
39403 if (PyErr_Occurred()) SWIG_fail
;
39405 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
39412 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39413 PyObject
*resultobj
;
39414 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39417 PyObject
* obj0
= 0 ;
39418 PyObject
* obj1
= 0 ;
39419 char *kwnames
[] = {
39420 (char *) "self",(char *) "size", NULL
39423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
39424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39425 if (SWIG_arg_fail(1)) SWIG_fail
;
39428 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
39431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39432 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
39434 wxPyEndAllowThreads(__tstate
);
39435 if (PyErr_Occurred()) SWIG_fail
;
39437 Py_INCREF(Py_None
); resultobj
= Py_None
;
39444 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39445 PyObject
*resultobj
;
39446 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39448 PyObject
* obj0
= 0 ;
39449 PyObject
* obj1
= 0 ;
39450 char *kwnames
[] = {
39451 (char *) "self",(char *) "show", NULL
39454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
39455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39456 if (SWIG_arg_fail(1)) SWIG_fail
;
39458 arg2
= (bool)(SWIG_As_bool(obj1
));
39459 if (SWIG_arg_fail(2)) SWIG_fail
;
39462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39463 (arg1
)->Show(arg2
);
39465 wxPyEndAllowThreads(__tstate
);
39466 if (PyErr_Occurred()) SWIG_fail
;
39468 Py_INCREF(Py_None
); resultobj
= Py_None
;
39475 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39476 PyObject
*resultobj
;
39477 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39479 PyObject
* obj0
= 0 ;
39480 char *kwnames
[] = {
39481 (char *) "self", NULL
39484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
39485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39486 if (SWIG_arg_fail(1)) SWIG_fail
;
39488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39489 result
= (bool)(arg1
)->IsShown();
39491 wxPyEndAllowThreads(__tstate
);
39492 if (PyErr_Occurred()) SWIG_fail
;
39495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39503 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39504 PyObject
*resultobj
;
39505 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39507 PyObject
* obj0
= 0 ;
39508 char *kwnames
[] = {
39509 (char *) "self", NULL
39512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
39513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39514 if (SWIG_arg_fail(1)) SWIG_fail
;
39516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39517 result
= (arg1
)->GetPosition();
39519 wxPyEndAllowThreads(__tstate
);
39520 if (PyErr_Occurred()) SWIG_fail
;
39523 wxPoint
* resultptr
;
39524 resultptr
= new wxPoint((wxPoint
&)(result
));
39525 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
39533 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39534 PyObject
*resultobj
;
39535 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39537 PyObject
* obj0
= 0 ;
39538 char *kwnames
[] = {
39539 (char *) "self", NULL
39542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
39543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39544 if (SWIG_arg_fail(1)) SWIG_fail
;
39546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39547 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
39549 wxPyEndAllowThreads(__tstate
);
39550 if (PyErr_Occurred()) SWIG_fail
;
39552 resultobj
= result
;
39559 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
39561 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39562 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
39564 return Py_BuildValue((char *)"");
39566 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39567 PyObject
*resultobj
;
39568 wxSizer
*arg1
= (wxSizer
*) 0 ;
39569 PyObject
*arg2
= (PyObject
*) 0 ;
39570 PyObject
* obj0
= 0 ;
39571 PyObject
* obj1
= 0 ;
39572 char *kwnames
[] = {
39573 (char *) "self",(char *) "_self", NULL
39576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
39577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39578 if (SWIG_arg_fail(1)) SWIG_fail
;
39581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39582 wxSizer__setOORInfo(arg1
,arg2
);
39584 wxPyEndAllowThreads(__tstate
);
39585 if (PyErr_Occurred()) SWIG_fail
;
39587 Py_INCREF(Py_None
); resultobj
= Py_None
;
39594 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39595 PyObject
*resultobj
;
39596 wxSizer
*arg1
= (wxSizer
*) 0 ;
39597 PyObject
*arg2
= (PyObject
*) 0 ;
39598 int arg3
= (int) 0 ;
39599 int arg4
= (int) 0 ;
39600 int arg5
= (int) 0 ;
39601 PyObject
*arg6
= (PyObject
*) NULL
;
39602 wxSizerItem
*result
;
39603 PyObject
* obj0
= 0 ;
39604 PyObject
* obj1
= 0 ;
39605 PyObject
* obj2
= 0 ;
39606 PyObject
* obj3
= 0 ;
39607 PyObject
* obj4
= 0 ;
39608 PyObject
* obj5
= 0 ;
39609 char *kwnames
[] = {
39610 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39615 if (SWIG_arg_fail(1)) SWIG_fail
;
39619 arg3
= (int)(SWIG_As_int(obj2
));
39620 if (SWIG_arg_fail(3)) SWIG_fail
;
39625 arg4
= (int)(SWIG_As_int(obj3
));
39626 if (SWIG_arg_fail(4)) SWIG_fail
;
39631 arg5
= (int)(SWIG_As_int(obj4
));
39632 if (SWIG_arg_fail(5)) SWIG_fail
;
39639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39640 result
= (wxSizerItem
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
39642 wxPyEndAllowThreads(__tstate
);
39643 if (PyErr_Occurred()) SWIG_fail
;
39645 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39652 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39653 PyObject
*resultobj
;
39654 wxSizer
*arg1
= (wxSizer
*) 0 ;
39656 PyObject
*arg3
= (PyObject
*) 0 ;
39657 int arg4
= (int) 0 ;
39658 int arg5
= (int) 0 ;
39659 int arg6
= (int) 0 ;
39660 PyObject
*arg7
= (PyObject
*) NULL
;
39661 wxSizerItem
*result
;
39662 PyObject
* obj0
= 0 ;
39663 PyObject
* obj1
= 0 ;
39664 PyObject
* obj2
= 0 ;
39665 PyObject
* obj3
= 0 ;
39666 PyObject
* obj4
= 0 ;
39667 PyObject
* obj5
= 0 ;
39668 PyObject
* obj6
= 0 ;
39669 char *kwnames
[] = {
39670 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
39674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39675 if (SWIG_arg_fail(1)) SWIG_fail
;
39677 arg2
= (int)(SWIG_As_int(obj1
));
39678 if (SWIG_arg_fail(2)) SWIG_fail
;
39683 arg4
= (int)(SWIG_As_int(obj3
));
39684 if (SWIG_arg_fail(4)) SWIG_fail
;
39689 arg5
= (int)(SWIG_As_int(obj4
));
39690 if (SWIG_arg_fail(5)) SWIG_fail
;
39695 arg6
= (int)(SWIG_As_int(obj5
));
39696 if (SWIG_arg_fail(6)) SWIG_fail
;
39703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39704 result
= (wxSizerItem
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
39706 wxPyEndAllowThreads(__tstate
);
39707 if (PyErr_Occurred()) SWIG_fail
;
39709 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39716 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39717 PyObject
*resultobj
;
39718 wxSizer
*arg1
= (wxSizer
*) 0 ;
39719 PyObject
*arg2
= (PyObject
*) 0 ;
39720 int arg3
= (int) 0 ;
39721 int arg4
= (int) 0 ;
39722 int arg5
= (int) 0 ;
39723 PyObject
*arg6
= (PyObject
*) NULL
;
39724 wxSizerItem
*result
;
39725 PyObject
* obj0
= 0 ;
39726 PyObject
* obj1
= 0 ;
39727 PyObject
* obj2
= 0 ;
39728 PyObject
* obj3
= 0 ;
39729 PyObject
* obj4
= 0 ;
39730 PyObject
* obj5
= 0 ;
39731 char *kwnames
[] = {
39732 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39737 if (SWIG_arg_fail(1)) SWIG_fail
;
39741 arg3
= (int)(SWIG_As_int(obj2
));
39742 if (SWIG_arg_fail(3)) SWIG_fail
;
39747 arg4
= (int)(SWIG_As_int(obj3
));
39748 if (SWIG_arg_fail(4)) SWIG_fail
;
39753 arg5
= (int)(SWIG_As_int(obj4
));
39754 if (SWIG_arg_fail(5)) SWIG_fail
;
39761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39762 result
= (wxSizerItem
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
39764 wxPyEndAllowThreads(__tstate
);
39765 if (PyErr_Occurred()) SWIG_fail
;
39767 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39774 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39775 PyObject
*resultobj
;
39776 wxSizer
*arg1
= (wxSizer
*) 0 ;
39777 PyObject
*arg2
= (PyObject
*) 0 ;
39779 PyObject
* obj0
= 0 ;
39780 PyObject
* obj1
= 0 ;
39781 char *kwnames
[] = {
39782 (char *) "self",(char *) "item", NULL
39785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
39786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39787 if (SWIG_arg_fail(1)) SWIG_fail
;
39790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39791 result
= (bool)wxSizer_Remove(arg1
,arg2
);
39793 wxPyEndAllowThreads(__tstate
);
39794 if (PyErr_Occurred()) SWIG_fail
;
39797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39805 static PyObject
*_wrap_Sizer_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39806 PyObject
*resultobj
;
39807 wxSizer
*arg1
= (wxSizer
*) 0 ;
39808 PyObject
*arg2
= (PyObject
*) 0 ;
39810 PyObject
* obj0
= 0 ;
39811 PyObject
* obj1
= 0 ;
39812 char *kwnames
[] = {
39813 (char *) "self",(char *) "item", NULL
39816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
39817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39818 if (SWIG_arg_fail(1)) SWIG_fail
;
39821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39822 result
= (bool)wxSizer_Detach(arg1
,arg2
);
39824 wxPyEndAllowThreads(__tstate
);
39825 if (PyErr_Occurred()) SWIG_fail
;
39828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39836 static PyObject
*_wrap_Sizer_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39837 PyObject
*resultobj
;
39838 wxSizer
*arg1
= (wxSizer
*) 0 ;
39839 PyObject
*arg2
= (PyObject
*) 0 ;
39840 wxSizerItem
*result
;
39841 PyObject
* obj0
= 0 ;
39842 PyObject
* obj1
= 0 ;
39843 char *kwnames
[] = {
39844 (char *) "self",(char *) "item", NULL
39847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_GetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39849 if (SWIG_arg_fail(1)) SWIG_fail
;
39852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39853 result
= (wxSizerItem
*)wxSizer_GetItem(arg1
,arg2
);
39855 wxPyEndAllowThreads(__tstate
);
39856 if (PyErr_Occurred()) SWIG_fail
;
39858 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39865 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39866 PyObject
*resultobj
;
39867 wxSizer
*arg1
= (wxSizer
*) 0 ;
39868 PyObject
*arg2
= (PyObject
*) 0 ;
39871 PyObject
* obj0
= 0 ;
39872 PyObject
* obj1
= 0 ;
39873 PyObject
* obj2
= 0 ;
39874 char *kwnames
[] = {
39875 (char *) "self",(char *) "item",(char *) "size", NULL
39878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39880 if (SWIG_arg_fail(1)) SWIG_fail
;
39884 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
39887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39888 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
39890 wxPyEndAllowThreads(__tstate
);
39891 if (PyErr_Occurred()) SWIG_fail
;
39893 Py_INCREF(Py_None
); resultobj
= Py_None
;
39900 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39901 PyObject
*resultobj
;
39902 wxSizer
*arg1
= (wxSizer
*) 0 ;
39903 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
39904 wxSizerItem
*result
;
39905 PyObject
* obj0
= 0 ;
39906 PyObject
* obj1
= 0 ;
39907 char *kwnames
[] = {
39908 (char *) "self",(char *) "item", NULL
39911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39913 if (SWIG_arg_fail(1)) SWIG_fail
;
39914 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39915 if (SWIG_arg_fail(2)) SWIG_fail
;
39917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39918 result
= (wxSizerItem
*)(arg1
)->Add(arg2
);
39920 wxPyEndAllowThreads(__tstate
);
39921 if (PyErr_Occurred()) SWIG_fail
;
39923 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39930 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39931 PyObject
*resultobj
;
39932 wxSizer
*arg1
= (wxSizer
*) 0 ;
39934 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
39935 wxSizerItem
*result
;
39936 PyObject
* obj0
= 0 ;
39937 PyObject
* obj1
= 0 ;
39938 PyObject
* obj2
= 0 ;
39939 char *kwnames
[] = {
39940 (char *) "self",(char *) "index",(char *) "item", NULL
39943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39945 if (SWIG_arg_fail(1)) SWIG_fail
;
39947 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
39948 if (SWIG_arg_fail(2)) SWIG_fail
;
39950 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39951 if (SWIG_arg_fail(3)) SWIG_fail
;
39953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39954 result
= (wxSizerItem
*)(arg1
)->Insert(arg2
,arg3
);
39956 wxPyEndAllowThreads(__tstate
);
39957 if (PyErr_Occurred()) SWIG_fail
;
39959 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39966 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39967 PyObject
*resultobj
;
39968 wxSizer
*arg1
= (wxSizer
*) 0 ;
39969 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
39970 wxSizerItem
*result
;
39971 PyObject
* obj0
= 0 ;
39972 PyObject
* obj1
= 0 ;
39973 char *kwnames
[] = {
39974 (char *) "self",(char *) "item", NULL
39977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39979 if (SWIG_arg_fail(1)) SWIG_fail
;
39980 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39981 if (SWIG_arg_fail(2)) SWIG_fail
;
39983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39984 result
= (wxSizerItem
*)(arg1
)->Prepend(arg2
);
39986 wxPyEndAllowThreads(__tstate
);
39987 if (PyErr_Occurred()) SWIG_fail
;
39989 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39996 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39997 PyObject
*resultobj
;
39998 wxSizer
*arg1
= (wxSizer
*) 0 ;
40003 PyObject
* obj0
= 0 ;
40004 PyObject
* obj1
= 0 ;
40005 PyObject
* obj2
= 0 ;
40006 PyObject
* obj3
= 0 ;
40007 PyObject
* obj4
= 0 ;
40008 char *kwnames
[] = {
40009 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
40012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
40013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40014 if (SWIG_arg_fail(1)) SWIG_fail
;
40016 arg2
= (int)(SWIG_As_int(obj1
));
40017 if (SWIG_arg_fail(2)) SWIG_fail
;
40020 arg3
= (int)(SWIG_As_int(obj2
));
40021 if (SWIG_arg_fail(3)) SWIG_fail
;
40024 arg4
= (int)(SWIG_As_int(obj3
));
40025 if (SWIG_arg_fail(4)) SWIG_fail
;
40028 arg5
= (int)(SWIG_As_int(obj4
));
40029 if (SWIG_arg_fail(5)) SWIG_fail
;
40032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40033 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
40035 wxPyEndAllowThreads(__tstate
);
40036 if (PyErr_Occurred()) SWIG_fail
;
40038 Py_INCREF(Py_None
); resultobj
= Py_None
;
40045 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40046 PyObject
*resultobj
;
40047 wxSizer
*arg1
= (wxSizer
*) 0 ;
40050 PyObject
* obj0
= 0 ;
40051 PyObject
* obj1
= 0 ;
40052 char *kwnames
[] = {
40053 (char *) "self",(char *) "size", NULL
40056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
40057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40058 if (SWIG_arg_fail(1)) SWIG_fail
;
40061 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
40064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40065 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
40067 wxPyEndAllowThreads(__tstate
);
40068 if (PyErr_Occurred()) SWIG_fail
;
40070 Py_INCREF(Py_None
); resultobj
= Py_None
;
40077 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40078 PyObject
*resultobj
;
40079 wxSizer
*arg1
= (wxSizer
*) 0 ;
40081 PyObject
* obj0
= 0 ;
40082 char *kwnames
[] = {
40083 (char *) "self", NULL
40086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
40087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40088 if (SWIG_arg_fail(1)) SWIG_fail
;
40090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40091 result
= (arg1
)->GetSize();
40093 wxPyEndAllowThreads(__tstate
);
40094 if (PyErr_Occurred()) SWIG_fail
;
40097 wxSize
* resultptr
;
40098 resultptr
= new wxSize((wxSize
&)(result
));
40099 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40107 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40108 PyObject
*resultobj
;
40109 wxSizer
*arg1
= (wxSizer
*) 0 ;
40111 PyObject
* obj0
= 0 ;
40112 char *kwnames
[] = {
40113 (char *) "self", NULL
40116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
40117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40118 if (SWIG_arg_fail(1)) SWIG_fail
;
40120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40121 result
= (arg1
)->GetPosition();
40123 wxPyEndAllowThreads(__tstate
);
40124 if (PyErr_Occurred()) SWIG_fail
;
40127 wxPoint
* resultptr
;
40128 resultptr
= new wxPoint((wxPoint
&)(result
));
40129 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
40137 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40138 PyObject
*resultobj
;
40139 wxSizer
*arg1
= (wxSizer
*) 0 ;
40141 PyObject
* obj0
= 0 ;
40142 char *kwnames
[] = {
40143 (char *) "self", NULL
40146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
40147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40148 if (SWIG_arg_fail(1)) SWIG_fail
;
40150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40151 result
= (arg1
)->GetMinSize();
40153 wxPyEndAllowThreads(__tstate
);
40154 if (PyErr_Occurred()) SWIG_fail
;
40157 wxSize
* resultptr
;
40158 resultptr
= new wxSize((wxSize
&)(result
));
40159 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40167 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40168 PyObject
*resultobj
;
40169 wxSizer
*arg1
= (wxSizer
*) 0 ;
40170 PyObject
* obj0
= 0 ;
40171 char *kwnames
[] = {
40172 (char *) "self", NULL
40175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
40176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40177 if (SWIG_arg_fail(1)) SWIG_fail
;
40179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40180 (arg1
)->RecalcSizes();
40182 wxPyEndAllowThreads(__tstate
);
40183 if (PyErr_Occurred()) SWIG_fail
;
40185 Py_INCREF(Py_None
); resultobj
= Py_None
;
40192 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40193 PyObject
*resultobj
;
40194 wxSizer
*arg1
= (wxSizer
*) 0 ;
40196 PyObject
* obj0
= 0 ;
40197 char *kwnames
[] = {
40198 (char *) "self", NULL
40201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
40202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40203 if (SWIG_arg_fail(1)) SWIG_fail
;
40205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40206 result
= (arg1
)->CalcMin();
40208 wxPyEndAllowThreads(__tstate
);
40209 if (PyErr_Occurred()) SWIG_fail
;
40212 wxSize
* resultptr
;
40213 resultptr
= new wxSize((wxSize
&)(result
));
40214 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40222 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40223 PyObject
*resultobj
;
40224 wxSizer
*arg1
= (wxSizer
*) 0 ;
40225 PyObject
* obj0
= 0 ;
40226 char *kwnames
[] = {
40227 (char *) "self", NULL
40230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
40231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40232 if (SWIG_arg_fail(1)) SWIG_fail
;
40234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40237 wxPyEndAllowThreads(__tstate
);
40238 if (PyErr_Occurred()) SWIG_fail
;
40240 Py_INCREF(Py_None
); resultobj
= Py_None
;
40247 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40248 PyObject
*resultobj
;
40249 wxSizer
*arg1
= (wxSizer
*) 0 ;
40250 wxWindow
*arg2
= (wxWindow
*) 0 ;
40252 PyObject
* obj0
= 0 ;
40253 PyObject
* obj1
= 0 ;
40254 char *kwnames
[] = {
40255 (char *) "self",(char *) "window", NULL
40258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
40259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40260 if (SWIG_arg_fail(1)) SWIG_fail
;
40261 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40262 if (SWIG_arg_fail(2)) SWIG_fail
;
40264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40265 result
= (arg1
)->Fit(arg2
);
40267 wxPyEndAllowThreads(__tstate
);
40268 if (PyErr_Occurred()) SWIG_fail
;
40271 wxSize
* resultptr
;
40272 resultptr
= new wxSize((wxSize
&)(result
));
40273 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40281 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40282 PyObject
*resultobj
;
40283 wxSizer
*arg1
= (wxSizer
*) 0 ;
40284 wxWindow
*arg2
= (wxWindow
*) 0 ;
40285 PyObject
* obj0
= 0 ;
40286 PyObject
* obj1
= 0 ;
40287 char *kwnames
[] = {
40288 (char *) "self",(char *) "window", NULL
40291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
40292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40293 if (SWIG_arg_fail(1)) SWIG_fail
;
40294 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40295 if (SWIG_arg_fail(2)) SWIG_fail
;
40297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40298 (arg1
)->FitInside(arg2
);
40300 wxPyEndAllowThreads(__tstate
);
40301 if (PyErr_Occurred()) SWIG_fail
;
40303 Py_INCREF(Py_None
); resultobj
= Py_None
;
40310 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40311 PyObject
*resultobj
;
40312 wxSizer
*arg1
= (wxSizer
*) 0 ;
40313 wxWindow
*arg2
= (wxWindow
*) 0 ;
40314 PyObject
* obj0
= 0 ;
40315 PyObject
* obj1
= 0 ;
40316 char *kwnames
[] = {
40317 (char *) "self",(char *) "window", NULL
40320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
40321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40322 if (SWIG_arg_fail(1)) SWIG_fail
;
40323 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40324 if (SWIG_arg_fail(2)) SWIG_fail
;
40326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40327 (arg1
)->SetSizeHints(arg2
);
40329 wxPyEndAllowThreads(__tstate
);
40330 if (PyErr_Occurred()) SWIG_fail
;
40332 Py_INCREF(Py_None
); resultobj
= Py_None
;
40339 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40340 PyObject
*resultobj
;
40341 wxSizer
*arg1
= (wxSizer
*) 0 ;
40342 wxWindow
*arg2
= (wxWindow
*) 0 ;
40343 PyObject
* obj0
= 0 ;
40344 PyObject
* obj1
= 0 ;
40345 char *kwnames
[] = {
40346 (char *) "self",(char *) "window", NULL
40349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
40350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40351 if (SWIG_arg_fail(1)) SWIG_fail
;
40352 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40353 if (SWIG_arg_fail(2)) SWIG_fail
;
40355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40356 (arg1
)->SetVirtualSizeHints(arg2
);
40358 wxPyEndAllowThreads(__tstate
);
40359 if (PyErr_Occurred()) SWIG_fail
;
40361 Py_INCREF(Py_None
); resultobj
= Py_None
;
40368 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40369 PyObject
*resultobj
;
40370 wxSizer
*arg1
= (wxSizer
*) 0 ;
40371 bool arg2
= (bool) false ;
40372 PyObject
* obj0
= 0 ;
40373 PyObject
* obj1
= 0 ;
40374 char *kwnames
[] = {
40375 (char *) "self",(char *) "deleteWindows", NULL
40378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
40379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40380 if (SWIG_arg_fail(1)) SWIG_fail
;
40383 arg2
= (bool)(SWIG_As_bool(obj1
));
40384 if (SWIG_arg_fail(2)) SWIG_fail
;
40388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40389 (arg1
)->Clear(arg2
);
40391 wxPyEndAllowThreads(__tstate
);
40392 if (PyErr_Occurred()) SWIG_fail
;
40394 Py_INCREF(Py_None
); resultobj
= Py_None
;
40401 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40402 PyObject
*resultobj
;
40403 wxSizer
*arg1
= (wxSizer
*) 0 ;
40404 PyObject
* obj0
= 0 ;
40405 char *kwnames
[] = {
40406 (char *) "self", NULL
40409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
40410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40411 if (SWIG_arg_fail(1)) SWIG_fail
;
40413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40414 (arg1
)->DeleteWindows();
40416 wxPyEndAllowThreads(__tstate
);
40417 if (PyErr_Occurred()) SWIG_fail
;
40419 Py_INCREF(Py_None
); resultobj
= Py_None
;
40426 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40427 PyObject
*resultobj
;
40428 wxSizer
*arg1
= (wxSizer
*) 0 ;
40430 PyObject
* obj0
= 0 ;
40431 char *kwnames
[] = {
40432 (char *) "self", NULL
40435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
40436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40437 if (SWIG_arg_fail(1)) SWIG_fail
;
40439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40440 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
40442 wxPyEndAllowThreads(__tstate
);
40443 if (PyErr_Occurred()) SWIG_fail
;
40445 resultobj
= result
;
40452 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40453 PyObject
*resultobj
;
40454 wxSizer
*arg1
= (wxSizer
*) 0 ;
40455 PyObject
*arg2
= (PyObject
*) 0 ;
40456 bool arg3
= (bool) true ;
40457 bool arg4
= (bool) false ;
40459 PyObject
* obj0
= 0 ;
40460 PyObject
* obj1
= 0 ;
40461 PyObject
* obj2
= 0 ;
40462 PyObject
* obj3
= 0 ;
40463 char *kwnames
[] = {
40464 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
40467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40469 if (SWIG_arg_fail(1)) SWIG_fail
;
40473 arg3
= (bool)(SWIG_As_bool(obj2
));
40474 if (SWIG_arg_fail(3)) SWIG_fail
;
40479 arg4
= (bool)(SWIG_As_bool(obj3
));
40480 if (SWIG_arg_fail(4)) SWIG_fail
;
40484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40485 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
40487 wxPyEndAllowThreads(__tstate
);
40488 if (PyErr_Occurred()) SWIG_fail
;
40491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40499 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40500 PyObject
*resultobj
;
40501 wxSizer
*arg1
= (wxSizer
*) 0 ;
40502 PyObject
*arg2
= (PyObject
*) 0 ;
40504 PyObject
* obj0
= 0 ;
40505 PyObject
* obj1
= 0 ;
40506 char *kwnames
[] = {
40507 (char *) "self",(char *) "item", NULL
40510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
40511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40512 if (SWIG_arg_fail(1)) SWIG_fail
;
40515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40516 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
40518 wxPyEndAllowThreads(__tstate
);
40519 if (PyErr_Occurred()) SWIG_fail
;
40522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40530 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40531 PyObject
*resultobj
;
40532 wxSizer
*arg1
= (wxSizer
*) 0 ;
40534 PyObject
* obj0
= 0 ;
40535 PyObject
* obj1
= 0 ;
40536 char *kwnames
[] = {
40537 (char *) "self",(char *) "show", NULL
40540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
40541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40542 if (SWIG_arg_fail(1)) SWIG_fail
;
40544 arg2
= (bool)(SWIG_As_bool(obj1
));
40545 if (SWIG_arg_fail(2)) SWIG_fail
;
40548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40549 (arg1
)->ShowItems(arg2
);
40551 wxPyEndAllowThreads(__tstate
);
40552 if (PyErr_Occurred()) SWIG_fail
;
40554 Py_INCREF(Py_None
); resultobj
= Py_None
;
40561 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
40563 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40564 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
40566 return Py_BuildValue((char *)"");
40568 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40569 PyObject
*resultobj
;
40571 char *kwnames
[] = {
40575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
40577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40578 result
= (wxPySizer
*)new wxPySizer();
40580 wxPyEndAllowThreads(__tstate
);
40581 if (PyErr_Occurred()) SWIG_fail
;
40583 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
40590 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40591 PyObject
*resultobj
;
40592 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
40593 PyObject
*arg2
= (PyObject
*) 0 ;
40594 PyObject
*arg3
= (PyObject
*) 0 ;
40595 PyObject
* obj0
= 0 ;
40596 PyObject
* obj1
= 0 ;
40597 PyObject
* obj2
= 0 ;
40598 char *kwnames
[] = {
40599 (char *) "self",(char *) "self",(char *) "_class", NULL
40602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPySizer
, SWIG_POINTER_EXCEPTION
| 0);
40604 if (SWIG_arg_fail(1)) SWIG_fail
;
40608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40609 (arg1
)->_setCallbackInfo(arg2
,arg3
);
40611 wxPyEndAllowThreads(__tstate
);
40612 if (PyErr_Occurred()) SWIG_fail
;
40614 Py_INCREF(Py_None
); resultobj
= Py_None
;
40621 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
40623 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40624 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
40626 return Py_BuildValue((char *)"");
40628 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40629 PyObject
*resultobj
;
40630 int arg1
= (int) wxHORIZONTAL
;
40631 wxBoxSizer
*result
;
40632 PyObject
* obj0
= 0 ;
40633 char *kwnames
[] = {
40634 (char *) "orient", NULL
40637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
40640 arg1
= (int)(SWIG_As_int(obj0
));
40641 if (SWIG_arg_fail(1)) SWIG_fail
;
40645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40646 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
40648 wxPyEndAllowThreads(__tstate
);
40649 if (PyErr_Occurred()) SWIG_fail
;
40651 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
40658 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40659 PyObject
*resultobj
;
40660 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
40662 PyObject
* obj0
= 0 ;
40663 char *kwnames
[] = {
40664 (char *) "self", NULL
40667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
40668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40669 if (SWIG_arg_fail(1)) SWIG_fail
;
40671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40672 result
= (int)(arg1
)->GetOrientation();
40674 wxPyEndAllowThreads(__tstate
);
40675 if (PyErr_Occurred()) SWIG_fail
;
40678 resultobj
= SWIG_From_int((int)(result
));
40686 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40687 PyObject
*resultobj
;
40688 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
40690 PyObject
* obj0
= 0 ;
40691 PyObject
* obj1
= 0 ;
40692 char *kwnames
[] = {
40693 (char *) "self",(char *) "orient", NULL
40696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
40697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40698 if (SWIG_arg_fail(1)) SWIG_fail
;
40700 arg2
= (int)(SWIG_As_int(obj1
));
40701 if (SWIG_arg_fail(2)) SWIG_fail
;
40704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40705 (arg1
)->SetOrientation(arg2
);
40707 wxPyEndAllowThreads(__tstate
);
40708 if (PyErr_Occurred()) SWIG_fail
;
40710 Py_INCREF(Py_None
); resultobj
= Py_None
;
40717 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
40719 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40720 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
40722 return Py_BuildValue((char *)"");
40724 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40725 PyObject
*resultobj
;
40726 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
40727 int arg2
= (int) wxHORIZONTAL
;
40728 wxStaticBoxSizer
*result
;
40729 PyObject
* obj0
= 0 ;
40730 PyObject
* obj1
= 0 ;
40731 char *kwnames
[] = {
40732 (char *) "box",(char *) "orient", NULL
40735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
40736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
40737 if (SWIG_arg_fail(1)) SWIG_fail
;
40740 arg2
= (int)(SWIG_As_int(obj1
));
40741 if (SWIG_arg_fail(2)) SWIG_fail
;
40745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40746 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
40748 wxPyEndAllowThreads(__tstate
);
40749 if (PyErr_Occurred()) SWIG_fail
;
40751 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
40758 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40759 PyObject
*resultobj
;
40760 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
40761 wxStaticBox
*result
;
40762 PyObject
* obj0
= 0 ;
40763 char *kwnames
[] = {
40764 (char *) "self", NULL
40767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
40768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40769 if (SWIG_arg_fail(1)) SWIG_fail
;
40771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40772 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
40774 wxPyEndAllowThreads(__tstate
);
40775 if (PyErr_Occurred()) SWIG_fail
;
40778 resultobj
= wxPyMake_wxObject(result
, 0);
40786 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
40788 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40789 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
40791 return Py_BuildValue((char *)"");
40793 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40794 PyObject
*resultobj
;
40795 int arg1
= (int) 1 ;
40796 int arg2
= (int) 0 ;
40797 int arg3
= (int) 0 ;
40798 int arg4
= (int) 0 ;
40799 wxGridSizer
*result
;
40800 PyObject
* obj0
= 0 ;
40801 PyObject
* obj1
= 0 ;
40802 PyObject
* obj2
= 0 ;
40803 PyObject
* obj3
= 0 ;
40804 char *kwnames
[] = {
40805 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
40808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40811 arg1
= (int)(SWIG_As_int(obj0
));
40812 if (SWIG_arg_fail(1)) SWIG_fail
;
40817 arg2
= (int)(SWIG_As_int(obj1
));
40818 if (SWIG_arg_fail(2)) SWIG_fail
;
40823 arg3
= (int)(SWIG_As_int(obj2
));
40824 if (SWIG_arg_fail(3)) SWIG_fail
;
40829 arg4
= (int)(SWIG_As_int(obj3
));
40830 if (SWIG_arg_fail(4)) SWIG_fail
;
40834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40835 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
40837 wxPyEndAllowThreads(__tstate
);
40838 if (PyErr_Occurred()) SWIG_fail
;
40840 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
40847 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40848 PyObject
*resultobj
;
40849 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40851 PyObject
* obj0
= 0 ;
40852 PyObject
* obj1
= 0 ;
40853 char *kwnames
[] = {
40854 (char *) "self",(char *) "cols", NULL
40857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
40858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40859 if (SWIG_arg_fail(1)) SWIG_fail
;
40861 arg2
= (int)(SWIG_As_int(obj1
));
40862 if (SWIG_arg_fail(2)) SWIG_fail
;
40865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40866 (arg1
)->SetCols(arg2
);
40868 wxPyEndAllowThreads(__tstate
);
40869 if (PyErr_Occurred()) SWIG_fail
;
40871 Py_INCREF(Py_None
); resultobj
= Py_None
;
40878 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40879 PyObject
*resultobj
;
40880 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40882 PyObject
* obj0
= 0 ;
40883 PyObject
* obj1
= 0 ;
40884 char *kwnames
[] = {
40885 (char *) "self",(char *) "rows", NULL
40888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
40889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40890 if (SWIG_arg_fail(1)) SWIG_fail
;
40892 arg2
= (int)(SWIG_As_int(obj1
));
40893 if (SWIG_arg_fail(2)) SWIG_fail
;
40896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40897 (arg1
)->SetRows(arg2
);
40899 wxPyEndAllowThreads(__tstate
);
40900 if (PyErr_Occurred()) SWIG_fail
;
40902 Py_INCREF(Py_None
); resultobj
= Py_None
;
40909 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40910 PyObject
*resultobj
;
40911 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40913 PyObject
* obj0
= 0 ;
40914 PyObject
* obj1
= 0 ;
40915 char *kwnames
[] = {
40916 (char *) "self",(char *) "gap", NULL
40919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
40920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40921 if (SWIG_arg_fail(1)) SWIG_fail
;
40923 arg2
= (int)(SWIG_As_int(obj1
));
40924 if (SWIG_arg_fail(2)) SWIG_fail
;
40927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40928 (arg1
)->SetVGap(arg2
);
40930 wxPyEndAllowThreads(__tstate
);
40931 if (PyErr_Occurred()) SWIG_fail
;
40933 Py_INCREF(Py_None
); resultobj
= Py_None
;
40940 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40941 PyObject
*resultobj
;
40942 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40944 PyObject
* obj0
= 0 ;
40945 PyObject
* obj1
= 0 ;
40946 char *kwnames
[] = {
40947 (char *) "self",(char *) "gap", NULL
40950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
40951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40952 if (SWIG_arg_fail(1)) SWIG_fail
;
40954 arg2
= (int)(SWIG_As_int(obj1
));
40955 if (SWIG_arg_fail(2)) SWIG_fail
;
40958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40959 (arg1
)->SetHGap(arg2
);
40961 wxPyEndAllowThreads(__tstate
);
40962 if (PyErr_Occurred()) SWIG_fail
;
40964 Py_INCREF(Py_None
); resultobj
= Py_None
;
40971 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40972 PyObject
*resultobj
;
40973 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40975 PyObject
* obj0
= 0 ;
40976 char *kwnames
[] = {
40977 (char *) "self", NULL
40980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
40981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40982 if (SWIG_arg_fail(1)) SWIG_fail
;
40984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40985 result
= (int)(arg1
)->GetCols();
40987 wxPyEndAllowThreads(__tstate
);
40988 if (PyErr_Occurred()) SWIG_fail
;
40991 resultobj
= SWIG_From_int((int)(result
));
40999 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41000 PyObject
*resultobj
;
41001 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41003 PyObject
* obj0
= 0 ;
41004 char *kwnames
[] = {
41005 (char *) "self", NULL
41008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
41009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41010 if (SWIG_arg_fail(1)) SWIG_fail
;
41012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41013 result
= (int)(arg1
)->GetRows();
41015 wxPyEndAllowThreads(__tstate
);
41016 if (PyErr_Occurred()) SWIG_fail
;
41019 resultobj
= SWIG_From_int((int)(result
));
41027 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41028 PyObject
*resultobj
;
41029 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41031 PyObject
* obj0
= 0 ;
41032 char *kwnames
[] = {
41033 (char *) "self", NULL
41036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
41037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41038 if (SWIG_arg_fail(1)) SWIG_fail
;
41040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41041 result
= (int)(arg1
)->GetVGap();
41043 wxPyEndAllowThreads(__tstate
);
41044 if (PyErr_Occurred()) SWIG_fail
;
41047 resultobj
= SWIG_From_int((int)(result
));
41055 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41056 PyObject
*resultobj
;
41057 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41059 PyObject
* obj0
= 0 ;
41060 char *kwnames
[] = {
41061 (char *) "self", NULL
41064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
41065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41066 if (SWIG_arg_fail(1)) SWIG_fail
;
41068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41069 result
= (int)(arg1
)->GetHGap();
41071 wxPyEndAllowThreads(__tstate
);
41072 if (PyErr_Occurred()) SWIG_fail
;
41075 resultobj
= SWIG_From_int((int)(result
));
41083 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
41085 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41086 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
41088 return Py_BuildValue((char *)"");
41090 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41091 PyObject
*resultobj
;
41092 int arg1
= (int) 1 ;
41093 int arg2
= (int) 0 ;
41094 int arg3
= (int) 0 ;
41095 int arg4
= (int) 0 ;
41096 wxFlexGridSizer
*result
;
41097 PyObject
* obj0
= 0 ;
41098 PyObject
* obj1
= 0 ;
41099 PyObject
* obj2
= 0 ;
41100 PyObject
* obj3
= 0 ;
41101 char *kwnames
[] = {
41102 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
41105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
41108 arg1
= (int)(SWIG_As_int(obj0
));
41109 if (SWIG_arg_fail(1)) SWIG_fail
;
41114 arg2
= (int)(SWIG_As_int(obj1
));
41115 if (SWIG_arg_fail(2)) SWIG_fail
;
41120 arg3
= (int)(SWIG_As_int(obj2
));
41121 if (SWIG_arg_fail(3)) SWIG_fail
;
41126 arg4
= (int)(SWIG_As_int(obj3
));
41127 if (SWIG_arg_fail(4)) SWIG_fail
;
41131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41132 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
41134 wxPyEndAllowThreads(__tstate
);
41135 if (PyErr_Occurred()) SWIG_fail
;
41137 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
41144 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41145 PyObject
*resultobj
;
41146 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41148 int arg3
= (int) 0 ;
41149 PyObject
* obj0
= 0 ;
41150 PyObject
* obj1
= 0 ;
41151 PyObject
* obj2
= 0 ;
41152 char *kwnames
[] = {
41153 (char *) "self",(char *) "idx",(char *) "proportion", NULL
41156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41158 if (SWIG_arg_fail(1)) SWIG_fail
;
41160 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41161 if (SWIG_arg_fail(2)) SWIG_fail
;
41165 arg3
= (int)(SWIG_As_int(obj2
));
41166 if (SWIG_arg_fail(3)) SWIG_fail
;
41170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41171 (arg1
)->AddGrowableRow(arg2
,arg3
);
41173 wxPyEndAllowThreads(__tstate
);
41174 if (PyErr_Occurred()) SWIG_fail
;
41176 Py_INCREF(Py_None
); resultobj
= Py_None
;
41183 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41184 PyObject
*resultobj
;
41185 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41187 PyObject
* obj0
= 0 ;
41188 PyObject
* obj1
= 0 ;
41189 char *kwnames
[] = {
41190 (char *) "self",(char *) "idx", NULL
41193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
41194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41195 if (SWIG_arg_fail(1)) SWIG_fail
;
41197 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41198 if (SWIG_arg_fail(2)) SWIG_fail
;
41201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41202 (arg1
)->RemoveGrowableRow(arg2
);
41204 wxPyEndAllowThreads(__tstate
);
41205 if (PyErr_Occurred()) SWIG_fail
;
41207 Py_INCREF(Py_None
); resultobj
= Py_None
;
41214 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41215 PyObject
*resultobj
;
41216 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41218 int arg3
= (int) 0 ;
41219 PyObject
* obj0
= 0 ;
41220 PyObject
* obj1
= 0 ;
41221 PyObject
* obj2
= 0 ;
41222 char *kwnames
[] = {
41223 (char *) "self",(char *) "idx",(char *) "proportion", NULL
41226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41228 if (SWIG_arg_fail(1)) SWIG_fail
;
41230 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41231 if (SWIG_arg_fail(2)) SWIG_fail
;
41235 arg3
= (int)(SWIG_As_int(obj2
));
41236 if (SWIG_arg_fail(3)) SWIG_fail
;
41240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41241 (arg1
)->AddGrowableCol(arg2
,arg3
);
41243 wxPyEndAllowThreads(__tstate
);
41244 if (PyErr_Occurred()) SWIG_fail
;
41246 Py_INCREF(Py_None
); resultobj
= Py_None
;
41253 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41254 PyObject
*resultobj
;
41255 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41257 PyObject
* obj0
= 0 ;
41258 PyObject
* obj1
= 0 ;
41259 char *kwnames
[] = {
41260 (char *) "self",(char *) "idx", NULL
41263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
41264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41265 if (SWIG_arg_fail(1)) SWIG_fail
;
41267 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41268 if (SWIG_arg_fail(2)) SWIG_fail
;
41271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41272 (arg1
)->RemoveGrowableCol(arg2
);
41274 wxPyEndAllowThreads(__tstate
);
41275 if (PyErr_Occurred()) SWIG_fail
;
41277 Py_INCREF(Py_None
); resultobj
= Py_None
;
41284 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41285 PyObject
*resultobj
;
41286 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41288 PyObject
* obj0
= 0 ;
41289 PyObject
* obj1
= 0 ;
41290 char *kwnames
[] = {
41291 (char *) "self",(char *) "direction", NULL
41294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
41295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41296 if (SWIG_arg_fail(1)) SWIG_fail
;
41298 arg2
= (int)(SWIG_As_int(obj1
));
41299 if (SWIG_arg_fail(2)) SWIG_fail
;
41302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41303 (arg1
)->SetFlexibleDirection(arg2
);
41305 wxPyEndAllowThreads(__tstate
);
41306 if (PyErr_Occurred()) SWIG_fail
;
41308 Py_INCREF(Py_None
); resultobj
= Py_None
;
41315 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41316 PyObject
*resultobj
;
41317 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41319 PyObject
* obj0
= 0 ;
41320 char *kwnames
[] = {
41321 (char *) "self", NULL
41324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
41325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41326 if (SWIG_arg_fail(1)) SWIG_fail
;
41328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41329 result
= (int)(arg1
)->GetFlexibleDirection();
41331 wxPyEndAllowThreads(__tstate
);
41332 if (PyErr_Occurred()) SWIG_fail
;
41335 resultobj
= SWIG_From_int((int)(result
));
41343 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41344 PyObject
*resultobj
;
41345 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41346 wxFlexSizerGrowMode arg2
;
41347 PyObject
* obj0
= 0 ;
41348 PyObject
* obj1
= 0 ;
41349 char *kwnames
[] = {
41350 (char *) "self",(char *) "mode", NULL
41353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
41354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41355 if (SWIG_arg_fail(1)) SWIG_fail
;
41357 arg2
= (wxFlexSizerGrowMode
)(SWIG_As_int(obj1
));
41358 if (SWIG_arg_fail(2)) SWIG_fail
;
41361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41362 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
41364 wxPyEndAllowThreads(__tstate
);
41365 if (PyErr_Occurred()) SWIG_fail
;
41367 Py_INCREF(Py_None
); resultobj
= Py_None
;
41374 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41375 PyObject
*resultobj
;
41376 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41377 wxFlexSizerGrowMode result
;
41378 PyObject
* obj0
= 0 ;
41379 char *kwnames
[] = {
41380 (char *) "self", NULL
41383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
41384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41385 if (SWIG_arg_fail(1)) SWIG_fail
;
41387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41388 result
= (wxFlexSizerGrowMode
)(arg1
)->GetNonFlexibleGrowMode();
41390 wxPyEndAllowThreads(__tstate
);
41391 if (PyErr_Occurred()) SWIG_fail
;
41393 resultobj
= SWIG_From_int((result
));
41400 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41401 PyObject
*resultobj
;
41402 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41403 wxArrayInt
*result
;
41404 PyObject
* obj0
= 0 ;
41405 char *kwnames
[] = {
41406 (char *) "self", NULL
41409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
41410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41411 if (SWIG_arg_fail(1)) SWIG_fail
;
41413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41415 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
41416 result
= (wxArrayInt
*) &_result_ref
;
41419 wxPyEndAllowThreads(__tstate
);
41420 if (PyErr_Occurred()) SWIG_fail
;
41423 resultobj
= PyList_New(0);
41425 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
41426 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
41427 PyList_Append(resultobj
, val
);
41437 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41438 PyObject
*resultobj
;
41439 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41440 wxArrayInt
*result
;
41441 PyObject
* obj0
= 0 ;
41442 char *kwnames
[] = {
41443 (char *) "self", NULL
41446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
41447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41448 if (SWIG_arg_fail(1)) SWIG_fail
;
41450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41452 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
41453 result
= (wxArrayInt
*) &_result_ref
;
41456 wxPyEndAllowThreads(__tstate
);
41457 if (PyErr_Occurred()) SWIG_fail
;
41460 resultobj
= PyList_New(0);
41462 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
41463 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
41464 PyList_Append(resultobj
, val
);
41474 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
41476 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41477 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
41479 return Py_BuildValue((char *)"");
41481 static PyObject
*_wrap_new_StdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41482 PyObject
*resultobj
;
41483 wxStdDialogButtonSizer
*result
;
41484 char *kwnames
[] = {
41488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StdDialogButtonSizer",kwnames
)) goto fail
;
41490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41491 result
= (wxStdDialogButtonSizer
*)new wxStdDialogButtonSizer();
41493 wxPyEndAllowThreads(__tstate
);
41494 if (PyErr_Occurred()) SWIG_fail
;
41496 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 1);
41503 static PyObject
*_wrap_StdDialogButtonSizer_AddButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41504 PyObject
*resultobj
;
41505 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41506 wxButton
*arg2
= (wxButton
*) 0 ;
41507 PyObject
* obj0
= 0 ;
41508 PyObject
* obj1
= 0 ;
41509 char *kwnames
[] = {
41510 (char *) "self",(char *) "button", NULL
41513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_AddButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41515 if (SWIG_arg_fail(1)) SWIG_fail
;
41516 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41517 if (SWIG_arg_fail(2)) SWIG_fail
;
41519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41520 (arg1
)->AddButton(arg2
);
41522 wxPyEndAllowThreads(__tstate
);
41523 if (PyErr_Occurred()) SWIG_fail
;
41525 Py_INCREF(Py_None
); resultobj
= Py_None
;
41532 static PyObject
*_wrap_StdDialogButtonSizer_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41533 PyObject
*resultobj
;
41534 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41535 PyObject
* obj0
= 0 ;
41536 char *kwnames
[] = {
41537 (char *) "self", NULL
41540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_Realize",kwnames
,&obj0
)) goto fail
;
41541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41542 if (SWIG_arg_fail(1)) SWIG_fail
;
41544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41547 wxPyEndAllowThreads(__tstate
);
41548 if (PyErr_Occurred()) SWIG_fail
;
41550 Py_INCREF(Py_None
); resultobj
= Py_None
;
41557 static PyObject
*_wrap_StdDialogButtonSizer_SetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41558 PyObject
*resultobj
;
41559 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41560 wxButton
*arg2
= (wxButton
*) 0 ;
41561 PyObject
* obj0
= 0 ;
41562 PyObject
* obj1
= 0 ;
41563 char *kwnames
[] = {
41564 (char *) "self",(char *) "button", NULL
41567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetAffirmativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41569 if (SWIG_arg_fail(1)) SWIG_fail
;
41570 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41571 if (SWIG_arg_fail(2)) SWIG_fail
;
41573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41574 (arg1
)->SetAffirmativeButton(arg2
);
41576 wxPyEndAllowThreads(__tstate
);
41577 if (PyErr_Occurred()) SWIG_fail
;
41579 Py_INCREF(Py_None
); resultobj
= Py_None
;
41586 static PyObject
*_wrap_StdDialogButtonSizer_SetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41587 PyObject
*resultobj
;
41588 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41589 wxButton
*arg2
= (wxButton
*) 0 ;
41590 PyObject
* obj0
= 0 ;
41591 PyObject
* obj1
= 0 ;
41592 char *kwnames
[] = {
41593 (char *) "self",(char *) "button", NULL
41596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetNegativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41598 if (SWIG_arg_fail(1)) SWIG_fail
;
41599 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41600 if (SWIG_arg_fail(2)) SWIG_fail
;
41602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41603 (arg1
)->SetNegativeButton(arg2
);
41605 wxPyEndAllowThreads(__tstate
);
41606 if (PyErr_Occurred()) SWIG_fail
;
41608 Py_INCREF(Py_None
); resultobj
= Py_None
;
41615 static PyObject
*_wrap_StdDialogButtonSizer_SetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41616 PyObject
*resultobj
;
41617 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41618 wxButton
*arg2
= (wxButton
*) 0 ;
41619 PyObject
* obj0
= 0 ;
41620 PyObject
* obj1
= 0 ;
41621 char *kwnames
[] = {
41622 (char *) "self",(char *) "button", NULL
41625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetCancelButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41627 if (SWIG_arg_fail(1)) SWIG_fail
;
41628 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41629 if (SWIG_arg_fail(2)) SWIG_fail
;
41631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41632 (arg1
)->SetCancelButton(arg2
);
41634 wxPyEndAllowThreads(__tstate
);
41635 if (PyErr_Occurred()) SWIG_fail
;
41637 Py_INCREF(Py_None
); resultobj
= Py_None
;
41644 static PyObject
*_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41645 PyObject
*resultobj
;
41646 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41648 PyObject
* obj0
= 0 ;
41649 char *kwnames
[] = {
41650 (char *) "self", NULL
41653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetAffirmativeButton",kwnames
,&obj0
)) goto fail
;
41654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41655 if (SWIG_arg_fail(1)) SWIG_fail
;
41657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41658 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetAffirmativeButton();
41660 wxPyEndAllowThreads(__tstate
);
41661 if (PyErr_Occurred()) SWIG_fail
;
41664 resultobj
= wxPyMake_wxObject(result
, 0);
41672 static PyObject
*_wrap_StdDialogButtonSizer_GetApplyButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41673 PyObject
*resultobj
;
41674 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41676 PyObject
* obj0
= 0 ;
41677 char *kwnames
[] = {
41678 (char *) "self", NULL
41681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetApplyButton",kwnames
,&obj0
)) goto fail
;
41682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41683 if (SWIG_arg_fail(1)) SWIG_fail
;
41685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41686 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetApplyButton();
41688 wxPyEndAllowThreads(__tstate
);
41689 if (PyErr_Occurred()) SWIG_fail
;
41692 resultobj
= wxPyMake_wxObject(result
, 0);
41700 static PyObject
*_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41701 PyObject
*resultobj
;
41702 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41704 PyObject
* obj0
= 0 ;
41705 char *kwnames
[] = {
41706 (char *) "self", NULL
41709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetNegativeButton",kwnames
,&obj0
)) goto fail
;
41710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41711 if (SWIG_arg_fail(1)) SWIG_fail
;
41713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41714 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetNegativeButton();
41716 wxPyEndAllowThreads(__tstate
);
41717 if (PyErr_Occurred()) SWIG_fail
;
41720 resultobj
= wxPyMake_wxObject(result
, 0);
41728 static PyObject
*_wrap_StdDialogButtonSizer_GetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41729 PyObject
*resultobj
;
41730 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41732 PyObject
* obj0
= 0 ;
41733 char *kwnames
[] = {
41734 (char *) "self", NULL
41737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetCancelButton",kwnames
,&obj0
)) goto fail
;
41738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41739 if (SWIG_arg_fail(1)) SWIG_fail
;
41741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41742 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetCancelButton();
41744 wxPyEndAllowThreads(__tstate
);
41745 if (PyErr_Occurred()) SWIG_fail
;
41748 resultobj
= wxPyMake_wxObject(result
, 0);
41756 static PyObject
*_wrap_StdDialogButtonSizer_GetHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41757 PyObject
*resultobj
;
41758 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41760 PyObject
* obj0
= 0 ;
41761 char *kwnames
[] = {
41762 (char *) "self", NULL
41765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetHelpButton",kwnames
,&obj0
)) goto fail
;
41766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41767 if (SWIG_arg_fail(1)) SWIG_fail
;
41769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41770 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetHelpButton();
41772 wxPyEndAllowThreads(__tstate
);
41773 if (PyErr_Occurred()) SWIG_fail
;
41776 resultobj
= wxPyMake_wxObject(result
, 0);
41784 static PyObject
* StdDialogButtonSizer_swigregister(PyObject
*, PyObject
*args
) {
41786 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41787 SWIG_TypeClientData(SWIGTYPE_p_wxStdDialogButtonSizer
, obj
);
41789 return Py_BuildValue((char *)"");
41791 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41792 PyObject
*resultobj
;
41793 int arg1
= (int) 0 ;
41794 int arg2
= (int) 0 ;
41795 wxGBPosition
*result
;
41796 PyObject
* obj0
= 0 ;
41797 PyObject
* obj1
= 0 ;
41798 char *kwnames
[] = {
41799 (char *) "row",(char *) "col", NULL
41802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
41805 arg1
= (int)(SWIG_As_int(obj0
));
41806 if (SWIG_arg_fail(1)) SWIG_fail
;
41811 arg2
= (int)(SWIG_As_int(obj1
));
41812 if (SWIG_arg_fail(2)) SWIG_fail
;
41816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41817 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
41819 wxPyEndAllowThreads(__tstate
);
41820 if (PyErr_Occurred()) SWIG_fail
;
41822 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
41829 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41830 PyObject
*resultobj
;
41831 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41833 PyObject
* obj0
= 0 ;
41834 char *kwnames
[] = {
41835 (char *) "self", NULL
41838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
41839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41840 if (SWIG_arg_fail(1)) SWIG_fail
;
41842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41843 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
41845 wxPyEndAllowThreads(__tstate
);
41846 if (PyErr_Occurred()) SWIG_fail
;
41849 resultobj
= SWIG_From_int((int)(result
));
41857 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41858 PyObject
*resultobj
;
41859 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41861 PyObject
* obj0
= 0 ;
41862 char *kwnames
[] = {
41863 (char *) "self", NULL
41866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
41867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41868 if (SWIG_arg_fail(1)) SWIG_fail
;
41870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41871 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
41873 wxPyEndAllowThreads(__tstate
);
41874 if (PyErr_Occurred()) SWIG_fail
;
41877 resultobj
= SWIG_From_int((int)(result
));
41885 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41886 PyObject
*resultobj
;
41887 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41889 PyObject
* obj0
= 0 ;
41890 PyObject
* obj1
= 0 ;
41891 char *kwnames
[] = {
41892 (char *) "self",(char *) "row", NULL
41895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
41896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41897 if (SWIG_arg_fail(1)) SWIG_fail
;
41899 arg2
= (int)(SWIG_As_int(obj1
));
41900 if (SWIG_arg_fail(2)) SWIG_fail
;
41903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41904 (arg1
)->SetRow(arg2
);
41906 wxPyEndAllowThreads(__tstate
);
41907 if (PyErr_Occurred()) SWIG_fail
;
41909 Py_INCREF(Py_None
); resultobj
= Py_None
;
41916 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41917 PyObject
*resultobj
;
41918 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41920 PyObject
* obj0
= 0 ;
41921 PyObject
* obj1
= 0 ;
41922 char *kwnames
[] = {
41923 (char *) "self",(char *) "col", NULL
41926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
41927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41928 if (SWIG_arg_fail(1)) SWIG_fail
;
41930 arg2
= (int)(SWIG_As_int(obj1
));
41931 if (SWIG_arg_fail(2)) SWIG_fail
;
41934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41935 (arg1
)->SetCol(arg2
);
41937 wxPyEndAllowThreads(__tstate
);
41938 if (PyErr_Occurred()) SWIG_fail
;
41940 Py_INCREF(Py_None
); resultobj
= Py_None
;
41947 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41948 PyObject
*resultobj
;
41949 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41950 wxGBPosition
*arg2
= 0 ;
41952 wxGBPosition temp2
;
41953 PyObject
* obj0
= 0 ;
41954 PyObject
* obj1
= 0 ;
41955 char *kwnames
[] = {
41956 (char *) "self",(char *) "other", NULL
41959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
41960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41961 if (SWIG_arg_fail(1)) SWIG_fail
;
41964 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41968 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
41970 wxPyEndAllowThreads(__tstate
);
41971 if (PyErr_Occurred()) SWIG_fail
;
41974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41982 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41983 PyObject
*resultobj
;
41984 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41985 wxGBPosition
*arg2
= 0 ;
41987 wxGBPosition temp2
;
41988 PyObject
* obj0
= 0 ;
41989 PyObject
* obj1
= 0 ;
41990 char *kwnames
[] = {
41991 (char *) "self",(char *) "other", NULL
41994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
41995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41996 if (SWIG_arg_fail(1)) SWIG_fail
;
41999 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42003 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
42005 wxPyEndAllowThreads(__tstate
);
42006 if (PyErr_Occurred()) SWIG_fail
;
42009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42017 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42018 PyObject
*resultobj
;
42019 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42020 int arg2
= (int) 0 ;
42021 int arg3
= (int) 0 ;
42022 PyObject
* obj0
= 0 ;
42023 PyObject
* obj1
= 0 ;
42024 PyObject
* obj2
= 0 ;
42025 char *kwnames
[] = {
42026 (char *) "self",(char *) "row",(char *) "col", NULL
42029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42031 if (SWIG_arg_fail(1)) SWIG_fail
;
42034 arg2
= (int)(SWIG_As_int(obj1
));
42035 if (SWIG_arg_fail(2)) SWIG_fail
;
42040 arg3
= (int)(SWIG_As_int(obj2
));
42041 if (SWIG_arg_fail(3)) SWIG_fail
;
42045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42046 wxGBPosition_Set(arg1
,arg2
,arg3
);
42048 wxPyEndAllowThreads(__tstate
);
42049 if (PyErr_Occurred()) SWIG_fail
;
42051 Py_INCREF(Py_None
); resultobj
= Py_None
;
42058 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42059 PyObject
*resultobj
;
42060 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42062 PyObject
* obj0
= 0 ;
42063 char *kwnames
[] = {
42064 (char *) "self", NULL
42067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
42068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42069 if (SWIG_arg_fail(1)) SWIG_fail
;
42071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42072 result
= (PyObject
*)wxGBPosition_Get(arg1
);
42074 wxPyEndAllowThreads(__tstate
);
42075 if (PyErr_Occurred()) SWIG_fail
;
42077 resultobj
= result
;
42084 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
42086 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42087 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
42089 return Py_BuildValue((char *)"");
42091 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42092 PyObject
*resultobj
;
42093 int arg1
= (int) 1 ;
42094 int arg2
= (int) 1 ;
42096 PyObject
* obj0
= 0 ;
42097 PyObject
* obj1
= 0 ;
42098 char *kwnames
[] = {
42099 (char *) "rowspan",(char *) "colspan", NULL
42102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
42105 arg1
= (int)(SWIG_As_int(obj0
));
42106 if (SWIG_arg_fail(1)) SWIG_fail
;
42111 arg2
= (int)(SWIG_As_int(obj1
));
42112 if (SWIG_arg_fail(2)) SWIG_fail
;
42116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42117 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
42119 wxPyEndAllowThreads(__tstate
);
42120 if (PyErr_Occurred()) SWIG_fail
;
42122 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
42129 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42130 PyObject
*resultobj
;
42131 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42133 PyObject
* obj0
= 0 ;
42134 char *kwnames
[] = {
42135 (char *) "self", NULL
42138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
42139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42140 if (SWIG_arg_fail(1)) SWIG_fail
;
42142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42143 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
42145 wxPyEndAllowThreads(__tstate
);
42146 if (PyErr_Occurred()) SWIG_fail
;
42149 resultobj
= SWIG_From_int((int)(result
));
42157 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42158 PyObject
*resultobj
;
42159 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42161 PyObject
* obj0
= 0 ;
42162 char *kwnames
[] = {
42163 (char *) "self", NULL
42166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
42167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42168 if (SWIG_arg_fail(1)) SWIG_fail
;
42170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42171 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
42173 wxPyEndAllowThreads(__tstate
);
42174 if (PyErr_Occurred()) SWIG_fail
;
42177 resultobj
= SWIG_From_int((int)(result
));
42185 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42186 PyObject
*resultobj
;
42187 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42189 PyObject
* obj0
= 0 ;
42190 PyObject
* obj1
= 0 ;
42191 char *kwnames
[] = {
42192 (char *) "self",(char *) "rowspan", NULL
42195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
42196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42197 if (SWIG_arg_fail(1)) SWIG_fail
;
42199 arg2
= (int)(SWIG_As_int(obj1
));
42200 if (SWIG_arg_fail(2)) SWIG_fail
;
42203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42204 (arg1
)->SetRowspan(arg2
);
42206 wxPyEndAllowThreads(__tstate
);
42207 if (PyErr_Occurred()) SWIG_fail
;
42209 Py_INCREF(Py_None
); resultobj
= Py_None
;
42216 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42217 PyObject
*resultobj
;
42218 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42220 PyObject
* obj0
= 0 ;
42221 PyObject
* obj1
= 0 ;
42222 char *kwnames
[] = {
42223 (char *) "self",(char *) "colspan", NULL
42226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
42227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42228 if (SWIG_arg_fail(1)) SWIG_fail
;
42230 arg2
= (int)(SWIG_As_int(obj1
));
42231 if (SWIG_arg_fail(2)) SWIG_fail
;
42234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42235 (arg1
)->SetColspan(arg2
);
42237 wxPyEndAllowThreads(__tstate
);
42238 if (PyErr_Occurred()) SWIG_fail
;
42240 Py_INCREF(Py_None
); resultobj
= Py_None
;
42247 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42248 PyObject
*resultobj
;
42249 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42250 wxGBSpan
*arg2
= 0 ;
42253 PyObject
* obj0
= 0 ;
42254 PyObject
* obj1
= 0 ;
42255 char *kwnames
[] = {
42256 (char *) "self",(char *) "other", NULL
42259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
42260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42261 if (SWIG_arg_fail(1)) SWIG_fail
;
42264 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42268 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
42270 wxPyEndAllowThreads(__tstate
);
42271 if (PyErr_Occurred()) SWIG_fail
;
42274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42282 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42283 PyObject
*resultobj
;
42284 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42285 wxGBSpan
*arg2
= 0 ;
42288 PyObject
* obj0
= 0 ;
42289 PyObject
* obj1
= 0 ;
42290 char *kwnames
[] = {
42291 (char *) "self",(char *) "other", NULL
42294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
42295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42296 if (SWIG_arg_fail(1)) SWIG_fail
;
42299 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42303 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
42305 wxPyEndAllowThreads(__tstate
);
42306 if (PyErr_Occurred()) SWIG_fail
;
42309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42317 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42318 PyObject
*resultobj
;
42319 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42320 int arg2
= (int) 1 ;
42321 int arg3
= (int) 1 ;
42322 PyObject
* obj0
= 0 ;
42323 PyObject
* obj1
= 0 ;
42324 PyObject
* obj2
= 0 ;
42325 char *kwnames
[] = {
42326 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
42329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42331 if (SWIG_arg_fail(1)) SWIG_fail
;
42334 arg2
= (int)(SWIG_As_int(obj1
));
42335 if (SWIG_arg_fail(2)) SWIG_fail
;
42340 arg3
= (int)(SWIG_As_int(obj2
));
42341 if (SWIG_arg_fail(3)) SWIG_fail
;
42345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42346 wxGBSpan_Set(arg1
,arg2
,arg3
);
42348 wxPyEndAllowThreads(__tstate
);
42349 if (PyErr_Occurred()) SWIG_fail
;
42351 Py_INCREF(Py_None
); resultobj
= Py_None
;
42358 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42359 PyObject
*resultobj
;
42360 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42362 PyObject
* obj0
= 0 ;
42363 char *kwnames
[] = {
42364 (char *) "self", NULL
42367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
42368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42369 if (SWIG_arg_fail(1)) SWIG_fail
;
42371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42372 result
= (PyObject
*)wxGBSpan_Get(arg1
);
42374 wxPyEndAllowThreads(__tstate
);
42375 if (PyErr_Occurred()) SWIG_fail
;
42377 resultobj
= result
;
42384 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
42386 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42387 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
42389 return Py_BuildValue((char *)"");
42391 static int _wrap_DefaultSpan_set(PyObject
*) {
42392 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
42397 static PyObject
*_wrap_DefaultSpan_get(void) {
42400 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
42405 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42406 PyObject
*resultobj
;
42407 wxGBSizerItem
*result
;
42408 char *kwnames
[] = {
42412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
42414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42415 result
= (wxGBSizerItem
*)new wxGBSizerItem();
42417 wxPyEndAllowThreads(__tstate
);
42418 if (PyErr_Occurred()) SWIG_fail
;
42420 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42427 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42428 PyObject
*resultobj
;
42429 wxWindow
*arg1
= (wxWindow
*) 0 ;
42430 wxGBPosition
*arg2
= 0 ;
42431 wxGBSpan
*arg3
= 0 ;
42434 PyObject
*arg6
= (PyObject
*) NULL
;
42435 wxGBSizerItem
*result
;
42436 wxGBPosition temp2
;
42438 PyObject
* obj0
= 0 ;
42439 PyObject
* obj1
= 0 ;
42440 PyObject
* obj2
= 0 ;
42441 PyObject
* obj3
= 0 ;
42442 PyObject
* obj4
= 0 ;
42443 PyObject
* obj5
= 0 ;
42444 char *kwnames
[] = {
42445 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
42449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42450 if (SWIG_arg_fail(1)) SWIG_fail
;
42453 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42457 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42460 arg4
= (int)(SWIG_As_int(obj3
));
42461 if (SWIG_arg_fail(4)) SWIG_fail
;
42464 arg5
= (int)(SWIG_As_int(obj4
));
42465 if (SWIG_arg_fail(5)) SWIG_fail
;
42471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42472 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
42474 wxPyEndAllowThreads(__tstate
);
42475 if (PyErr_Occurred()) SWIG_fail
;
42477 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42484 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42485 PyObject
*resultobj
;
42486 wxSizer
*arg1
= (wxSizer
*) 0 ;
42487 wxGBPosition
*arg2
= 0 ;
42488 wxGBSpan
*arg3
= 0 ;
42491 PyObject
*arg6
= (PyObject
*) NULL
;
42492 wxGBSizerItem
*result
;
42493 wxGBPosition temp2
;
42495 PyObject
* obj0
= 0 ;
42496 PyObject
* obj1
= 0 ;
42497 PyObject
* obj2
= 0 ;
42498 PyObject
* obj3
= 0 ;
42499 PyObject
* obj4
= 0 ;
42500 PyObject
* obj5
= 0 ;
42501 char *kwnames
[] = {
42502 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
42506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42507 if (SWIG_arg_fail(1)) SWIG_fail
;
42510 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42514 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42517 arg4
= (int)(SWIG_As_int(obj3
));
42518 if (SWIG_arg_fail(4)) SWIG_fail
;
42521 arg5
= (int)(SWIG_As_int(obj4
));
42522 if (SWIG_arg_fail(5)) SWIG_fail
;
42528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42529 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
42531 wxPyEndAllowThreads(__tstate
);
42532 if (PyErr_Occurred()) SWIG_fail
;
42534 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42541 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42542 PyObject
*resultobj
;
42545 wxGBPosition
*arg3
= 0 ;
42546 wxGBSpan
*arg4
= 0 ;
42549 PyObject
*arg7
= (PyObject
*) NULL
;
42550 wxGBSizerItem
*result
;
42551 wxGBPosition temp3
;
42553 PyObject
* obj0
= 0 ;
42554 PyObject
* obj1
= 0 ;
42555 PyObject
* obj2
= 0 ;
42556 PyObject
* obj3
= 0 ;
42557 PyObject
* obj4
= 0 ;
42558 PyObject
* obj5
= 0 ;
42559 PyObject
* obj6
= 0 ;
42560 char *kwnames
[] = {
42561 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
42566 arg1
= (int)(SWIG_As_int(obj0
));
42567 if (SWIG_arg_fail(1)) SWIG_fail
;
42570 arg2
= (int)(SWIG_As_int(obj1
));
42571 if (SWIG_arg_fail(2)) SWIG_fail
;
42575 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42579 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
42582 arg5
= (int)(SWIG_As_int(obj4
));
42583 if (SWIG_arg_fail(5)) SWIG_fail
;
42586 arg6
= (int)(SWIG_As_int(obj5
));
42587 if (SWIG_arg_fail(6)) SWIG_fail
;
42593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42594 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
42596 wxPyEndAllowThreads(__tstate
);
42597 if (PyErr_Occurred()) SWIG_fail
;
42599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42606 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42607 PyObject
*resultobj
;
42608 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42609 wxGBPosition result
;
42610 PyObject
* obj0
= 0 ;
42611 char *kwnames
[] = {
42612 (char *) "self", NULL
42615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
42616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42617 if (SWIG_arg_fail(1)) SWIG_fail
;
42619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42620 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
42622 wxPyEndAllowThreads(__tstate
);
42623 if (PyErr_Occurred()) SWIG_fail
;
42626 wxGBPosition
* resultptr
;
42627 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42628 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42636 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42637 PyObject
*resultobj
;
42638 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42640 PyObject
* obj0
= 0 ;
42641 char *kwnames
[] = {
42642 (char *) "self", NULL
42645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
42646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42647 if (SWIG_arg_fail(1)) SWIG_fail
;
42649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42650 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
42652 wxPyEndAllowThreads(__tstate
);
42653 if (PyErr_Occurred()) SWIG_fail
;
42656 wxGBSpan
* resultptr
;
42657 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
42658 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
42666 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42667 PyObject
*resultobj
;
42668 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42669 wxGBPosition
*arg2
= 0 ;
42671 wxGBPosition temp2
;
42672 PyObject
* obj0
= 0 ;
42673 PyObject
* obj1
= 0 ;
42674 char *kwnames
[] = {
42675 (char *) "self",(char *) "pos", NULL
42678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
42679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42680 if (SWIG_arg_fail(1)) SWIG_fail
;
42683 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42687 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
42689 wxPyEndAllowThreads(__tstate
);
42690 if (PyErr_Occurred()) SWIG_fail
;
42693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42701 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42702 PyObject
*resultobj
;
42703 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42704 wxGBSpan
*arg2
= 0 ;
42707 PyObject
* obj0
= 0 ;
42708 PyObject
* obj1
= 0 ;
42709 char *kwnames
[] = {
42710 (char *) "self",(char *) "span", NULL
42713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
42714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42715 if (SWIG_arg_fail(1)) SWIG_fail
;
42718 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42722 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
42724 wxPyEndAllowThreads(__tstate
);
42725 if (PyErr_Occurred()) SWIG_fail
;
42728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42736 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42737 PyObject
*resultobj
;
42738 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42739 wxGBSizerItem
*arg2
= 0 ;
42741 PyObject
* obj0
= 0 ;
42742 PyObject
* obj1
= 0 ;
42743 char *kwnames
[] = {
42744 (char *) "self",(char *) "other", NULL
42747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
42748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42749 if (SWIG_arg_fail(1)) SWIG_fail
;
42751 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42752 if (SWIG_arg_fail(2)) SWIG_fail
;
42753 if (arg2
== NULL
) {
42754 SWIG_null_ref("wxGBSizerItem");
42756 if (SWIG_arg_fail(2)) SWIG_fail
;
42759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42760 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
42762 wxPyEndAllowThreads(__tstate
);
42763 if (PyErr_Occurred()) SWIG_fail
;
42766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42774 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42775 PyObject
*resultobj
;
42776 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42777 wxGBPosition
*arg2
= 0 ;
42778 wxGBSpan
*arg3
= 0 ;
42780 wxGBPosition temp2
;
42782 PyObject
* obj0
= 0 ;
42783 PyObject
* obj1
= 0 ;
42784 PyObject
* obj2
= 0 ;
42785 char *kwnames
[] = {
42786 (char *) "self",(char *) "pos",(char *) "span", NULL
42789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42791 if (SWIG_arg_fail(1)) SWIG_fail
;
42794 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42798 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42802 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
42804 wxPyEndAllowThreads(__tstate
);
42805 if (PyErr_Occurred()) SWIG_fail
;
42808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42816 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42817 PyObject
*resultobj
;
42818 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42819 wxGBPosition result
;
42820 PyObject
* obj0
= 0 ;
42821 char *kwnames
[] = {
42822 (char *) "self", NULL
42825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
42826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42827 if (SWIG_arg_fail(1)) SWIG_fail
;
42829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42830 result
= wxGBSizerItem_GetEndPos(arg1
);
42832 wxPyEndAllowThreads(__tstate
);
42833 if (PyErr_Occurred()) SWIG_fail
;
42836 wxGBPosition
* resultptr
;
42837 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42838 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42846 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42847 PyObject
*resultobj
;
42848 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42849 wxGridBagSizer
*result
;
42850 PyObject
* obj0
= 0 ;
42851 char *kwnames
[] = {
42852 (char *) "self", NULL
42855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
42856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42857 if (SWIG_arg_fail(1)) SWIG_fail
;
42859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42860 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
42862 wxPyEndAllowThreads(__tstate
);
42863 if (PyErr_Occurred()) SWIG_fail
;
42865 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
42872 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42873 PyObject
*resultobj
;
42874 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42875 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
42876 PyObject
* obj0
= 0 ;
42877 PyObject
* obj1
= 0 ;
42878 char *kwnames
[] = {
42879 (char *) "self",(char *) "sizer", NULL
42882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
42883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42884 if (SWIG_arg_fail(1)) SWIG_fail
;
42885 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42886 if (SWIG_arg_fail(2)) SWIG_fail
;
42888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42889 (arg1
)->SetGBSizer(arg2
);
42891 wxPyEndAllowThreads(__tstate
);
42892 if (PyErr_Occurred()) SWIG_fail
;
42894 Py_INCREF(Py_None
); resultobj
= Py_None
;
42901 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
42903 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42904 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
42906 return Py_BuildValue((char *)"");
42908 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42909 PyObject
*resultobj
;
42910 int arg1
= (int) 0 ;
42911 int arg2
= (int) 0 ;
42912 wxGridBagSizer
*result
;
42913 PyObject
* obj0
= 0 ;
42914 PyObject
* obj1
= 0 ;
42915 char *kwnames
[] = {
42916 (char *) "vgap",(char *) "hgap", NULL
42919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
42922 arg1
= (int)(SWIG_As_int(obj0
));
42923 if (SWIG_arg_fail(1)) SWIG_fail
;
42928 arg2
= (int)(SWIG_As_int(obj1
));
42929 if (SWIG_arg_fail(2)) SWIG_fail
;
42933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42934 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
42936 wxPyEndAllowThreads(__tstate
);
42937 if (PyErr_Occurred()) SWIG_fail
;
42939 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
42946 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42947 PyObject
*resultobj
;
42948 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42949 PyObject
*arg2
= (PyObject
*) 0 ;
42950 wxGBPosition
*arg3
= 0 ;
42951 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
42952 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
42953 int arg5
= (int) 0 ;
42954 int arg6
= (int) 0 ;
42955 PyObject
*arg7
= (PyObject
*) NULL
;
42956 wxGBSizerItem
*result
;
42957 wxGBPosition temp3
;
42959 PyObject
* obj0
= 0 ;
42960 PyObject
* obj1
= 0 ;
42961 PyObject
* obj2
= 0 ;
42962 PyObject
* obj3
= 0 ;
42963 PyObject
* obj4
= 0 ;
42964 PyObject
* obj5
= 0 ;
42965 PyObject
* obj6
= 0 ;
42966 char *kwnames
[] = {
42967 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
42971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42972 if (SWIG_arg_fail(1)) SWIG_fail
;
42976 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42981 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
42986 arg5
= (int)(SWIG_As_int(obj4
));
42987 if (SWIG_arg_fail(5)) SWIG_fail
;
42992 arg6
= (int)(SWIG_As_int(obj5
));
42993 if (SWIG_arg_fail(6)) SWIG_fail
;
43000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43001 result
= (wxGBSizerItem
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
43003 wxPyEndAllowThreads(__tstate
);
43004 if (PyErr_Occurred()) SWIG_fail
;
43006 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43013 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43014 PyObject
*resultobj
;
43015 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43016 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
43017 wxGBSizerItem
*result
;
43018 PyObject
* obj0
= 0 ;
43019 PyObject
* obj1
= 0 ;
43020 char *kwnames
[] = {
43021 (char *) "self",(char *) "item", NULL
43024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
43025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43026 if (SWIG_arg_fail(1)) SWIG_fail
;
43027 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43028 if (SWIG_arg_fail(2)) SWIG_fail
;
43030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43031 result
= (wxGBSizerItem
*)(arg1
)->Add(arg2
);
43033 wxPyEndAllowThreads(__tstate
);
43034 if (PyErr_Occurred()) SWIG_fail
;
43036 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43043 static PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43044 PyObject
*resultobj
;
43045 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43049 PyObject
* obj0
= 0 ;
43050 PyObject
* obj1
= 0 ;
43051 PyObject
* obj2
= 0 ;
43052 char *kwnames
[] = {
43053 (char *) "self",(char *) "row",(char *) "col", NULL
43056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43058 if (SWIG_arg_fail(1)) SWIG_fail
;
43060 arg2
= (int)(SWIG_As_int(obj1
));
43061 if (SWIG_arg_fail(2)) SWIG_fail
;
43064 arg3
= (int)(SWIG_As_int(obj2
));
43065 if (SWIG_arg_fail(3)) SWIG_fail
;
43068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43069 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
43071 wxPyEndAllowThreads(__tstate
);
43072 if (PyErr_Occurred()) SWIG_fail
;
43075 wxSize
* resultptr
;
43076 resultptr
= new wxSize((wxSize
&)(result
));
43077 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
43085 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43086 PyObject
*resultobj
;
43087 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43089 PyObject
* obj0
= 0 ;
43090 char *kwnames
[] = {
43091 (char *) "self", NULL
43094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
43095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43096 if (SWIG_arg_fail(1)) SWIG_fail
;
43098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43099 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
43101 wxPyEndAllowThreads(__tstate
);
43102 if (PyErr_Occurred()) SWIG_fail
;
43105 wxSize
* resultptr
;
43106 resultptr
= new wxSize((wxSize
&)(result
));
43107 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
43115 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43116 PyObject
*resultobj
;
43117 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43120 PyObject
* obj0
= 0 ;
43121 PyObject
* obj1
= 0 ;
43122 char *kwnames
[] = {
43123 (char *) "self",(char *) "sz", NULL
43126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
43127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43128 if (SWIG_arg_fail(1)) SWIG_fail
;
43131 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
43134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43135 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
43137 wxPyEndAllowThreads(__tstate
);
43138 if (PyErr_Occurred()) SWIG_fail
;
43140 Py_INCREF(Py_None
); resultobj
= Py_None
;
43147 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
43148 PyObject
*resultobj
;
43149 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43150 wxWindow
*arg2
= (wxWindow
*) 0 ;
43151 wxGBPosition result
;
43152 PyObject
* obj0
= 0 ;
43153 PyObject
* obj1
= 0 ;
43155 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43157 if (SWIG_arg_fail(1)) SWIG_fail
;
43158 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43159 if (SWIG_arg_fail(2)) SWIG_fail
;
43161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43162 result
= (arg1
)->GetItemPosition(arg2
);
43164 wxPyEndAllowThreads(__tstate
);
43165 if (PyErr_Occurred()) SWIG_fail
;
43168 wxGBPosition
* resultptr
;
43169 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43170 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43178 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
43179 PyObject
*resultobj
;
43180 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43181 wxSizer
*arg2
= (wxSizer
*) 0 ;
43182 wxGBPosition result
;
43183 PyObject
* obj0
= 0 ;
43184 PyObject
* obj1
= 0 ;
43186 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43188 if (SWIG_arg_fail(1)) SWIG_fail
;
43189 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43190 if (SWIG_arg_fail(2)) SWIG_fail
;
43192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43193 result
= (arg1
)->GetItemPosition(arg2
);
43195 wxPyEndAllowThreads(__tstate
);
43196 if (PyErr_Occurred()) SWIG_fail
;
43199 wxGBPosition
* resultptr
;
43200 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43201 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43209 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
43210 PyObject
*resultobj
;
43211 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43213 wxGBPosition result
;
43214 PyObject
* obj0
= 0 ;
43215 PyObject
* obj1
= 0 ;
43217 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43219 if (SWIG_arg_fail(1)) SWIG_fail
;
43221 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43222 if (SWIG_arg_fail(2)) SWIG_fail
;
43225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43226 result
= (arg1
)->GetItemPosition(arg2
);
43228 wxPyEndAllowThreads(__tstate
);
43229 if (PyErr_Occurred()) SWIG_fail
;
43232 wxGBPosition
* resultptr
;
43233 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43234 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43242 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
43247 argc
= PyObject_Length(args
);
43248 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43249 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43255 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43265 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43273 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
43281 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43291 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43299 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
43307 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43315 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43317 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
43322 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
43327 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
43328 PyObject
*resultobj
;
43329 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43330 wxWindow
*arg2
= (wxWindow
*) 0 ;
43331 wxGBPosition
*arg3
= 0 ;
43333 wxGBPosition temp3
;
43334 PyObject
* obj0
= 0 ;
43335 PyObject
* obj1
= 0 ;
43336 PyObject
* obj2
= 0 ;
43338 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43340 if (SWIG_arg_fail(1)) SWIG_fail
;
43341 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43342 if (SWIG_arg_fail(2)) SWIG_fail
;
43345 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43349 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43351 wxPyEndAllowThreads(__tstate
);
43352 if (PyErr_Occurred()) SWIG_fail
;
43355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43363 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
43364 PyObject
*resultobj
;
43365 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43366 wxSizer
*arg2
= (wxSizer
*) 0 ;
43367 wxGBPosition
*arg3
= 0 ;
43369 wxGBPosition temp3
;
43370 PyObject
* obj0
= 0 ;
43371 PyObject
* obj1
= 0 ;
43372 PyObject
* obj2
= 0 ;
43374 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43376 if (SWIG_arg_fail(1)) SWIG_fail
;
43377 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43378 if (SWIG_arg_fail(2)) SWIG_fail
;
43381 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43385 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43387 wxPyEndAllowThreads(__tstate
);
43388 if (PyErr_Occurred()) SWIG_fail
;
43391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43399 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
43400 PyObject
*resultobj
;
43401 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43403 wxGBPosition
*arg3
= 0 ;
43405 wxGBPosition temp3
;
43406 PyObject
* obj0
= 0 ;
43407 PyObject
* obj1
= 0 ;
43408 PyObject
* obj2
= 0 ;
43410 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43412 if (SWIG_arg_fail(1)) SWIG_fail
;
43414 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43415 if (SWIG_arg_fail(2)) SWIG_fail
;
43419 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43423 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43425 wxPyEndAllowThreads(__tstate
);
43426 if (PyErr_Occurred()) SWIG_fail
;
43429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43437 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
43442 argc
= PyObject_Length(args
);
43443 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
43444 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43450 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43460 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43469 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43472 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
43481 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43491 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43500 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43503 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
43512 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43520 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43523 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43526 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
43532 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
43537 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
43538 PyObject
*resultobj
;
43539 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43540 wxWindow
*arg2
= (wxWindow
*) 0 ;
43542 PyObject
* obj0
= 0 ;
43543 PyObject
* obj1
= 0 ;
43545 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43547 if (SWIG_arg_fail(1)) SWIG_fail
;
43548 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43549 if (SWIG_arg_fail(2)) SWIG_fail
;
43551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43552 result
= (arg1
)->GetItemSpan(arg2
);
43554 wxPyEndAllowThreads(__tstate
);
43555 if (PyErr_Occurred()) SWIG_fail
;
43558 wxGBSpan
* resultptr
;
43559 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43560 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43568 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
43569 PyObject
*resultobj
;
43570 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43571 wxSizer
*arg2
= (wxSizer
*) 0 ;
43573 PyObject
* obj0
= 0 ;
43574 PyObject
* obj1
= 0 ;
43576 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43578 if (SWIG_arg_fail(1)) SWIG_fail
;
43579 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43580 if (SWIG_arg_fail(2)) SWIG_fail
;
43582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43583 result
= (arg1
)->GetItemSpan(arg2
);
43585 wxPyEndAllowThreads(__tstate
);
43586 if (PyErr_Occurred()) SWIG_fail
;
43589 wxGBSpan
* resultptr
;
43590 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43591 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43599 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
43600 PyObject
*resultobj
;
43601 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43604 PyObject
* obj0
= 0 ;
43605 PyObject
* obj1
= 0 ;
43607 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43609 if (SWIG_arg_fail(1)) SWIG_fail
;
43611 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43612 if (SWIG_arg_fail(2)) SWIG_fail
;
43615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43616 result
= (arg1
)->GetItemSpan(arg2
);
43618 wxPyEndAllowThreads(__tstate
);
43619 if (PyErr_Occurred()) SWIG_fail
;
43622 wxGBSpan
* resultptr
;
43623 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43624 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43632 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
43637 argc
= PyObject_Length(args
);
43638 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43639 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43645 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43655 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43663 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
43671 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43681 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43689 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
43697 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43705 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43707 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
43712 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
43717 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
43718 PyObject
*resultobj
;
43719 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43720 wxWindow
*arg2
= (wxWindow
*) 0 ;
43721 wxGBSpan
*arg3
= 0 ;
43724 PyObject
* obj0
= 0 ;
43725 PyObject
* obj1
= 0 ;
43726 PyObject
* obj2
= 0 ;
43728 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43730 if (SWIG_arg_fail(1)) SWIG_fail
;
43731 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43732 if (SWIG_arg_fail(2)) SWIG_fail
;
43735 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43739 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43741 wxPyEndAllowThreads(__tstate
);
43742 if (PyErr_Occurred()) SWIG_fail
;
43745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43753 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
43754 PyObject
*resultobj
;
43755 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43756 wxSizer
*arg2
= (wxSizer
*) 0 ;
43757 wxGBSpan
*arg3
= 0 ;
43760 PyObject
* obj0
= 0 ;
43761 PyObject
* obj1
= 0 ;
43762 PyObject
* obj2
= 0 ;
43764 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43766 if (SWIG_arg_fail(1)) SWIG_fail
;
43767 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43768 if (SWIG_arg_fail(2)) SWIG_fail
;
43771 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43775 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43777 wxPyEndAllowThreads(__tstate
);
43778 if (PyErr_Occurred()) SWIG_fail
;
43781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43789 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
43790 PyObject
*resultobj
;
43791 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43793 wxGBSpan
*arg3
= 0 ;
43796 PyObject
* obj0
= 0 ;
43797 PyObject
* obj1
= 0 ;
43798 PyObject
* obj2
= 0 ;
43800 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43802 if (SWIG_arg_fail(1)) SWIG_fail
;
43804 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43805 if (SWIG_arg_fail(2)) SWIG_fail
;
43809 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43813 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43815 wxPyEndAllowThreads(__tstate
);
43816 if (PyErr_Occurred()) SWIG_fail
;
43819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43827 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
43832 argc
= PyObject_Length(args
);
43833 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
43834 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43840 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43850 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43859 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43862 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
43871 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43881 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43890 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43893 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
43902 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43910 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43913 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43916 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
43922 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
43927 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
43928 PyObject
*resultobj
;
43929 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43930 wxWindow
*arg2
= (wxWindow
*) 0 ;
43931 wxGBSizerItem
*result
;
43932 PyObject
* obj0
= 0 ;
43933 PyObject
* obj1
= 0 ;
43935 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
43936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43937 if (SWIG_arg_fail(1)) SWIG_fail
;
43938 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43939 if (SWIG_arg_fail(2)) SWIG_fail
;
43941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43942 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
43944 wxPyEndAllowThreads(__tstate
);
43945 if (PyErr_Occurred()) SWIG_fail
;
43947 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43954 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
43955 PyObject
*resultobj
;
43956 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43957 wxSizer
*arg2
= (wxSizer
*) 0 ;
43958 wxGBSizerItem
*result
;
43959 PyObject
* obj0
= 0 ;
43960 PyObject
* obj1
= 0 ;
43962 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
43963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43964 if (SWIG_arg_fail(1)) SWIG_fail
;
43965 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43966 if (SWIG_arg_fail(2)) SWIG_fail
;
43968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43969 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
43971 wxPyEndAllowThreads(__tstate
);
43972 if (PyErr_Occurred()) SWIG_fail
;
43974 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43981 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
43986 argc
= PyObject_Length(args
);
43987 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43988 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43994 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44004 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
44012 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
44020 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44030 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
44038 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
44043 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
44048 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44049 PyObject
*resultobj
;
44050 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44051 wxGBPosition
*arg2
= 0 ;
44052 wxGBSizerItem
*result
;
44053 wxGBPosition temp2
;
44054 PyObject
* obj0
= 0 ;
44055 PyObject
* obj1
= 0 ;
44056 char *kwnames
[] = {
44057 (char *) "self",(char *) "pos", NULL
44060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
44061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44062 if (SWIG_arg_fail(1)) SWIG_fail
;
44065 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
44068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44069 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
44071 wxPyEndAllowThreads(__tstate
);
44072 if (PyErr_Occurred()) SWIG_fail
;
44074 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
44081 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44082 PyObject
*resultobj
;
44083 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44084 wxPoint
*arg2
= 0 ;
44085 wxGBSizerItem
*result
;
44087 PyObject
* obj0
= 0 ;
44088 PyObject
* obj1
= 0 ;
44089 char *kwnames
[] = {
44090 (char *) "self",(char *) "pt", NULL
44093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
44094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44095 if (SWIG_arg_fail(1)) SWIG_fail
;
44098 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
44101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44102 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
44104 wxPyEndAllowThreads(__tstate
);
44105 if (PyErr_Occurred()) SWIG_fail
;
44107 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
44114 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44115 PyObject
*resultobj
;
44116 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44117 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
44118 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
44120 PyObject
* obj0
= 0 ;
44121 PyObject
* obj1
= 0 ;
44122 PyObject
* obj2
= 0 ;
44123 char *kwnames
[] = {
44124 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
44127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44129 if (SWIG_arg_fail(1)) SWIG_fail
;
44130 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44131 if (SWIG_arg_fail(2)) SWIG_fail
;
44133 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44134 if (SWIG_arg_fail(3)) SWIG_fail
;
44137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44138 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
44140 wxPyEndAllowThreads(__tstate
);
44141 if (PyErr_Occurred()) SWIG_fail
;
44144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44152 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44153 PyObject
*resultobj
;
44154 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44155 wxGBPosition
*arg2
= 0 ;
44156 wxGBSpan
*arg3
= 0 ;
44157 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
44159 wxGBPosition temp2
;
44161 PyObject
* obj0
= 0 ;
44162 PyObject
* obj1
= 0 ;
44163 PyObject
* obj2
= 0 ;
44164 PyObject
* obj3
= 0 ;
44165 char *kwnames
[] = {
44166 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
44169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44171 if (SWIG_arg_fail(1)) SWIG_fail
;
44174 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
44178 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
44181 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44182 if (SWIG_arg_fail(4)) SWIG_fail
;
44185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44186 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
44188 wxPyEndAllowThreads(__tstate
);
44189 if (PyErr_Occurred()) SWIG_fail
;
44192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44200 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
44202 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
44203 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
44205 return Py_BuildValue((char *)"");
44207 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44208 PyObject
*resultobj
;
44209 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44210 wxRelationship arg2
;
44211 wxWindow
*arg3
= (wxWindow
*) 0 ;
44213 int arg5
= (int) 0 ;
44214 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
44215 PyObject
* obj0
= 0 ;
44216 PyObject
* obj1
= 0 ;
44217 PyObject
* obj2
= 0 ;
44218 PyObject
* obj3
= 0 ;
44219 PyObject
* obj4
= 0 ;
44220 PyObject
* obj5
= 0 ;
44221 char *kwnames
[] = {
44222 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
44225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
44226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44227 if (SWIG_arg_fail(1)) SWIG_fail
;
44229 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
44230 if (SWIG_arg_fail(2)) SWIG_fail
;
44232 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44233 if (SWIG_arg_fail(3)) SWIG_fail
;
44235 arg4
= (wxEdge
)(SWIG_As_int(obj3
));
44236 if (SWIG_arg_fail(4)) SWIG_fail
;
44240 arg5
= (int)(SWIG_As_int(obj4
));
44241 if (SWIG_arg_fail(5)) SWIG_fail
;
44246 arg6
= (int)(SWIG_As_int(obj5
));
44247 if (SWIG_arg_fail(6)) SWIG_fail
;
44251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44252 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
44254 wxPyEndAllowThreads(__tstate
);
44255 if (PyErr_Occurred()) SWIG_fail
;
44257 Py_INCREF(Py_None
); resultobj
= Py_None
;
44264 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44265 PyObject
*resultobj
;
44266 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44267 wxWindow
*arg2
= (wxWindow
*) 0 ;
44268 int arg3
= (int) 0 ;
44269 PyObject
* obj0
= 0 ;
44270 PyObject
* obj1
= 0 ;
44271 PyObject
* obj2
= 0 ;
44272 char *kwnames
[] = {
44273 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44278 if (SWIG_arg_fail(1)) SWIG_fail
;
44279 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44280 if (SWIG_arg_fail(2)) SWIG_fail
;
44283 arg3
= (int)(SWIG_As_int(obj2
));
44284 if (SWIG_arg_fail(3)) SWIG_fail
;
44288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44289 (arg1
)->LeftOf(arg2
,arg3
);
44291 wxPyEndAllowThreads(__tstate
);
44292 if (PyErr_Occurred()) SWIG_fail
;
44294 Py_INCREF(Py_None
); resultobj
= Py_None
;
44301 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44302 PyObject
*resultobj
;
44303 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44304 wxWindow
*arg2
= (wxWindow
*) 0 ;
44305 int arg3
= (int) 0 ;
44306 PyObject
* obj0
= 0 ;
44307 PyObject
* obj1
= 0 ;
44308 PyObject
* obj2
= 0 ;
44309 char *kwnames
[] = {
44310 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44315 if (SWIG_arg_fail(1)) SWIG_fail
;
44316 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44317 if (SWIG_arg_fail(2)) SWIG_fail
;
44320 arg3
= (int)(SWIG_As_int(obj2
));
44321 if (SWIG_arg_fail(3)) SWIG_fail
;
44325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44326 (arg1
)->RightOf(arg2
,arg3
);
44328 wxPyEndAllowThreads(__tstate
);
44329 if (PyErr_Occurred()) SWIG_fail
;
44331 Py_INCREF(Py_None
); resultobj
= Py_None
;
44338 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44339 PyObject
*resultobj
;
44340 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44341 wxWindow
*arg2
= (wxWindow
*) 0 ;
44342 int arg3
= (int) 0 ;
44343 PyObject
* obj0
= 0 ;
44344 PyObject
* obj1
= 0 ;
44345 PyObject
* obj2
= 0 ;
44346 char *kwnames
[] = {
44347 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44352 if (SWIG_arg_fail(1)) SWIG_fail
;
44353 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44354 if (SWIG_arg_fail(2)) SWIG_fail
;
44357 arg3
= (int)(SWIG_As_int(obj2
));
44358 if (SWIG_arg_fail(3)) SWIG_fail
;
44362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44363 (arg1
)->Above(arg2
,arg3
);
44365 wxPyEndAllowThreads(__tstate
);
44366 if (PyErr_Occurred()) SWIG_fail
;
44368 Py_INCREF(Py_None
); resultobj
= Py_None
;
44375 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44376 PyObject
*resultobj
;
44377 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44378 wxWindow
*arg2
= (wxWindow
*) 0 ;
44379 int arg3
= (int) 0 ;
44380 PyObject
* obj0
= 0 ;
44381 PyObject
* obj1
= 0 ;
44382 PyObject
* obj2
= 0 ;
44383 char *kwnames
[] = {
44384 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44389 if (SWIG_arg_fail(1)) SWIG_fail
;
44390 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44391 if (SWIG_arg_fail(2)) SWIG_fail
;
44394 arg3
= (int)(SWIG_As_int(obj2
));
44395 if (SWIG_arg_fail(3)) SWIG_fail
;
44399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44400 (arg1
)->Below(arg2
,arg3
);
44402 wxPyEndAllowThreads(__tstate
);
44403 if (PyErr_Occurred()) SWIG_fail
;
44405 Py_INCREF(Py_None
); resultobj
= Py_None
;
44412 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44413 PyObject
*resultobj
;
44414 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44415 wxWindow
*arg2
= (wxWindow
*) 0 ;
44417 int arg4
= (int) 0 ;
44418 PyObject
* obj0
= 0 ;
44419 PyObject
* obj1
= 0 ;
44420 PyObject
* obj2
= 0 ;
44421 PyObject
* obj3
= 0 ;
44422 char *kwnames
[] = {
44423 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
44426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44428 if (SWIG_arg_fail(1)) SWIG_fail
;
44429 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44430 if (SWIG_arg_fail(2)) SWIG_fail
;
44432 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
44433 if (SWIG_arg_fail(3)) SWIG_fail
;
44437 arg4
= (int)(SWIG_As_int(obj3
));
44438 if (SWIG_arg_fail(4)) SWIG_fail
;
44442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44443 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
44445 wxPyEndAllowThreads(__tstate
);
44446 if (PyErr_Occurred()) SWIG_fail
;
44448 Py_INCREF(Py_None
); resultobj
= Py_None
;
44455 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44456 PyObject
*resultobj
;
44457 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44458 wxWindow
*arg2
= (wxWindow
*) 0 ;
44461 PyObject
* obj0
= 0 ;
44462 PyObject
* obj1
= 0 ;
44463 PyObject
* obj2
= 0 ;
44464 PyObject
* obj3
= 0 ;
44465 char *kwnames
[] = {
44466 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
44469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44471 if (SWIG_arg_fail(1)) SWIG_fail
;
44472 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44473 if (SWIG_arg_fail(2)) SWIG_fail
;
44475 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
44476 if (SWIG_arg_fail(3)) SWIG_fail
;
44479 arg4
= (int)(SWIG_As_int(obj3
));
44480 if (SWIG_arg_fail(4)) SWIG_fail
;
44483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44484 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
44486 wxPyEndAllowThreads(__tstate
);
44487 if (PyErr_Occurred()) SWIG_fail
;
44489 Py_INCREF(Py_None
); resultobj
= Py_None
;
44496 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44497 PyObject
*resultobj
;
44498 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44500 PyObject
* obj0
= 0 ;
44501 PyObject
* obj1
= 0 ;
44502 char *kwnames
[] = {
44503 (char *) "self",(char *) "val", NULL
44506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
44507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44508 if (SWIG_arg_fail(1)) SWIG_fail
;
44510 arg2
= (int)(SWIG_As_int(obj1
));
44511 if (SWIG_arg_fail(2)) SWIG_fail
;
44514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44515 (arg1
)->Absolute(arg2
);
44517 wxPyEndAllowThreads(__tstate
);
44518 if (PyErr_Occurred()) SWIG_fail
;
44520 Py_INCREF(Py_None
); resultobj
= Py_None
;
44527 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44528 PyObject
*resultobj
;
44529 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44530 PyObject
* obj0
= 0 ;
44531 char *kwnames
[] = {
44532 (char *) "self", NULL
44535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
44536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44537 if (SWIG_arg_fail(1)) SWIG_fail
;
44539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44540 (arg1
)->Unconstrained();
44542 wxPyEndAllowThreads(__tstate
);
44543 if (PyErr_Occurred()) SWIG_fail
;
44545 Py_INCREF(Py_None
); resultobj
= Py_None
;
44552 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44553 PyObject
*resultobj
;
44554 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44555 PyObject
* obj0
= 0 ;
44556 char *kwnames
[] = {
44557 (char *) "self", NULL
44560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
44561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44562 if (SWIG_arg_fail(1)) SWIG_fail
;
44564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44567 wxPyEndAllowThreads(__tstate
);
44568 if (PyErr_Occurred()) SWIG_fail
;
44570 Py_INCREF(Py_None
); resultobj
= Py_None
;
44577 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44578 PyObject
*resultobj
;
44579 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44581 PyObject
* obj0
= 0 ;
44582 char *kwnames
[] = {
44583 (char *) "self", NULL
44586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
44587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44588 if (SWIG_arg_fail(1)) SWIG_fail
;
44590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44591 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
44593 wxPyEndAllowThreads(__tstate
);
44594 if (PyErr_Occurred()) SWIG_fail
;
44597 resultobj
= wxPyMake_wxObject(result
, 0);
44605 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44606 PyObject
*resultobj
;
44607 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44609 PyObject
* obj0
= 0 ;
44610 char *kwnames
[] = {
44611 (char *) "self", NULL
44614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
44615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44616 if (SWIG_arg_fail(1)) SWIG_fail
;
44618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44619 result
= (wxEdge
)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
44621 wxPyEndAllowThreads(__tstate
);
44622 if (PyErr_Occurred()) SWIG_fail
;
44624 resultobj
= SWIG_From_int((result
));
44631 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44632 PyObject
*resultobj
;
44633 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44635 PyObject
* obj0
= 0 ;
44636 PyObject
* obj1
= 0 ;
44637 char *kwnames
[] = {
44638 (char *) "self",(char *) "which", NULL
44641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
44642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44643 if (SWIG_arg_fail(1)) SWIG_fail
;
44645 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
44646 if (SWIG_arg_fail(2)) SWIG_fail
;
44649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44650 (arg1
)->SetEdge((wxEdge
)arg2
);
44652 wxPyEndAllowThreads(__tstate
);
44653 if (PyErr_Occurred()) SWIG_fail
;
44655 Py_INCREF(Py_None
); resultobj
= Py_None
;
44662 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44663 PyObject
*resultobj
;
44664 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44666 PyObject
* obj0
= 0 ;
44667 PyObject
* obj1
= 0 ;
44668 char *kwnames
[] = {
44669 (char *) "self",(char *) "v", NULL
44672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
44673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44674 if (SWIG_arg_fail(1)) SWIG_fail
;
44676 arg2
= (int)(SWIG_As_int(obj1
));
44677 if (SWIG_arg_fail(2)) SWIG_fail
;
44680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44681 (arg1
)->SetValue(arg2
);
44683 wxPyEndAllowThreads(__tstate
);
44684 if (PyErr_Occurred()) SWIG_fail
;
44686 Py_INCREF(Py_None
); resultobj
= Py_None
;
44693 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44694 PyObject
*resultobj
;
44695 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44697 PyObject
* obj0
= 0 ;
44698 char *kwnames
[] = {
44699 (char *) "self", NULL
44702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
44703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44704 if (SWIG_arg_fail(1)) SWIG_fail
;
44706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44707 result
= (int)(arg1
)->GetMargin();
44709 wxPyEndAllowThreads(__tstate
);
44710 if (PyErr_Occurred()) SWIG_fail
;
44713 resultobj
= SWIG_From_int((int)(result
));
44721 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44722 PyObject
*resultobj
;
44723 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44725 PyObject
* obj0
= 0 ;
44726 PyObject
* obj1
= 0 ;
44727 char *kwnames
[] = {
44728 (char *) "self",(char *) "m", NULL
44731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
44732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44733 if (SWIG_arg_fail(1)) SWIG_fail
;
44735 arg2
= (int)(SWIG_As_int(obj1
));
44736 if (SWIG_arg_fail(2)) SWIG_fail
;
44739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44740 (arg1
)->SetMargin(arg2
);
44742 wxPyEndAllowThreads(__tstate
);
44743 if (PyErr_Occurred()) SWIG_fail
;
44745 Py_INCREF(Py_None
); resultobj
= Py_None
;
44752 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44753 PyObject
*resultobj
;
44754 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44756 PyObject
* obj0
= 0 ;
44757 char *kwnames
[] = {
44758 (char *) "self", NULL
44761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
44762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44763 if (SWIG_arg_fail(1)) SWIG_fail
;
44765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44766 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
44768 wxPyEndAllowThreads(__tstate
);
44769 if (PyErr_Occurred()) SWIG_fail
;
44772 resultobj
= SWIG_From_int((int)(result
));
44780 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44781 PyObject
*resultobj
;
44782 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44784 PyObject
* obj0
= 0 ;
44785 char *kwnames
[] = {
44786 (char *) "self", NULL
44789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
44790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44791 if (SWIG_arg_fail(1)) SWIG_fail
;
44793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44794 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
44796 wxPyEndAllowThreads(__tstate
);
44797 if (PyErr_Occurred()) SWIG_fail
;
44800 resultobj
= SWIG_From_int((int)(result
));
44808 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44809 PyObject
*resultobj
;
44810 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44812 PyObject
* obj0
= 0 ;
44813 char *kwnames
[] = {
44814 (char *) "self", NULL
44817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
44818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44819 if (SWIG_arg_fail(1)) SWIG_fail
;
44821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44822 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
44824 wxPyEndAllowThreads(__tstate
);
44825 if (PyErr_Occurred()) SWIG_fail
;
44828 resultobj
= SWIG_From_int((int)(result
));
44836 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44837 PyObject
*resultobj
;
44838 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44840 PyObject
* obj0
= 0 ;
44841 char *kwnames
[] = {
44842 (char *) "self", NULL
44845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
44846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44847 if (SWIG_arg_fail(1)) SWIG_fail
;
44849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44850 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
44852 wxPyEndAllowThreads(__tstate
);
44853 if (PyErr_Occurred()) SWIG_fail
;
44856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44864 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44865 PyObject
*resultobj
;
44866 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44868 PyObject
* obj0
= 0 ;
44869 PyObject
* obj1
= 0 ;
44870 char *kwnames
[] = {
44871 (char *) "self",(char *) "d", NULL
44874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
44875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44876 if (SWIG_arg_fail(1)) SWIG_fail
;
44878 arg2
= (bool)(SWIG_As_bool(obj1
));
44879 if (SWIG_arg_fail(2)) SWIG_fail
;
44882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44883 (arg1
)->SetDone(arg2
);
44885 wxPyEndAllowThreads(__tstate
);
44886 if (PyErr_Occurred()) SWIG_fail
;
44888 Py_INCREF(Py_None
); resultobj
= Py_None
;
44895 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44896 PyObject
*resultobj
;
44897 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44898 wxRelationship result
;
44899 PyObject
* obj0
= 0 ;
44900 char *kwnames
[] = {
44901 (char *) "self", NULL
44904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
44905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44906 if (SWIG_arg_fail(1)) SWIG_fail
;
44908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44909 result
= (wxRelationship
)(arg1
)->GetRelationship();
44911 wxPyEndAllowThreads(__tstate
);
44912 if (PyErr_Occurred()) SWIG_fail
;
44914 resultobj
= SWIG_From_int((result
));
44921 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44922 PyObject
*resultobj
;
44923 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44924 wxRelationship arg2
;
44925 PyObject
* obj0
= 0 ;
44926 PyObject
* obj1
= 0 ;
44927 char *kwnames
[] = {
44928 (char *) "self",(char *) "r", NULL
44931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
44932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44933 if (SWIG_arg_fail(1)) SWIG_fail
;
44935 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
44936 if (SWIG_arg_fail(2)) SWIG_fail
;
44939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44940 (arg1
)->SetRelationship((wxRelationship
)arg2
);
44942 wxPyEndAllowThreads(__tstate
);
44943 if (PyErr_Occurred()) SWIG_fail
;
44945 Py_INCREF(Py_None
); resultobj
= Py_None
;
44952 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44953 PyObject
*resultobj
;
44954 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44955 wxWindow
*arg2
= (wxWindow
*) 0 ;
44957 PyObject
* obj0
= 0 ;
44958 PyObject
* obj1
= 0 ;
44959 char *kwnames
[] = {
44960 (char *) "self",(char *) "otherW", NULL
44963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
44964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44965 if (SWIG_arg_fail(1)) SWIG_fail
;
44966 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44967 if (SWIG_arg_fail(2)) SWIG_fail
;
44969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44970 result
= (bool)(arg1
)->ResetIfWin(arg2
);
44972 wxPyEndAllowThreads(__tstate
);
44973 if (PyErr_Occurred()) SWIG_fail
;
44976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44984 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44985 PyObject
*resultobj
;
44986 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44987 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
44988 wxWindow
*arg3
= (wxWindow
*) 0 ;
44990 PyObject
* obj0
= 0 ;
44991 PyObject
* obj1
= 0 ;
44992 PyObject
* obj2
= 0 ;
44993 char *kwnames
[] = {
44994 (char *) "self",(char *) "constraints",(char *) "win", NULL
44997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44999 if (SWIG_arg_fail(1)) SWIG_fail
;
45000 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45001 if (SWIG_arg_fail(2)) SWIG_fail
;
45002 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45003 if (SWIG_arg_fail(3)) SWIG_fail
;
45005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45006 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
45008 wxPyEndAllowThreads(__tstate
);
45009 if (PyErr_Occurred()) SWIG_fail
;
45012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45020 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45021 PyObject
*resultobj
;
45022 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45024 wxWindow
*arg3
= (wxWindow
*) 0 ;
45025 wxWindow
*arg4
= (wxWindow
*) 0 ;
45027 PyObject
* obj0
= 0 ;
45028 PyObject
* obj1
= 0 ;
45029 PyObject
* obj2
= 0 ;
45030 PyObject
* obj3
= 0 ;
45031 char *kwnames
[] = {
45032 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
45035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
45036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45037 if (SWIG_arg_fail(1)) SWIG_fail
;
45039 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
45040 if (SWIG_arg_fail(2)) SWIG_fail
;
45042 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45043 if (SWIG_arg_fail(3)) SWIG_fail
;
45044 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45045 if (SWIG_arg_fail(4)) SWIG_fail
;
45047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45048 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
45050 wxPyEndAllowThreads(__tstate
);
45051 if (PyErr_Occurred()) SWIG_fail
;
45054 resultobj
= SWIG_From_int((int)(result
));
45062 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
45064 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
45065 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
45067 return Py_BuildValue((char *)"");
45069 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45070 PyObject
*resultobj
;
45071 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45072 wxIndividualLayoutConstraint
*result
;
45073 PyObject
* obj0
= 0 ;
45074 char *kwnames
[] = {
45075 (char *) "self", NULL
45078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
45079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45080 if (SWIG_arg_fail(1)) SWIG_fail
;
45081 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
45083 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45090 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45091 PyObject
*resultobj
;
45092 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45093 wxIndividualLayoutConstraint
*result
;
45094 PyObject
* obj0
= 0 ;
45095 char *kwnames
[] = {
45096 (char *) "self", NULL
45099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
45100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45101 if (SWIG_arg_fail(1)) SWIG_fail
;
45102 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
45104 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45111 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45112 PyObject
*resultobj
;
45113 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45114 wxIndividualLayoutConstraint
*result
;
45115 PyObject
* obj0
= 0 ;
45116 char *kwnames
[] = {
45117 (char *) "self", NULL
45120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
45121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45122 if (SWIG_arg_fail(1)) SWIG_fail
;
45123 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
45125 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45132 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45133 PyObject
*resultobj
;
45134 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45135 wxIndividualLayoutConstraint
*result
;
45136 PyObject
* obj0
= 0 ;
45137 char *kwnames
[] = {
45138 (char *) "self", NULL
45141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
45142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45143 if (SWIG_arg_fail(1)) SWIG_fail
;
45144 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
45146 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45153 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45154 PyObject
*resultobj
;
45155 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45156 wxIndividualLayoutConstraint
*result
;
45157 PyObject
* obj0
= 0 ;
45158 char *kwnames
[] = {
45159 (char *) "self", NULL
45162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
45163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45164 if (SWIG_arg_fail(1)) SWIG_fail
;
45165 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
45167 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45174 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45175 PyObject
*resultobj
;
45176 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45177 wxIndividualLayoutConstraint
*result
;
45178 PyObject
* obj0
= 0 ;
45179 char *kwnames
[] = {
45180 (char *) "self", NULL
45183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
45184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45185 if (SWIG_arg_fail(1)) SWIG_fail
;
45186 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
45188 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45195 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45196 PyObject
*resultobj
;
45197 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45198 wxIndividualLayoutConstraint
*result
;
45199 PyObject
* obj0
= 0 ;
45200 char *kwnames
[] = {
45201 (char *) "self", NULL
45204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
45205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45206 if (SWIG_arg_fail(1)) SWIG_fail
;
45207 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
45209 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45216 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45217 PyObject
*resultobj
;
45218 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45219 wxIndividualLayoutConstraint
*result
;
45220 PyObject
* obj0
= 0 ;
45221 char *kwnames
[] = {
45222 (char *) "self", NULL
45225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
45226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45227 if (SWIG_arg_fail(1)) SWIG_fail
;
45228 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
45230 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45237 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45238 PyObject
*resultobj
;
45239 wxLayoutConstraints
*result
;
45240 char *kwnames
[] = {
45244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
45246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45247 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
45249 wxPyEndAllowThreads(__tstate
);
45250 if (PyErr_Occurred()) SWIG_fail
;
45252 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
45259 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45260 PyObject
*resultobj
;
45261 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45262 wxWindow
*arg2
= (wxWindow
*) 0 ;
45263 int *arg3
= (int *) 0 ;
45267 PyObject
* obj0
= 0 ;
45268 PyObject
* obj1
= 0 ;
45269 char *kwnames
[] = {
45270 (char *) "self",(char *) "win", NULL
45273 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
45274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
45275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45276 if (SWIG_arg_fail(1)) SWIG_fail
;
45277 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45278 if (SWIG_arg_fail(2)) SWIG_fail
;
45280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45281 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
45283 wxPyEndAllowThreads(__tstate
);
45284 if (PyErr_Occurred()) SWIG_fail
;
45287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45289 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
45290 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
45297 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45298 PyObject
*resultobj
;
45299 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45301 PyObject
* obj0
= 0 ;
45302 char *kwnames
[] = {
45303 (char *) "self", NULL
45306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
45307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45308 if (SWIG_arg_fail(1)) SWIG_fail
;
45310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45311 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
45313 wxPyEndAllowThreads(__tstate
);
45314 if (PyErr_Occurred()) SWIG_fail
;
45317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45325 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
45327 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
45328 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
45330 return Py_BuildValue((char *)"");
45332 static PyMethodDef SwigMethods
[] = {
45333 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
45334 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
45335 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45336 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45337 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
45338 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45339 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45340 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45341 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45342 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45343 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45344 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45345 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45346 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45347 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45348 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45349 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45350 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45351 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45352 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45353 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45354 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45355 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45356 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45357 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45358 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
45359 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45360 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45361 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45362 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45363 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45364 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45365 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45366 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45367 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45368 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45369 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45370 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45371 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
45372 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45373 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45374 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45375 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45376 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45377 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45378 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45379 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45380 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45381 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45382 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45383 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45384 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45385 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45386 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
45387 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45388 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45389 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45390 { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45391 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45392 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45393 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45394 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45395 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45396 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45397 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45398 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45399 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45400 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45401 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45402 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45403 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45404 { (char *)"Rect_IsEmpty", (PyCFunction
) _wrap_Rect_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45405 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45406 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45407 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45408 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45409 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45410 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45411 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45412 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45413 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45414 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45415 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45416 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45417 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45418 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45419 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45420 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45421 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45422 { (char *)"Rect_Union", (PyCFunction
) _wrap_Rect_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45423 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45424 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45425 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45426 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45427 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45428 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45429 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45430 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45431 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45432 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45433 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45434 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45435 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45436 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45437 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45438 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45439 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45440 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
45441 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45442 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45443 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45444 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45445 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45446 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45447 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45448 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45449 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45450 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45451 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45452 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45453 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45454 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45455 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45456 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45457 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45458 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45459 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45460 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45461 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45462 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45463 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45464 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45465 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45466 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45467 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45468 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
45469 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45470 { (char *)"delete_InputStream", (PyCFunction
) _wrap_delete_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45471 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45472 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45473 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45474 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45475 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45476 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45477 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45478 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45479 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45480 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45481 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45482 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45483 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45484 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45485 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45486 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45487 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
45488 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45489 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
45490 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45491 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45492 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45493 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45494 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45495 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45496 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45497 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
45498 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
45499 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45500 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45501 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45502 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45503 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45504 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45505 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45506 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45507 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45508 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45509 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45510 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
45511 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45512 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45513 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45514 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45515 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45516 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45517 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45518 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45519 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45520 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45521 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45522 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
45523 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45524 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45525 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45526 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
45527 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45528 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45529 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45530 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45531 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45532 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
45533 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45534 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45535 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45536 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45537 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45538 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45539 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45540 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45541 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45542 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
45543 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45544 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45545 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45546 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45547 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45548 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45549 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45550 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45551 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45552 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
45553 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45554 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45555 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45556 { (char *)"ImageHistogram_GetCount", (PyCFunction
) _wrap_ImageHistogram_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45557 { (char *)"ImageHistogram_GetCountRGB", (PyCFunction
) _wrap_ImageHistogram_GetCountRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45558 { (char *)"ImageHistogram_GetCountColour", (PyCFunction
) _wrap_ImageHistogram_GetCountColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45559 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
45560 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45561 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45562 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45563 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45564 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45565 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45566 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45567 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45568 { (char *)"new_ImageFromDataWithAlpha", (PyCFunction
) _wrap_new_ImageFromDataWithAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45569 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45570 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45571 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45572 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45573 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45574 { (char *)"Image_Resize", (PyCFunction
) _wrap_Image_Resize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45575 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45576 { (char *)"Image_SetRGBRect", (PyCFunction
) _wrap_Image_SetRGBRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45577 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45578 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45579 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45580 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45581 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45582 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45583 { (char *)"Image_InitAlpha", (PyCFunction
) _wrap_Image_InitAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45584 { (char *)"Image_IsTransparent", (PyCFunction
) _wrap_Image_IsTransparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45585 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45586 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45587 { (char *)"Image_ConvertColourToAlpha", (PyCFunction
) _wrap_Image_ConvertColourToAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45588 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45589 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45590 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45591 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45592 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45593 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45594 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45595 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45596 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45597 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45598 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45599 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45600 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45601 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45602 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45603 { (char *)"Image_Size", (PyCFunction
) _wrap_Image_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45604 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45605 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45606 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45607 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45608 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45609 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45610 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45611 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45612 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45613 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45614 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45615 { (char *)"Image_GetOrFindMaskColour", (PyCFunction
) _wrap_Image_GetOrFindMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45616 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45617 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45618 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45619 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45620 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45621 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45622 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45623 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45624 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45625 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45626 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45627 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45628 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45629 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45630 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45631 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45632 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45633 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45634 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45635 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45636 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45637 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45638 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45639 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
45640 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45641 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
45642 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45643 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
45644 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45645 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
45646 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45647 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
45648 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45649 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
45650 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45651 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
45652 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45653 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
45654 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45655 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
45656 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45657 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
45658 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45659 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
45660 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45661 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
45662 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45663 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
45664 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45665 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45666 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45667 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45668 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45669 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45670 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45671 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45672 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45673 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45674 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45675 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45676 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45677 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
45678 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45679 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45680 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45681 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45682 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45683 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45684 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45685 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45686 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45687 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45688 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45689 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45690 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45691 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45692 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45693 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45694 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45695 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
45696 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45697 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45698 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
45699 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45700 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45701 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
45702 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45703 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45704 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45705 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45706 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45707 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45708 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45709 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45710 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45711 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45712 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45713 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
45714 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45715 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45716 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45717 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45718 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
45719 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45720 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45721 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45722 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45723 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45724 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
45725 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45726 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45727 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45728 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45729 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45730 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
45731 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45732 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45733 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45734 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45735 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45736 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45737 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45738 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45739 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45740 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45741 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45742 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45743 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45744 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45745 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45746 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45747 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45748 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45749 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45750 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45751 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45752 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45753 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45754 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45755 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45756 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45757 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45758 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45759 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45760 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45761 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45762 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45763 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45764 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45765 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45766 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45767 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45768 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45769 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45770 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45771 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45772 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45773 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45774 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45775 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45776 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45777 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45778 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45779 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45780 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45781 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45782 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45783 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45784 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45785 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45786 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45787 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45788 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45789 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45790 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45791 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45792 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45793 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
45794 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45795 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45796 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45797 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45798 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45799 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45800 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
45801 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45802 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45803 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45804 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45805 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45806 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45807 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45808 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45809 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45810 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45811 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45812 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45813 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45814 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45815 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45816 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45817 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45818 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45819 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45820 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45821 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45822 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45823 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45824 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45825 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45826 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45827 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45828 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45829 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45830 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45831 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45832 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45833 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45834 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45835 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45836 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
45837 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45838 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45839 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45840 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45841 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45842 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45843 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45844 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45845 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45846 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
45847 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45848 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45849 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45850 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45851 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45852 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
45853 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45854 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
45855 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45856 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
45857 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45858 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45859 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
45860 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45861 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45862 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45863 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
45864 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45865 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45866 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
45867 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45868 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45869 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
45870 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45871 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
45872 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45873 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45874 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45875 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45876 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
45877 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45878 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45879 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45880 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45881 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45882 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45883 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45884 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
45885 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45886 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45887 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45888 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
45889 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45890 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45891 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
45892 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45893 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
45894 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45895 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45896 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45897 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
45898 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45899 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45900 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45901 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45902 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45903 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45904 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45905 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45906 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45907 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45908 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45909 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45910 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45911 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45912 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45913 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45914 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
45915 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45916 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45917 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45918 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45919 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45920 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45921 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45922 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45923 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45924 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45925 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45926 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45927 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45928 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45929 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
45930 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45931 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45932 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45933 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45934 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45935 { (char *)"NavigationKeyEvent_IsFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_IsFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45936 { (char *)"NavigationKeyEvent_SetFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_SetFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45937 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45938 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45939 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45940 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
45941 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45942 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45943 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
45944 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45945 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45946 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
45947 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45948 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45949 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45950 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
45951 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45952 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45953 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45954 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45955 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45956 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45957 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
45958 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45959 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45960 { (char *)"PyEvent__SetSelf", (PyCFunction
) _wrap_PyEvent__SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45961 { (char *)"PyEvent__GetSelf", (PyCFunction
) _wrap_PyEvent__GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45962 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
45963 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45964 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45965 { (char *)"PyCommandEvent__SetSelf", (PyCFunction
) _wrap_PyCommandEvent__SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45966 { (char *)"PyCommandEvent__GetSelf", (PyCFunction
) _wrap_PyCommandEvent__GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45967 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
45968 { (char *)"new_DateEvent", (PyCFunction
) _wrap_new_DateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45969 { (char *)"DateEvent_GetDate", (PyCFunction
) _wrap_DateEvent_GetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45970 { (char *)"DateEvent_SetDate", (PyCFunction
) _wrap_DateEvent_SetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45971 { (char *)"DateEvent_swigregister", DateEvent_swigregister
, METH_VARARGS
, NULL
},
45972 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45973 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45974 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45975 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45976 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45977 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45978 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45979 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45980 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45981 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45982 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45983 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45984 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45985 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
) _wrap_PyApp_IsMainLoopRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45986 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45987 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45988 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45989 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45990 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45991 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45992 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45993 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45994 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45995 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45996 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45997 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45998 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45999 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46000 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46001 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46002 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46003 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46004 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46005 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46006 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46007 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46008 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46009 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46010 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46011 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46012 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46013 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46014 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46015 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46016 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
46017 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46018 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46019 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46020 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46021 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46022 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46023 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46024 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46025 { (char *)"SetDefaultPyEncoding", (PyCFunction
) _wrap_SetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46026 { (char *)"GetDefaultPyEncoding", (PyCFunction
) _wrap_GetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46027 { (char *)"new_EventLoop", (PyCFunction
) _wrap_new_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46028 { (char *)"delete_EventLoop", (PyCFunction
) _wrap_delete_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46029 { (char *)"EventLoop_Run", (PyCFunction
) _wrap_EventLoop_Run
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46030 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46031 { (char *)"EventLoop_Pending", (PyCFunction
) _wrap_EventLoop_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46032 { (char *)"EventLoop_Dispatch", (PyCFunction
) _wrap_EventLoop_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46033 { (char *)"EventLoop_IsRunning", (PyCFunction
) _wrap_EventLoop_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46034 { (char *)"EventLoop_GetActive", (PyCFunction
) _wrap_EventLoop_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46035 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46036 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
46037 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46038 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46039 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46040 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46041 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46042 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46043 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
46044 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46045 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46046 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46047 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
46048 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46049 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46050 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46051 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46052 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46053 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46054 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46055 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46056 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46057 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
46058 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46059 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46060 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46061 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46062 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46063 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46064 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46065 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46066 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46067 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46068 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46069 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46070 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46071 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46072 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46073 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46074 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46075 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46076 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46077 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46078 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46079 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46080 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46081 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46082 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46083 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46084 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46085 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46086 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46087 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46088 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46089 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46090 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46091 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46092 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46093 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46094 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46095 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46096 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46097 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46098 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46099 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46100 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46101 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46102 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46103 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46104 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46105 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46106 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46107 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46108 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46109 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46110 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46111 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46112 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46113 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46114 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46115 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46116 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46117 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46118 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46119 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46120 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46121 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46122 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46123 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46124 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46125 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46126 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46127 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46128 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46129 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46130 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46131 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46132 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46133 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46134 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46135 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46136 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46137 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46138 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46139 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46140 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46141 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46142 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46143 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46144 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46145 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46146 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46147 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46148 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46149 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46150 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46151 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46152 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46153 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46154 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46155 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46156 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46157 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46158 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46159 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46160 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46161 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46162 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46163 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46164 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46165 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46166 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46167 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46168 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46169 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46170 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46171 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46172 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46173 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46174 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46175 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46176 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46177 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46178 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46179 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46180 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46181 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46182 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46183 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46184 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46185 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46186 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46187 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46188 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46189 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46190 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46191 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46192 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46193 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46194 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46195 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46196 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46197 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46198 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46199 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46200 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46201 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46202 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46203 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46204 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46205 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46206 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46207 { (char *)"Window_InheritsBackgroundColour", (PyCFunction
) _wrap_Window_InheritsBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46208 { (char *)"Window_UseBgCol", (PyCFunction
) _wrap_Window_UseBgCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46209 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46210 { (char *)"Window_GetBackgroundStyle", (PyCFunction
) _wrap_Window_GetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46211 { (char *)"Window_HasTransparentBackground", (PyCFunction
) _wrap_Window_HasTransparentBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46212 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46213 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46214 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46215 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46216 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46217 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46218 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46219 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46220 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46221 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46222 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46223 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46224 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46225 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46226 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46227 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46228 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46229 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
46230 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46231 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46232 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46233 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46234 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46235 { (char *)"Window_DissociateHandle", (PyCFunction
) _wrap_Window_DissociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46236 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46237 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46238 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46239 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46240 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46241 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46242 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46243 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46244 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46245 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46246 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46247 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46248 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46249 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46250 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46251 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46252 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46253 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46254 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46255 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46256 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46257 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46258 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46259 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46260 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46261 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46262 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46263 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46264 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46265 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46266 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46267 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46268 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46269 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46270 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
46271 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46272 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46273 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46274 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46275 { (char *)"GetTopLevelWindows", (PyCFunction
) _wrap_GetTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46276 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46277 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46278 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46279 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46280 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46281 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46282 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46283 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46284 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46285 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
46286 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46287 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46288 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
46289 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46290 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46291 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46292 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46293 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46294 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46295 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46296 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46297 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46298 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46299 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46300 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46301 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46302 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46303 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46304 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46305 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46306 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46307 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46308 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46309 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46310 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46311 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46312 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46313 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46314 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46315 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46316 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46317 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46318 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46319 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46320 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46321 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46322 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46323 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46324 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46325 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46326 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46327 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46328 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46329 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46330 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46331 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46332 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46333 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46334 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46335 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46336 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46337 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46338 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46339 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46340 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46341 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46342 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46343 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
46344 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46345 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46346 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46347 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46348 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46349 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46350 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46351 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46352 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46353 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46354 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46355 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46356 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46357 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46358 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46359 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46360 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46361 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46362 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46363 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46364 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46365 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46366 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46367 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46368 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46369 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46370 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
46371 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46372 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46373 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46374 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46375 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46376 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46377 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46378 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46379 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46380 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46381 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46382 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46383 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46384 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46385 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46386 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46387 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46388 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46389 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46390 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46391 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46392 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46393 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46394 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46395 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46396 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46397 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46398 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46399 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46400 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46401 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46402 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46403 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46404 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46405 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46406 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46407 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46408 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46409 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46410 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46411 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46412 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46413 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46414 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
46415 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46416 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46417 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46418 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46419 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46420 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46421 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46422 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
46423 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46424 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46425 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46426 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46427 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46428 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46429 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46430 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46431 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46432 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46433 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46434 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46435 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46436 { (char *)"ItemContainer_SetSelection", (PyCFunction
) _wrap_ItemContainer_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46437 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46438 { (char *)"ItemContainer_SetStringSelection", (PyCFunction
) _wrap_ItemContainer_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46439 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46440 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46441 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
46442 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
46443 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46444 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46445 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46446 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46447 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46448 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46449 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46450 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46451 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46452 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46453 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46454 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46455 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46456 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46457 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46458 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46459 { (char *)"SizerItem_GetRect", (PyCFunction
) _wrap_SizerItem_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46460 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46461 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46462 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46463 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46464 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46465 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46466 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46467 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46468 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46469 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46470 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46471 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46472 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46473 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46474 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46475 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46476 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46477 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46478 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46479 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
46480 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46481 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46482 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46483 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46484 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46485 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46486 { (char *)"Sizer_GetItem", (PyCFunction
) _wrap_Sizer_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46487 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46488 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46489 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46490 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46491 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46492 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46493 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46494 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46495 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46496 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46497 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46498 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46499 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46500 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46501 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46502 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46503 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46504 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46505 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46506 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46507 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46508 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46509 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
46510 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46511 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46512 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
46513 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46514 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46515 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46516 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
46517 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46518 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46519 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
46520 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46521 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46522 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46523 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46524 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46525 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46526 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46527 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46528 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46529 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
46530 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46531 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46532 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46533 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46534 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46535 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46536 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46537 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46538 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46539 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46540 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46541 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
46542 { (char *)"new_StdDialogButtonSizer", (PyCFunction
) _wrap_new_StdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46543 { (char *)"StdDialogButtonSizer_AddButton", (PyCFunction
) _wrap_StdDialogButtonSizer_AddButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46544 { (char *)"StdDialogButtonSizer_Realize", (PyCFunction
) _wrap_StdDialogButtonSizer_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46545 { (char *)"StdDialogButtonSizer_SetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46546 { (char *)"StdDialogButtonSizer_SetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46547 { (char *)"StdDialogButtonSizer_SetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46548 { (char *)"StdDialogButtonSizer_GetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46549 { (char *)"StdDialogButtonSizer_GetApplyButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetApplyButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46550 { (char *)"StdDialogButtonSizer_GetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46551 { (char *)"StdDialogButtonSizer_GetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46552 { (char *)"StdDialogButtonSizer_GetHelpButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46553 { (char *)"StdDialogButtonSizer_swigregister", StdDialogButtonSizer_swigregister
, METH_VARARGS
, NULL
},
46554 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46555 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46556 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46557 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46558 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46559 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46560 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46561 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46562 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46563 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
46564 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46565 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46566 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46567 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46568 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46569 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46570 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46571 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46572 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46573 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
46574 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46575 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46576 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46577 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46578 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46579 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46580 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46581 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46582 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46583 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46584 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46585 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46586 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46587 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
46588 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46589 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46590 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46591 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46592 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46593 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46594 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
46595 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
46596 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
46597 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
46598 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
46599 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46600 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46601 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46602 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46603 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
46604 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46605 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46606 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46607 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46608 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46609 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46610 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46611 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46612 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46613 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46614 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46615 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46616 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46617 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46618 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46619 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46620 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46621 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46622 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46623 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46624 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46625 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46626 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46627 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46628 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46629 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46630 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
46631 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46632 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46633 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46634 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46635 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46636 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46637 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46638 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46639 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46640 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46641 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46642 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
46643 { NULL
, NULL
, 0, NULL
}
46647 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
46649 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
46650 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
46652 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
46653 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
46655 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
46656 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46658 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
46659 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46661 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
46662 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46664 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
46665 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
46667 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
46668 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46670 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
46671 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
46673 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
46674 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46676 static void *_p_wxStdDialogButtonSizerTo_p_wxBoxSizer(void *x
) {
46677 return (void *)((wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46679 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
46680 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46682 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
46683 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
46685 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
46686 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
46688 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
46689 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
46691 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
46692 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
46694 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
46695 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
46697 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
46698 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
46700 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
46701 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
46703 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
46704 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
46706 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
46707 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46709 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
46710 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
46712 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
46713 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46715 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
46716 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46718 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
46719 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
46721 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
46722 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
46724 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
46725 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
46727 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
46728 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
46730 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
46731 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
46733 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
46734 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
46736 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
46737 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
46739 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
46740 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
46742 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
46743 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46745 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
46746 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46748 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
46749 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46751 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
46752 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46754 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
46755 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46757 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
46758 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
46760 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
46761 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
46763 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
46764 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46766 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
46767 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
46769 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
46770 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
46772 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
46773 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46775 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
46776 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46778 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
46779 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46781 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
46782 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
46784 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
46785 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
46787 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
46788 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46790 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
46791 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46793 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
46794 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46796 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
46797 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
46799 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
46800 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
46802 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
46803 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
46805 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
46806 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
46808 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
46809 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46811 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
46812 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
46814 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
46815 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
46817 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
46818 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
46820 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
46821 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
46823 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
46824 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
46826 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
46827 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
46829 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
46830 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
46832 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
46833 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
46835 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
46836 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
46838 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
46839 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
46841 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
46842 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46844 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
46845 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
46847 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
46848 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
46850 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
46851 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46853 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
46854 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46856 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
46857 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
46859 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
46860 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
46862 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
46863 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
46865 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
46866 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
46868 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
46869 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
46871 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
46872 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
46874 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
46875 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
46877 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
46878 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
46880 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46881 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
46883 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46884 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
46886 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46887 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
46889 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
46890 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
46892 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
46893 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
46895 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
46896 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
46898 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
46899 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
46901 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
46902 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
46904 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
46905 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46907 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
46908 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
46910 static void *_p_wxSizerTo_p_wxObject(void *x
) {
46911 return (void *)((wxObject
*) ((wxSizer
*) x
));
46913 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
46914 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46916 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
46917 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46919 static void *_p_wxEventTo_p_wxObject(void *x
) {
46920 return (void *)((wxObject
*) ((wxEvent
*) x
));
46922 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
46923 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46925 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
46926 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
46928 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
46929 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
46931 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
46932 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
46934 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
46935 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
46937 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
46938 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46940 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
46941 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46943 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
46944 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46946 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
46947 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46949 static void *_p_wxControlTo_p_wxObject(void *x
) {
46950 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
46952 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
46953 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
46955 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
46956 return (void *)((wxObject
*) ((wxFSFile
*) x
));
46958 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
46959 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
46961 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
46962 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
46964 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
46965 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46967 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
46968 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
46970 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
46971 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
46973 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
46974 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
46976 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
46977 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
46979 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
46980 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46982 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
46983 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46985 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
46986 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
46988 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
46989 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
46991 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
46992 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
46994 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
46995 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
46997 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
46998 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
47000 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
47001 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
47003 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
47004 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
47006 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
47007 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
47009 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
47010 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
47012 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
47013 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
47015 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
47016 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
47018 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
47019 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
47021 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
47022 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
47024 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
47025 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
47027 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
47028 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
47030 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
47031 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
47033 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
47034 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
47036 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
47037 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
47039 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
47040 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
47042 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
47043 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
47045 static void *_p_wxImageTo_p_wxObject(void *x
) {
47046 return (void *)((wxObject
*) ((wxImage
*) x
));
47048 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
47049 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
47051 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
47052 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47054 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
47055 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
47057 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
47058 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
47060 static void *_p_wxWindowTo_p_wxObject(void *x
) {
47061 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
47063 static void *_p_wxMenuTo_p_wxObject(void *x
) {
47064 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
47066 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
47067 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
47069 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
47070 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
47072 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
47073 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47075 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
47076 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
47078 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
47079 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
47081 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
47082 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
47084 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
47085 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
47087 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
47088 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
47090 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
47091 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47093 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
47094 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
47096 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
47097 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
47099 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
47100 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
47102 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
47103 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47105 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
47106 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
47108 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
47109 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
47111 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
47112 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
47114 static void *_p_wxControlTo_p_wxWindow(void *x
) {
47115 return (void *)((wxWindow
*) ((wxControl
*) x
));
47117 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
47118 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
47120 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
47121 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
47123 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
47124 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47126 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
47127 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
47129 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
47130 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47132 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
47133 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
47135 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
47136 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47138 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
47139 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47141 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
47142 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47144 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
47145 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47147 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
47148 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47150 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
47151 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
47153 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}};
47154 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}};
47155 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}};
47156 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}};
47157 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}};
47158 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}};
47159 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}};
47160 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}};
47161 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}};
47162 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}};
47163 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}};
47164 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}};
47165 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}};
47166 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}};
47167 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}};
47168 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}};
47169 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}};
47170 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}};
47171 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}};
47172 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}};
47173 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}};
47174 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}};
47175 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}};
47176 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}};
47177 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}};
47178 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}};
47179 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}};
47180 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}};
47181 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}};
47182 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}};
47183 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}};
47184 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}};
47185 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}};
47186 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}};
47187 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}};
47188 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}};
47189 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}};
47190 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}};
47191 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}};
47192 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}};
47193 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}};
47194 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}};
47195 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}};
47196 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}};
47197 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}};
47198 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}};
47199 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}};
47200 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}};
47201 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}};
47202 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}};
47203 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}};
47204 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}};
47205 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}};
47206 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}};
47207 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}};
47208 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}};
47209 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}};
47210 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}};
47211 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}};
47212 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}};
47213 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}};
47214 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}};
47215 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}};
47216 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}};
47217 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}};
47218 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}};
47219 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}};
47220 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}};
47221 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}};
47222 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}};
47223 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}};
47224 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}};
47225 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}};
47226 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}};
47227 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}};
47228 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}};
47229 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}};
47230 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}};
47231 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}};
47232 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}};
47233 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}};
47234 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}};
47235 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}};
47236 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}};
47237 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}};
47238 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}};
47239 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}};
47240 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}};
47241 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}};
47242 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}};
47243 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}};
47244 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}};
47245 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}};
47246 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}};
47247 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}};
47248 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}};
47249 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}};
47250 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}};
47251 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}};
47252 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}};
47253 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}};
47254 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}};
47255 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}};
47256 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}};
47257 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}};
47258 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}};
47259 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}};
47260 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}};
47261 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}};
47262 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}};
47263 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}};
47264 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}};
47265 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}};
47266 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}};
47267 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}};
47268 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}};
47269 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}};
47270 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}};
47271 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}};
47272 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}};
47273 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}};
47274 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}};
47275 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}};
47276 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}};
47277 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}};
47278 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}};
47279 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}};
47280 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}};
47282 static swig_type_info
*swig_types_initial
[] = {
47283 _swigt__p_wxLayoutConstraints
,
47284 _swigt__p_wxRealPoint
,
47285 _swigt__p_wxSizerItem
,
47286 _swigt__p_wxGBSizerItem
,
47287 _swigt__p_wxScrollEvent
,
47288 _swigt__p_wxEventLoop
,
47289 _swigt__p_wxIndividualLayoutConstraint
,
47291 _swigt__p_wxBoxSizer
,
47292 _swigt__p_wxStaticBoxSizer
,
47293 _swigt__p_wxGridBagSizer
,
47294 _swigt__p_wxAcceleratorEntry
,
47295 _swigt__p_wxUpdateUIEvent
,
47299 _swigt__p_wxGridSizer
,
47300 _swigt__p_wxFlexGridSizer
,
47301 _swigt__p_wxInitDialogEvent
,
47302 _swigt__p_wxItemContainer
,
47303 _swigt__p_wxNcPaintEvent
,
47304 _swigt__p_wxPaintEvent
,
47305 _swigt__p_wxSysColourChangedEvent
,
47306 _swigt__p_wxMouseCaptureChangedEvent
,
47307 _swigt__p_wxDisplayChangedEvent
,
47308 _swigt__p_wxPaletteChangedEvent
,
47309 _swigt__p_wxControl
,
47311 _swigt__p_wxMenuBarBase
,
47312 _swigt__p_wxSetCursorEvent
,
47313 _swigt__p_wxFSFile
,
47316 _swigt__std__ptrdiff_t
,
47317 _swigt__p_wxRegion
,
47318 _swigt__p_wxPoint2D
,
47322 _swigt__p_wxPySizer
,
47323 _swigt__p_wxVisualAttributes
,
47324 _swigt__p_wxNotifyEvent
,
47325 _swigt__p_wxPyEvent
,
47326 _swigt__p_wxPropagationDisabler
,
47327 _swigt__p_form_ops_t
,
47328 _swigt__p_wxAppTraits
,
47329 _swigt__p_wxArrayString
,
47330 _swigt__p_wxShowEvent
,
47331 _swigt__p_wxToolTip
,
47332 _swigt__p_wxMoveEvent
,
47333 _swigt__p_wxSizeEvent
,
47334 _swigt__p_wxActivateEvent
,
47335 _swigt__p_wxIconizeEvent
,
47336 _swigt__p_wxMaximizeEvent
,
47337 _swigt__p_wxQueryNewPaletteEvent
,
47338 _swigt__p_wxWindowCreateEvent
,
47339 _swigt__p_wxIdleEvent
,
47340 _swigt__p_wxDateEvent
,
47341 _swigt__p_wxMenuItem
,
47342 _swigt__p_wxStaticBox
,
47344 _swigt__p_wxDuplexMode
,
47345 _swigt__p_wxTIFFHandler
,
47346 _swigt__p_wxXPMHandler
,
47347 _swigt__p_wxPNMHandler
,
47348 _swigt__p_wxJPEGHandler
,
47349 _swigt__p_wxPCXHandler
,
47350 _swigt__p_wxGIFHandler
,
47351 _swigt__p_wxPNGHandler
,
47352 _swigt__p_wxANIHandler
,
47353 _swigt__p_wxMemoryFSHandler
,
47354 _swigt__p_wxZipFSHandler
,
47355 _swigt__p_wxInternetFSHandler
,
47356 _swigt__p_wxPyFileSystemHandler
,
47357 _swigt__p_wxEvtHandler
,
47358 _swigt__p_wxCURHandler
,
47359 _swigt__p_wxICOHandler
,
47360 _swigt__p_wxBMPHandler
,
47361 _swigt__p_wxImageHandler
,
47362 _swigt__p_wxFileSystemHandler
,
47364 _swigt__p_wxButton
,
47365 _swigt__p_wxGBSpan
,
47366 _swigt__p_wxPropagateOnce
,
47367 _swigt__p_wxAcceleratorTable
,
47368 _swigt__p_wxStdDialogButtonSizer
,
47370 _swigt__p_wxGBPosition
,
47373 _swigt__p_wxScrollWinEvent
,
47374 _swigt__p_wxPaperSize
,
47375 _swigt__p_wxImageHistogram
,
47377 _swigt__p_wxCursor
,
47378 _swigt__p_wxObject
,
47379 _swigt__p_wxInputStream
,
47380 _swigt__p_wxOutputStream
,
47381 _swigt__p_wxPyInputStream
,
47382 _swigt__p_wxDateTime
,
47383 _swigt__p_wxKeyEvent
,
47384 _swigt__p_wxNavigationKeyEvent
,
47385 _swigt__p_wxWindowDestroyEvent
,
47386 _swigt__p_unsigned_long
,
47387 _swigt__p_wxWindow
,
47388 _swigt__p_wxMenuBar
,
47389 _swigt__p_wxFileSystem
,
47390 _swigt__p_wxBitmap
,
47391 _swigt__unsigned_int
,
47392 _swigt__p_unsigned_int
,
47393 _swigt__p_wxMenuEvent
,
47394 _swigt__p_wxContextMenuEvent
,
47395 _swigt__p_unsigned_char
,
47396 _swigt__p_wxEraseEvent
,
47397 _swigt__p_wxMouseEvent
,
47398 _swigt__p_wxCloseEvent
,
47400 _swigt__p_wxCommandEvent
,
47401 _swigt__p_wxPyCommandEvent
,
47402 _swigt__p_wxPyDropTarget
,
47403 _swigt__p_wxQuantize
,
47404 _swigt__p_wxFocusEvent
,
47405 _swigt__p_wxChildFocusEvent
,
47406 _swigt__p_wxDropFilesEvent
,
47407 _swigt__p_wxControlWithItems
,
47408 _swigt__p_wxColour
,
47409 _swigt__p_wxValidator
,
47410 _swigt__p_wxPyValidator
,
47415 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
47417 static swig_const_info swig_const_table
[] = {
47418 {0, 0, 0, 0.0, 0, 0}};
47429 /* Python-specific SWIG API */
47430 #define SWIG_newvarlink() SWIG_Python_newvarlink()
47431 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
47432 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
47434 /* -----------------------------------------------------------------------------
47435 * global variable support code.
47436 * ----------------------------------------------------------------------------- */
47438 typedef struct swig_globalvar
{
47439 char *name
; /* Name of global variable */
47440 PyObject
*(*get_attr
)(); /* Return the current value */
47441 int (*set_attr
)(PyObject
*); /* Set the value */
47442 struct swig_globalvar
*next
;
47445 typedef struct swig_varlinkobject
{
47447 swig_globalvar
*vars
;
47448 } swig_varlinkobject
;
47451 swig_varlink_repr(swig_varlinkobject
*v
) {
47453 return PyString_FromString("<Swig global variables>");
47457 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
47458 swig_globalvar
*var
;
47460 fprintf(fp
,"Swig global variables { ");
47461 for (var
= v
->vars
; var
; var
=var
->next
) {
47462 fprintf(fp
,"%s", var
->name
);
47463 if (var
->next
) fprintf(fp
,", ");
47465 fprintf(fp
," }\n");
47470 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
47471 swig_globalvar
*var
= v
->vars
;
47473 if (strcmp(var
->name
,n
) == 0) {
47474 return (*var
->get_attr
)();
47478 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
47483 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
47484 swig_globalvar
*var
= v
->vars
;
47486 if (strcmp(var
->name
,n
) == 0) {
47487 return (*var
->set_attr
)(p
);
47491 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
47495 static PyTypeObject varlinktype
= {
47496 PyObject_HEAD_INIT(0)
47497 0, /* Number of items in variable part (ob_size) */
47498 (char *)"swigvarlink", /* Type name (tp_name) */
47499 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
47500 0, /* Itemsize (tp_itemsize) */
47501 0, /* Deallocator (tp_dealloc) */
47502 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
47503 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
47504 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
47505 0, /* tp_compare */
47506 (reprfunc
) swig_varlink_repr
, /* tp_repr */
47507 0, /* tp_as_number */
47508 0, /* tp_as_sequence */
47509 0, /* tp_as_mapping */
47513 0, /* tp_getattro */
47514 0, /* tp_setattro */
47515 0, /* tp_as_buffer */
47518 #if PY_VERSION_HEX >= 0x02000000
47519 0, /* tp_traverse */
47522 #if PY_VERSION_HEX >= 0x02010000
47523 0, /* tp_richcompare */
47524 0, /* tp_weaklistoffset */
47526 #if PY_VERSION_HEX >= 0x02020000
47527 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
47529 #if PY_VERSION_HEX >= 0x02030000
47532 #ifdef COUNT_ALLOCS
47533 0,0,0,0 /* tp_alloc -> tp_next */
47537 /* Create a variable linking object for use later */
47539 SWIG_Python_newvarlink(void) {
47540 swig_varlinkobject
*result
= 0;
47541 result
= PyMem_NEW(swig_varlinkobject
,1);
47542 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
47543 result
->ob_type
= &varlinktype
;
47545 result
->ob_refcnt
= 0;
47546 Py_XINCREF((PyObject
*) result
);
47547 return ((PyObject
*) result
);
47551 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
47552 swig_varlinkobject
*v
;
47553 swig_globalvar
*gv
;
47554 v
= (swig_varlinkobject
*) p
;
47555 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
47556 gv
->name
= (char *) malloc(strlen(name
)+1);
47557 strcpy(gv
->name
,name
);
47558 gv
->get_attr
= get_attr
;
47559 gv
->set_attr
= set_attr
;
47560 gv
->next
= v
->vars
;
47564 /* -----------------------------------------------------------------------------
47565 * constants/methods manipulation
47566 * ----------------------------------------------------------------------------- */
47568 /* Install Constants */
47570 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
47573 for (i
= 0; constants
[i
].type
; i
++) {
47574 switch(constants
[i
].type
) {
47576 obj
= PyInt_FromLong(constants
[i
].lvalue
);
47578 case SWIG_PY_FLOAT
:
47579 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
47581 case SWIG_PY_STRING
:
47582 if (constants
[i
].pvalue
) {
47583 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
47585 Py_INCREF(Py_None
);
47589 case SWIG_PY_POINTER
:
47590 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
47592 case SWIG_PY_BINARY
:
47593 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
47600 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
47606 /* -----------------------------------------------------------------------------*/
47607 /* Fix SwigMethods to carry the callback ptrs when needed */
47608 /* -----------------------------------------------------------------------------*/
47611 SWIG_Python_FixMethods(PyMethodDef
*methods
,
47612 swig_const_info
*const_table
,
47613 swig_type_info
**types
,
47614 swig_type_info
**types_initial
) {
47616 for (i
= 0; methods
[i
].ml_name
; ++i
) {
47617 char *c
= methods
[i
].ml_doc
;
47618 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
47620 swig_const_info
*ci
= 0;
47621 char *name
= c
+ 10;
47622 for (j
= 0; const_table
[j
].type
; j
++) {
47623 if (strncmp(const_table
[j
].name
, name
,
47624 strlen(const_table
[j
].name
)) == 0) {
47625 ci
= &(const_table
[j
]);
47630 size_t shift
= (ci
->ptype
) - types
;
47631 swig_type_info
*ty
= types_initial
[shift
];
47632 size_t ldoc
= (c
- methods
[i
].ml_doc
);
47633 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
47634 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
47636 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
47637 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
47639 strncpy(buff
, "swig_ptr: ", 10);
47641 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
47642 methods
[i
].ml_doc
= ndoc
;
47648 /* -----------------------------------------------------------------------------*
47649 * Initialize type list
47650 * -----------------------------------------------------------------------------*/
47652 #if PY_MAJOR_VERSION < 2
47653 /* PyModule_AddObject function was introduced in Python 2.0. The following function
47654 is copied out of Python/modsupport.c in python version 2.3.4 */
47656 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
47659 if (!PyModule_Check(m
)) {
47660 PyErr_SetString(PyExc_TypeError
,
47661 "PyModule_AddObject() needs module as first arg");
47665 PyErr_SetString(PyExc_TypeError
,
47666 "PyModule_AddObject() needs non-NULL value");
47670 dict
= PyModule_GetDict(m
);
47671 if (dict
== NULL
) {
47672 /* Internal error -- modules must have a dict! */
47673 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
47674 PyModule_GetName(m
));
47677 if (PyDict_SetItemString(dict
, name
, o
))
47684 static swig_type_info
**
47685 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
47686 static PyMethodDef swig_empty_runtime_method_table
[] = {
47688 NULL
, NULL
, 0, NULL
47692 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
47693 swig_empty_runtime_method_table
);
47694 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
47695 if (pointer
&& module) {
47696 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
47698 return type_list_handle
;
47701 static swig_type_info
**
47702 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
47703 swig_type_info
**type_pointer
;
47705 /* first check if module already created */
47706 type_pointer
= SWIG_Python_GetTypeListHandle();
47707 if (type_pointer
) {
47708 return type_pointer
;
47710 /* create a new module and variable */
47711 return SWIG_Python_SetTypeListHandle(type_list_handle
);
47719 /* -----------------------------------------------------------------------------*
47720 * Partial Init method
47721 * -----------------------------------------------------------------------------*/
47723 #ifdef SWIG_LINK_RUNTIME
47727 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
47733 SWIGEXPORT(void) SWIG_init(void) {
47734 static PyObject
*SWIG_globals
= 0;
47735 static int typeinit
= 0;
47738 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
47740 /* Fix SwigMethods to carry the callback ptrs when needed */
47741 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
47743 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
47744 d
= PyModule_GetDict(m
);
47747 #ifdef SWIG_LINK_RUNTIME
47748 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
47750 # ifndef SWIG_STATIC_RUNTIME
47751 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
47754 for (i
= 0; swig_types_initial
[i
]; i
++) {
47755 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
47759 SWIG_InstallConstants(d
,swig_const_table
);
47762 #ifndef wxPyUSE_EXPORT
47763 // Make our API structure a CObject so other modules can import it
47764 // from this module.
47765 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
47766 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
47771 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_From_int((int)(wxNOT_FOUND
)));
47774 PyDict_SetItemString(d
,"VSCROLL", SWIG_From_int((int)(wxVSCROLL
)));
47777 PyDict_SetItemString(d
,"HSCROLL", SWIG_From_int((int)(wxHSCROLL
)));
47780 PyDict_SetItemString(d
,"CAPTION", SWIG_From_int((int)(wxCAPTION
)));
47783 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_From_int((int)(wxDOUBLE_BORDER
)));
47786 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_From_int((int)(wxSUNKEN_BORDER
)));
47789 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_From_int((int)(wxRAISED_BORDER
)));
47792 PyDict_SetItemString(d
,"BORDER", SWIG_From_int((int)(wxBORDER
)));
47795 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_From_int((int)(wxSIMPLE_BORDER
)));
47798 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_From_int((int)(wxSTATIC_BORDER
)));
47801 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_From_int((int)(wxTRANSPARENT_WINDOW
)));
47804 PyDict_SetItemString(d
,"NO_BORDER", SWIG_From_int((int)(wxNO_BORDER
)));
47807 PyDict_SetItemString(d
,"DEFAULT_CONTROL_BORDER", SWIG_From_int((int)(wxDEFAULT_CONTROL_BORDER
)));
47810 PyDict_SetItemString(d
,"DEFAULT_STATUSBAR_STYLE", SWIG_From_int((int)(wxDEFAULT_STATUSBAR_STYLE
)));
47813 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_From_int((int)(wxTAB_TRAVERSAL
)));
47816 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_From_int((int)(wxWANTS_CHARS
)));
47819 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_From_int((int)(wxPOPUP_WINDOW
)));
47822 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_From_int((int)(wxCENTER_FRAME
)));
47825 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_From_int((int)(wxCENTRE_ON_SCREEN
)));
47828 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_From_int((int)(wxCENTER_ON_SCREEN
)));
47831 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_From_int((int)(wxCLIP_CHILDREN
)));
47834 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_From_int((int)(wxCLIP_SIBLINGS
)));
47837 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_From_int((int)(wxALWAYS_SHOW_SB
)));
47840 PyDict_SetItemString(d
,"RETAINED", SWIG_From_int((int)(wxRETAINED
)));
47843 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_From_int((int)(wxBACKINGSTORE
)));
47846 PyDict_SetItemString(d
,"COLOURED", SWIG_From_int((int)(wxCOLOURED
)));
47849 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_From_int((int)(wxFIXED_LENGTH
)));
47852 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_From_int((int)(wxLB_NEEDED_SB
)));
47855 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_From_int((int)(wxLB_ALWAYS_SB
)));
47858 PyDict_SetItemString(d
,"LB_SORT", SWIG_From_int((int)(wxLB_SORT
)));
47861 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_From_int((int)(wxLB_SINGLE
)));
47864 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_From_int((int)(wxLB_MULTIPLE
)));
47867 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_From_int((int)(wxLB_EXTENDED
)));
47870 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_From_int((int)(wxLB_OWNERDRAW
)));
47873 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_From_int((int)(wxLB_HSCROLL
)));
47876 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_From_int((int)(wxPROCESS_ENTER
)));
47879 PyDict_SetItemString(d
,"PASSWORD", SWIG_From_int((int)(wxPASSWORD
)));
47882 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_From_int((int)(wxCB_SIMPLE
)));
47885 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_From_int((int)(wxCB_DROPDOWN
)));
47888 PyDict_SetItemString(d
,"CB_SORT", SWIG_From_int((int)(wxCB_SORT
)));
47891 PyDict_SetItemString(d
,"CB_READONLY", SWIG_From_int((int)(wxCB_READONLY
)));
47894 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_From_int((int)(wxRA_HORIZONTAL
)));
47897 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_From_int((int)(wxRA_VERTICAL
)));
47900 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_From_int((int)(wxRA_SPECIFY_ROWS
)));
47903 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_From_int((int)(wxRA_SPECIFY_COLS
)));
47906 PyDict_SetItemString(d
,"RA_USE_CHECKBOX", SWIG_From_int((int)(wxRA_USE_CHECKBOX
)));
47909 PyDict_SetItemString(d
,"RB_GROUP", SWIG_From_int((int)(wxRB_GROUP
)));
47912 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_From_int((int)(wxRB_SINGLE
)));
47915 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_From_int((int)(wxSB_HORIZONTAL
)));
47918 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_From_int((int)(wxSB_VERTICAL
)));
47921 PyDict_SetItemString(d
,"RB_USE_CHECKBOX", SWIG_From_int((int)(wxRB_USE_CHECKBOX
)));
47924 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_From_int((int)(wxST_SIZEGRIP
)));
47927 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_From_int((int)(wxST_NO_AUTORESIZE
)));
47930 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_From_int((int)(wxFLOOD_SURFACE
)));
47933 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_From_int((int)(wxFLOOD_BORDER
)));
47936 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_From_int((int)(wxODDEVEN_RULE
)));
47939 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_From_int((int)(wxWINDING_RULE
)));
47942 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_From_int((int)(wxTOOL_TOP
)));
47945 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_From_int((int)(wxTOOL_BOTTOM
)));
47948 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_From_int((int)(wxTOOL_LEFT
)));
47951 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_From_int((int)(wxTOOL_RIGHT
)));
47954 PyDict_SetItemString(d
,"OK", SWIG_From_int((int)(wxOK
)));
47957 PyDict_SetItemString(d
,"YES_NO", SWIG_From_int((int)(wxYES_NO
)));
47960 PyDict_SetItemString(d
,"CANCEL", SWIG_From_int((int)(wxCANCEL
)));
47963 PyDict_SetItemString(d
,"YES", SWIG_From_int((int)(wxYES
)));
47966 PyDict_SetItemString(d
,"NO", SWIG_From_int((int)(wxNO
)));
47969 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_From_int((int)(wxNO_DEFAULT
)));
47972 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_From_int((int)(wxYES_DEFAULT
)));
47975 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_From_int((int)(wxICON_EXCLAMATION
)));
47978 PyDict_SetItemString(d
,"ICON_HAND", SWIG_From_int((int)(wxICON_HAND
)));
47981 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_From_int((int)(wxICON_QUESTION
)));
47984 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_From_int((int)(wxICON_INFORMATION
)));
47987 PyDict_SetItemString(d
,"ICON_STOP", SWIG_From_int((int)(wxICON_STOP
)));
47990 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_From_int((int)(wxICON_ASTERISK
)));
47993 PyDict_SetItemString(d
,"ICON_MASK", SWIG_From_int((int)(wxICON_MASK
)));
47996 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_From_int((int)(wxICON_WARNING
)));
47999 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_From_int((int)(wxICON_ERROR
)));
48002 PyDict_SetItemString(d
,"FORWARD", SWIG_From_int((int)(wxFORWARD
)));
48005 PyDict_SetItemString(d
,"BACKWARD", SWIG_From_int((int)(wxBACKWARD
)));
48008 PyDict_SetItemString(d
,"RESET", SWIG_From_int((int)(wxRESET
)));
48011 PyDict_SetItemString(d
,"HELP", SWIG_From_int((int)(wxHELP
)));
48014 PyDict_SetItemString(d
,"MORE", SWIG_From_int((int)(wxMORE
)));
48017 PyDict_SetItemString(d
,"SETUP", SWIG_From_int((int)(wxSETUP
)));
48020 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_From_int((int)(wxSIZE_AUTO_WIDTH
)));
48023 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)(wxSIZE_AUTO_HEIGHT
)));
48026 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_From_int((int)(wxSIZE_AUTO
)));
48029 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_From_int((int)(wxSIZE_USE_EXISTING
)));
48032 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)(wxSIZE_ALLOW_MINUS_ONE
)));
48035 PyDict_SetItemString(d
,"PORTRAIT", SWIG_From_int((int)(wxPORTRAIT
)));
48038 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_From_int((int)(wxLANDSCAPE
)));
48041 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_From_int((int)(wxPRINT_QUALITY_HIGH
)));
48044 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)(wxPRINT_QUALITY_MEDIUM
)));
48047 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_From_int((int)(wxPRINT_QUALITY_LOW
)));
48050 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)(wxPRINT_QUALITY_DRAFT
)));
48053 PyDict_SetItemString(d
,"ID_ANY", SWIG_From_int((int)(wxID_ANY
)));
48056 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_From_int((int)(wxID_SEPARATOR
)));
48059 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_From_int((int)(wxID_LOWEST
)));
48062 PyDict_SetItemString(d
,"ID_OPEN", SWIG_From_int((int)(wxID_OPEN
)));
48065 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_From_int((int)(wxID_CLOSE
)));
48068 PyDict_SetItemString(d
,"ID_NEW", SWIG_From_int((int)(wxID_NEW
)));
48071 PyDict_SetItemString(d
,"ID_SAVE", SWIG_From_int((int)(wxID_SAVE
)));
48074 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_From_int((int)(wxID_SAVEAS
)));
48077 PyDict_SetItemString(d
,"ID_REVERT", SWIG_From_int((int)(wxID_REVERT
)));
48080 PyDict_SetItemString(d
,"ID_EXIT", SWIG_From_int((int)(wxID_EXIT
)));
48083 PyDict_SetItemString(d
,"ID_UNDO", SWIG_From_int((int)(wxID_UNDO
)));
48086 PyDict_SetItemString(d
,"ID_REDO", SWIG_From_int((int)(wxID_REDO
)));
48089 PyDict_SetItemString(d
,"ID_HELP", SWIG_From_int((int)(wxID_HELP
)));
48092 PyDict_SetItemString(d
,"ID_PRINT", SWIG_From_int((int)(wxID_PRINT
)));
48095 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_From_int((int)(wxID_PRINT_SETUP
)));
48098 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_From_int((int)(wxID_PREVIEW
)));
48101 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_From_int((int)(wxID_ABOUT
)));
48104 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_From_int((int)(wxID_HELP_CONTENTS
)));
48107 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_From_int((int)(wxID_HELP_COMMANDS
)));
48110 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_From_int((int)(wxID_HELP_PROCEDURES
)));
48113 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_From_int((int)(wxID_HELP_CONTEXT
)));
48116 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_From_int((int)(wxID_CLOSE_ALL
)));
48119 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_From_int((int)(wxID_PREFERENCES
)));
48122 PyDict_SetItemString(d
,"ID_CUT", SWIG_From_int((int)(wxID_CUT
)));
48125 PyDict_SetItemString(d
,"ID_COPY", SWIG_From_int((int)(wxID_COPY
)));
48128 PyDict_SetItemString(d
,"ID_PASTE", SWIG_From_int((int)(wxID_PASTE
)));
48131 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_From_int((int)(wxID_CLEAR
)));
48134 PyDict_SetItemString(d
,"ID_FIND", SWIG_From_int((int)(wxID_FIND
)));
48137 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_From_int((int)(wxID_DUPLICATE
)));
48140 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_From_int((int)(wxID_SELECTALL
)));
48143 PyDict_SetItemString(d
,"ID_DELETE", SWIG_From_int((int)(wxID_DELETE
)));
48146 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_From_int((int)(wxID_REPLACE
)));
48149 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_From_int((int)(wxID_REPLACE_ALL
)));
48152 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_From_int((int)(wxID_PROPERTIES
)));
48155 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_From_int((int)(wxID_VIEW_DETAILS
)));
48158 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_From_int((int)(wxID_VIEW_LARGEICONS
)));
48161 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_From_int((int)(wxID_VIEW_SMALLICONS
)));
48164 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_From_int((int)(wxID_VIEW_LIST
)));
48167 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_From_int((int)(wxID_VIEW_SORTDATE
)));
48170 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_From_int((int)(wxID_VIEW_SORTNAME
)));
48173 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_From_int((int)(wxID_VIEW_SORTSIZE
)));
48176 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_From_int((int)(wxID_VIEW_SORTTYPE
)));
48179 PyDict_SetItemString(d
,"ID_FILE1", SWIG_From_int((int)(wxID_FILE1
)));
48182 PyDict_SetItemString(d
,"ID_FILE2", SWIG_From_int((int)(wxID_FILE2
)));
48185 PyDict_SetItemString(d
,"ID_FILE3", SWIG_From_int((int)(wxID_FILE3
)));
48188 PyDict_SetItemString(d
,"ID_FILE4", SWIG_From_int((int)(wxID_FILE4
)));
48191 PyDict_SetItemString(d
,"ID_FILE5", SWIG_From_int((int)(wxID_FILE5
)));
48194 PyDict_SetItemString(d
,"ID_FILE6", SWIG_From_int((int)(wxID_FILE6
)));
48197 PyDict_SetItemString(d
,"ID_FILE7", SWIG_From_int((int)(wxID_FILE7
)));
48200 PyDict_SetItemString(d
,"ID_FILE8", SWIG_From_int((int)(wxID_FILE8
)));
48203 PyDict_SetItemString(d
,"ID_FILE9", SWIG_From_int((int)(wxID_FILE9
)));
48206 PyDict_SetItemString(d
,"ID_OK", SWIG_From_int((int)(wxID_OK
)));
48209 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_From_int((int)(wxID_CANCEL
)));
48212 PyDict_SetItemString(d
,"ID_APPLY", SWIG_From_int((int)(wxID_APPLY
)));
48215 PyDict_SetItemString(d
,"ID_YES", SWIG_From_int((int)(wxID_YES
)));
48218 PyDict_SetItemString(d
,"ID_NO", SWIG_From_int((int)(wxID_NO
)));
48221 PyDict_SetItemString(d
,"ID_STATIC", SWIG_From_int((int)(wxID_STATIC
)));
48224 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_From_int((int)(wxID_FORWARD
)));
48227 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_From_int((int)(wxID_BACKWARD
)));
48230 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_From_int((int)(wxID_DEFAULT
)));
48233 PyDict_SetItemString(d
,"ID_MORE", SWIG_From_int((int)(wxID_MORE
)));
48236 PyDict_SetItemString(d
,"ID_SETUP", SWIG_From_int((int)(wxID_SETUP
)));
48239 PyDict_SetItemString(d
,"ID_RESET", SWIG_From_int((int)(wxID_RESET
)));
48242 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_From_int((int)(wxID_CONTEXT_HELP
)));
48245 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_From_int((int)(wxID_YESTOALL
)));
48248 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_From_int((int)(wxID_NOTOALL
)));
48251 PyDict_SetItemString(d
,"ID_ABORT", SWIG_From_int((int)(wxID_ABORT
)));
48254 PyDict_SetItemString(d
,"ID_RETRY", SWIG_From_int((int)(wxID_RETRY
)));
48257 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_From_int((int)(wxID_IGNORE
)));
48260 PyDict_SetItemString(d
,"ID_ADD", SWIG_From_int((int)(wxID_ADD
)));
48263 PyDict_SetItemString(d
,"ID_REMOVE", SWIG_From_int((int)(wxID_REMOVE
)));
48266 PyDict_SetItemString(d
,"ID_UP", SWIG_From_int((int)(wxID_UP
)));
48269 PyDict_SetItemString(d
,"ID_DOWN", SWIG_From_int((int)(wxID_DOWN
)));
48272 PyDict_SetItemString(d
,"ID_HOME", SWIG_From_int((int)(wxID_HOME
)));
48275 PyDict_SetItemString(d
,"ID_REFRESH", SWIG_From_int((int)(wxID_REFRESH
)));
48278 PyDict_SetItemString(d
,"ID_STOP", SWIG_From_int((int)(wxID_STOP
)));
48281 PyDict_SetItemString(d
,"ID_INDEX", SWIG_From_int((int)(wxID_INDEX
)));
48284 PyDict_SetItemString(d
,"ID_BOLD", SWIG_From_int((int)(wxID_BOLD
)));
48287 PyDict_SetItemString(d
,"ID_ITALIC", SWIG_From_int((int)(wxID_ITALIC
)));
48290 PyDict_SetItemString(d
,"ID_JUSTIFY_CENTER", SWIG_From_int((int)(wxID_JUSTIFY_CENTER
)));
48293 PyDict_SetItemString(d
,"ID_JUSTIFY_FILL", SWIG_From_int((int)(wxID_JUSTIFY_FILL
)));
48296 PyDict_SetItemString(d
,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)(wxID_JUSTIFY_RIGHT
)));
48299 PyDict_SetItemString(d
,"ID_JUSTIFY_LEFT", SWIG_From_int((int)(wxID_JUSTIFY_LEFT
)));
48302 PyDict_SetItemString(d
,"ID_UNDERLINE", SWIG_From_int((int)(wxID_UNDERLINE
)));
48305 PyDict_SetItemString(d
,"ID_INDENT", SWIG_From_int((int)(wxID_INDENT
)));
48308 PyDict_SetItemString(d
,"ID_UNINDENT", SWIG_From_int((int)(wxID_UNINDENT
)));
48311 PyDict_SetItemString(d
,"ID_ZOOM_100", SWIG_From_int((int)(wxID_ZOOM_100
)));
48314 PyDict_SetItemString(d
,"ID_ZOOM_FIT", SWIG_From_int((int)(wxID_ZOOM_FIT
)));
48317 PyDict_SetItemString(d
,"ID_ZOOM_IN", SWIG_From_int((int)(wxID_ZOOM_IN
)));
48320 PyDict_SetItemString(d
,"ID_ZOOM_OUT", SWIG_From_int((int)(wxID_ZOOM_OUT
)));
48323 PyDict_SetItemString(d
,"ID_UNDELETE", SWIG_From_int((int)(wxID_UNDELETE
)));
48326 PyDict_SetItemString(d
,"ID_REVERT_TO_SAVED", SWIG_From_int((int)(wxID_REVERT_TO_SAVED
)));
48329 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_From_int((int)(wxID_HIGHEST
)));
48332 PyDict_SetItemString(d
,"OPEN", SWIG_From_int((int)(wxOPEN
)));
48335 PyDict_SetItemString(d
,"SAVE", SWIG_From_int((int)(wxSAVE
)));
48338 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_From_int((int)(wxHIDE_READONLY
)));
48341 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_From_int((int)(wxOVERWRITE_PROMPT
)));
48344 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_From_int((int)(wxFILE_MUST_EXIST
)));
48347 PyDict_SetItemString(d
,"MULTIPLE", SWIG_From_int((int)(wxMULTIPLE
)));
48350 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_From_int((int)(wxCHANGE_DIR
)));
48353 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_From_int((int)(wxACCEL_ALT
)));
48356 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_From_int((int)(wxACCEL_CTRL
)));
48359 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_From_int((int)(wxACCEL_SHIFT
)));
48362 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_From_int((int)(wxACCEL_NORMAL
)));
48365 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_From_int((int)(wxPD_AUTO_HIDE
)));
48368 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_From_int((int)(wxPD_APP_MODAL
)));
48371 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_From_int((int)(wxPD_CAN_ABORT
)));
48374 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_From_int((int)(wxPD_ELAPSED_TIME
)));
48377 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_From_int((int)(wxPD_ESTIMATED_TIME
)));
48380 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_From_int((int)(wxPD_REMAINING_TIME
)));
48383 PyDict_SetItemString(d
,"PD_SMOOTH", SWIG_From_int((int)(wxPD_SMOOTH
)));
48386 PyDict_SetItemString(d
,"PD_CAN_SKIP", SWIG_From_int((int)(wxPD_CAN_SKIP
)));
48389 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)(wxDD_NEW_DIR_BUTTON
)));
48392 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_From_int((int)(wxDD_DEFAULT_STYLE
)));
48395 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_From_int((int)(wxMENU_TEAROFF
)));
48398 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_From_int((int)(wxMB_DOCKABLE
)));
48401 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxNO_FULL_REPAINT_ON_RESIZE
)));
48404 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxFULL_REPAINT_ON_RESIZE
)));
48407 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_From_int((int)(wxLI_HORIZONTAL
)));
48410 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_From_int((int)(wxLI_VERTICAL
)));
48413 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)(wxWS_EX_VALIDATE_RECURSIVELY
)));
48416 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)(wxWS_EX_BLOCK_EVENTS
)));
48419 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_From_int((int)(wxWS_EX_TRANSIENT
)));
48422 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)(wxWS_EX_THEMED_BACKGROUND
)));
48425 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)(wxWS_EX_PROCESS_IDLE
)));
48428 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)(wxWS_EX_PROCESS_UI_UPDATES
)));
48431 PyDict_SetItemString(d
,"MM_TEXT", SWIG_From_int((int)(wxMM_TEXT
)));
48434 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_From_int((int)(wxMM_LOMETRIC
)));
48437 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_From_int((int)(wxMM_HIMETRIC
)));
48440 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_From_int((int)(wxMM_LOENGLISH
)));
48443 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_From_int((int)(wxMM_HIENGLISH
)));
48446 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_From_int((int)(wxMM_TWIPS
)));
48449 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_From_int((int)(wxMM_ISOTROPIC
)));
48452 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_From_int((int)(wxMM_ANISOTROPIC
)));
48455 PyDict_SetItemString(d
,"MM_POINTS", SWIG_From_int((int)(wxMM_POINTS
)));
48458 PyDict_SetItemString(d
,"MM_METRIC", SWIG_From_int((int)(wxMM_METRIC
)));
48461 PyDict_SetItemString(d
,"CENTRE", SWIG_From_int((int)(wxCENTRE
)));
48464 PyDict_SetItemString(d
,"CENTER", SWIG_From_int((int)(wxCENTER
)));
48467 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_From_int((int)(wxHORIZONTAL
)));
48470 PyDict_SetItemString(d
,"VERTICAL", SWIG_From_int((int)(wxVERTICAL
)));
48473 PyDict_SetItemString(d
,"BOTH", SWIG_From_int((int)(wxBOTH
)));
48476 PyDict_SetItemString(d
,"LEFT", SWIG_From_int((int)(wxLEFT
)));
48479 PyDict_SetItemString(d
,"RIGHT", SWIG_From_int((int)(wxRIGHT
)));
48482 PyDict_SetItemString(d
,"UP", SWIG_From_int((int)(wxUP
)));
48485 PyDict_SetItemString(d
,"DOWN", SWIG_From_int((int)(wxDOWN
)));
48488 PyDict_SetItemString(d
,"TOP", SWIG_From_int((int)(wxTOP
)));
48491 PyDict_SetItemString(d
,"BOTTOM", SWIG_From_int((int)(wxBOTTOM
)));
48494 PyDict_SetItemString(d
,"NORTH", SWIG_From_int((int)(wxNORTH
)));
48497 PyDict_SetItemString(d
,"SOUTH", SWIG_From_int((int)(wxSOUTH
)));
48500 PyDict_SetItemString(d
,"WEST", SWIG_From_int((int)(wxWEST
)));
48503 PyDict_SetItemString(d
,"EAST", SWIG_From_int((int)(wxEAST
)));
48506 PyDict_SetItemString(d
,"ALL", SWIG_From_int((int)(wxALL
)));
48509 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_From_int((int)(wxALIGN_NOT
)));
48512 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTER_HORIZONTAL
)));
48515 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTRE_HORIZONTAL
)));
48518 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_From_int((int)(wxALIGN_LEFT
)));
48521 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_From_int((int)(wxALIGN_TOP
)));
48524 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_From_int((int)(wxALIGN_RIGHT
)));
48527 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_From_int((int)(wxALIGN_BOTTOM
)));
48530 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTER_VERTICAL
)));
48533 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTRE_VERTICAL
)));
48536 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_From_int((int)(wxALIGN_CENTER
)));
48539 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_From_int((int)(wxALIGN_CENTRE
)));
48542 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_From_int((int)(wxALIGN_MASK
)));
48545 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_From_int((int)(wxSTRETCH_NOT
)));
48548 PyDict_SetItemString(d
,"SHRINK", SWIG_From_int((int)(wxSHRINK
)));
48551 PyDict_SetItemString(d
,"GROW", SWIG_From_int((int)(wxGROW
)));
48554 PyDict_SetItemString(d
,"EXPAND", SWIG_From_int((int)(wxEXPAND
)));
48557 PyDict_SetItemString(d
,"SHAPED", SWIG_From_int((int)(wxSHAPED
)));
48560 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_From_int((int)(wxFIXED_MINSIZE
)));
48563 PyDict_SetItemString(d
,"TILE", SWIG_From_int((int)(wxTILE
)));
48566 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_From_int((int)(wxADJUST_MINSIZE
)));
48569 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_From_int((int)(wxBORDER_DEFAULT
)));
48572 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_From_int((int)(wxBORDER_NONE
)));
48575 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_From_int((int)(wxBORDER_STATIC
)));
48578 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_From_int((int)(wxBORDER_SIMPLE
)));
48581 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_From_int((int)(wxBORDER_RAISED
)));
48584 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_From_int((int)(wxBORDER_SUNKEN
)));
48587 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_From_int((int)(wxBORDER_DOUBLE
)));
48590 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_From_int((int)(wxBORDER_MASK
)));
48593 PyDict_SetItemString(d
,"BG_STYLE_SYSTEM", SWIG_From_int((int)(wxBG_STYLE_SYSTEM
)));
48596 PyDict_SetItemString(d
,"BG_STYLE_COLOUR", SWIG_From_int((int)(wxBG_STYLE_COLOUR
)));
48599 PyDict_SetItemString(d
,"BG_STYLE_CUSTOM", SWIG_From_int((int)(wxBG_STYLE_CUSTOM
)));
48602 PyDict_SetItemString(d
,"DEFAULT", SWIG_From_int((int)(wxDEFAULT
)));
48605 PyDict_SetItemString(d
,"DECORATIVE", SWIG_From_int((int)(wxDECORATIVE
)));
48608 PyDict_SetItemString(d
,"ROMAN", SWIG_From_int((int)(wxROMAN
)));
48611 PyDict_SetItemString(d
,"SCRIPT", SWIG_From_int((int)(wxSCRIPT
)));
48614 PyDict_SetItemString(d
,"SWISS", SWIG_From_int((int)(wxSWISS
)));
48617 PyDict_SetItemString(d
,"MODERN", SWIG_From_int((int)(wxMODERN
)));
48620 PyDict_SetItemString(d
,"TELETYPE", SWIG_From_int((int)(wxTELETYPE
)));
48623 PyDict_SetItemString(d
,"VARIABLE", SWIG_From_int((int)(wxVARIABLE
)));
48626 PyDict_SetItemString(d
,"FIXED", SWIG_From_int((int)(wxFIXED
)));
48629 PyDict_SetItemString(d
,"NORMAL", SWIG_From_int((int)(wxNORMAL
)));
48632 PyDict_SetItemString(d
,"LIGHT", SWIG_From_int((int)(wxLIGHT
)));
48635 PyDict_SetItemString(d
,"BOLD", SWIG_From_int((int)(wxBOLD
)));
48638 PyDict_SetItemString(d
,"ITALIC", SWIG_From_int((int)(wxITALIC
)));
48641 PyDict_SetItemString(d
,"SLANT", SWIG_From_int((int)(wxSLANT
)));
48644 PyDict_SetItemString(d
,"SOLID", SWIG_From_int((int)(wxSOLID
)));
48647 PyDict_SetItemString(d
,"DOT", SWIG_From_int((int)(wxDOT
)));
48650 PyDict_SetItemString(d
,"LONG_DASH", SWIG_From_int((int)(wxLONG_DASH
)));
48653 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_From_int((int)(wxSHORT_DASH
)));
48656 PyDict_SetItemString(d
,"DOT_DASH", SWIG_From_int((int)(wxDOT_DASH
)));
48659 PyDict_SetItemString(d
,"USER_DASH", SWIG_From_int((int)(wxUSER_DASH
)));
48662 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_From_int((int)(wxTRANSPARENT
)));
48665 PyDict_SetItemString(d
,"STIPPLE", SWIG_From_int((int)(wxSTIPPLE
)));
48668 PyDict_SetItemString(d
,"STIPPLE_MASK", SWIG_From_int((int)(wxSTIPPLE_MASK
)));
48671 PyDict_SetItemString(d
,"STIPPLE_MASK_OPAQUE", SWIG_From_int((int)(wxSTIPPLE_MASK_OPAQUE
)));
48674 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_From_int((int)(wxBDIAGONAL_HATCH
)));
48677 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_From_int((int)(wxCROSSDIAG_HATCH
)));
48680 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_From_int((int)(wxFDIAGONAL_HATCH
)));
48683 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_From_int((int)(wxCROSS_HATCH
)));
48686 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_From_int((int)(wxHORIZONTAL_HATCH
)));
48689 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_From_int((int)(wxVERTICAL_HATCH
)));
48692 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_From_int((int)(wxJOIN_BEVEL
)));
48695 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_From_int((int)(wxJOIN_MITER
)));
48698 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_From_int((int)(wxJOIN_ROUND
)));
48701 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_From_int((int)(wxCAP_ROUND
)));
48704 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_From_int((int)(wxCAP_PROJECTING
)));
48707 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_From_int((int)(wxCAP_BUTT
)));
48710 PyDict_SetItemString(d
,"CLEAR", SWIG_From_int((int)(wxCLEAR
)));
48713 PyDict_SetItemString(d
,"XOR", SWIG_From_int((int)(wxXOR
)));
48716 PyDict_SetItemString(d
,"INVERT", SWIG_From_int((int)(wxINVERT
)));
48719 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_From_int((int)(wxOR_REVERSE
)));
48722 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_From_int((int)(wxAND_REVERSE
)));
48725 PyDict_SetItemString(d
,"COPY", SWIG_From_int((int)(wxCOPY
)));
48728 PyDict_SetItemString(d
,"AND", SWIG_From_int((int)(wxAND
)));
48731 PyDict_SetItemString(d
,"AND_INVERT", SWIG_From_int((int)(wxAND_INVERT
)));
48734 PyDict_SetItemString(d
,"NO_OP", SWIG_From_int((int)(wxNO_OP
)));
48737 PyDict_SetItemString(d
,"NOR", SWIG_From_int((int)(wxNOR
)));
48740 PyDict_SetItemString(d
,"EQUIV", SWIG_From_int((int)(wxEQUIV
)));
48743 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_From_int((int)(wxSRC_INVERT
)));
48746 PyDict_SetItemString(d
,"OR_INVERT", SWIG_From_int((int)(wxOR_INVERT
)));
48749 PyDict_SetItemString(d
,"NAND", SWIG_From_int((int)(wxNAND
)));
48752 PyDict_SetItemString(d
,"OR", SWIG_From_int((int)(wxOR
)));
48755 PyDict_SetItemString(d
,"SET", SWIG_From_int((int)(wxSET
)));
48758 PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)(WXK_BACK
)));
48761 PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)(WXK_TAB
)));
48764 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)(WXK_RETURN
)));
48767 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)(WXK_ESCAPE
)));
48770 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)(WXK_SPACE
)));
48773 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)(WXK_DELETE
)));
48776 PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)(WXK_START
)));
48779 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)(WXK_LBUTTON
)));
48782 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)(WXK_RBUTTON
)));
48785 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)(WXK_CANCEL
)));
48788 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)(WXK_MBUTTON
)));
48791 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)(WXK_CLEAR
)));
48794 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)(WXK_SHIFT
)));
48797 PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)(WXK_ALT
)));
48800 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)(WXK_CONTROL
)));
48803 PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)(WXK_MENU
)));
48806 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)(WXK_PAUSE
)));
48809 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)(WXK_CAPITAL
)));
48812 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)(WXK_PRIOR
)));
48815 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)(WXK_NEXT
)));
48818 PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)(WXK_END
)));
48821 PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)(WXK_HOME
)));
48824 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)(WXK_LEFT
)));
48827 PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)(WXK_UP
)));
48830 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)(WXK_RIGHT
)));
48833 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)(WXK_DOWN
)));
48836 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)(WXK_SELECT
)));
48839 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)(WXK_PRINT
)));
48842 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)(WXK_EXECUTE
)));
48845 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)(WXK_SNAPSHOT
)));
48848 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)(WXK_INSERT
)));
48851 PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)(WXK_HELP
)));
48854 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)(WXK_NUMPAD0
)));
48857 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)(WXK_NUMPAD1
)));
48860 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)(WXK_NUMPAD2
)));
48863 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)(WXK_NUMPAD3
)));
48866 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)(WXK_NUMPAD4
)));
48869 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)(WXK_NUMPAD5
)));
48872 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)(WXK_NUMPAD6
)));
48875 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)(WXK_NUMPAD7
)));
48878 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)(WXK_NUMPAD8
)));
48881 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)(WXK_NUMPAD9
)));
48884 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)(WXK_MULTIPLY
)));
48887 PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)(WXK_ADD
)));
48890 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)(WXK_SEPARATOR
)));
48893 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)(WXK_SUBTRACT
)));
48896 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)(WXK_DECIMAL
)));
48899 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)(WXK_DIVIDE
)));
48902 PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)(WXK_F1
)));
48905 PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)(WXK_F2
)));
48908 PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)(WXK_F3
)));
48911 PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)(WXK_F4
)));
48914 PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)(WXK_F5
)));
48917 PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)(WXK_F6
)));
48920 PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)(WXK_F7
)));
48923 PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)(WXK_F8
)));
48926 PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)(WXK_F9
)));
48929 PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)(WXK_F10
)));
48932 PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)(WXK_F11
)));
48935 PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)(WXK_F12
)));
48938 PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)(WXK_F13
)));
48941 PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)(WXK_F14
)));
48944 PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)(WXK_F15
)));
48947 PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)(WXK_F16
)));
48950 PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)(WXK_F17
)));
48953 PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)(WXK_F18
)));
48956 PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)(WXK_F19
)));
48959 PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)(WXK_F20
)));
48962 PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)(WXK_F21
)));
48965 PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)(WXK_F22
)));
48968 PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)(WXK_F23
)));
48971 PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)(WXK_F24
)));
48974 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)(WXK_NUMLOCK
)));
48977 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)(WXK_SCROLL
)));
48980 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)(WXK_PAGEUP
)));
48983 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)(WXK_PAGEDOWN
)));
48986 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)(WXK_NUMPAD_SPACE
)));
48989 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)(WXK_NUMPAD_TAB
)));
48992 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)(WXK_NUMPAD_ENTER
)));
48995 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)(WXK_NUMPAD_F1
)));
48998 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)(WXK_NUMPAD_F2
)));
49001 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)(WXK_NUMPAD_F3
)));
49004 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)(WXK_NUMPAD_F4
)));
49007 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)(WXK_NUMPAD_HOME
)));
49010 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)(WXK_NUMPAD_LEFT
)));
49013 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)(WXK_NUMPAD_UP
)));
49016 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)(WXK_NUMPAD_RIGHT
)));
49019 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)(WXK_NUMPAD_DOWN
)));
49022 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)(WXK_NUMPAD_PRIOR
)));
49025 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)(WXK_NUMPAD_PAGEUP
)));
49028 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)(WXK_NUMPAD_NEXT
)));
49031 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)(WXK_NUMPAD_PAGEDOWN
)));
49034 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)(WXK_NUMPAD_END
)));
49037 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)(WXK_NUMPAD_BEGIN
)));
49040 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)(WXK_NUMPAD_INSERT
)));
49043 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)(WXK_NUMPAD_DELETE
)));
49046 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)(WXK_NUMPAD_EQUAL
)));
49049 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)(WXK_NUMPAD_MULTIPLY
)));
49052 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)(WXK_NUMPAD_ADD
)));
49055 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)(WXK_NUMPAD_SEPARATOR
)));
49058 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)(WXK_NUMPAD_SUBTRACT
)));
49061 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)(WXK_NUMPAD_DECIMAL
)));
49064 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)(WXK_NUMPAD_DIVIDE
)));
49067 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)(WXK_WINDOWS_LEFT
)));
49070 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)(WXK_WINDOWS_RIGHT
)));
49073 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)(WXK_WINDOWS_MENU
)));
49076 PyDict_SetItemString(d
,"WXK_COMMAND", SWIG_From_int((int)(WXK_COMMAND
)));
49079 PyDict_SetItemString(d
,"WXK_SPECIAL1", SWIG_From_int((int)(WXK_SPECIAL1
)));
49082 PyDict_SetItemString(d
,"WXK_SPECIAL2", SWIG_From_int((int)(WXK_SPECIAL2
)));
49085 PyDict_SetItemString(d
,"WXK_SPECIAL3", SWIG_From_int((int)(WXK_SPECIAL3
)));
49088 PyDict_SetItemString(d
,"WXK_SPECIAL4", SWIG_From_int((int)(WXK_SPECIAL4
)));
49091 PyDict_SetItemString(d
,"WXK_SPECIAL5", SWIG_From_int((int)(WXK_SPECIAL5
)));
49094 PyDict_SetItemString(d
,"WXK_SPECIAL6", SWIG_From_int((int)(WXK_SPECIAL6
)));
49097 PyDict_SetItemString(d
,"WXK_SPECIAL7", SWIG_From_int((int)(WXK_SPECIAL7
)));
49100 PyDict_SetItemString(d
,"WXK_SPECIAL8", SWIG_From_int((int)(WXK_SPECIAL8
)));
49103 PyDict_SetItemString(d
,"WXK_SPECIAL9", SWIG_From_int((int)(WXK_SPECIAL9
)));
49106 PyDict_SetItemString(d
,"WXK_SPECIAL10", SWIG_From_int((int)(WXK_SPECIAL10
)));
49109 PyDict_SetItemString(d
,"WXK_SPECIAL11", SWIG_From_int((int)(WXK_SPECIAL11
)));
49112 PyDict_SetItemString(d
,"WXK_SPECIAL12", SWIG_From_int((int)(WXK_SPECIAL12
)));
49115 PyDict_SetItemString(d
,"WXK_SPECIAL13", SWIG_From_int((int)(WXK_SPECIAL13
)));
49118 PyDict_SetItemString(d
,"WXK_SPECIAL14", SWIG_From_int((int)(WXK_SPECIAL14
)));
49121 PyDict_SetItemString(d
,"WXK_SPECIAL15", SWIG_From_int((int)(WXK_SPECIAL15
)));
49124 PyDict_SetItemString(d
,"WXK_SPECIAL16", SWIG_From_int((int)(WXK_SPECIAL16
)));
49127 PyDict_SetItemString(d
,"WXK_SPECIAL17", SWIG_From_int((int)(WXK_SPECIAL17
)));
49130 PyDict_SetItemString(d
,"WXK_SPECIAL18", SWIG_From_int((int)(WXK_SPECIAL18
)));
49133 PyDict_SetItemString(d
,"WXK_SPECIAL19", SWIG_From_int((int)(WXK_SPECIAL19
)));
49136 PyDict_SetItemString(d
,"WXK_SPECIAL20", SWIG_From_int((int)(WXK_SPECIAL20
)));
49139 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_From_int((int)(wxPAPER_NONE
)));
49142 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_From_int((int)(wxPAPER_LETTER
)));
49145 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_From_int((int)(wxPAPER_LEGAL
)));
49148 PyDict_SetItemString(d
,"PAPER_A4", SWIG_From_int((int)(wxPAPER_A4
)));
49151 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_From_int((int)(wxPAPER_CSHEET
)));
49154 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_From_int((int)(wxPAPER_DSHEET
)));
49157 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_From_int((int)(wxPAPER_ESHEET
)));
49160 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_From_int((int)(wxPAPER_LETTERSMALL
)));
49163 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_From_int((int)(wxPAPER_TABLOID
)));
49166 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_From_int((int)(wxPAPER_LEDGER
)));
49169 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_From_int((int)(wxPAPER_STATEMENT
)));
49172 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_From_int((int)(wxPAPER_EXECUTIVE
)));
49175 PyDict_SetItemString(d
,"PAPER_A3", SWIG_From_int((int)(wxPAPER_A3
)));
49178 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_From_int((int)(wxPAPER_A4SMALL
)));
49181 PyDict_SetItemString(d
,"PAPER_A5", SWIG_From_int((int)(wxPAPER_A5
)));
49184 PyDict_SetItemString(d
,"PAPER_B4", SWIG_From_int((int)(wxPAPER_B4
)));
49187 PyDict_SetItemString(d
,"PAPER_B5", SWIG_From_int((int)(wxPAPER_B5
)));
49190 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_From_int((int)(wxPAPER_FOLIO
)));
49193 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_From_int((int)(wxPAPER_QUARTO
)));
49196 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_From_int((int)(wxPAPER_10X14
)));
49199 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_From_int((int)(wxPAPER_11X17
)));
49202 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_From_int((int)(wxPAPER_NOTE
)));
49205 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_From_int((int)(wxPAPER_ENV_9
)));
49208 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_From_int((int)(wxPAPER_ENV_10
)));
49211 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_From_int((int)(wxPAPER_ENV_11
)));
49214 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_From_int((int)(wxPAPER_ENV_12
)));
49217 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_From_int((int)(wxPAPER_ENV_14
)));
49220 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_From_int((int)(wxPAPER_ENV_DL
)));
49223 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_From_int((int)(wxPAPER_ENV_C5
)));
49226 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_From_int((int)(wxPAPER_ENV_C3
)));
49229 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_From_int((int)(wxPAPER_ENV_C4
)));
49232 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_From_int((int)(wxPAPER_ENV_C6
)));
49235 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_From_int((int)(wxPAPER_ENV_C65
)));
49238 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_From_int((int)(wxPAPER_ENV_B4
)));
49241 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_From_int((int)(wxPAPER_ENV_B5
)));
49244 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_From_int((int)(wxPAPER_ENV_B6
)));
49247 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_From_int((int)(wxPAPER_ENV_ITALY
)));
49250 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_From_int((int)(wxPAPER_ENV_MONARCH
)));
49253 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_From_int((int)(wxPAPER_ENV_PERSONAL
)));
49256 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_From_int((int)(wxPAPER_FANFOLD_US
)));
49259 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_STD_GERMAN
)));
49262 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_LGL_GERMAN
)));
49265 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_From_int((int)(wxPAPER_ISO_B4
)));
49268 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)(wxPAPER_JAPANESE_POSTCARD
)));
49271 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_From_int((int)(wxPAPER_9X11
)));
49274 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_From_int((int)(wxPAPER_10X11
)));
49277 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_From_int((int)(wxPAPER_15X11
)));
49280 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_From_int((int)(wxPAPER_ENV_INVITE
)));
49283 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA
)));
49286 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)(wxPAPER_LEGAL_EXTRA
)));
49289 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)(wxPAPER_TABLOID_EXTRA
)));
49292 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_From_int((int)(wxPAPER_A4_EXTRA
)));
49295 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_TRANSVERSE
)));
49298 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A4_TRANSVERSE
)));
49301 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA_TRANSVERSE
)));
49304 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_From_int((int)(wxPAPER_A_PLUS
)));
49307 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_From_int((int)(wxPAPER_B_PLUS
)));
49310 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_From_int((int)(wxPAPER_LETTER_PLUS
)));
49313 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_From_int((int)(wxPAPER_A4_PLUS
)));
49316 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A5_TRANSVERSE
)));
49319 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_B5_TRANSVERSE
)));
49322 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_From_int((int)(wxPAPER_A3_EXTRA
)));
49325 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_From_int((int)(wxPAPER_A5_EXTRA
)));
49328 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_From_int((int)(wxPAPER_B5_EXTRA
)));
49331 PyDict_SetItemString(d
,"PAPER_A2", SWIG_From_int((int)(wxPAPER_A2
)));
49334 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_TRANSVERSE
)));
49337 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_EXTRA_TRANSVERSE
)));
49340 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_From_int((int)(wxDUPLEX_SIMPLEX
)));
49343 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_From_int((int)(wxDUPLEX_HORIZONTAL
)));
49346 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_From_int((int)(wxDUPLEX_VERTICAL
)));
49349 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_From_int((int)(wxITEM_SEPARATOR
)));
49352 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_From_int((int)(wxITEM_NORMAL
)));
49355 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_From_int((int)(wxITEM_CHECK
)));
49358 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_From_int((int)(wxITEM_RADIO
)));
49361 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_From_int((int)(wxITEM_MAX
)));
49364 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_From_int((int)(wxHT_NOWHERE
)));
49367 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)(wxHT_SCROLLBAR_FIRST
)));
49370 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_1
)));
49373 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_2
)));
49376 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_1
)));
49379 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_2
)));
49382 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)(wxHT_SCROLLBAR_THUMB
)));
49385 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_1
)));
49388 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_2
)));
49391 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_From_int((int)(wxHT_SCROLLBAR_LAST
)));
49394 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)(wxHT_WINDOW_OUTSIDE
)));
49397 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_From_int((int)(wxHT_WINDOW_INSIDE
)));
49400 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_VERT_SCROLLBAR
)));
49403 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_HORZ_SCROLLBAR
)));
49406 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_From_int((int)(wxHT_WINDOW_CORNER
)));
49409 PyDict_SetItemString(d
,"HT_MAX", SWIG_From_int((int)(wxHT_MAX
)));
49412 PyDict_SetItemString(d
,"MOD_NONE", SWIG_From_int((int)(wxMOD_NONE
)));
49415 PyDict_SetItemString(d
,"MOD_ALT", SWIG_From_int((int)(wxMOD_ALT
)));
49418 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_From_int((int)(wxMOD_CONTROL
)));
49421 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_From_int((int)(wxMOD_SHIFT
)));
49424 PyDict_SetItemString(d
,"MOD_WIN", SWIG_From_int((int)(wxMOD_WIN
)));
49427 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_From_int((int)(wxUPDATE_UI_NONE
)));
49430 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_From_int((int)(wxUPDATE_UI_RECURSE
)));
49433 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)(wxUPDATE_UI_FROMIDLE
)));
49435 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
49436 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
49438 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_From_int((int)(wxBITMAP_TYPE_INVALID
)));
49441 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_From_int((int)(wxBITMAP_TYPE_BMP
)));
49444 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_From_int((int)(wxBITMAP_TYPE_ICO
)));
49447 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_From_int((int)(wxBITMAP_TYPE_CUR
)));
49450 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_From_int((int)(wxBITMAP_TYPE_XBM
)));
49453 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XBM_DATA
)));
49456 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_From_int((int)(wxBITMAP_TYPE_XPM
)));
49459 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XPM_DATA
)));
49462 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_From_int((int)(wxBITMAP_TYPE_TIF
)));
49465 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_From_int((int)(wxBITMAP_TYPE_GIF
)));
49468 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_From_int((int)(wxBITMAP_TYPE_PNG
)));
49471 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_From_int((int)(wxBITMAP_TYPE_JPEG
)));
49474 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_From_int((int)(wxBITMAP_TYPE_PNM
)));
49477 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_From_int((int)(wxBITMAP_TYPE_PCX
)));
49480 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_From_int((int)(wxBITMAP_TYPE_PICT
)));
49483 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_From_int((int)(wxBITMAP_TYPE_ICON
)));
49486 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_From_int((int)(wxBITMAP_TYPE_ANI
)));
49489 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_From_int((int)(wxBITMAP_TYPE_IFF
)));
49492 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)(wxBITMAP_TYPE_MACCURSOR
)));
49495 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_From_int((int)(wxBITMAP_TYPE_ANY
)));
49498 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_From_int((int)(wxCURSOR_NONE
)));
49501 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_From_int((int)(wxCURSOR_ARROW
)));
49504 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)(wxCURSOR_RIGHT_ARROW
)));
49507 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_From_int((int)(wxCURSOR_BULLSEYE
)));
49510 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_From_int((int)(wxCURSOR_CHAR
)));
49513 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_From_int((int)(wxCURSOR_CROSS
)));
49516 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_From_int((int)(wxCURSOR_HAND
)));
49519 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_From_int((int)(wxCURSOR_IBEAM
)));
49522 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)(wxCURSOR_LEFT_BUTTON
)));
49525 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_From_int((int)(wxCURSOR_MAGNIFIER
)));
49528 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)(wxCURSOR_MIDDLE_BUTTON
)));
49531 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_From_int((int)(wxCURSOR_NO_ENTRY
)));
49534 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)(wxCURSOR_PAINT_BRUSH
)));
49537 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_From_int((int)(wxCURSOR_PENCIL
)));
49540 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_From_int((int)(wxCURSOR_POINT_LEFT
)));
49543 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_From_int((int)(wxCURSOR_POINT_RIGHT
)));
49546 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)(wxCURSOR_QUESTION_ARROW
)));
49549 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)(wxCURSOR_RIGHT_BUTTON
)));
49552 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_From_int((int)(wxCURSOR_SIZENESW
)));
49555 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_From_int((int)(wxCURSOR_SIZENS
)));
49558 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_From_int((int)(wxCURSOR_SIZENWSE
)));
49561 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_From_int((int)(wxCURSOR_SIZEWE
)));
49564 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_From_int((int)(wxCURSOR_SIZING
)));
49567 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_From_int((int)(wxCURSOR_SPRAYCAN
)));
49570 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_From_int((int)(wxCURSOR_WAIT
)));
49573 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_From_int((int)(wxCURSOR_WATCH
)));
49576 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_From_int((int)(wxCURSOR_BLANK
)));
49579 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_From_int((int)(wxCURSOR_DEFAULT
)));
49582 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_From_int((int)(wxCURSOR_COPY_ARROW
)));
49585 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_From_int((int)(wxCURSOR_ARROWWAIT
)));
49588 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_From_int((int)(wxCURSOR_MAX
)));
49590 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
49591 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
49593 PyDict_SetItemString(d
,"FromStart", SWIG_From_int((int)(wxFromStart
)));
49596 PyDict_SetItemString(d
,"FromCurrent", SWIG_From_int((int)(wxFromCurrent
)));
49599 PyDict_SetItemString(d
,"FromEnd", SWIG_From_int((int)(wxFromEnd
)));
49602 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
49605 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
49608 PyDict_SetItemString(d
,"IMAGE_ALPHA_TRANSPARENT", SWIG_From_int((int)(wxIMAGE_ALPHA_TRANSPARENT
)));
49611 PyDict_SetItemString(d
,"IMAGE_ALPHA_THRESHOLD", SWIG_From_int((int)(wxIMAGE_ALPHA_THRESHOLD
)));
49614 PyDict_SetItemString(d
,"IMAGE_ALPHA_OPAQUE", SWIG_From_int((int)(wxIMAGE_ALPHA_OPAQUE
)));
49616 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
49617 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_FILENAME",_wrap_IMAGE_OPTION_FILENAME_get
, _wrap_IMAGE_OPTION_FILENAME_set
);
49618 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
49619 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
49620 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
49621 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
49622 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONX",_wrap_IMAGE_OPTION_RESOLUTIONX_get
, _wrap_IMAGE_OPTION_RESOLUTIONX_set
);
49623 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONY",_wrap_IMAGE_OPTION_RESOLUTIONY_get
, _wrap_IMAGE_OPTION_RESOLUTIONY_set
);
49624 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
49625 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_QUALITY",_wrap_IMAGE_OPTION_QUALITY_get
, _wrap_IMAGE_OPTION_QUALITY_set
);
49627 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)(wxIMAGE_RESOLUTION_INCHES
)));
49630 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)(wxIMAGE_RESOLUTION_CM
)));
49632 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BITSPERSAMPLE",_wrap_IMAGE_OPTION_BITSPERSAMPLE_get
, _wrap_IMAGE_OPTION_BITSPERSAMPLE_set
);
49633 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_SAMPLESPERPIXEL",_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get
, _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set
);
49634 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_COMPRESSION",_wrap_IMAGE_OPTION_COMPRESSION_get
, _wrap_IMAGE_OPTION_COMPRESSION_set
);
49635 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_IMAGEDESCRIPTOR",_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get
, _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set
);
49636 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_PNG_FORMAT",_wrap_IMAGE_OPTION_PNG_FORMAT_get
, _wrap_IMAGE_OPTION_PNG_FORMAT_set
);
49637 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_PNG_BITDEPTH",_wrap_IMAGE_OPTION_PNG_BITDEPTH_get
, _wrap_IMAGE_OPTION_PNG_BITDEPTH_set
);
49639 PyDict_SetItemString(d
,"PNG_TYPE_COLOUR", SWIG_From_int((int)(wxPNG_TYPE_COLOUR
)));
49642 PyDict_SetItemString(d
,"PNG_TYPE_GREY", SWIG_From_int((int)(wxPNG_TYPE_GREY
)));
49645 PyDict_SetItemString(d
,"PNG_TYPE_GREY_RED", SWIG_From_int((int)(wxPNG_TYPE_GREY_RED
)));
49648 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_From_int((int)(wxBMP_24BPP
)));
49651 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_From_int((int)(wxBMP_8BPP
)));
49654 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_From_int((int)(wxBMP_8BPP_GREY
)));
49657 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_From_int((int)(wxBMP_8BPP_GRAY
)));
49660 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_From_int((int)(wxBMP_8BPP_RED
)));
49663 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_From_int((int)(wxBMP_8BPP_PALETTE
)));
49666 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_From_int((int)(wxBMP_4BPP
)));
49669 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_From_int((int)(wxBMP_1BPP
)));
49672 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_From_int((int)(wxBMP_1BPP_BW
)));
49675 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
)));
49678 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)(wxQUANTIZE_FILL_DESTINATION_IMAGE
)));
49681 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)(wxEVENT_PROPAGATE_NONE
)));
49684 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)(wxEVENT_PROPAGATE_MAX
)));
49686 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
49687 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
49688 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
49689 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
49690 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
49691 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
49692 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
49693 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
49694 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
49695 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
49696 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
49697 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
49698 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
49699 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
49700 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
49701 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
49702 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
49703 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
49704 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
49705 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
49706 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
49707 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
49708 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
49709 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
49710 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
49711 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
49712 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
49713 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
49714 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
49715 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
49716 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
49717 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
49718 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
49719 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
49720 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
49721 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
49722 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
49723 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
49724 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
49725 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
49726 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
49727 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
49728 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
49729 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
49730 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
49731 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
49732 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
49733 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
49734 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
49735 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
49736 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
49737 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
49738 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
49739 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
49740 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
49741 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
49742 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
49743 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
49744 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
49745 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
49746 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
49747 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
49748 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
49749 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
49750 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
49751 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
49752 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
49753 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
49754 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
49755 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
49756 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
49757 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
49758 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
49759 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
49760 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
49761 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
49762 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
49763 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
49764 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
49765 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
49766 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
49767 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
49768 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
49769 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
49770 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
49771 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
49772 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
49773 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
49774 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
49775 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
49776 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
49777 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
49778 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
49779 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
49780 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
49781 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
49782 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
49783 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
49784 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
49785 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
49786 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
49787 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
49788 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
49789 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
49790 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
49791 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
49792 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
49793 PyDict_SetItemString(d
, "wxEVT_HIBERNATE", PyInt_FromLong(wxEVT_HIBERNATE
));
49794 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
49795 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
49796 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
49797 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
49798 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
49799 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
49800 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
49802 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_From_int((int)(wxMOUSE_BTN_ANY
)));
49805 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_From_int((int)(wxMOUSE_BTN_NONE
)));
49808 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_From_int((int)(wxMOUSE_BTN_LEFT
)));
49811 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)(wxMOUSE_BTN_MIDDLE
)));
49814 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_From_int((int)(wxMOUSE_BTN_RIGHT
)));
49817 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_ALL
)));
49820 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_SPECIFIED
)));
49823 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)(wxNavigationKeyEvent::IsBackward
)));
49826 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_From_int((int)(wxNavigationKeyEvent::IsForward
)));
49829 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_From_int((int)(wxNavigationKeyEvent::WinChange
)));
49832 PyDict_SetItemString(d
,"NavigationKeyEvent_FromTab", SWIG_From_int((int)(wxNavigationKeyEvent::FromTab
)));
49835 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_From_int((int)(wxIDLE_PROCESS_ALL
)));
49838 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)(wxIDLE_PROCESS_SPECIFIED
)));
49840 PyDict_SetItemString(d
, "wxEVT_DATE_CHANGED", PyInt_FromLong(wxEVT_DATE_CHANGED
));
49842 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)(wxPYAPP_ASSERT_SUPPRESS
)));
49845 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)(wxPYAPP_ASSERT_EXCEPTION
)));
49848 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)(wxPYAPP_ASSERT_DIALOG
)));
49851 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_From_int((int)(wxPYAPP_ASSERT_LOG
)));
49854 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_From_int((int)(wxPRINT_WINDOWS
)));
49857 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_From_int((int)(wxPRINT_POSTSCRIPT
)));
49859 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
49860 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
49862 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)(wxWINDOW_VARIANT_NORMAL
)));
49865 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)(wxWINDOW_VARIANT_SMALL
)));
49868 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_From_int((int)(wxWINDOW_VARIANT_MINI
)));
49871 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)(wxWINDOW_VARIANT_LARGE
)));
49874 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_From_int((int)(wxWINDOW_VARIANT_MAX
)));
49876 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
49877 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
49879 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_From_int((int)(wxFLEX_GROWMODE_NONE
)));
49882 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)(wxFLEX_GROWMODE_SPECIFIED
)));
49885 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_From_int((int)(wxFLEX_GROWMODE_ALL
)));
49887 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
49889 PyDict_SetItemString(d
,"Left", SWIG_From_int((int)(wxLeft
)));
49892 PyDict_SetItemString(d
,"Top", SWIG_From_int((int)(wxTop
)));
49895 PyDict_SetItemString(d
,"Right", SWIG_From_int((int)(wxRight
)));
49898 PyDict_SetItemString(d
,"Bottom", SWIG_From_int((int)(wxBottom
)));
49901 PyDict_SetItemString(d
,"Width", SWIG_From_int((int)(wxWidth
)));
49904 PyDict_SetItemString(d
,"Height", SWIG_From_int((int)(wxHeight
)));
49907 PyDict_SetItemString(d
,"Centre", SWIG_From_int((int)(wxCentre
)));
49910 PyDict_SetItemString(d
,"Center", SWIG_From_int((int)(wxCenter
)));
49913 PyDict_SetItemString(d
,"CentreX", SWIG_From_int((int)(wxCentreX
)));
49916 PyDict_SetItemString(d
,"CentreY", SWIG_From_int((int)(wxCentreY
)));
49919 PyDict_SetItemString(d
,"Unconstrained", SWIG_From_int((int)(wxUnconstrained
)));
49922 PyDict_SetItemString(d
,"AsIs", SWIG_From_int((int)(wxAsIs
)));
49925 PyDict_SetItemString(d
,"PercentOf", SWIG_From_int((int)(wxPercentOf
)));
49928 PyDict_SetItemString(d
,"Above", SWIG_From_int((int)(wxAbove
)));
49931 PyDict_SetItemString(d
,"Below", SWIG_From_int((int)(wxBelow
)));
49934 PyDict_SetItemString(d
,"LeftOf", SWIG_From_int((int)(wxLeftOf
)));
49937 PyDict_SetItemString(d
,"RightOf", SWIG_From_int((int)(wxRightOf
)));
49940 PyDict_SetItemString(d
,"SameAs", SWIG_From_int((int)(wxSameAs
)));
49943 PyDict_SetItemString(d
,"Absolute", SWIG_From_int((int)(wxAbsolute
)));
49946 // Initialize threading, some globals and such
49950 // Although these are defined in __version__ they need to be here too so
49951 // that an assert can be done to ensure that the wxPython and the wxWindows
49953 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
49954 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
49955 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));