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",
1044 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1046 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1050 SWIGRUNTIMEINLINE
void
1051 SWIG_Python_NullRef(const char *type
)
1054 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1056 PyErr_Format(PyExc_TypeError
, "null reference was received");
1061 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1063 if (PyErr_Occurred()) {
1065 PyObject
*value
= 0;
1066 PyObject
*traceback
= 0;
1067 PyErr_Fetch(&type
, &value
, &traceback
);
1069 PyObject
*old_str
= PyObject_Str(value
);
1073 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1075 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1086 SWIG_Python_ArgFail(int argnum
)
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1091 sprintf(mesg
, "argument number %d:", argnum
);
1092 return SWIG_Python_AddErrMesg(mesg
, 1);
1099 /* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1103 /* Convert a pointer value */
1105 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1108 static PyObject
*SWIG_this
= 0;
1110 PyObject
*pyobj
= 0;
1114 if (obj
== Py_None
) {
1119 #ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj
))) {
1122 SWIG_this
= PyString_FromString("this");
1124 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1126 if (!obj
) goto type_error
;
1127 if (!PySwigObject_Check(obj
)) {
1132 vptr
= PySwigObject_AsVoidPtr(obj
);
1133 c
= (const char *) PySwigObject_GetDesc(obj
);
1134 if (newref
) { Py_DECREF(obj
); }
1137 if (!(PyString_Check(obj
))) {
1139 SWIG_this
= PyString_FromString("this");
1141 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1143 if (!obj
) goto type_error
;
1144 if (!PyString_Check(obj
)) {
1149 c
= PyString_AS_STRING(obj
);
1150 /* Pointer values must start with leading underscore */
1151 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1152 if (newref
) { Py_DECREF(obj
); }
1153 if (!c
) goto type_error
;
1159 tc
= SWIG_TypeCheck(c
,ty
);
1160 if (!tc
) goto type_error
;
1161 *ptr
= SWIG_TypeCast(tc
,vptr
);
1166 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1167 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1173 if (pyobj
&& !obj
) {
1175 if (PyCFunction_Check(obj
)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1178 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1180 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1181 if (!c
) goto type_error
;
1186 if (flags
& SWIG_POINTER_EXCEPTION
) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1190 SWIG_Python_TypeError("C/C++ pointer", obj
);
1196 /* Convert a pointer value, signal an exception on a type mismatch */
1198 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1200 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1202 if (flags
& SWIG_POINTER_EXCEPTION
) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1204 SWIG_Python_ArgFail(argnum
);
1210 /* Convert a packed value value */
1212 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1216 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1219 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1220 c
= PyString_AS_STRING(obj
);
1221 /* Pointer values must start with leading underscore */
1222 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1224 if (!c
) goto type_error
;
1226 tc
= SWIG_TypeCheck(c
,ty
);
1227 if (!tc
) goto type_error
;
1233 if (flags
& SWIG_POINTER_EXCEPTION
) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1237 SWIG_Python_TypeError("C/C++ packed data", obj
);
1243 /* Create a new array object */
1244 SWIGRUNTIME PyObject
*
1245 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1251 #ifdef SWIG_COBJECT_TYPES
1252 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1255 char result
[SWIG_BUFFER_SIZE
];
1256 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1257 PyString_FromString(result
) : 0;
1260 if (!robj
|| (robj
== Py_None
)) return robj
;
1261 if (type
->clientdata
) {
1263 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1265 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1269 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1277 SWIGRUNTIME PyObject
*
1278 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1284 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1288 char result
[SWIG_BUFFER_SIZE
];
1289 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1290 PyString_FromString(result
) : 0;
1296 /* -----------------------------------------------------------------------------*
1298 * -----------------------------------------------------------------------------*/
1300 #ifdef SWIG_LINK_RUNTIME
1301 void *SWIG_ReturnGlobalTypeList(void *);
1304 SWIGRUNTIME swig_type_info
**
1305 SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer
= (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer
) {
1309 #ifdef SWIG_LINK_RUNTIME
1310 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1312 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1314 if (PyErr_Occurred()) {
1316 type_pointer
= (void *)0;
1320 return (swig_type_info
**) type_pointer
;
1324 Search for a swig_type_info structure
1326 SWIGRUNTIMEINLINE swig_type_info
*
1327 SWIG_Python_GetTypeList() {
1328 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1329 return tlh
? *tlh
: (swig_type_info
*)0;
1332 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1339 /* -------- TYPES TABLE (BEGIN) -------- */
1341 #define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
1342 #define SWIGTYPE_p_wxRealPoint swig_types[1]
1343 #define SWIGTYPE_p_wxSizerItem swig_types[2]
1344 #define SWIGTYPE_p_wxGBSizerItem swig_types[3]
1345 #define SWIGTYPE_p_wxScrollEvent swig_types[4]
1346 #define SWIGTYPE_p_wxEventLoop swig_types[5]
1347 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[6]
1348 #define SWIGTYPE_p_wxSizer swig_types[7]
1349 #define SWIGTYPE_p_wxBoxSizer swig_types[8]
1350 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[9]
1351 #define SWIGTYPE_p_wxGridBagSizer swig_types[10]
1352 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[11]
1353 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[12]
1354 #define SWIGTYPE_p_wxEvent swig_types[13]
1355 #define SWIGTYPE_p_buffer swig_types[14]
1356 #define SWIGTYPE_p_wxMenu swig_types[15]
1357 #define SWIGTYPE_p_wxGridSizer swig_types[16]
1358 #define SWIGTYPE_p_wxFlexGridSizer swig_types[17]
1359 #define SWIGTYPE_p_wxInitDialogEvent swig_types[18]
1360 #define SWIGTYPE_p_wxItemContainer swig_types[19]
1361 #define SWIGTYPE_p_wxNcPaintEvent swig_types[20]
1362 #define SWIGTYPE_p_wxPaintEvent swig_types[21]
1363 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[22]
1364 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[23]
1365 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[24]
1366 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[25]
1367 #define SWIGTYPE_p_wxControl swig_types[26]
1368 #define SWIGTYPE_p_wxFont swig_types[27]
1369 #define SWIGTYPE_p_wxMenuBarBase swig_types[28]
1370 #define SWIGTYPE_p_wxSetCursorEvent swig_types[29]
1371 #define SWIGTYPE_p_wxFSFile swig_types[30]
1372 #define SWIGTYPE_p_wxCaret swig_types[31]
1373 #define SWIGTYPE_ptrdiff_t swig_types[32]
1374 #define SWIGTYPE_std__ptrdiff_t swig_types[33]
1375 #define SWIGTYPE_p_wxRegion swig_types[34]
1376 #define SWIGTYPE_p_wxPoint2D swig_types[35]
1377 #define SWIGTYPE_p_int swig_types[36]
1378 #define SWIGTYPE_p_wxSize swig_types[37]
1379 #define SWIGTYPE_p_wxDC swig_types[38]
1380 #define SWIGTYPE_p_wxPySizer swig_types[39]
1381 #define SWIGTYPE_p_wxVisualAttributes swig_types[40]
1382 #define SWIGTYPE_p_wxNotifyEvent swig_types[41]
1383 #define SWIGTYPE_p_wxPyEvent swig_types[42]
1384 #define SWIGTYPE_p_wxPropagationDisabler swig_types[43]
1385 #define SWIGTYPE_p_form_ops_t swig_types[44]
1386 #define SWIGTYPE_p_wxAppTraits swig_types[45]
1387 #define SWIGTYPE_p_wxArrayString swig_types[46]
1388 #define SWIGTYPE_p_wxShowEvent swig_types[47]
1389 #define SWIGTYPE_p_wxToolTip swig_types[48]
1390 #define SWIGTYPE_p_wxMoveEvent swig_types[49]
1391 #define SWIGTYPE_p_wxSizeEvent swig_types[50]
1392 #define SWIGTYPE_p_wxActivateEvent swig_types[51]
1393 #define SWIGTYPE_p_wxIconizeEvent swig_types[52]
1394 #define SWIGTYPE_p_wxMaximizeEvent swig_types[53]
1395 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[54]
1396 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[55]
1397 #define SWIGTYPE_p_wxIdleEvent swig_types[56]
1398 #define SWIGTYPE_p_wxDateEvent swig_types[57]
1399 #define SWIGTYPE_p_wxMenuItem swig_types[58]
1400 #define SWIGTYPE_p_wxStaticBox swig_types[59]
1401 #define SWIGTYPE_p_long swig_types[60]
1402 #define SWIGTYPE_p_wxDuplexMode swig_types[61]
1403 #define SWIGTYPE_p_wxTIFFHandler swig_types[62]
1404 #define SWIGTYPE_p_wxXPMHandler swig_types[63]
1405 #define SWIGTYPE_p_wxPNMHandler swig_types[64]
1406 #define SWIGTYPE_p_wxJPEGHandler swig_types[65]
1407 #define SWIGTYPE_p_wxPCXHandler swig_types[66]
1408 #define SWIGTYPE_p_wxGIFHandler swig_types[67]
1409 #define SWIGTYPE_p_wxPNGHandler swig_types[68]
1410 #define SWIGTYPE_p_wxANIHandler swig_types[69]
1411 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[70]
1412 #define SWIGTYPE_p_wxZipFSHandler swig_types[71]
1413 #define SWIGTYPE_p_wxInternetFSHandler swig_types[72]
1414 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[73]
1415 #define SWIGTYPE_p_wxEvtHandler swig_types[74]
1416 #define SWIGTYPE_p_wxCURHandler swig_types[75]
1417 #define SWIGTYPE_p_wxICOHandler swig_types[76]
1418 #define SWIGTYPE_p_wxBMPHandler swig_types[77]
1419 #define SWIGTYPE_p_wxImageHandler swig_types[78]
1420 #define SWIGTYPE_p_wxFileSystemHandler swig_types[79]
1421 #define SWIGTYPE_p_wxRect swig_types[80]
1422 #define SWIGTYPE_p_wxButton swig_types[81]
1423 #define SWIGTYPE_p_wxGBSpan swig_types[82]
1424 #define SWIGTYPE_p_wxPropagateOnce swig_types[83]
1425 #define SWIGTYPE_p_wxAcceleratorTable swig_types[84]
1426 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[85]
1427 #define SWIGTYPE_p_char swig_types[86]
1428 #define SWIGTYPE_p_wxGBPosition swig_types[87]
1429 #define SWIGTYPE_p_wxImage swig_types[88]
1430 #define SWIGTYPE_p_wxFrame swig_types[89]
1431 #define SWIGTYPE_p_wxScrollWinEvent swig_types[90]
1432 #define SWIGTYPE_p_wxPaperSize swig_types[91]
1433 #define SWIGTYPE_p_wxImageHistogram swig_types[92]
1434 #define SWIGTYPE_p_wxPoint swig_types[93]
1435 #define SWIGTYPE_p_wxCursor swig_types[94]
1436 #define SWIGTYPE_p_wxObject swig_types[95]
1437 #define SWIGTYPE_p_wxInputStream swig_types[96]
1438 #define SWIGTYPE_p_wxOutputStream swig_types[97]
1439 #define SWIGTYPE_p_wxPyInputStream swig_types[98]
1440 #define SWIGTYPE_p_wxDateTime swig_types[99]
1441 #define SWIGTYPE_p_wxKeyEvent swig_types[100]
1442 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[101]
1443 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[102]
1444 #define SWIGTYPE_p_unsigned_long swig_types[103]
1445 #define SWIGTYPE_p_wxWindow swig_types[104]
1446 #define SWIGTYPE_p_wxMenuBar swig_types[105]
1447 #define SWIGTYPE_p_wxFileSystem swig_types[106]
1448 #define SWIGTYPE_p_wxBitmap swig_types[107]
1449 #define SWIGTYPE_unsigned_int swig_types[108]
1450 #define SWIGTYPE_p_unsigned_int swig_types[109]
1451 #define SWIGTYPE_p_wxMenuEvent swig_types[110]
1452 #define SWIGTYPE_p_wxContextMenuEvent swig_types[111]
1453 #define SWIGTYPE_p_unsigned_char swig_types[112]
1454 #define SWIGTYPE_p_wxEraseEvent swig_types[113]
1455 #define SWIGTYPE_p_wxMouseEvent swig_types[114]
1456 #define SWIGTYPE_p_wxCloseEvent swig_types[115]
1457 #define SWIGTYPE_p_wxPyApp swig_types[116]
1458 #define SWIGTYPE_p_wxCommandEvent swig_types[117]
1459 #define SWIGTYPE_p_wxPyCommandEvent swig_types[118]
1460 #define SWIGTYPE_p_wxPyDropTarget swig_types[119]
1461 #define SWIGTYPE_p_wxQuantize swig_types[120]
1462 #define SWIGTYPE_p_wxFocusEvent swig_types[121]
1463 #define SWIGTYPE_p_wxChildFocusEvent swig_types[122]
1464 #define SWIGTYPE_p_wxDropFilesEvent swig_types[123]
1465 #define SWIGTYPE_p_wxControlWithItems swig_types[124]
1466 #define SWIGTYPE_p_wxColour swig_types[125]
1467 #define SWIGTYPE_p_wxValidator swig_types[126]
1468 #define SWIGTYPE_p_wxPyValidator swig_types[127]
1469 static swig_type_info
*swig_types
[129];
1471 /* -------- TYPES TABLE (END) -------- */
1474 /*-----------------------------------------------
1475 @(target):= _core_.so
1476 ------------------------------------------------*/
1477 #define SWIG_init init_core_
1479 #define SWIG_name "_core_"
1481 #include "wx/wxPython/wxPython_int.h"
1482 #include "wx/wxPython/pyclasses.h"
1485 #ifndef wxPyUSE_EXPORT
1486 // Helper functions for dealing with SWIG objects and such. These are
1487 // located here so they know about the SWIG types and functions declared
1488 // in the wrapper code.
1490 #include <wx/hashmap.h>
1491 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
1494 // Maintains a hashmap of className to swig_type_info pointers. Given the
1495 // name of a class either looks up the type info in the cache, or scans the
1496 // SWIG tables for it.
1497 extern PyObject
* wxPyPtrTypeMap
;
1499 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
1501 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
1503 if (typeInfoCache
== NULL
)
1504 typeInfoCache
= new wxPyTypeInfoHashMap
;
1506 wxString
name(className
);
1507 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
1510 // it wasn't in the cache, so look it up from SWIG
1511 name
.Append(wxT(" *"));
1512 swigType
= SWIG_TypeQuery(name
.mb_str());
1514 // if it still wasn't found, try looking for a mapped name
1519 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
1520 (char*)(const char*)name
.mbc_str())) != NULL
) {
1521 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
1522 name
.Append(wxT(" *"));
1523 swigType
= SWIG_TypeQuery(name
.mb_str());
1527 // and add it to the map if found
1528 (*typeInfoCache
)[className
] = swigType
;
1535 // Check if a class name is a type known to SWIG
1536 bool wxPyCheckSwigType(const wxChar
* className
) {
1538 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1539 return swigType
!= NULL
;
1543 // Given a pointer to a C++ object and a class name, construct a Python proxy
1545 PyObject
* wxPyConstructObject(void* ptr
,
1546 const wxChar
* className
,
1549 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1550 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
1552 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
1556 // Extract a pointer to the wrapped C++ object from a Python proxy object.
1557 // Ensures that the proxy object is of the specified (or derived) type. If
1558 // not able to perform the conversion then a Python exception is set and the
1559 // error should be handled properly in the caller. Returns True on success.
1560 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
1561 const wxChar
* className
) {
1563 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1564 wxCHECK_MSG(swigType
!= NULL
, false, wxT("Unknown type in wxPyConvertSwigPtr"));
1566 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
1570 // Make a SWIGified pointer object suitable for a .this attribute
1571 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
1573 PyObject
* robj
= NULL
;
1575 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1576 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
1578 #ifdef SWIG_COBJECT_TYPES
1579 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)swigType
->name
);
1583 robj
= SWIG_PackVoidPtr(result
, ptr
, swigType
->name
, sizeof(result
)) ?
1584 PyString_FromString(result
) : 0;
1594 // Export a C API in a struct. Other modules will be able to load this from
1595 // the wx._core_ module and will then have safe access to these functions,
1596 // even if they are located in another shared library.
1597 static wxPyCoreAPI API
= {
1600 wxPyConstructObject
,
1604 wxPyBeginAllowThreads
,
1605 wxPyEndAllowThreads
,
1606 wxPyBeginBlockThreads
,
1607 wxPyEndBlockThreads
,
1619 wxPoint_LIST_helper
,
1620 wxBitmap_LIST_helper
,
1621 wxString_LIST_helper
,
1622 wxAcceleratorEntry_LIST_helper
,
1631 wxPySimple_typecheck
,
1634 wxPyCBH_setCallbackInfo
,
1635 wxPyCBH_findCallback
,
1636 wxPyCBH_callCallback
,
1637 wxPyCBH_callCallbackObj
,
1643 wxPy2int_seq_helper
,
1644 wxPy4int_seq_helper
,
1645 wxArrayString2PyList_helper
,
1646 wxArrayInt2PyList_helper
,
1648 wxPyClientData_dtor
,
1650 wxPyOORClientData_dtor
,
1652 wxPyCBInputStream_create
,
1653 wxPyCBInputStream_copy
,
1656 wxPySwigInstance_Check
,
1665 #if !WXWIN_COMPATIBILITY_2_4
1666 #define wxHIDE_READONLY 0
1670 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1671 #define SWIG_From_int PyInt_FromLong
1676 enum wxHotkeyModifier
1684 #define wxEVT_HOTKEY 9999
1687 static const wxString
wxPyEmptyString(wxEmptyString
);
1688 static wxString
wxObject_GetClassName(wxObject
*self
){
1689 return self
->GetClassInfo()->GetClassName();
1691 static void wxObject_Destroy(wxObject
*self
){
1696 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
1704 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1707 if (value
< min_value
) {
1709 PyErr_Format(PyExc_OverflowError
,
1710 "value %ld is less than '%s' minimum %ld",
1711 value
, errmsg
, min_value
);
1714 } else if (value
> max_value
) {
1716 PyErr_Format(PyExc_OverflowError
,
1717 "value %ld is greater than '%s' maximum %ld",
1718 value
, errmsg
, max_value
);
1727 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1729 if (PyNumber_Check(obj
)) {
1730 if (val
) *val
= PyInt_AsLong(obj
);
1734 SWIG_type_error("number", obj
);
1740 #if INT_MAX != LONG_MAX
1742 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1744 const char* errmsg
= val
? "int" : (char*)0;
1746 if (SWIG_AsVal_long(obj
, &v
)) {
1747 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1748 if (val
) *val
= (int)(v
);
1757 SWIG_type_error(errmsg
, obj
);
1763 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1765 return SWIG_AsVal_long(obj
,(long*)val
);
1771 SWIG_As_int(PyObject
* obj
)
1774 if (!SWIG_AsVal_int(obj
, &v
)) {
1776 this is needed to make valgrind/purify happier.
1778 memset((void*)&v
, 0, sizeof(int));
1785 SWIG_Check_int(PyObject
* obj
)
1787 return SWIG_AsVal_int(obj
, (int*)0);
1790 static PyObject
*wxSize_Get(wxSize
*self
){
1791 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1792 PyObject
* tup
= PyTuple_New(2);
1793 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1794 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1795 wxPyEndBlockThreads(blocked
);
1800 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1802 if (PyNumber_Check(obj
)) {
1803 if (val
) *val
= PyFloat_AsDouble(obj
);
1807 SWIG_type_error("number", obj
);
1813 SWIGINTERNSHORT
double
1814 SWIG_As_double(PyObject
* obj
)
1817 if (!SWIG_AsVal_double(obj
, &v
)) {
1819 this is needed to make valgrind/purify happier.
1821 memset((void*)&v
, 0, sizeof(double));
1828 SWIG_Check_double(PyObject
* obj
)
1830 return SWIG_AsVal_double(obj
, (double*)0);
1834 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1835 #define SWIG_From_double PyFloat_FromDouble
1838 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
1842 static PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
1843 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1844 PyObject
* tup
= PyTuple_New(2);
1845 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1846 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1847 wxPyEndBlockThreads(blocked
);
1851 SWIGINTERNSHORT
long
1852 SWIG_As_long(PyObject
* obj
)
1855 if (!SWIG_AsVal_long(obj
, &v
)) {
1857 this is needed to make valgrind/purify happier.
1859 memset((void*)&v
, 0, sizeof(long));
1866 SWIG_Check_long(PyObject
* obj
)
1868 return SWIG_AsVal_long(obj
, (long*)0);
1871 static void wxPoint_Set(wxPoint
*self
,long x
,long y
){
1875 static PyObject
*wxPoint_Get(wxPoint
*self
){
1876 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1877 PyObject
* tup
= PyTuple_New(2);
1878 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1879 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1880 wxPyEndBlockThreads(blocked
);
1883 static void wxRect_Set(wxRect
*self
,int x
=0,int y
=0,int width
=0,int height
=0){
1886 self
->width
= width
;
1887 self
->height
= height
;
1889 static PyObject
*wxRect_Get(wxRect
*self
){
1890 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1891 PyObject
* tup
= PyTuple_New(4);
1892 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1893 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1894 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
1895 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
1896 wxPyEndBlockThreads(blocked
);
1900 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
1903 wxRect
dest(0,0,0,0);
1906 reg1
.Intersect(reg2
);
1907 dest
= reg1
.GetBox();
1909 if (dest
!= wxRect(0,0,0,0)) {
1910 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1911 wxRect
* newRect
= new wxRect(dest
);
1912 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), true);
1913 wxPyEndBlockThreads(blocked
);
1921 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1927 } else if (target
== Py_None
) {
1931 if (!PyTuple_Check(target
)) {
1933 target
= PyTuple_New(1);
1934 PyTuple_SetItem(target
, 0, o2
);
1936 o3
= PyTuple_New(1);
1937 PyTuple_SetItem(o3
, 0, o
);
1940 target
= PySequence_Concat(o2
, o3
);
1948 static void wxPoint2D_Set(wxPoint2D
*self
,double x
=0,double y
=0){
1952 static PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
1953 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1954 PyObject
* tup
= PyTuple_New(2);
1955 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
1956 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
1957 wxPyEndBlockThreads(blocked
);
1961 #include "wx/wxPython/pyistream.h"
1963 static wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
1964 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
1966 return new wxPyInputStream(wxis
);
1971 SWIGINTERNSHORT PyObject
*
1972 SWIG_From_char(char c
)
1974 return PyString_FromStringAndSize(&c
,1);
1978 SWIGINTERNSHORT PyObject
*
1979 SWIG_From_unsigned_SS_long(unsigned long value
)
1981 return (value
> LONG_MAX
) ?
1982 PyLong_FromUnsignedLong(value
)
1983 : PyInt_FromLong((long)(value
));
1987 /* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */
1989 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* psize
)
1991 static swig_type_info
* pchar_info
= 0;
1993 if (!pchar_info
) pchar_info
= SWIG_TypeQuery("char *");
1994 if (SWIG_ConvertPtr(obj
, (void**)&vptr
, pchar_info
, 0) != -1) {
1995 if (cptr
) *cptr
= vptr
;
1996 if (psize
) *psize
= vptr
? (strlen(vptr
) + 1) : 0;
2000 if (PyString_Check(obj
)) {
2002 *cptr
= PyString_AS_STRING(obj
);
2004 *psize
= PyString_GET_SIZE(obj
) + 1;
2011 SWIG_type_error("char *", obj
);
2018 SWIG_AsCharArray(PyObject
*obj
, char *val
, size_t size
)
2020 char* cptr
; size_t csize
;
2021 if (SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
)) {
2024 char x[5] = "hello";
2026 ie, assing the array using an extra '0' char.
2028 if ((csize
== size
+ 1) && !(cptr
[csize
-1])) --csize
;
2029 if (csize
<= size
) {
2031 if (csize
) memcpy(val
, cptr
, csize
);
2032 if (csize
< size
) memset(val
+ csize
, 0, size
- csize
);
2038 PyErr_Format(PyExc_TypeError
,
2039 "a char array of maximum size %lu is expected",
2040 (unsigned long) size
);
2047 SWIG_AsVal_char(PyObject
*obj
, char *val
)
2049 const char* errmsg
= val
? "char" : (char*)0;
2051 if (SWIG_AsVal_long(obj
, &v
)) {
2052 if (SWIG_CheckLongInRange(v
, CHAR_MIN
,CHAR_MAX
, errmsg
)) {
2053 if (val
) *val
= (char)(v
);
2060 return SWIG_AsCharArray(obj
, val
, 1);
2065 SWIGINTERNSHORT
char
2066 SWIG_As_char(PyObject
* obj
)
2069 if (!SWIG_AsVal_char(obj
, &v
)) {
2071 this is needed to make valgrind/purify happier.
2073 memset((void*)&v
, 0, sizeof(char));
2080 SWIG_Check_char(PyObject
* obj
)
2082 return SWIG_AsVal_char(obj
, (char*)0);
2086 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2087 #define SWIG_From_long PyInt_FromLong
2090 static void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
2091 // We use only strings for the streams, not unicode
2092 PyObject
* str
= PyObject_Str(obj
);
2094 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
2097 self
->Write(PyString_AS_STRING(str
),
2098 PyString_GET_SIZE(str
));
2102 #include "wx/wxPython/pyistream.h"
2105 class wxPyFileSystemHandler
: public wxFileSystemHandler
2108 wxPyFileSystemHandler() : wxFileSystemHandler() {}
2110 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
2111 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
2112 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
2113 DEC_PYCALLBACK_STRING__pure(FindNext
);
2115 wxString
GetProtocol(const wxString
& location
) {
2116 return wxFileSystemHandler::GetProtocol(location
);
2119 wxString
GetLeftLocation(const wxString
& location
) {
2120 return wxFileSystemHandler::GetLeftLocation(location
);
2123 wxString
GetAnchor(const wxString
& location
) {
2124 return wxFileSystemHandler::GetAnchor(location
);
2127 wxString
GetRightLocation(const wxString
& location
) {
2128 return wxFileSystemHandler::GetRightLocation(location
);
2131 wxString
GetMimeTypeFromExt(const wxString
& location
) {
2132 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
2139 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
2140 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
2141 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
2142 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
2146 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
2148 if (obj
== Py_True
) {
2149 if (val
) *val
= true;
2152 if (obj
== Py_False
) {
2153 if (val
) *val
= false;
2157 if (SWIG_AsVal_int(obj
, &res
)) {
2158 if (val
) *val
= res
? true : false;
2164 SWIG_type_error("bool", obj
);
2170 SWIGINTERNSHORT
bool
2171 SWIG_As_bool(PyObject
* obj
)
2174 if (!SWIG_AsVal_bool(obj
, &v
)) {
2176 this is needed to make valgrind/purify happier.
2178 memset((void*)&v
, 0, sizeof(bool));
2185 SWIG_Check_bool(PyObject
* obj
)
2187 return SWIG_AsVal_bool(obj
, (bool*)0);
2190 static wxString
FileSystem_URLToFileName(wxString
const &url
){
2191 wxFileName fname
= wxFileSystem::URLToFileName(url
);
2192 return fname
.GetFullPath();
2195 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
2198 wxMemoryFSHandler::AddFile(filename
, image
, type
);
2201 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
2202 const wxBitmap
& bitmap
,
2204 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
2207 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
2209 if (! PyString_Check(data
)) {
2210 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2211 "Expected string object"));
2215 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2216 void* ptr
= (void*)PyString_AsString(data
);
2217 size_t size
= PyString_Size(data
);
2218 wxPyEndBlockThreads(blocked
);
2220 wxMemoryFSHandler::AddFile(filename
, ptr
, size
);
2224 #include "wx/wxPython/pyistream.h"
2228 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
2231 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2232 SWIG_type_error("unsigned number", obj
);
2235 *val
= (unsigned long)v
;
2241 SWIG_CheckUnsignedLongInRange(unsigned long value
,
2242 unsigned long max_value
,
2245 if (value
> max_value
) {
2247 PyErr_Format(PyExc_OverflowError
,
2248 "value %lu is greater than '%s' minimum %lu",
2249 value
, errmsg
, max_value
);
2258 SWIG_AsVal_unsigned_SS_char(PyObject
*obj
, unsigned char *val
)
2260 const char* errmsg
= val
? "unsigned char" : (char*)0;
2262 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2263 if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) {
2264 if (val
) *val
= (unsigned char)(v
);
2273 SWIG_type_error(errmsg
, obj
);
2279 SWIGINTERNSHORT
unsigned char
2280 SWIG_As_unsigned_SS_char(PyObject
* obj
)
2283 if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) {
2285 this is needed to make valgrind/purify happier.
2287 memset((void*)&v
, 0, sizeof(unsigned char));
2294 SWIG_Check_unsigned_SS_char(PyObject
* obj
)
2296 return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0);
2300 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2301 #define SWIG_From_unsigned_SS_char PyInt_FromLong
2306 SWIGINTERNSHORT
unsigned long
2307 SWIG_As_unsigned_SS_long(PyObject
* obj
)
2310 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2312 this is needed to make valgrind/purify happier.
2314 memset((void*)&v
, 0, sizeof(unsigned long));
2321 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
2323 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
2326 static unsigned long wxImageHistogram_GetCount(wxImageHistogram
*self
,unsigned long key
){
2327 wxImageHistogramEntry e
= (*self
)[key
];
2330 static unsigned long wxImageHistogram_GetCountRGB(wxImageHistogram
*self
,unsigned char r
,unsigned char g
,unsigned char b
){
2331 unsigned long key
= wxImageHistogram::MakeKey(r
, g
, b
);
2332 wxImageHistogramEntry e
= (*self
)[key
];
2335 static unsigned long wxImageHistogram_GetCountColour(wxImageHistogram
*self
,wxColour
const &colour
){
2336 unsigned long key
= wxImageHistogram::MakeKey(colour
.Red(),
2339 wxImageHistogramEntry e
= (*self
)[key
];
2343 typedef unsigned char* buffer
;
2345 static wxImage
*new_wxImage(int width
=0,int height
=0,bool clear
=true){
2346 if (width
> 0 && height
> 0)
2347 return new wxImage(width
, height
, clear
);
2351 static wxImage
*new_wxImage(wxBitmap
const &bitmap
){
2352 return new wxImage(bitmap
.ConvertToImage());
2354 static wxImage
*new_wxImage(int width
,int height
,buffer data
,int DATASIZE
){
2355 if (DATASIZE
!= width
*height
*3) {
2356 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2360 // Copy the source data so the wxImage can clean it up later
2361 buffer copy
= (buffer
)malloc(DATASIZE
);
2363 wxPyBLOCK_THREADS(PyErr_NoMemory());
2366 memcpy(copy
, data
, DATASIZE
);
2367 return new wxImage(width
, height
, copy
, false);
2369 static wxImage
*new_wxImage(int width
,int height
,buffer data
,int DATASIZE
,buffer alpha
,int ALPHASIZE
){
2370 if (DATASIZE
!= width
*height
*3) {
2371 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2374 if (ALPHASIZE
!= width
*height
) {
2375 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2379 // Copy the source data so the wxImage can clean it up later
2380 buffer dcopy
= (buffer
)malloc(DATASIZE
);
2381 if (dcopy
== NULL
) {
2382 wxPyBLOCK_THREADS(PyErr_NoMemory());
2385 memcpy(dcopy
, data
, DATASIZE
);
2387 buffer acopy
= (buffer
)malloc(ALPHASIZE
);
2388 if (acopy
== NULL
) {
2389 wxPyBLOCK_THREADS(PyErr_NoMemory());
2392 memcpy(acopy
, alpha
, ALPHASIZE
);
2394 return new wxImage(width
, height
, dcopy
, acopy
, false);
2396 static wxSize
wxImage_GetSize(wxImage
*self
){
2397 wxSize
size(self
->GetWidth(), self
->GetHeight());
2400 static PyObject
*wxImage_GetData(wxImage
*self
){
2401 buffer data
= self
->GetData();
2402 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2404 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
2407 static void wxImage_SetData(wxImage
*self
,buffer data
,int DATASIZE
){
2408 if (DATASIZE
!= self
->GetWidth() * self
->GetHeight() * 3) {
2409 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2412 buffer copy
= (buffer
)malloc(DATASIZE
);
2414 wxPyBLOCK_THREADS(PyErr_NoMemory());
2417 memcpy(copy
, data
, DATASIZE
);
2418 self
->SetData(copy
, false);
2419 // wxImage takes ownership of copy...
2421 static PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
2422 buffer data
= self
->GetData();
2423 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2425 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2428 static void wxImage_SetDataBuffer(wxImage
*self
,buffer data
,int DATASIZE
){
2429 if (DATASIZE
!= self
->GetWidth() * self
->GetHeight() * 3) {
2430 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2433 self
->SetData(data
, true);
2435 static PyObject
*wxImage_GetAlphaData(wxImage
*self
){
2436 buffer data
= self
->GetAlpha();
2440 int len
= self
->GetWidth() * self
->GetHeight();
2442 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
2446 static void wxImage_SetAlphaData(wxImage
*self
,buffer alpha
,int ALPHASIZE
){
2447 if (ALPHASIZE
!= self
->GetWidth() * self
->GetHeight()) {
2448 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2451 buffer acopy
= (buffer
)malloc(ALPHASIZE
);
2452 if (acopy
== NULL
) {
2453 wxPyBLOCK_THREADS(PyErr_NoMemory());
2456 memcpy(acopy
, alpha
, ALPHASIZE
);
2457 self
->SetAlpha(acopy
, false);
2458 // wxImage takes ownership of acopy...
2460 static PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
2461 buffer data
= self
->GetAlpha();
2462 int len
= self
->GetWidth() * self
->GetHeight();
2464 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2467 static void wxImage_SetAlphaBuffer(wxImage
*self
,buffer alpha
,int ALPHASIZE
){
2468 if (ALPHASIZE
!= self
->GetWidth() * self
->GetHeight()) {
2469 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2472 self
->SetAlpha(alpha
, true);
2474 static wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
,int depth
=-1){
2475 wxBitmap
bitmap(*self
, depth
);
2478 static wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
2479 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
2480 wxBitmap
bitmap( mono
, 1 );
2483 static const wxString
wxPyIMAGE_OPTION_FILENAME(wxIMAGE_OPTION_FILENAME
);
2484 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
2485 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
2486 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
2487 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
2488 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONX(wxIMAGE_OPTION_RESOLUTIONX
);
2489 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONY(wxIMAGE_OPTION_RESOLUTIONY
);
2490 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
2491 static const wxString
wxPyIMAGE_OPTION_QUALITY(wxIMAGE_OPTION_QUALITY
);
2492 static const wxString
wxPyIMAGE_OPTION_BITSPERSAMPLE(wxIMAGE_OPTION_BITSPERSAMPLE
);
2493 static const wxString
wxPyIMAGE_OPTION_SAMPLESPERPIXEL(wxIMAGE_OPTION_SAMPLESPERPIXEL
);
2494 static const wxString
wxPyIMAGE_OPTION_COMPRESSION(wxIMAGE_OPTION_COMPRESSION
);
2495 static const wxString
wxPyIMAGE_OPTION_IMAGEDESCRIPTOR(wxIMAGE_OPTION_IMAGEDESCRIPTOR
);
2496 static const wxString
wxPyIMAGE_OPTION_PNG_FORMAT(wxIMAGE_OPTION_PNG_FORMAT
);
2497 static const wxString
wxPyIMAGE_OPTION_PNG_BITDEPTH(wxIMAGE_OPTION_PNG_BITDEPTH
);
2499 #include <wx/quantize.h>
2501 static bool Quantize_Quantize(wxImage
const &src
,wxImage
&dest
,int desiredNoColours
=236,int flags
=wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
){
2502 return wxQuantize::Quantize(src
, dest
,
2505 NULL
, // eightBitData
2508 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
2509 if (PyCallable_Check(func
)) {
2510 self
->Connect(id
, lastId
, eventType
,
2511 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
2512 new wxPyCallback(func
));
2514 else if (func
== Py_None
) {
2515 self
->Disconnect(id
, lastId
, eventType
,
2516 (wxObjectEventFunction
)
2517 &wxPyCallback::EventThunker
);
2521 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
2524 static bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
=-1,wxEventType eventType
=wxEVT_NULL
){
2525 return self
->Disconnect(id
, lastId
, eventType
,
2526 (wxObjectEventFunction
)
2527 &wxPyCallback::EventThunker
);
2529 static void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
,bool incref
=true){
2530 if (_self
&& _self
!= Py_None
) {
2531 self
->SetClientObject(new wxPyOORClientData(_self
, incref
));
2534 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
2536 self
->SetClientObject(NULL
); // This will delete it too
2541 static int wxKeyEvent_GetUnicodeKey(wxKeyEvent
*self
){
2543 return self
->GetUnicodeKey();
2549 #if UINT_MAX < LONG_MAX
2550 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2551 #define SWIG_From_unsigned_SS_int SWIG_From_long
2554 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2555 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2560 #if UINT_MAX != ULONG_MAX
2562 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2564 const char* errmsg
= val
? "unsigned int" : (char*)0;
2566 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2567 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2568 if (val
) *val
= (unsigned int)(v
);
2575 SWIG_type_error(errmsg
, obj
);
2580 SWIGINTERNSHORT
unsigned int
2581 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2583 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2588 SWIGINTERNSHORT
unsigned int
2589 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2592 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2594 this is needed to make valgrind/purify happier.
2596 memset((void*)&v
, 0, sizeof(unsigned int));
2603 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2605 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2608 static void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
2609 self
->m_size
= size
;
2611 static PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
2612 int count
= self
->GetNumberOfFiles();
2613 wxString
* files
= self
->GetFiles();
2614 PyObject
* list
= PyList_New(count
);
2617 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
2621 for (int i
=0; i
<count
; i
++) {
2622 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
2628 static wxPyApp
*new_wxPyApp(){
2629 wxPythonApp
= new wxPyApp();
2633 void wxApp_CleanUp() {
2638 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
2642 SWIG_AsCharPtr(PyObject
*obj
, char **val
)
2644 if (SWIG_AsCharPtrAndSize(obj
, val
, (size_t*)(0))) {
2649 SWIG_type_error("char *", obj
);
2655 SWIGINTERN PyObject
*
2656 SWIG_FromCharPtr(const char* cptr
)
2659 size_t size
= strlen(cptr
);
2660 if (size
> INT_MAX
) {
2661 return SWIG_NewPointerObj((char*)(cptr
),
2662 SWIG_TypeQuery("char *"), 0);
2665 return PyString_FromStringAndSize(cptr
, size
);
2667 return PyString_FromString(cptr
);
2678 // A dummy class that raises an exception if used...
2682 wxEventLoop() { wxPyRaiseNotImplemented(); }
2683 int Run() { return 0; }
2684 void Exit(int rc
= 0) {}
2685 bool Pending() const { return false; }
2686 bool Dispatch() { return false; }
2687 bool IsRunning() const { return false; }
2688 static wxEventLoop
*GetActive() { wxPyRaiseNotImplemented(); return NULL
; }
2689 static void SetActive(wxEventLoop
* loop
) { wxPyRaiseNotImplemented(); }
2694 #include <wx/evtloop.h>
2700 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2701 static wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
2702 static void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
2703 static PyObject
*wxWindow_GetChildren(wxWindow
*self
){
2704 wxWindowList
& list
= self
->GetChildren();
2705 return wxPy_ConvertList(&list
);
2707 static bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
2709 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
2714 static bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
2721 static long wxWindow_GetHandle(wxWindow
*self
){
2722 return wxPyGetWinHandle(self
);
2724 static void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
2725 self
->AssociateHandle((WXWidget
)handle
);
2728 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
2729 return wxWindow::FindWindowById(id
, parent
);
2732 wxWindow
* wxFindWindowByName( const wxString
& name
,
2733 const wxWindow
*parent
= NULL
) {
2734 return wxWindow::FindWindowByName(name
, parent
);
2737 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
2738 const wxWindow
*parent
= NULL
) {
2739 return wxWindow::FindWindowByLabel(label
, parent
);
2744 #include <wx/msw/private.h> // to get wxGetWindowId
2748 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
2750 WXHWND hWnd
= (WXHWND
)_hWnd
;
2751 long id
= wxGetWindowId(hWnd
);
2752 wxWindow
* win
= new wxWindow
;
2753 parent
->AddChild(win
);
2754 win
->SetEventHandler(win
);
2757 win
->SubclassWin(hWnd
);
2758 win
->AdoptAttributesFromHWND();
2759 win
->SetupColours();
2762 wxPyRaiseNotImplemented();
2768 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
2769 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
2770 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
2772 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
2774 static void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
2775 static PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
2776 wxMenuItemList
& list
= self
->GetMenuItems();
2777 return wxPy_ConvertList(&list
);
2779 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2780 static int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
=NULL
){
2782 wxPyClientData
* data
= new wxPyClientData(clientData
);
2783 return self
->Append(item
, data
);
2785 return self
->Append(item
);
2787 static int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2789 wxPyClientData
* data
= new wxPyClientData(clientData
);
2790 return self
->Insert(item
, pos
, data
);
2792 return self
->Insert(item
, pos
);
2794 static PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
2795 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
2797 Py_INCREF(data
->m_obj
);
2804 static void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
2805 wxPyClientData
* data
= new wxPyClientData(clientData
);
2806 self
->SetClientObject(n
, data
);
2810 static wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2811 wxPyUserData
* data
= NULL
;
2813 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2814 data
= new wxPyUserData(userData
);
2815 wxPyEndBlockThreads(blocked
);
2817 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
2819 static wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2820 wxPyUserData
* data
= NULL
;
2822 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2823 data
= new wxPyUserData(userData
);
2824 wxPyEndBlockThreads(blocked
);
2826 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
2828 static wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2829 wxPyUserData
* data
= NULL
;
2831 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2832 data
= new wxPyUserData(userData
);
2833 wxPyEndBlockThreads(blocked
);
2835 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
2840 SWIG_CheckDoubleInRange(double value
, double min_value
,
2841 double max_value
, const char* errmsg
)
2843 if (value
< min_value
) {
2845 PyErr_Format(PyExc_OverflowError
,
2846 "value %g is less than %s minimum %g",
2847 value
, errmsg
, min_value
);
2850 } else if (value
> max_value
) {
2852 PyErr_Format(PyExc_OverflowError
,
2853 "value %g is greater than %s maximum %g",
2854 value
, errmsg
, max_value
);
2863 SWIG_AsVal_float(PyObject
*obj
, float *val
)
2865 const char* errmsg
= val
? "float" : (char*)0;
2867 if (SWIG_AsVal_double(obj
, &v
)) {
2868 if (SWIG_CheckDoubleInRange(v
, -FLT_MAX
, FLT_MAX
, errmsg
)) {
2869 if (val
) *val
= (float)(v
);
2878 SWIG_type_error(errmsg
, obj
);
2884 SWIGINTERNSHORT
float
2885 SWIG_As_float(PyObject
* obj
)
2888 if (!SWIG_AsVal_float(obj
, &v
)) {
2890 this is needed to make valgrind/purify happier.
2892 memset((void*)&v
, 0, sizeof(float));
2899 SWIG_Check_float(PyObject
* obj
)
2901 return SWIG_AsVal_float(obj
, (float*)0);
2905 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2906 #define SWIG_From_float PyFloat_FromDouble
2909 static PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
2910 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
2912 Py_INCREF(data
->m_obj
);
2920 // Figure out the type of the sizer item
2922 struct wxPySizerItemInfo
{
2924 : window(NULL
), sizer(NULL
), gotSize(false),
2925 size(wxDefaultSize
), gotPos(false), pos(-1)
2936 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
2938 wxPySizerItemInfo info
;
2940 wxSize
* sizePtr
= &size
;
2942 // Find out what the type of the item is
2944 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
2949 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
2953 // try wxSize or (w,h)
2954 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
2955 info
.size
= *sizePtr
;
2956 info
.gotSize
= true;
2960 if (checkIdx
&& PyInt_Check(item
)) {
2961 info
.pos
= PyInt_AsLong(item
);
2967 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
2968 // no expected type, figure out what kind of error message to generate
2969 if ( !checkSize
&& !checkIdx
)
2970 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
2971 else if ( checkSize
&& !checkIdx
)
2972 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
2973 else if ( !checkSize
&& checkIdx
)
2974 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
2976 // can this one happen?
2977 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
2983 static void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
2984 if (!self
->GetClientObject())
2985 self
->SetClientObject(new wxPyOORClientData(_self
));
2987 static wxSizerItem
*wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
2989 wxPyUserData
* data
= NULL
;
2990 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2991 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
2992 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
2993 data
= new wxPyUserData(userData
);
2994 wxPyEndBlockThreads(blocked
);
2996 // Now call the real Add method if a valid item type was found
2998 return self
->Add(info
.window
, proportion
, flag
, border
, data
);
2999 else if ( info
.sizer
)
3000 return self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
3001 else if (info
.gotSize
)
3002 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3003 proportion
, flag
, border
, data
);
3007 static wxSizerItem
*wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3009 wxPyUserData
* data
= NULL
;
3010 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3011 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3012 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3013 data
= new wxPyUserData(userData
);
3014 wxPyEndBlockThreads(blocked
);
3016 // Now call the real Insert method if a valid item type was found
3018 return self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
3019 else if ( info
.sizer
)
3020 return self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
3021 else if (info
.gotSize
)
3022 return self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
3023 proportion
, flag
, border
, data
);
3027 static wxSizerItem
*wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3029 wxPyUserData
* data
= NULL
;
3030 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3031 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3032 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3033 data
= new wxPyUserData(userData
);
3034 wxPyEndBlockThreads(blocked
);
3036 // Now call the real Prepend method if a valid item type was found
3038 return self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
3039 else if ( info
.sizer
)
3040 return self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
3041 else if (info
.gotSize
)
3042 return self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
3043 proportion
, flag
, border
, data
);
3047 static bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
3048 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3049 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3050 wxPyEndBlockThreads(blocked
);
3052 return self
->Remove(info
.window
);
3053 else if ( info
.sizer
)
3054 return self
->Remove(info
.sizer
);
3055 else if ( info
.gotPos
)
3056 return self
->Remove(info
.pos
);
3060 static bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
3061 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3062 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3063 wxPyEndBlockThreads(blocked
);
3065 return self
->Detach(info
.window
);
3066 else if ( info
.sizer
)
3067 return self
->Detach(info
.sizer
);
3068 else if ( info
.gotPos
)
3069 return self
->Detach(info
.pos
);
3073 static wxSizerItem
*wxSizer_GetItem(wxSizer
*self
,PyObject
*item
){
3074 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3075 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3076 wxPyEndBlockThreads(blocked
);
3078 return self
->GetItem(info
.window
);
3079 else if ( info
.sizer
)
3080 return self
->GetItem(info
.sizer
);
3081 else if ( info
.gotPos
)
3082 return self
->GetItem(info
.pos
);
3086 static void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
3087 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3088 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3089 wxPyEndBlockThreads(blocked
);
3091 self
->SetItemMinSize(info
.window
, size
);
3092 else if ( info
.sizer
)
3093 self
->SetItemMinSize(info
.sizer
, size
);
3094 else if ( info
.gotPos
)
3095 self
->SetItemMinSize(info
.pos
, size
);
3097 static PyObject
*wxSizer_GetChildren(wxSizer
*self
){
3098 wxSizerItemList
& list
= self
->GetChildren();
3099 return wxPy_ConvertList(&list
);
3101 static bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
=true,bool recursive
=false){
3102 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3103 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3104 wxPyEndBlockThreads(blocked
);
3106 return self
->Show(info
.window
, show
, recursive
);
3107 else if ( info
.sizer
)
3108 return self
->Show(info
.sizer
, show
, recursive
);
3109 else if ( info
.gotPos
)
3110 return self
->Show(info
.pos
, show
);
3114 static bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
3115 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3116 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
3117 wxPyEndBlockThreads(blocked
);
3119 return self
->IsShown(info
.window
);
3120 else if ( info
.sizer
)
3121 return self
->IsShown(info
.sizer
);
3122 else if ( info
.gotPos
)
3123 return self
->IsShown(info
.pos
);
3129 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
3130 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
3131 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
3136 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
3138 if (source
== Py_None
) {
3139 **obj
= wxGBPosition(-1,-1);
3142 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
3145 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
3147 if (source
== Py_None
) {
3148 **obj
= wxGBSpan(-1,-1);
3151 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
3155 static void wxGBPosition_Set(wxGBPosition
*self
,int row
=0,int col
=0){
3159 static PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
3160 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3161 PyObject
* tup
= PyTuple_New(2);
3162 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
3163 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
3164 wxPyEndBlockThreads(blocked
);
3167 static void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
=1,int colspan
=1){
3168 self
->SetRowspan(rowspan
);
3169 self
->SetColspan(colspan
);
3171 static PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
3172 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3173 PyObject
* tup
= PyTuple_New(2);
3174 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
3175 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
3176 wxPyEndBlockThreads(blocked
);
3179 static wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3180 wxPyUserData
* data
= NULL
;
3182 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3183 data
= new wxPyUserData(userData
);
3184 wxPyEndBlockThreads(blocked
);
3186 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
3188 static wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3189 wxPyUserData
* data
= NULL
;
3191 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3192 data
= new wxPyUserData(userData
);
3193 wxPyEndBlockThreads(blocked
);
3195 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
3197 static wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3198 wxPyUserData
* data
= NULL
;
3200 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3201 data
= new wxPyUserData(userData
);
3202 wxPyEndBlockThreads(blocked
);
3204 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
3206 static wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
3208 self
->GetEndPos(row
, col
);
3209 return wxGBPosition(row
, col
);
3211 static wxGBSizerItem
*wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
=wxDefaultSpan
,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3213 wxPyUserData
* data
= NULL
;
3214 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3215 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3216 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3217 data
= new wxPyUserData(userData
);
3218 wxPyEndBlockThreads(blocked
);
3220 // Now call the real Add method if a valid item type was found
3222 return (wxGBSizerItem
*)self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
3223 else if ( info
.sizer
)
3224 return (wxGBSizerItem
*)self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
3225 else if (info
.gotSize
)
3226 return (wxGBSizerItem
*)self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3227 pos
, span
, flag
, border
, data
);
3235 static int _wrap_EmptyString_set(PyObject
*) {
3236 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
3241 static PyObject
*_wrap_EmptyString_get(void) {
3246 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3248 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3255 static PyObject
*_wrap_Object_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3256 PyObject
*resultobj
;
3257 wxObject
*arg1
= (wxObject
*) 0 ;
3259 PyObject
* obj0
= 0 ;
3261 (char *) "self", NULL
3264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
3265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3266 if (SWIG_arg_fail(1)) SWIG_fail
;
3268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3269 result
= wxObject_GetClassName(arg1
);
3271 wxPyEndAllowThreads(__tstate
);
3272 if (PyErr_Occurred()) SWIG_fail
;
3276 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3278 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3287 static PyObject
*_wrap_Object_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3288 PyObject
*resultobj
;
3289 wxObject
*arg1
= (wxObject
*) 0 ;
3290 PyObject
* obj0
= 0 ;
3292 (char *) "self", NULL
3295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
3296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3297 if (SWIG_arg_fail(1)) SWIG_fail
;
3299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3300 wxObject_Destroy(arg1
);
3302 wxPyEndAllowThreads(__tstate
);
3303 if (PyErr_Occurred()) SWIG_fail
;
3305 Py_INCREF(Py_None
); resultobj
= Py_None
;
3312 static PyObject
* Object_swigregister(PyObject
*, PyObject
*args
) {
3314 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3315 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
3317 return Py_BuildValue((char *)"");
3319 static PyObject
*_wrap_Size_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3320 PyObject
*resultobj
;
3321 wxSize
*arg1
= (wxSize
*) 0 ;
3323 PyObject
* obj0
= 0 ;
3324 PyObject
* obj1
= 0 ;
3326 (char *) "self",(char *) "x", NULL
3329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3331 if (SWIG_arg_fail(1)) SWIG_fail
;
3333 arg2
= (int)(SWIG_As_int(obj1
));
3334 if (SWIG_arg_fail(2)) SWIG_fail
;
3336 if (arg1
) (arg1
)->x
= arg2
;
3338 Py_INCREF(Py_None
); resultobj
= Py_None
;
3345 static PyObject
*_wrap_Size_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3346 PyObject
*resultobj
;
3347 wxSize
*arg1
= (wxSize
*) 0 ;
3349 PyObject
* obj0
= 0 ;
3351 (char *) "self", NULL
3354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
3355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3356 if (SWIG_arg_fail(1)) SWIG_fail
;
3357 result
= (int) ((arg1
)->x
);
3360 resultobj
= SWIG_From_int((int)(result
));
3368 static PyObject
*_wrap_Size_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3369 PyObject
*resultobj
;
3370 wxSize
*arg1
= (wxSize
*) 0 ;
3372 PyObject
* obj0
= 0 ;
3373 PyObject
* obj1
= 0 ;
3375 (char *) "self",(char *) "y", NULL
3378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3380 if (SWIG_arg_fail(1)) SWIG_fail
;
3382 arg2
= (int)(SWIG_As_int(obj1
));
3383 if (SWIG_arg_fail(2)) SWIG_fail
;
3385 if (arg1
) (arg1
)->y
= arg2
;
3387 Py_INCREF(Py_None
); resultobj
= Py_None
;
3394 static PyObject
*_wrap_Size_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3395 PyObject
*resultobj
;
3396 wxSize
*arg1
= (wxSize
*) 0 ;
3398 PyObject
* obj0
= 0 ;
3400 (char *) "self", NULL
3403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
3404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3405 if (SWIG_arg_fail(1)) SWIG_fail
;
3406 result
= (int) ((arg1
)->y
);
3409 resultobj
= SWIG_From_int((int)(result
));
3417 static PyObject
*_wrap_new_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3418 PyObject
*resultobj
;
3419 int arg1
= (int) 0 ;
3420 int arg2
= (int) 0 ;
3422 PyObject
* obj0
= 0 ;
3423 PyObject
* obj1
= 0 ;
3425 (char *) "w",(char *) "h", NULL
3428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
3431 arg1
= (int)(SWIG_As_int(obj0
));
3432 if (SWIG_arg_fail(1)) SWIG_fail
;
3437 arg2
= (int)(SWIG_As_int(obj1
));
3438 if (SWIG_arg_fail(2)) SWIG_fail
;
3442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3443 result
= (wxSize
*)new wxSize(arg1
,arg2
);
3445 wxPyEndAllowThreads(__tstate
);
3446 if (PyErr_Occurred()) SWIG_fail
;
3448 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
3455 static PyObject
*_wrap_delete_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3456 PyObject
*resultobj
;
3457 wxSize
*arg1
= (wxSize
*) 0 ;
3458 PyObject
* obj0
= 0 ;
3460 (char *) "self", NULL
3463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
3464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3465 if (SWIG_arg_fail(1)) SWIG_fail
;
3467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3470 wxPyEndAllowThreads(__tstate
);
3471 if (PyErr_Occurred()) SWIG_fail
;
3473 Py_INCREF(Py_None
); resultobj
= Py_None
;
3480 static PyObject
*_wrap_Size___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3481 PyObject
*resultobj
;
3482 wxSize
*arg1
= (wxSize
*) 0 ;
3486 PyObject
* obj0
= 0 ;
3487 PyObject
* obj1
= 0 ;
3489 (char *) "self",(char *) "sz", NULL
3492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3494 if (SWIG_arg_fail(1)) SWIG_fail
;
3497 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3501 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
3503 wxPyEndAllowThreads(__tstate
);
3504 if (PyErr_Occurred()) SWIG_fail
;
3507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3515 static PyObject
*_wrap_Size___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3516 PyObject
*resultobj
;
3517 wxSize
*arg1
= (wxSize
*) 0 ;
3521 PyObject
* obj0
= 0 ;
3522 PyObject
* obj1
= 0 ;
3524 (char *) "self",(char *) "sz", NULL
3527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3529 if (SWIG_arg_fail(1)) SWIG_fail
;
3532 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3536 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
3538 wxPyEndAllowThreads(__tstate
);
3539 if (PyErr_Occurred()) SWIG_fail
;
3542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3550 static PyObject
*_wrap_Size___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3551 PyObject
*resultobj
;
3552 wxSize
*arg1
= (wxSize
*) 0 ;
3556 PyObject
* obj0
= 0 ;
3557 PyObject
* obj1
= 0 ;
3559 (char *) "self",(char *) "sz", NULL
3562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3564 if (SWIG_arg_fail(1)) SWIG_fail
;
3567 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3571 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
3573 wxPyEndAllowThreads(__tstate
);
3574 if (PyErr_Occurred()) SWIG_fail
;
3578 resultptr
= new wxSize((wxSize
&)(result
));
3579 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3587 static PyObject
*_wrap_Size___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3588 PyObject
*resultobj
;
3589 wxSize
*arg1
= (wxSize
*) 0 ;
3593 PyObject
* obj0
= 0 ;
3594 PyObject
* obj1
= 0 ;
3596 (char *) "self",(char *) "sz", NULL
3599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3601 if (SWIG_arg_fail(1)) SWIG_fail
;
3604 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3608 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
3610 wxPyEndAllowThreads(__tstate
);
3611 if (PyErr_Occurred()) SWIG_fail
;
3615 resultptr
= new wxSize((wxSize
&)(result
));
3616 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3624 static PyObject
*_wrap_Size_IncTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3625 PyObject
*resultobj
;
3626 wxSize
*arg1
= (wxSize
*) 0 ;
3629 PyObject
* obj0
= 0 ;
3630 PyObject
* obj1
= 0 ;
3632 (char *) "self",(char *) "sz", NULL
3635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3637 if (SWIG_arg_fail(1)) SWIG_fail
;
3640 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3644 (arg1
)->IncTo((wxSize
const &)*arg2
);
3646 wxPyEndAllowThreads(__tstate
);
3647 if (PyErr_Occurred()) SWIG_fail
;
3649 Py_INCREF(Py_None
); resultobj
= Py_None
;
3656 static PyObject
*_wrap_Size_DecTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3657 PyObject
*resultobj
;
3658 wxSize
*arg1
= (wxSize
*) 0 ;
3661 PyObject
* obj0
= 0 ;
3662 PyObject
* obj1
= 0 ;
3664 (char *) "self",(char *) "sz", NULL
3667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3669 if (SWIG_arg_fail(1)) SWIG_fail
;
3672 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3676 (arg1
)->DecTo((wxSize
const &)*arg2
);
3678 wxPyEndAllowThreads(__tstate
);
3679 if (PyErr_Occurred()) SWIG_fail
;
3681 Py_INCREF(Py_None
); resultobj
= Py_None
;
3688 static PyObject
*_wrap_Size_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3689 PyObject
*resultobj
;
3690 wxSize
*arg1
= (wxSize
*) 0 ;
3693 PyObject
* obj0
= 0 ;
3694 PyObject
* obj1
= 0 ;
3695 PyObject
* obj2
= 0 ;
3697 (char *) "self",(char *) "w",(char *) "h", NULL
3700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3702 if (SWIG_arg_fail(1)) SWIG_fail
;
3704 arg2
= (int)(SWIG_As_int(obj1
));
3705 if (SWIG_arg_fail(2)) SWIG_fail
;
3708 arg3
= (int)(SWIG_As_int(obj2
));
3709 if (SWIG_arg_fail(3)) SWIG_fail
;
3712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3713 (arg1
)->Set(arg2
,arg3
);
3715 wxPyEndAllowThreads(__tstate
);
3716 if (PyErr_Occurred()) SWIG_fail
;
3718 Py_INCREF(Py_None
); resultobj
= Py_None
;
3725 static PyObject
*_wrap_Size_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3726 PyObject
*resultobj
;
3727 wxSize
*arg1
= (wxSize
*) 0 ;
3729 PyObject
* obj0
= 0 ;
3730 PyObject
* obj1
= 0 ;
3732 (char *) "self",(char *) "w", NULL
3735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3737 if (SWIG_arg_fail(1)) SWIG_fail
;
3739 arg2
= (int)(SWIG_As_int(obj1
));
3740 if (SWIG_arg_fail(2)) SWIG_fail
;
3743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3744 (arg1
)->SetWidth(arg2
);
3746 wxPyEndAllowThreads(__tstate
);
3747 if (PyErr_Occurred()) SWIG_fail
;
3749 Py_INCREF(Py_None
); resultobj
= Py_None
;
3756 static PyObject
*_wrap_Size_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3757 PyObject
*resultobj
;
3758 wxSize
*arg1
= (wxSize
*) 0 ;
3760 PyObject
* obj0
= 0 ;
3761 PyObject
* obj1
= 0 ;
3763 (char *) "self",(char *) "h", NULL
3766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3768 if (SWIG_arg_fail(1)) SWIG_fail
;
3770 arg2
= (int)(SWIG_As_int(obj1
));
3771 if (SWIG_arg_fail(2)) SWIG_fail
;
3774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3775 (arg1
)->SetHeight(arg2
);
3777 wxPyEndAllowThreads(__tstate
);
3778 if (PyErr_Occurred()) SWIG_fail
;
3780 Py_INCREF(Py_None
); resultobj
= Py_None
;
3787 static PyObject
*_wrap_Size_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3788 PyObject
*resultobj
;
3789 wxSize
*arg1
= (wxSize
*) 0 ;
3791 PyObject
* obj0
= 0 ;
3793 (char *) "self", NULL
3796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
3797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3798 if (SWIG_arg_fail(1)) SWIG_fail
;
3800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3801 result
= (int)((wxSize
const *)arg1
)->GetWidth();
3803 wxPyEndAllowThreads(__tstate
);
3804 if (PyErr_Occurred()) SWIG_fail
;
3807 resultobj
= SWIG_From_int((int)(result
));
3815 static PyObject
*_wrap_Size_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3816 PyObject
*resultobj
;
3817 wxSize
*arg1
= (wxSize
*) 0 ;
3819 PyObject
* obj0
= 0 ;
3821 (char *) "self", NULL
3824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
3825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3826 if (SWIG_arg_fail(1)) SWIG_fail
;
3828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3829 result
= (int)((wxSize
const *)arg1
)->GetHeight();
3831 wxPyEndAllowThreads(__tstate
);
3832 if (PyErr_Occurred()) SWIG_fail
;
3835 resultobj
= SWIG_From_int((int)(result
));
3843 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3844 PyObject
*resultobj
;
3845 wxSize
*arg1
= (wxSize
*) 0 ;
3847 PyObject
* obj0
= 0 ;
3849 (char *) "self", NULL
3852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
3853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3854 if (SWIG_arg_fail(1)) SWIG_fail
;
3856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3857 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
3859 wxPyEndAllowThreads(__tstate
);
3860 if (PyErr_Occurred()) SWIG_fail
;
3863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3871 static PyObject
*_wrap_Size_SetDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3872 PyObject
*resultobj
;
3873 wxSize
*arg1
= (wxSize
*) 0 ;
3876 PyObject
* obj0
= 0 ;
3877 PyObject
* obj1
= 0 ;
3879 (char *) "self",(char *) "size", NULL
3882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
3883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3884 if (SWIG_arg_fail(1)) SWIG_fail
;
3887 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3891 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
3893 wxPyEndAllowThreads(__tstate
);
3894 if (PyErr_Occurred()) SWIG_fail
;
3896 Py_INCREF(Py_None
); resultobj
= Py_None
;
3903 static PyObject
*_wrap_Size_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3904 PyObject
*resultobj
;
3905 wxSize
*arg1
= (wxSize
*) 0 ;
3907 PyObject
* obj0
= 0 ;
3909 (char *) "self", NULL
3912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
3913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3914 if (SWIG_arg_fail(1)) SWIG_fail
;
3916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3917 result
= (PyObject
*)wxSize_Get(arg1
);
3919 wxPyEndAllowThreads(__tstate
);
3920 if (PyErr_Occurred()) SWIG_fail
;
3929 static PyObject
* Size_swigregister(PyObject
*, PyObject
*args
) {
3931 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3932 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
3934 return Py_BuildValue((char *)"");
3936 static PyObject
*_wrap_RealPoint_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3937 PyObject
*resultobj
;
3938 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3940 PyObject
* obj0
= 0 ;
3941 PyObject
* obj1
= 0 ;
3943 (char *) "self",(char *) "x", NULL
3946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3948 if (SWIG_arg_fail(1)) SWIG_fail
;
3950 arg2
= (double)(SWIG_As_double(obj1
));
3951 if (SWIG_arg_fail(2)) SWIG_fail
;
3953 if (arg1
) (arg1
)->x
= arg2
;
3955 Py_INCREF(Py_None
); resultobj
= Py_None
;
3962 static PyObject
*_wrap_RealPoint_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3963 PyObject
*resultobj
;
3964 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3966 PyObject
* obj0
= 0 ;
3968 (char *) "self", NULL
3971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
3972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3973 if (SWIG_arg_fail(1)) SWIG_fail
;
3974 result
= (double) ((arg1
)->x
);
3977 resultobj
= SWIG_From_double((double)(result
));
3985 static PyObject
*_wrap_RealPoint_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3986 PyObject
*resultobj
;
3987 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3989 PyObject
* obj0
= 0 ;
3990 PyObject
* obj1
= 0 ;
3992 (char *) "self",(char *) "y", NULL
3995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3997 if (SWIG_arg_fail(1)) SWIG_fail
;
3999 arg2
= (double)(SWIG_As_double(obj1
));
4000 if (SWIG_arg_fail(2)) SWIG_fail
;
4002 if (arg1
) (arg1
)->y
= arg2
;
4004 Py_INCREF(Py_None
); resultobj
= Py_None
;
4011 static PyObject
*_wrap_RealPoint_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4012 PyObject
*resultobj
;
4013 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4015 PyObject
* obj0
= 0 ;
4017 (char *) "self", NULL
4020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
4021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4022 if (SWIG_arg_fail(1)) SWIG_fail
;
4023 result
= (double) ((arg1
)->y
);
4026 resultobj
= SWIG_From_double((double)(result
));
4034 static PyObject
*_wrap_new_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4035 PyObject
*resultobj
;
4036 double arg1
= (double) 0.0 ;
4037 double arg2
= (double) 0.0 ;
4038 wxRealPoint
*result
;
4039 PyObject
* obj0
= 0 ;
4040 PyObject
* obj1
= 0 ;
4042 (char *) "x",(char *) "y", NULL
4045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4048 arg1
= (double)(SWIG_As_double(obj0
));
4049 if (SWIG_arg_fail(1)) SWIG_fail
;
4054 arg2
= (double)(SWIG_As_double(obj1
));
4055 if (SWIG_arg_fail(2)) SWIG_fail
;
4059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4060 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
4062 wxPyEndAllowThreads(__tstate
);
4063 if (PyErr_Occurred()) SWIG_fail
;
4065 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
4072 static PyObject
*_wrap_delete_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4073 PyObject
*resultobj
;
4074 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4075 PyObject
* obj0
= 0 ;
4077 (char *) "self", NULL
4080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
4081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4082 if (SWIG_arg_fail(1)) SWIG_fail
;
4084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4087 wxPyEndAllowThreads(__tstate
);
4088 if (PyErr_Occurred()) SWIG_fail
;
4090 Py_INCREF(Py_None
); resultobj
= Py_None
;
4097 static PyObject
*_wrap_RealPoint___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4098 PyObject
*resultobj
;
4099 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4100 wxRealPoint
*arg2
= 0 ;
4103 PyObject
* obj0
= 0 ;
4104 PyObject
* obj1
= 0 ;
4106 (char *) "self",(char *) "pt", NULL
4109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4111 if (SWIG_arg_fail(1)) SWIG_fail
;
4114 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4118 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
4120 wxPyEndAllowThreads(__tstate
);
4121 if (PyErr_Occurred()) SWIG_fail
;
4124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4132 static PyObject
*_wrap_RealPoint___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4133 PyObject
*resultobj
;
4134 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4135 wxRealPoint
*arg2
= 0 ;
4138 PyObject
* obj0
= 0 ;
4139 PyObject
* obj1
= 0 ;
4141 (char *) "self",(char *) "pt", NULL
4144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4146 if (SWIG_arg_fail(1)) SWIG_fail
;
4149 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4153 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
4155 wxPyEndAllowThreads(__tstate
);
4156 if (PyErr_Occurred()) SWIG_fail
;
4159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4167 static PyObject
*_wrap_RealPoint___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4168 PyObject
*resultobj
;
4169 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4170 wxRealPoint
*arg2
= 0 ;
4173 PyObject
* obj0
= 0 ;
4174 PyObject
* obj1
= 0 ;
4176 (char *) "self",(char *) "pt", NULL
4179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4181 if (SWIG_arg_fail(1)) SWIG_fail
;
4184 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4188 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
4190 wxPyEndAllowThreads(__tstate
);
4191 if (PyErr_Occurred()) SWIG_fail
;
4194 wxRealPoint
* resultptr
;
4195 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4196 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4204 static PyObject
*_wrap_RealPoint___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4205 PyObject
*resultobj
;
4206 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4207 wxRealPoint
*arg2
= 0 ;
4210 PyObject
* obj0
= 0 ;
4211 PyObject
* obj1
= 0 ;
4213 (char *) "self",(char *) "pt", NULL
4216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4218 if (SWIG_arg_fail(1)) SWIG_fail
;
4221 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4225 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
4227 wxPyEndAllowThreads(__tstate
);
4228 if (PyErr_Occurred()) SWIG_fail
;
4231 wxRealPoint
* resultptr
;
4232 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4233 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4241 static PyObject
*_wrap_RealPoint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4242 PyObject
*resultobj
;
4243 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4246 PyObject
* obj0
= 0 ;
4247 PyObject
* obj1
= 0 ;
4248 PyObject
* obj2
= 0 ;
4250 (char *) "self",(char *) "x",(char *) "y", NULL
4253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4255 if (SWIG_arg_fail(1)) SWIG_fail
;
4257 arg2
= (double)(SWIG_As_double(obj1
));
4258 if (SWIG_arg_fail(2)) SWIG_fail
;
4261 arg3
= (double)(SWIG_As_double(obj2
));
4262 if (SWIG_arg_fail(3)) SWIG_fail
;
4265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4266 wxRealPoint_Set(arg1
,arg2
,arg3
);
4268 wxPyEndAllowThreads(__tstate
);
4269 if (PyErr_Occurred()) SWIG_fail
;
4271 Py_INCREF(Py_None
); resultobj
= Py_None
;
4278 static PyObject
*_wrap_RealPoint_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4279 PyObject
*resultobj
;
4280 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4282 PyObject
* obj0
= 0 ;
4284 (char *) "self", NULL
4287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
4288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4289 if (SWIG_arg_fail(1)) SWIG_fail
;
4291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4292 result
= (PyObject
*)wxRealPoint_Get(arg1
);
4294 wxPyEndAllowThreads(__tstate
);
4295 if (PyErr_Occurred()) SWIG_fail
;
4304 static PyObject
* RealPoint_swigregister(PyObject
*, PyObject
*args
) {
4306 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4307 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
4309 return Py_BuildValue((char *)"");
4311 static PyObject
*_wrap_Point_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4312 PyObject
*resultobj
;
4313 wxPoint
*arg1
= (wxPoint
*) 0 ;
4315 PyObject
* obj0
= 0 ;
4316 PyObject
* obj1
= 0 ;
4318 (char *) "self",(char *) "x", NULL
4321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4323 if (SWIG_arg_fail(1)) SWIG_fail
;
4325 arg2
= (int)(SWIG_As_int(obj1
));
4326 if (SWIG_arg_fail(2)) SWIG_fail
;
4328 if (arg1
) (arg1
)->x
= arg2
;
4330 Py_INCREF(Py_None
); resultobj
= Py_None
;
4337 static PyObject
*_wrap_Point_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4338 PyObject
*resultobj
;
4339 wxPoint
*arg1
= (wxPoint
*) 0 ;
4341 PyObject
* obj0
= 0 ;
4343 (char *) "self", NULL
4346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
4347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4348 if (SWIG_arg_fail(1)) SWIG_fail
;
4349 result
= (int) ((arg1
)->x
);
4352 resultobj
= SWIG_From_int((int)(result
));
4360 static PyObject
*_wrap_Point_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4361 PyObject
*resultobj
;
4362 wxPoint
*arg1
= (wxPoint
*) 0 ;
4364 PyObject
* obj0
= 0 ;
4365 PyObject
* obj1
= 0 ;
4367 (char *) "self",(char *) "y", NULL
4370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4372 if (SWIG_arg_fail(1)) SWIG_fail
;
4374 arg2
= (int)(SWIG_As_int(obj1
));
4375 if (SWIG_arg_fail(2)) SWIG_fail
;
4377 if (arg1
) (arg1
)->y
= arg2
;
4379 Py_INCREF(Py_None
); resultobj
= Py_None
;
4386 static PyObject
*_wrap_Point_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4387 PyObject
*resultobj
;
4388 wxPoint
*arg1
= (wxPoint
*) 0 ;
4390 PyObject
* obj0
= 0 ;
4392 (char *) "self", NULL
4395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
4396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4397 if (SWIG_arg_fail(1)) SWIG_fail
;
4398 result
= (int) ((arg1
)->y
);
4401 resultobj
= SWIG_From_int((int)(result
));
4409 static PyObject
*_wrap_new_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4410 PyObject
*resultobj
;
4411 int arg1
= (int) 0 ;
4412 int arg2
= (int) 0 ;
4414 PyObject
* obj0
= 0 ;
4415 PyObject
* obj1
= 0 ;
4417 (char *) "x",(char *) "y", NULL
4420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
4423 arg1
= (int)(SWIG_As_int(obj0
));
4424 if (SWIG_arg_fail(1)) SWIG_fail
;
4429 arg2
= (int)(SWIG_As_int(obj1
));
4430 if (SWIG_arg_fail(2)) SWIG_fail
;
4434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4435 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
4437 wxPyEndAllowThreads(__tstate
);
4438 if (PyErr_Occurred()) SWIG_fail
;
4440 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4447 static PyObject
*_wrap_delete_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4448 PyObject
*resultobj
;
4449 wxPoint
*arg1
= (wxPoint
*) 0 ;
4450 PyObject
* obj0
= 0 ;
4452 (char *) "self", NULL
4455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
4456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4457 if (SWIG_arg_fail(1)) SWIG_fail
;
4459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4462 wxPyEndAllowThreads(__tstate
);
4463 if (PyErr_Occurred()) SWIG_fail
;
4465 Py_INCREF(Py_None
); resultobj
= Py_None
;
4472 static PyObject
*_wrap_Point___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4473 PyObject
*resultobj
;
4474 wxPoint
*arg1
= (wxPoint
*) 0 ;
4478 PyObject
* obj0
= 0 ;
4479 PyObject
* obj1
= 0 ;
4481 (char *) "self",(char *) "pt", NULL
4484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4486 if (SWIG_arg_fail(1)) SWIG_fail
;
4489 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4493 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
4495 wxPyEndAllowThreads(__tstate
);
4496 if (PyErr_Occurred()) SWIG_fail
;
4499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4507 static PyObject
*_wrap_Point___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4508 PyObject
*resultobj
;
4509 wxPoint
*arg1
= (wxPoint
*) 0 ;
4513 PyObject
* obj0
= 0 ;
4514 PyObject
* obj1
= 0 ;
4516 (char *) "self",(char *) "pt", NULL
4519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4521 if (SWIG_arg_fail(1)) SWIG_fail
;
4524 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4528 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
4530 wxPyEndAllowThreads(__tstate
);
4531 if (PyErr_Occurred()) SWIG_fail
;
4534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4542 static PyObject
*_wrap_Point___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4543 PyObject
*resultobj
;
4544 wxPoint
*arg1
= (wxPoint
*) 0 ;
4548 PyObject
* obj0
= 0 ;
4549 PyObject
* obj1
= 0 ;
4551 (char *) "self",(char *) "pt", NULL
4554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4556 if (SWIG_arg_fail(1)) SWIG_fail
;
4559 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4563 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
4565 wxPyEndAllowThreads(__tstate
);
4566 if (PyErr_Occurred()) SWIG_fail
;
4569 wxPoint
* resultptr
;
4570 resultptr
= new wxPoint((wxPoint
&)(result
));
4571 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4579 static PyObject
*_wrap_Point___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4580 PyObject
*resultobj
;
4581 wxPoint
*arg1
= (wxPoint
*) 0 ;
4585 PyObject
* obj0
= 0 ;
4586 PyObject
* obj1
= 0 ;
4588 (char *) "self",(char *) "pt", NULL
4591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4593 if (SWIG_arg_fail(1)) SWIG_fail
;
4596 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4600 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
4602 wxPyEndAllowThreads(__tstate
);
4603 if (PyErr_Occurred()) SWIG_fail
;
4606 wxPoint
* resultptr
;
4607 resultptr
= new wxPoint((wxPoint
&)(result
));
4608 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4616 static PyObject
*_wrap_Point___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4617 PyObject
*resultobj
;
4618 wxPoint
*arg1
= (wxPoint
*) 0 ;
4622 PyObject
* obj0
= 0 ;
4623 PyObject
* obj1
= 0 ;
4625 (char *) "self",(char *) "pt", NULL
4628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4630 if (SWIG_arg_fail(1)) SWIG_fail
;
4633 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4638 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
4639 result
= (wxPoint
*) &_result_ref
;
4642 wxPyEndAllowThreads(__tstate
);
4643 if (PyErr_Occurred()) SWIG_fail
;
4645 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4652 static PyObject
*_wrap_Point___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4653 PyObject
*resultobj
;
4654 wxPoint
*arg1
= (wxPoint
*) 0 ;
4658 PyObject
* obj0
= 0 ;
4659 PyObject
* obj1
= 0 ;
4661 (char *) "self",(char *) "pt", NULL
4664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4666 if (SWIG_arg_fail(1)) SWIG_fail
;
4669 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4674 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
4675 result
= (wxPoint
*) &_result_ref
;
4678 wxPyEndAllowThreads(__tstate
);
4679 if (PyErr_Occurred()) SWIG_fail
;
4681 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4688 static PyObject
*_wrap_Point_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4689 PyObject
*resultobj
;
4690 wxPoint
*arg1
= (wxPoint
*) 0 ;
4693 PyObject
* obj0
= 0 ;
4694 PyObject
* obj1
= 0 ;
4695 PyObject
* obj2
= 0 ;
4697 (char *) "self",(char *) "x",(char *) "y", NULL
4700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4702 if (SWIG_arg_fail(1)) SWIG_fail
;
4704 arg2
= (long)(SWIG_As_long(obj1
));
4705 if (SWIG_arg_fail(2)) SWIG_fail
;
4708 arg3
= (long)(SWIG_As_long(obj2
));
4709 if (SWIG_arg_fail(3)) SWIG_fail
;
4712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4713 wxPoint_Set(arg1
,arg2
,arg3
);
4715 wxPyEndAllowThreads(__tstate
);
4716 if (PyErr_Occurred()) SWIG_fail
;
4718 Py_INCREF(Py_None
); resultobj
= Py_None
;
4725 static PyObject
*_wrap_Point_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4726 PyObject
*resultobj
;
4727 wxPoint
*arg1
= (wxPoint
*) 0 ;
4729 PyObject
* obj0
= 0 ;
4731 (char *) "self", NULL
4734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
4735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4736 if (SWIG_arg_fail(1)) SWIG_fail
;
4738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4739 result
= (PyObject
*)wxPoint_Get(arg1
);
4741 wxPyEndAllowThreads(__tstate
);
4742 if (PyErr_Occurred()) SWIG_fail
;
4751 static PyObject
* Point_swigregister(PyObject
*, PyObject
*args
) {
4753 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4754 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
4756 return Py_BuildValue((char *)"");
4758 static PyObject
*_wrap_new_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4759 PyObject
*resultobj
;
4760 int arg1
= (int) 0 ;
4761 int arg2
= (int) 0 ;
4762 int arg3
= (int) 0 ;
4763 int arg4
= (int) 0 ;
4765 PyObject
* obj0
= 0 ;
4766 PyObject
* obj1
= 0 ;
4767 PyObject
* obj2
= 0 ;
4768 PyObject
* obj3
= 0 ;
4770 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4776 arg1
= (int)(SWIG_As_int(obj0
));
4777 if (SWIG_arg_fail(1)) SWIG_fail
;
4782 arg2
= (int)(SWIG_As_int(obj1
));
4783 if (SWIG_arg_fail(2)) SWIG_fail
;
4788 arg3
= (int)(SWIG_As_int(obj2
));
4789 if (SWIG_arg_fail(3)) SWIG_fail
;
4794 arg4
= (int)(SWIG_As_int(obj3
));
4795 if (SWIG_arg_fail(4)) SWIG_fail
;
4799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4800 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
4802 wxPyEndAllowThreads(__tstate
);
4803 if (PyErr_Occurred()) SWIG_fail
;
4805 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4812 static PyObject
*_wrap_new_RectPP(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4813 PyObject
*resultobj
;
4819 PyObject
* obj0
= 0 ;
4820 PyObject
* obj1
= 0 ;
4822 (char *) "topLeft",(char *) "bottomRight", NULL
4825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
4828 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4832 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4836 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
4838 wxPyEndAllowThreads(__tstate
);
4839 if (PyErr_Occurred()) SWIG_fail
;
4841 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4848 static PyObject
*_wrap_new_RectPS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4849 PyObject
*resultobj
;
4855 PyObject
* obj0
= 0 ;
4856 PyObject
* obj1
= 0 ;
4858 (char *) "pos",(char *) "size", NULL
4861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
4864 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4868 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4872 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
4874 wxPyEndAllowThreads(__tstate
);
4875 if (PyErr_Occurred()) SWIG_fail
;
4877 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4884 static PyObject
*_wrap_new_RectS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4885 PyObject
*resultobj
;
4889 PyObject
* obj0
= 0 ;
4891 (char *) "size", NULL
4894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RectS",kwnames
,&obj0
)) goto fail
;
4897 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
4900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4901 result
= (wxRect
*)new wxRect((wxSize
const &)*arg1
);
4903 wxPyEndAllowThreads(__tstate
);
4904 if (PyErr_Occurred()) SWIG_fail
;
4906 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4913 static PyObject
*_wrap_delete_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4914 PyObject
*resultobj
;
4915 wxRect
*arg1
= (wxRect
*) 0 ;
4916 PyObject
* obj0
= 0 ;
4918 (char *) "self", NULL
4921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
4922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4923 if (SWIG_arg_fail(1)) SWIG_fail
;
4925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4928 wxPyEndAllowThreads(__tstate
);
4929 if (PyErr_Occurred()) SWIG_fail
;
4931 Py_INCREF(Py_None
); resultobj
= Py_None
;
4938 static PyObject
*_wrap_Rect_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4939 PyObject
*resultobj
;
4940 wxRect
*arg1
= (wxRect
*) 0 ;
4942 PyObject
* obj0
= 0 ;
4944 (char *) "self", NULL
4947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",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();
4952 result
= (int)((wxRect
const *)arg1
)->GetX();
4954 wxPyEndAllowThreads(__tstate
);
4955 if (PyErr_Occurred()) SWIG_fail
;
4958 resultobj
= SWIG_From_int((int)(result
));
4966 static PyObject
*_wrap_Rect_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4967 PyObject
*resultobj
;
4968 wxRect
*arg1
= (wxRect
*) 0 ;
4970 PyObject
* obj0
= 0 ;
4971 PyObject
* obj1
= 0 ;
4973 (char *) "self",(char *) "x", NULL
4976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
4977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4978 if (SWIG_arg_fail(1)) SWIG_fail
;
4980 arg2
= (int)(SWIG_As_int(obj1
));
4981 if (SWIG_arg_fail(2)) SWIG_fail
;
4984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4987 wxPyEndAllowThreads(__tstate
);
4988 if (PyErr_Occurred()) SWIG_fail
;
4990 Py_INCREF(Py_None
); resultobj
= Py_None
;
4997 static PyObject
*_wrap_Rect_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4998 PyObject
*resultobj
;
4999 wxRect
*arg1
= (wxRect
*) 0 ;
5001 PyObject
* obj0
= 0 ;
5003 (char *) "self", NULL
5006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
5007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5008 if (SWIG_arg_fail(1)) SWIG_fail
;
5010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5011 result
= (int)(arg1
)->GetY();
5013 wxPyEndAllowThreads(__tstate
);
5014 if (PyErr_Occurred()) SWIG_fail
;
5017 resultobj
= SWIG_From_int((int)(result
));
5025 static PyObject
*_wrap_Rect_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5026 PyObject
*resultobj
;
5027 wxRect
*arg1
= (wxRect
*) 0 ;
5029 PyObject
* obj0
= 0 ;
5030 PyObject
* obj1
= 0 ;
5032 (char *) "self",(char *) "y", NULL
5035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
5036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5037 if (SWIG_arg_fail(1)) SWIG_fail
;
5039 arg2
= (int)(SWIG_As_int(obj1
));
5040 if (SWIG_arg_fail(2)) SWIG_fail
;
5043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5046 wxPyEndAllowThreads(__tstate
);
5047 if (PyErr_Occurred()) SWIG_fail
;
5049 Py_INCREF(Py_None
); resultobj
= Py_None
;
5056 static PyObject
*_wrap_Rect_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5057 PyObject
*resultobj
;
5058 wxRect
*arg1
= (wxRect
*) 0 ;
5060 PyObject
* obj0
= 0 ;
5062 (char *) "self", NULL
5065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
5066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5067 if (SWIG_arg_fail(1)) SWIG_fail
;
5069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5070 result
= (int)((wxRect
const *)arg1
)->GetWidth();
5072 wxPyEndAllowThreads(__tstate
);
5073 if (PyErr_Occurred()) SWIG_fail
;
5076 resultobj
= SWIG_From_int((int)(result
));
5084 static PyObject
*_wrap_Rect_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5085 PyObject
*resultobj
;
5086 wxRect
*arg1
= (wxRect
*) 0 ;
5088 PyObject
* obj0
= 0 ;
5089 PyObject
* obj1
= 0 ;
5091 (char *) "self",(char *) "w", NULL
5094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5096 if (SWIG_arg_fail(1)) SWIG_fail
;
5098 arg2
= (int)(SWIG_As_int(obj1
));
5099 if (SWIG_arg_fail(2)) SWIG_fail
;
5102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5103 (arg1
)->SetWidth(arg2
);
5105 wxPyEndAllowThreads(__tstate
);
5106 if (PyErr_Occurred()) SWIG_fail
;
5108 Py_INCREF(Py_None
); resultobj
= Py_None
;
5115 static PyObject
*_wrap_Rect_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5116 PyObject
*resultobj
;
5117 wxRect
*arg1
= (wxRect
*) 0 ;
5119 PyObject
* obj0
= 0 ;
5121 (char *) "self", NULL
5124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
5125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5126 if (SWIG_arg_fail(1)) SWIG_fail
;
5128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5129 result
= (int)((wxRect
const *)arg1
)->GetHeight();
5131 wxPyEndAllowThreads(__tstate
);
5132 if (PyErr_Occurred()) SWIG_fail
;
5135 resultobj
= SWIG_From_int((int)(result
));
5143 static PyObject
*_wrap_Rect_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5144 PyObject
*resultobj
;
5145 wxRect
*arg1
= (wxRect
*) 0 ;
5147 PyObject
* obj0
= 0 ;
5148 PyObject
* obj1
= 0 ;
5150 (char *) "self",(char *) "h", NULL
5153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5155 if (SWIG_arg_fail(1)) SWIG_fail
;
5157 arg2
= (int)(SWIG_As_int(obj1
));
5158 if (SWIG_arg_fail(2)) SWIG_fail
;
5161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5162 (arg1
)->SetHeight(arg2
);
5164 wxPyEndAllowThreads(__tstate
);
5165 if (PyErr_Occurred()) SWIG_fail
;
5167 Py_INCREF(Py_None
); resultobj
= Py_None
;
5174 static PyObject
*_wrap_Rect_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5175 PyObject
*resultobj
;
5176 wxRect
*arg1
= (wxRect
*) 0 ;
5178 PyObject
* obj0
= 0 ;
5180 (char *) "self", NULL
5183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
5184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5185 if (SWIG_arg_fail(1)) SWIG_fail
;
5187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5188 result
= ((wxRect
const *)arg1
)->GetPosition();
5190 wxPyEndAllowThreads(__tstate
);
5191 if (PyErr_Occurred()) SWIG_fail
;
5194 wxPoint
* resultptr
;
5195 resultptr
= new wxPoint((wxPoint
&)(result
));
5196 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5204 static PyObject
*_wrap_Rect_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5205 PyObject
*resultobj
;
5206 wxRect
*arg1
= (wxRect
*) 0 ;
5209 PyObject
* obj0
= 0 ;
5210 PyObject
* obj1
= 0 ;
5212 (char *) "self",(char *) "p", NULL
5215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
5216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5217 if (SWIG_arg_fail(1)) SWIG_fail
;
5220 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5224 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
5226 wxPyEndAllowThreads(__tstate
);
5227 if (PyErr_Occurred()) SWIG_fail
;
5229 Py_INCREF(Py_None
); resultobj
= Py_None
;
5236 static PyObject
*_wrap_Rect_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5237 PyObject
*resultobj
;
5238 wxRect
*arg1
= (wxRect
*) 0 ;
5240 PyObject
* obj0
= 0 ;
5242 (char *) "self", NULL
5245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
5246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5247 if (SWIG_arg_fail(1)) SWIG_fail
;
5249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5250 result
= ((wxRect
const *)arg1
)->GetSize();
5252 wxPyEndAllowThreads(__tstate
);
5253 if (PyErr_Occurred()) SWIG_fail
;
5257 resultptr
= new wxSize((wxSize
&)(result
));
5258 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5266 static PyObject
*_wrap_Rect_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5267 PyObject
*resultobj
;
5268 wxRect
*arg1
= (wxRect
*) 0 ;
5271 PyObject
* obj0
= 0 ;
5272 PyObject
* obj1
= 0 ;
5274 (char *) "self",(char *) "s", NULL
5277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5279 if (SWIG_arg_fail(1)) SWIG_fail
;
5282 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5286 (arg1
)->SetSize((wxSize
const &)*arg2
);
5288 wxPyEndAllowThreads(__tstate
);
5289 if (PyErr_Occurred()) SWIG_fail
;
5291 Py_INCREF(Py_None
); resultobj
= Py_None
;
5298 static PyObject
*_wrap_Rect_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5299 PyObject
*resultobj
;
5300 wxRect
*arg1
= (wxRect
*) 0 ;
5302 PyObject
* obj0
= 0 ;
5304 (char *) "self", NULL
5307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_IsEmpty",kwnames
,&obj0
)) goto fail
;
5308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5309 if (SWIG_arg_fail(1)) SWIG_fail
;
5311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5312 result
= (bool)((wxRect
const *)arg1
)->IsEmpty();
5314 wxPyEndAllowThreads(__tstate
);
5315 if (PyErr_Occurred()) SWIG_fail
;
5318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5326 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5327 PyObject
*resultobj
;
5328 wxRect
*arg1
= (wxRect
*) 0 ;
5330 PyObject
* obj0
= 0 ;
5332 (char *) "self", NULL
5335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
5336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5337 if (SWIG_arg_fail(1)) SWIG_fail
;
5339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5340 result
= ((wxRect
const *)arg1
)->GetTopLeft();
5342 wxPyEndAllowThreads(__tstate
);
5343 if (PyErr_Occurred()) SWIG_fail
;
5346 wxPoint
* resultptr
;
5347 resultptr
= new wxPoint((wxPoint
&)(result
));
5348 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5356 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5357 PyObject
*resultobj
;
5358 wxRect
*arg1
= (wxRect
*) 0 ;
5361 PyObject
* obj0
= 0 ;
5362 PyObject
* obj1
= 0 ;
5364 (char *) "self",(char *) "p", NULL
5367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5369 if (SWIG_arg_fail(1)) SWIG_fail
;
5372 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5376 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
5378 wxPyEndAllowThreads(__tstate
);
5379 if (PyErr_Occurred()) SWIG_fail
;
5381 Py_INCREF(Py_None
); resultobj
= Py_None
;
5388 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5389 PyObject
*resultobj
;
5390 wxRect
*arg1
= (wxRect
*) 0 ;
5392 PyObject
* obj0
= 0 ;
5394 (char *) "self", NULL
5397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
5398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5399 if (SWIG_arg_fail(1)) SWIG_fail
;
5401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5402 result
= ((wxRect
const *)arg1
)->GetBottomRight();
5404 wxPyEndAllowThreads(__tstate
);
5405 if (PyErr_Occurred()) SWIG_fail
;
5408 wxPoint
* resultptr
;
5409 resultptr
= new wxPoint((wxPoint
&)(result
));
5410 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5418 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5419 PyObject
*resultobj
;
5420 wxRect
*arg1
= (wxRect
*) 0 ;
5423 PyObject
* obj0
= 0 ;
5424 PyObject
* obj1
= 0 ;
5426 (char *) "self",(char *) "p", NULL
5429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5431 if (SWIG_arg_fail(1)) SWIG_fail
;
5434 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5438 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
5440 wxPyEndAllowThreads(__tstate
);
5441 if (PyErr_Occurred()) SWIG_fail
;
5443 Py_INCREF(Py_None
); resultobj
= Py_None
;
5450 static PyObject
*_wrap_Rect_GetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5451 PyObject
*resultobj
;
5452 wxRect
*arg1
= (wxRect
*) 0 ;
5454 PyObject
* obj0
= 0 ;
5456 (char *) "self", NULL
5459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
5460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5461 if (SWIG_arg_fail(1)) SWIG_fail
;
5463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5464 result
= (int)((wxRect
const *)arg1
)->GetLeft();
5466 wxPyEndAllowThreads(__tstate
);
5467 if (PyErr_Occurred()) SWIG_fail
;
5470 resultobj
= SWIG_From_int((int)(result
));
5478 static PyObject
*_wrap_Rect_GetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5479 PyObject
*resultobj
;
5480 wxRect
*arg1
= (wxRect
*) 0 ;
5482 PyObject
* obj0
= 0 ;
5484 (char *) "self", NULL
5487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
5488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5489 if (SWIG_arg_fail(1)) SWIG_fail
;
5491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5492 result
= (int)((wxRect
const *)arg1
)->GetTop();
5494 wxPyEndAllowThreads(__tstate
);
5495 if (PyErr_Occurred()) SWIG_fail
;
5498 resultobj
= SWIG_From_int((int)(result
));
5506 static PyObject
*_wrap_Rect_GetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5507 PyObject
*resultobj
;
5508 wxRect
*arg1
= (wxRect
*) 0 ;
5510 PyObject
* obj0
= 0 ;
5512 (char *) "self", NULL
5515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
5516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5517 if (SWIG_arg_fail(1)) SWIG_fail
;
5519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5520 result
= (int)((wxRect
const *)arg1
)->GetBottom();
5522 wxPyEndAllowThreads(__tstate
);
5523 if (PyErr_Occurred()) SWIG_fail
;
5526 resultobj
= SWIG_From_int((int)(result
));
5534 static PyObject
*_wrap_Rect_GetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5535 PyObject
*resultobj
;
5536 wxRect
*arg1
= (wxRect
*) 0 ;
5538 PyObject
* obj0
= 0 ;
5540 (char *) "self", NULL
5543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
5544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5545 if (SWIG_arg_fail(1)) SWIG_fail
;
5547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5548 result
= (int)((wxRect
const *)arg1
)->GetRight();
5550 wxPyEndAllowThreads(__tstate
);
5551 if (PyErr_Occurred()) SWIG_fail
;
5554 resultobj
= SWIG_From_int((int)(result
));
5562 static PyObject
*_wrap_Rect_SetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5563 PyObject
*resultobj
;
5564 wxRect
*arg1
= (wxRect
*) 0 ;
5566 PyObject
* obj0
= 0 ;
5567 PyObject
* obj1
= 0 ;
5569 (char *) "self",(char *) "left", NULL
5572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5574 if (SWIG_arg_fail(1)) SWIG_fail
;
5576 arg2
= (int)(SWIG_As_int(obj1
));
5577 if (SWIG_arg_fail(2)) SWIG_fail
;
5580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5581 (arg1
)->SetLeft(arg2
);
5583 wxPyEndAllowThreads(__tstate
);
5584 if (PyErr_Occurred()) SWIG_fail
;
5586 Py_INCREF(Py_None
); resultobj
= Py_None
;
5593 static PyObject
*_wrap_Rect_SetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5594 PyObject
*resultobj
;
5595 wxRect
*arg1
= (wxRect
*) 0 ;
5597 PyObject
* obj0
= 0 ;
5598 PyObject
* obj1
= 0 ;
5600 (char *) "self",(char *) "right", NULL
5603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5605 if (SWIG_arg_fail(1)) SWIG_fail
;
5607 arg2
= (int)(SWIG_As_int(obj1
));
5608 if (SWIG_arg_fail(2)) SWIG_fail
;
5611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5612 (arg1
)->SetRight(arg2
);
5614 wxPyEndAllowThreads(__tstate
);
5615 if (PyErr_Occurred()) SWIG_fail
;
5617 Py_INCREF(Py_None
); resultobj
= Py_None
;
5624 static PyObject
*_wrap_Rect_SetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5625 PyObject
*resultobj
;
5626 wxRect
*arg1
= (wxRect
*) 0 ;
5628 PyObject
* obj0
= 0 ;
5629 PyObject
* obj1
= 0 ;
5631 (char *) "self",(char *) "top", NULL
5634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
5635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5636 if (SWIG_arg_fail(1)) SWIG_fail
;
5638 arg2
= (int)(SWIG_As_int(obj1
));
5639 if (SWIG_arg_fail(2)) SWIG_fail
;
5642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5643 (arg1
)->SetTop(arg2
);
5645 wxPyEndAllowThreads(__tstate
);
5646 if (PyErr_Occurred()) SWIG_fail
;
5648 Py_INCREF(Py_None
); resultobj
= Py_None
;
5655 static PyObject
*_wrap_Rect_SetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5656 PyObject
*resultobj
;
5657 wxRect
*arg1
= (wxRect
*) 0 ;
5659 PyObject
* obj0
= 0 ;
5660 PyObject
* obj1
= 0 ;
5662 (char *) "self",(char *) "bottom", NULL
5665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
5666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5667 if (SWIG_arg_fail(1)) SWIG_fail
;
5669 arg2
= (int)(SWIG_As_int(obj1
));
5670 if (SWIG_arg_fail(2)) SWIG_fail
;
5673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5674 (arg1
)->SetBottom(arg2
);
5676 wxPyEndAllowThreads(__tstate
);
5677 if (PyErr_Occurred()) SWIG_fail
;
5679 Py_INCREF(Py_None
); resultobj
= Py_None
;
5686 static PyObject
*_wrap_Rect_Inflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5687 PyObject
*resultobj
;
5688 wxRect
*arg1
= (wxRect
*) 0 ;
5692 PyObject
* obj0
= 0 ;
5693 PyObject
* obj1
= 0 ;
5694 PyObject
* obj2
= 0 ;
5696 (char *) "self",(char *) "dx",(char *) "dy", NULL
5699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5701 if (SWIG_arg_fail(1)) SWIG_fail
;
5703 arg2
= (int)(SWIG_As_int(obj1
));
5704 if (SWIG_arg_fail(2)) SWIG_fail
;
5707 arg3
= (int)(SWIG_As_int(obj2
));
5708 if (SWIG_arg_fail(3)) SWIG_fail
;
5711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5713 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
5714 result
= (wxRect
*) &_result_ref
;
5717 wxPyEndAllowThreads(__tstate
);
5718 if (PyErr_Occurred()) SWIG_fail
;
5720 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5727 static PyObject
*_wrap_Rect_Deflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5728 PyObject
*resultobj
;
5729 wxRect
*arg1
= (wxRect
*) 0 ;
5733 PyObject
* obj0
= 0 ;
5734 PyObject
* obj1
= 0 ;
5735 PyObject
* obj2
= 0 ;
5737 (char *) "self",(char *) "dx",(char *) "dy", NULL
5740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5742 if (SWIG_arg_fail(1)) SWIG_fail
;
5744 arg2
= (int)(SWIG_As_int(obj1
));
5745 if (SWIG_arg_fail(2)) SWIG_fail
;
5748 arg3
= (int)(SWIG_As_int(obj2
));
5749 if (SWIG_arg_fail(3)) SWIG_fail
;
5752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5754 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
5755 result
= (wxRect
*) &_result_ref
;
5758 wxPyEndAllowThreads(__tstate
);
5759 if (PyErr_Occurred()) SWIG_fail
;
5761 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5768 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5769 PyObject
*resultobj
;
5770 wxRect
*arg1
= (wxRect
*) 0 ;
5773 PyObject
* obj0
= 0 ;
5774 PyObject
* obj1
= 0 ;
5775 PyObject
* obj2
= 0 ;
5777 (char *) "self",(char *) "dx",(char *) "dy", NULL
5780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5782 if (SWIG_arg_fail(1)) SWIG_fail
;
5784 arg2
= (int)(SWIG_As_int(obj1
));
5785 if (SWIG_arg_fail(2)) SWIG_fail
;
5788 arg3
= (int)(SWIG_As_int(obj2
));
5789 if (SWIG_arg_fail(3)) SWIG_fail
;
5792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5793 (arg1
)->Offset(arg2
,arg3
);
5795 wxPyEndAllowThreads(__tstate
);
5796 if (PyErr_Occurred()) SWIG_fail
;
5798 Py_INCREF(Py_None
); resultobj
= Py_None
;
5805 static PyObject
*_wrap_Rect_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5806 PyObject
*resultobj
;
5807 wxRect
*arg1
= (wxRect
*) 0 ;
5810 PyObject
* obj0
= 0 ;
5811 PyObject
* obj1
= 0 ;
5813 (char *) "self",(char *) "pt", NULL
5816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
5817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5818 if (SWIG_arg_fail(1)) SWIG_fail
;
5821 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5825 (arg1
)->Offset((wxPoint
const &)*arg2
);
5827 wxPyEndAllowThreads(__tstate
);
5828 if (PyErr_Occurred()) SWIG_fail
;
5830 Py_INCREF(Py_None
); resultobj
= Py_None
;
5837 static PyObject
*_wrap_Rect_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5838 PyObject
*resultobj
;
5839 wxRect
*arg1
= (wxRect
*) 0 ;
5843 PyObject
* obj0
= 0 ;
5844 PyObject
* obj1
= 0 ;
5846 (char *) "self",(char *) "rect", NULL
5849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
5850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5851 if (SWIG_arg_fail(1)) SWIG_fail
;
5854 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5858 result
= (arg1
)->Intersect((wxRect
const &)*arg2
);
5860 wxPyEndAllowThreads(__tstate
);
5861 if (PyErr_Occurred()) SWIG_fail
;
5865 resultptr
= new wxRect((wxRect
&)(result
));
5866 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5874 static PyObject
*_wrap_Rect_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5875 PyObject
*resultobj
;
5876 wxRect
*arg1
= (wxRect
*) 0 ;
5880 PyObject
* obj0
= 0 ;
5881 PyObject
* obj1
= 0 ;
5883 (char *) "self",(char *) "rect", NULL
5886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Union",kwnames
,&obj0
,&obj1
)) goto fail
;
5887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5888 if (SWIG_arg_fail(1)) SWIG_fail
;
5891 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5895 result
= (arg1
)->Union((wxRect
const &)*arg2
);
5897 wxPyEndAllowThreads(__tstate
);
5898 if (PyErr_Occurred()) SWIG_fail
;
5902 resultptr
= new wxRect((wxRect
&)(result
));
5903 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5911 static PyObject
*_wrap_Rect___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5912 PyObject
*resultobj
;
5913 wxRect
*arg1
= (wxRect
*) 0 ;
5917 PyObject
* obj0
= 0 ;
5918 PyObject
* obj1
= 0 ;
5920 (char *) "self",(char *) "rect", NULL
5923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
5924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5925 if (SWIG_arg_fail(1)) SWIG_fail
;
5928 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5932 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
5934 wxPyEndAllowThreads(__tstate
);
5935 if (PyErr_Occurred()) SWIG_fail
;
5939 resultptr
= new wxRect((wxRect
&)(result
));
5940 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5948 static PyObject
*_wrap_Rect___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5949 PyObject
*resultobj
;
5950 wxRect
*arg1
= (wxRect
*) 0 ;
5954 PyObject
* obj0
= 0 ;
5955 PyObject
* obj1
= 0 ;
5957 (char *) "self",(char *) "rect", NULL
5960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
5962 if (SWIG_arg_fail(1)) SWIG_fail
;
5965 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5970 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
5971 result
= (wxRect
*) &_result_ref
;
5974 wxPyEndAllowThreads(__tstate
);
5975 if (PyErr_Occurred()) SWIG_fail
;
5977 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
5984 static PyObject
*_wrap_Rect___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5985 PyObject
*resultobj
;
5986 wxRect
*arg1
= (wxRect
*) 0 ;
5990 PyObject
* obj0
= 0 ;
5991 PyObject
* obj1
= 0 ;
5993 (char *) "self",(char *) "rect", NULL
5996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5998 if (SWIG_arg_fail(1)) SWIG_fail
;
6001 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6005 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
6007 wxPyEndAllowThreads(__tstate
);
6008 if (PyErr_Occurred()) SWIG_fail
;
6011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6019 static PyObject
*_wrap_Rect___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6020 PyObject
*resultobj
;
6021 wxRect
*arg1
= (wxRect
*) 0 ;
6025 PyObject
* obj0
= 0 ;
6026 PyObject
* obj1
= 0 ;
6028 (char *) "self",(char *) "rect", NULL
6031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
6032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6033 if (SWIG_arg_fail(1)) SWIG_fail
;
6036 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6040 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
6042 wxPyEndAllowThreads(__tstate
);
6043 if (PyErr_Occurred()) SWIG_fail
;
6046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6054 static PyObject
*_wrap_Rect_InsideXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6055 PyObject
*resultobj
;
6056 wxRect
*arg1
= (wxRect
*) 0 ;
6060 PyObject
* obj0
= 0 ;
6061 PyObject
* obj1
= 0 ;
6062 PyObject
* obj2
= 0 ;
6064 (char *) "self",(char *) "x",(char *) "y", NULL
6067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6069 if (SWIG_arg_fail(1)) SWIG_fail
;
6071 arg2
= (int)(SWIG_As_int(obj1
));
6072 if (SWIG_arg_fail(2)) SWIG_fail
;
6075 arg3
= (int)(SWIG_As_int(obj2
));
6076 if (SWIG_arg_fail(3)) SWIG_fail
;
6079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6080 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
6082 wxPyEndAllowThreads(__tstate
);
6083 if (PyErr_Occurred()) SWIG_fail
;
6086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6094 static PyObject
*_wrap_Rect_Inside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6095 PyObject
*resultobj
;
6096 wxRect
*arg1
= (wxRect
*) 0 ;
6100 PyObject
* obj0
= 0 ;
6101 PyObject
* obj1
= 0 ;
6103 (char *) "self",(char *) "pt", NULL
6106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
6107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6108 if (SWIG_arg_fail(1)) SWIG_fail
;
6111 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6115 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
6117 wxPyEndAllowThreads(__tstate
);
6118 if (PyErr_Occurred()) SWIG_fail
;
6121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6129 static PyObject
*_wrap_Rect_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6130 PyObject
*resultobj
;
6131 wxRect
*arg1
= (wxRect
*) 0 ;
6135 PyObject
* obj0
= 0 ;
6136 PyObject
* obj1
= 0 ;
6138 (char *) "self",(char *) "rect", NULL
6141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
6142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6143 if (SWIG_arg_fail(1)) SWIG_fail
;
6146 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6150 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
6152 wxPyEndAllowThreads(__tstate
);
6153 if (PyErr_Occurred()) SWIG_fail
;
6156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6164 static PyObject
*_wrap_Rect_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6165 PyObject
*resultobj
;
6166 wxRect
*arg1
= (wxRect
*) 0 ;
6168 PyObject
* obj0
= 0 ;
6169 PyObject
* obj1
= 0 ;
6171 (char *) "self",(char *) "x", NULL
6174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6176 if (SWIG_arg_fail(1)) SWIG_fail
;
6178 arg2
= (int)(SWIG_As_int(obj1
));
6179 if (SWIG_arg_fail(2)) SWIG_fail
;
6181 if (arg1
) (arg1
)->x
= arg2
;
6183 Py_INCREF(Py_None
); resultobj
= Py_None
;
6190 static PyObject
*_wrap_Rect_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6191 PyObject
*resultobj
;
6192 wxRect
*arg1
= (wxRect
*) 0 ;
6194 PyObject
* obj0
= 0 ;
6196 (char *) "self", NULL
6199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
6200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6201 if (SWIG_arg_fail(1)) SWIG_fail
;
6202 result
= (int) ((arg1
)->x
);
6205 resultobj
= SWIG_From_int((int)(result
));
6213 static PyObject
*_wrap_Rect_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6214 PyObject
*resultobj
;
6215 wxRect
*arg1
= (wxRect
*) 0 ;
6217 PyObject
* obj0
= 0 ;
6218 PyObject
* obj1
= 0 ;
6220 (char *) "self",(char *) "y", NULL
6223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6225 if (SWIG_arg_fail(1)) SWIG_fail
;
6227 arg2
= (int)(SWIG_As_int(obj1
));
6228 if (SWIG_arg_fail(2)) SWIG_fail
;
6230 if (arg1
) (arg1
)->y
= arg2
;
6232 Py_INCREF(Py_None
); resultobj
= Py_None
;
6239 static PyObject
*_wrap_Rect_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6240 PyObject
*resultobj
;
6241 wxRect
*arg1
= (wxRect
*) 0 ;
6243 PyObject
* obj0
= 0 ;
6245 (char *) "self", NULL
6248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
6249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6250 if (SWIG_arg_fail(1)) SWIG_fail
;
6251 result
= (int) ((arg1
)->y
);
6254 resultobj
= SWIG_From_int((int)(result
));
6262 static PyObject
*_wrap_Rect_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6263 PyObject
*resultobj
;
6264 wxRect
*arg1
= (wxRect
*) 0 ;
6266 PyObject
* obj0
= 0 ;
6267 PyObject
* obj1
= 0 ;
6269 (char *) "self",(char *) "width", NULL
6272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6274 if (SWIG_arg_fail(1)) SWIG_fail
;
6276 arg2
= (int)(SWIG_As_int(obj1
));
6277 if (SWIG_arg_fail(2)) SWIG_fail
;
6279 if (arg1
) (arg1
)->width
= arg2
;
6281 Py_INCREF(Py_None
); resultobj
= Py_None
;
6288 static PyObject
*_wrap_Rect_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6289 PyObject
*resultobj
;
6290 wxRect
*arg1
= (wxRect
*) 0 ;
6292 PyObject
* obj0
= 0 ;
6294 (char *) "self", NULL
6297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
6298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6299 if (SWIG_arg_fail(1)) SWIG_fail
;
6300 result
= (int) ((arg1
)->width
);
6303 resultobj
= SWIG_From_int((int)(result
));
6311 static PyObject
*_wrap_Rect_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6312 PyObject
*resultobj
;
6313 wxRect
*arg1
= (wxRect
*) 0 ;
6315 PyObject
* obj0
= 0 ;
6316 PyObject
* obj1
= 0 ;
6318 (char *) "self",(char *) "height", NULL
6321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6323 if (SWIG_arg_fail(1)) SWIG_fail
;
6325 arg2
= (int)(SWIG_As_int(obj1
));
6326 if (SWIG_arg_fail(2)) SWIG_fail
;
6328 if (arg1
) (arg1
)->height
= arg2
;
6330 Py_INCREF(Py_None
); resultobj
= Py_None
;
6337 static PyObject
*_wrap_Rect_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6338 PyObject
*resultobj
;
6339 wxRect
*arg1
= (wxRect
*) 0 ;
6341 PyObject
* obj0
= 0 ;
6343 (char *) "self", NULL
6346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
6347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6348 if (SWIG_arg_fail(1)) SWIG_fail
;
6349 result
= (int) ((arg1
)->height
);
6352 resultobj
= SWIG_From_int((int)(result
));
6360 static PyObject
*_wrap_Rect_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6361 PyObject
*resultobj
;
6362 wxRect
*arg1
= (wxRect
*) 0 ;
6363 int arg2
= (int) 0 ;
6364 int arg3
= (int) 0 ;
6365 int arg4
= (int) 0 ;
6366 int arg5
= (int) 0 ;
6367 PyObject
* obj0
= 0 ;
6368 PyObject
* obj1
= 0 ;
6369 PyObject
* obj2
= 0 ;
6370 PyObject
* obj3
= 0 ;
6371 PyObject
* obj4
= 0 ;
6373 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6378 if (SWIG_arg_fail(1)) SWIG_fail
;
6381 arg2
= (int)(SWIG_As_int(obj1
));
6382 if (SWIG_arg_fail(2)) SWIG_fail
;
6387 arg3
= (int)(SWIG_As_int(obj2
));
6388 if (SWIG_arg_fail(3)) SWIG_fail
;
6393 arg4
= (int)(SWIG_As_int(obj3
));
6394 if (SWIG_arg_fail(4)) SWIG_fail
;
6399 arg5
= (int)(SWIG_As_int(obj4
));
6400 if (SWIG_arg_fail(5)) SWIG_fail
;
6404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6405 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
6407 wxPyEndAllowThreads(__tstate
);
6408 if (PyErr_Occurred()) SWIG_fail
;
6410 Py_INCREF(Py_None
); resultobj
= Py_None
;
6417 static PyObject
*_wrap_Rect_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6418 PyObject
*resultobj
;
6419 wxRect
*arg1
= (wxRect
*) 0 ;
6421 PyObject
* obj0
= 0 ;
6423 (char *) "self", NULL
6426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
6427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6428 if (SWIG_arg_fail(1)) SWIG_fail
;
6430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6431 result
= (PyObject
*)wxRect_Get(arg1
);
6433 wxPyEndAllowThreads(__tstate
);
6434 if (PyErr_Occurred()) SWIG_fail
;
6443 static PyObject
* Rect_swigregister(PyObject
*, PyObject
*args
) {
6445 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6446 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
6448 return Py_BuildValue((char *)"");
6450 static PyObject
*_wrap_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6451 PyObject
*resultobj
;
6452 wxRect
*arg1
= (wxRect
*) 0 ;
6453 wxRect
*arg2
= (wxRect
*) 0 ;
6455 PyObject
* obj0
= 0 ;
6456 PyObject
* obj1
= 0 ;
6458 (char *) "r1",(char *) "r2", NULL
6461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6463 if (SWIG_arg_fail(1)) SWIG_fail
;
6464 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6465 if (SWIG_arg_fail(2)) SWIG_fail
;
6467 if (!wxPyCheckForApp()) SWIG_fail
;
6468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6469 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
6471 wxPyEndAllowThreads(__tstate
);
6472 if (PyErr_Occurred()) SWIG_fail
;
6481 static PyObject
*_wrap_new_Point2D(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6482 PyObject
*resultobj
;
6483 double arg1
= (double) 0.0 ;
6484 double arg2
= (double) 0.0 ;
6486 PyObject
* obj0
= 0 ;
6487 PyObject
* obj1
= 0 ;
6489 (char *) "x",(char *) "y", NULL
6492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
6495 arg1
= (double)(SWIG_As_double(obj0
));
6496 if (SWIG_arg_fail(1)) SWIG_fail
;
6501 arg2
= (double)(SWIG_As_double(obj1
));
6502 if (SWIG_arg_fail(2)) SWIG_fail
;
6506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6507 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
6509 wxPyEndAllowThreads(__tstate
);
6510 if (PyErr_Occurred()) SWIG_fail
;
6512 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6519 static PyObject
*_wrap_new_Point2DCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6520 PyObject
*resultobj
;
6521 wxPoint2D
*arg1
= 0 ;
6524 PyObject
* obj0
= 0 ;
6529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
6532 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
6535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6536 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
6538 wxPyEndAllowThreads(__tstate
);
6539 if (PyErr_Occurred()) SWIG_fail
;
6541 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6548 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6549 PyObject
*resultobj
;
6553 PyObject
* obj0
= 0 ;
6558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
6561 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6565 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
6567 wxPyEndAllowThreads(__tstate
);
6568 if (PyErr_Occurred()) SWIG_fail
;
6570 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6577 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6578 PyObject
*resultobj
;
6579 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6580 int *arg2
= (int *) 0 ;
6581 int *arg3
= (int *) 0 ;
6586 PyObject
* obj0
= 0 ;
6588 (char *) "self", NULL
6591 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6592 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
6594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6595 if (SWIG_arg_fail(1)) SWIG_fail
;
6597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6598 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
6600 wxPyEndAllowThreads(__tstate
);
6601 if (PyErr_Occurred()) SWIG_fail
;
6603 Py_INCREF(Py_None
); resultobj
= Py_None
;
6604 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6605 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6606 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6607 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6614 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6615 PyObject
*resultobj
;
6616 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6617 int *arg2
= (int *) 0 ;
6618 int *arg3
= (int *) 0 ;
6623 PyObject
* obj0
= 0 ;
6625 (char *) "self", NULL
6628 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6629 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
6631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6632 if (SWIG_arg_fail(1)) SWIG_fail
;
6634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6635 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
6637 wxPyEndAllowThreads(__tstate
);
6638 if (PyErr_Occurred()) SWIG_fail
;
6640 Py_INCREF(Py_None
); resultobj
= Py_None
;
6641 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6642 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6643 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6644 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6651 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6652 PyObject
*resultobj
;
6653 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6655 PyObject
* obj0
= 0 ;
6657 (char *) "self", NULL
6660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
6661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6662 if (SWIG_arg_fail(1)) SWIG_fail
;
6664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6665 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
6667 wxPyEndAllowThreads(__tstate
);
6668 if (PyErr_Occurred()) SWIG_fail
;
6671 resultobj
= SWIG_From_double((double)(result
));
6679 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6680 PyObject
*resultobj
;
6681 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6683 PyObject
* obj0
= 0 ;
6685 (char *) "self", NULL
6688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
6689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6690 if (SWIG_arg_fail(1)) SWIG_fail
;
6692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6693 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
6695 wxPyEndAllowThreads(__tstate
);
6696 if (PyErr_Occurred()) SWIG_fail
;
6699 resultobj
= SWIG_From_double((double)(result
));
6707 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6708 PyObject
*resultobj
;
6709 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6711 PyObject
* obj0
= 0 ;
6712 PyObject
* obj1
= 0 ;
6714 (char *) "self",(char *) "length", NULL
6717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
6718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6719 if (SWIG_arg_fail(1)) SWIG_fail
;
6721 arg2
= (double)(SWIG_As_double(obj1
));
6722 if (SWIG_arg_fail(2)) SWIG_fail
;
6725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6726 (arg1
)->SetVectorLength(arg2
);
6728 wxPyEndAllowThreads(__tstate
);
6729 if (PyErr_Occurred()) SWIG_fail
;
6731 Py_INCREF(Py_None
); resultobj
= Py_None
;
6738 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6739 PyObject
*resultobj
;
6740 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6742 PyObject
* obj0
= 0 ;
6743 PyObject
* obj1
= 0 ;
6745 (char *) "self",(char *) "degrees", NULL
6748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
6749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6750 if (SWIG_arg_fail(1)) SWIG_fail
;
6752 arg2
= (double)(SWIG_As_double(obj1
));
6753 if (SWIG_arg_fail(2)) SWIG_fail
;
6756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6757 (arg1
)->SetVectorAngle(arg2
);
6759 wxPyEndAllowThreads(__tstate
);
6760 if (PyErr_Occurred()) SWIG_fail
;
6762 Py_INCREF(Py_None
); resultobj
= Py_None
;
6769 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6770 PyObject
*resultobj
;
6771 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6772 wxPoint2D
*arg2
= 0 ;
6775 PyObject
* obj0
= 0 ;
6776 PyObject
* obj1
= 0 ;
6778 (char *) "self",(char *) "pt", NULL
6781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
6782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6783 if (SWIG_arg_fail(1)) SWIG_fail
;
6786 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6790 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
6792 wxPyEndAllowThreads(__tstate
);
6793 if (PyErr_Occurred()) SWIG_fail
;
6796 resultobj
= SWIG_From_double((double)(result
));
6804 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6805 PyObject
*resultobj
;
6806 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6807 wxPoint2D
*arg2
= 0 ;
6810 PyObject
* obj0
= 0 ;
6811 PyObject
* obj1
= 0 ;
6813 (char *) "self",(char *) "pt", NULL
6816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
6817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6818 if (SWIG_arg_fail(1)) SWIG_fail
;
6821 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6825 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
6827 wxPyEndAllowThreads(__tstate
);
6828 if (PyErr_Occurred()) SWIG_fail
;
6831 resultobj
= SWIG_From_double((double)(result
));
6839 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6840 PyObject
*resultobj
;
6841 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6842 wxPoint2D
*arg2
= 0 ;
6845 PyObject
* obj0
= 0 ;
6846 PyObject
* obj1
= 0 ;
6848 (char *) "self",(char *) "vec", NULL
6851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6853 if (SWIG_arg_fail(1)) SWIG_fail
;
6856 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6860 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
6862 wxPyEndAllowThreads(__tstate
);
6863 if (PyErr_Occurred()) SWIG_fail
;
6866 resultobj
= SWIG_From_double((double)(result
));
6874 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6875 PyObject
*resultobj
;
6876 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6877 wxPoint2D
*arg2
= 0 ;
6880 PyObject
* obj0
= 0 ;
6881 PyObject
* obj1
= 0 ;
6883 (char *) "self",(char *) "vec", NULL
6886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6888 if (SWIG_arg_fail(1)) SWIG_fail
;
6891 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6895 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
6897 wxPyEndAllowThreads(__tstate
);
6898 if (PyErr_Occurred()) SWIG_fail
;
6901 resultobj
= SWIG_From_double((double)(result
));
6909 static PyObject
*_wrap_Point2D___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6910 PyObject
*resultobj
;
6911 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6913 PyObject
* obj0
= 0 ;
6915 (char *) "self", NULL
6918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
6919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6920 if (SWIG_arg_fail(1)) SWIG_fail
;
6922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6923 result
= (arg1
)->operator -();
6925 wxPyEndAllowThreads(__tstate
);
6926 if (PyErr_Occurred()) SWIG_fail
;
6929 wxPoint2D
* resultptr
;
6930 resultptr
= new wxPoint2D((wxPoint2D
&)(result
));
6931 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
6939 static PyObject
*_wrap_Point2D___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6940 PyObject
*resultobj
;
6941 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6942 wxPoint2D
*arg2
= 0 ;
6945 PyObject
* obj0
= 0 ;
6946 PyObject
* obj1
= 0 ;
6948 (char *) "self",(char *) "pt", NULL
6951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
6952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6953 if (SWIG_arg_fail(1)) SWIG_fail
;
6956 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6961 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
6962 result
= (wxPoint2D
*) &_result_ref
;
6965 wxPyEndAllowThreads(__tstate
);
6966 if (PyErr_Occurred()) SWIG_fail
;
6968 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6975 static PyObject
*_wrap_Point2D___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6976 PyObject
*resultobj
;
6977 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6978 wxPoint2D
*arg2
= 0 ;
6981 PyObject
* obj0
= 0 ;
6982 PyObject
* obj1
= 0 ;
6984 (char *) "self",(char *) "pt", NULL
6987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
6988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6989 if (SWIG_arg_fail(1)) SWIG_fail
;
6992 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6997 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
6998 result
= (wxPoint2D
*) &_result_ref
;
7001 wxPyEndAllowThreads(__tstate
);
7002 if (PyErr_Occurred()) SWIG_fail
;
7004 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7011 static PyObject
*_wrap_Point2D___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7012 PyObject
*resultobj
;
7013 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7014 wxPoint2D
*arg2
= 0 ;
7017 PyObject
* obj0
= 0 ;
7018 PyObject
* obj1
= 0 ;
7020 (char *) "self",(char *) "pt", NULL
7023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
7024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7025 if (SWIG_arg_fail(1)) SWIG_fail
;
7028 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7033 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
7034 result
= (wxPoint2D
*) &_result_ref
;
7037 wxPyEndAllowThreads(__tstate
);
7038 if (PyErr_Occurred()) SWIG_fail
;
7040 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7047 static PyObject
*_wrap_Point2D___idiv__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7048 PyObject
*resultobj
;
7049 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7050 wxPoint2D
*arg2
= 0 ;
7053 PyObject
* obj0
= 0 ;
7054 PyObject
* obj1
= 0 ;
7056 (char *) "self",(char *) "pt", NULL
7059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
7060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7061 if (SWIG_arg_fail(1)) SWIG_fail
;
7064 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7069 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
7070 result
= (wxPoint2D
*) &_result_ref
;
7073 wxPyEndAllowThreads(__tstate
);
7074 if (PyErr_Occurred()) SWIG_fail
;
7076 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7083 static PyObject
*_wrap_Point2D___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7084 PyObject
*resultobj
;
7085 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7086 wxPoint2D
*arg2
= 0 ;
7089 PyObject
* obj0
= 0 ;
7090 PyObject
* obj1
= 0 ;
7092 (char *) "self",(char *) "pt", NULL
7095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7097 if (SWIG_arg_fail(1)) SWIG_fail
;
7100 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7104 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
7106 wxPyEndAllowThreads(__tstate
);
7107 if (PyErr_Occurred()) SWIG_fail
;
7110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7118 static PyObject
*_wrap_Point2D___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7119 PyObject
*resultobj
;
7120 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7121 wxPoint2D
*arg2
= 0 ;
7124 PyObject
* obj0
= 0 ;
7125 PyObject
* obj1
= 0 ;
7127 (char *) "self",(char *) "pt", NULL
7130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7132 if (SWIG_arg_fail(1)) SWIG_fail
;
7135 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7139 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
7141 wxPyEndAllowThreads(__tstate
);
7142 if (PyErr_Occurred()) SWIG_fail
;
7145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7153 static PyObject
*_wrap_Point2D_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7154 PyObject
*resultobj
;
7155 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7157 PyObject
* obj0
= 0 ;
7158 PyObject
* obj1
= 0 ;
7160 (char *) "self",(char *) "m_x", NULL
7163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7165 if (SWIG_arg_fail(1)) SWIG_fail
;
7167 arg2
= (double)(SWIG_As_double(obj1
));
7168 if (SWIG_arg_fail(2)) SWIG_fail
;
7170 if (arg1
) (arg1
)->m_x
= arg2
;
7172 Py_INCREF(Py_None
); resultobj
= Py_None
;
7179 static PyObject
*_wrap_Point2D_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7180 PyObject
*resultobj
;
7181 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7183 PyObject
* obj0
= 0 ;
7185 (char *) "self", NULL
7188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
7189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7190 if (SWIG_arg_fail(1)) SWIG_fail
;
7191 result
= (double) ((arg1
)->m_x
);
7194 resultobj
= SWIG_From_double((double)(result
));
7202 static PyObject
*_wrap_Point2D_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7203 PyObject
*resultobj
;
7204 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7206 PyObject
* obj0
= 0 ;
7207 PyObject
* obj1
= 0 ;
7209 (char *) "self",(char *) "m_y", NULL
7212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7214 if (SWIG_arg_fail(1)) SWIG_fail
;
7216 arg2
= (double)(SWIG_As_double(obj1
));
7217 if (SWIG_arg_fail(2)) SWIG_fail
;
7219 if (arg1
) (arg1
)->m_y
= arg2
;
7221 Py_INCREF(Py_None
); resultobj
= Py_None
;
7228 static PyObject
*_wrap_Point2D_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7229 PyObject
*resultobj
;
7230 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7232 PyObject
* obj0
= 0 ;
7234 (char *) "self", NULL
7237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
7238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7239 if (SWIG_arg_fail(1)) SWIG_fail
;
7240 result
= (double) ((arg1
)->m_y
);
7243 resultobj
= SWIG_From_double((double)(result
));
7251 static PyObject
*_wrap_Point2D_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7252 PyObject
*resultobj
;
7253 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7254 double arg2
= (double) 0 ;
7255 double arg3
= (double) 0 ;
7256 PyObject
* obj0
= 0 ;
7257 PyObject
* obj1
= 0 ;
7258 PyObject
* obj2
= 0 ;
7260 (char *) "self",(char *) "x",(char *) "y", NULL
7263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7265 if (SWIG_arg_fail(1)) SWIG_fail
;
7268 arg2
= (double)(SWIG_As_double(obj1
));
7269 if (SWIG_arg_fail(2)) SWIG_fail
;
7274 arg3
= (double)(SWIG_As_double(obj2
));
7275 if (SWIG_arg_fail(3)) SWIG_fail
;
7279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7280 wxPoint2D_Set(arg1
,arg2
,arg3
);
7282 wxPyEndAllowThreads(__tstate
);
7283 if (PyErr_Occurred()) SWIG_fail
;
7285 Py_INCREF(Py_None
); resultobj
= Py_None
;
7292 static PyObject
*_wrap_Point2D_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7293 PyObject
*resultobj
;
7294 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7296 PyObject
* obj0
= 0 ;
7298 (char *) "self", NULL
7301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
7302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7303 if (SWIG_arg_fail(1)) SWIG_fail
;
7305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7306 result
= (PyObject
*)wxPoint2D_Get(arg1
);
7308 wxPyEndAllowThreads(__tstate
);
7309 if (PyErr_Occurred()) SWIG_fail
;
7318 static PyObject
* Point2D_swigregister(PyObject
*, PyObject
*args
) {
7320 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7321 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
7323 return Py_BuildValue((char *)"");
7325 static int _wrap_DefaultPosition_set(PyObject
*) {
7326 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
7331 static PyObject
*_wrap_DefaultPosition_get(void) {
7334 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
7339 static int _wrap_DefaultSize_set(PyObject
*) {
7340 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
7345 static PyObject
*_wrap_DefaultSize_get(void) {
7348 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
7353 static PyObject
*_wrap_new_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7354 PyObject
*resultobj
;
7355 PyObject
*arg1
= (PyObject
*) 0 ;
7356 wxPyInputStream
*result
;
7357 PyObject
* obj0
= 0 ;
7362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
7365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7366 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
7368 wxPyEndAllowThreads(__tstate
);
7369 if (PyErr_Occurred()) SWIG_fail
;
7371 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
7378 static PyObject
*_wrap_delete_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7379 PyObject
*resultobj
;
7380 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7381 PyObject
* obj0
= 0 ;
7383 (char *) "self", NULL
7386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_InputStream",kwnames
,&obj0
)) goto fail
;
7387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7388 if (SWIG_arg_fail(1)) SWIG_fail
;
7390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7393 wxPyEndAllowThreads(__tstate
);
7394 if (PyErr_Occurred()) SWIG_fail
;
7396 Py_INCREF(Py_None
); resultobj
= Py_None
;
7403 static PyObject
*_wrap_InputStream_close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7404 PyObject
*resultobj
;
7405 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7406 PyObject
* obj0
= 0 ;
7408 (char *) "self", NULL
7411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
7412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7413 if (SWIG_arg_fail(1)) SWIG_fail
;
7415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7418 wxPyEndAllowThreads(__tstate
);
7419 if (PyErr_Occurred()) SWIG_fail
;
7421 Py_INCREF(Py_None
); resultobj
= Py_None
;
7428 static PyObject
*_wrap_InputStream_flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7429 PyObject
*resultobj
;
7430 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7431 PyObject
* obj0
= 0 ;
7433 (char *) "self", NULL
7436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
7437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7438 if (SWIG_arg_fail(1)) SWIG_fail
;
7440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7443 wxPyEndAllowThreads(__tstate
);
7444 if (PyErr_Occurred()) SWIG_fail
;
7446 Py_INCREF(Py_None
); resultobj
= Py_None
;
7453 static PyObject
*_wrap_InputStream_eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7454 PyObject
*resultobj
;
7455 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7457 PyObject
* obj0
= 0 ;
7459 (char *) "self", NULL
7462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",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();
7467 result
= (bool)(arg1
)->eof();
7469 wxPyEndAllowThreads(__tstate
);
7470 if (PyErr_Occurred()) SWIG_fail
;
7473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7481 static PyObject
*_wrap_InputStream_read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7482 PyObject
*resultobj
;
7483 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7484 int arg2
= (int) -1 ;
7486 PyObject
* obj0
= 0 ;
7487 PyObject
* obj1
= 0 ;
7489 (char *) "self",(char *) "size", NULL
7492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
7493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7494 if (SWIG_arg_fail(1)) SWIG_fail
;
7497 arg2
= (int)(SWIG_As_int(obj1
));
7498 if (SWIG_arg_fail(2)) SWIG_fail
;
7502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7503 result
= (PyObject
*)(arg1
)->read(arg2
);
7505 wxPyEndAllowThreads(__tstate
);
7506 if (PyErr_Occurred()) SWIG_fail
;
7515 static PyObject
*_wrap_InputStream_readline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7516 PyObject
*resultobj
;
7517 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7518 int arg2
= (int) -1 ;
7520 PyObject
* obj0
= 0 ;
7521 PyObject
* obj1
= 0 ;
7523 (char *) "self",(char *) "size", NULL
7526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
7527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7528 if (SWIG_arg_fail(1)) SWIG_fail
;
7531 arg2
= (int)(SWIG_As_int(obj1
));
7532 if (SWIG_arg_fail(2)) SWIG_fail
;
7536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7537 result
= (PyObject
*)(arg1
)->readline(arg2
);
7539 wxPyEndAllowThreads(__tstate
);
7540 if (PyErr_Occurred()) SWIG_fail
;
7549 static PyObject
*_wrap_InputStream_readlines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7550 PyObject
*resultobj
;
7551 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7552 int arg2
= (int) -1 ;
7554 PyObject
* obj0
= 0 ;
7555 PyObject
* obj1
= 0 ;
7557 (char *) "self",(char *) "sizehint", NULL
7560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
7561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7562 if (SWIG_arg_fail(1)) SWIG_fail
;
7565 arg2
= (int)(SWIG_As_int(obj1
));
7566 if (SWIG_arg_fail(2)) SWIG_fail
;
7570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7571 result
= (PyObject
*)(arg1
)->readlines(arg2
);
7573 wxPyEndAllowThreads(__tstate
);
7574 if (PyErr_Occurred()) SWIG_fail
;
7583 static PyObject
*_wrap_InputStream_seek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7584 PyObject
*resultobj
;
7585 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7587 int arg3
= (int) 0 ;
7588 PyObject
* obj0
= 0 ;
7589 PyObject
* obj1
= 0 ;
7590 PyObject
* obj2
= 0 ;
7592 (char *) "self",(char *) "offset",(char *) "whence", NULL
7595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7597 if (SWIG_arg_fail(1)) SWIG_fail
;
7599 arg2
= (int)(SWIG_As_int(obj1
));
7600 if (SWIG_arg_fail(2)) SWIG_fail
;
7604 arg3
= (int)(SWIG_As_int(obj2
));
7605 if (SWIG_arg_fail(3)) SWIG_fail
;
7609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7610 (arg1
)->seek(arg2
,arg3
);
7612 wxPyEndAllowThreads(__tstate
);
7613 if (PyErr_Occurred()) SWIG_fail
;
7615 Py_INCREF(Py_None
); resultobj
= Py_None
;
7622 static PyObject
*_wrap_InputStream_tell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7623 PyObject
*resultobj
;
7624 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7626 PyObject
* obj0
= 0 ;
7628 (char *) "self", NULL
7631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
7632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7633 if (SWIG_arg_fail(1)) SWIG_fail
;
7635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7636 result
= (int)(arg1
)->tell();
7638 wxPyEndAllowThreads(__tstate
);
7639 if (PyErr_Occurred()) SWIG_fail
;
7642 resultobj
= SWIG_From_int((int)(result
));
7650 static PyObject
*_wrap_InputStream_Peek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7651 PyObject
*resultobj
;
7652 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7654 PyObject
* obj0
= 0 ;
7656 (char *) "self", NULL
7659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
7660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7661 if (SWIG_arg_fail(1)) SWIG_fail
;
7663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7664 result
= (char)(arg1
)->Peek();
7666 wxPyEndAllowThreads(__tstate
);
7667 if (PyErr_Occurred()) SWIG_fail
;
7670 resultobj
= SWIG_From_char((char)(result
));
7678 static PyObject
*_wrap_InputStream_GetC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7679 PyObject
*resultobj
;
7680 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7682 PyObject
* obj0
= 0 ;
7684 (char *) "self", NULL
7687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
7688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7689 if (SWIG_arg_fail(1)) SWIG_fail
;
7691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7692 result
= (char)(arg1
)->GetC();
7694 wxPyEndAllowThreads(__tstate
);
7695 if (PyErr_Occurred()) SWIG_fail
;
7698 resultobj
= SWIG_From_char((char)(result
));
7706 static PyObject
*_wrap_InputStream_LastRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7707 PyObject
*resultobj
;
7708 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7710 PyObject
* obj0
= 0 ;
7712 (char *) "self", NULL
7715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
7716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7717 if (SWIG_arg_fail(1)) SWIG_fail
;
7719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7720 result
= (size_t)(arg1
)->LastRead();
7722 wxPyEndAllowThreads(__tstate
);
7723 if (PyErr_Occurred()) SWIG_fail
;
7726 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
7734 static PyObject
*_wrap_InputStream_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7735 PyObject
*resultobj
;
7736 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7738 PyObject
* obj0
= 0 ;
7740 (char *) "self", NULL
7743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
7744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7745 if (SWIG_arg_fail(1)) SWIG_fail
;
7747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7748 result
= (bool)(arg1
)->CanRead();
7750 wxPyEndAllowThreads(__tstate
);
7751 if (PyErr_Occurred()) SWIG_fail
;
7754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7762 static PyObject
*_wrap_InputStream_Eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7763 PyObject
*resultobj
;
7764 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7766 PyObject
* obj0
= 0 ;
7768 (char *) "self", NULL
7771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
7772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7773 if (SWIG_arg_fail(1)) SWIG_fail
;
7775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7776 result
= (bool)(arg1
)->Eof();
7778 wxPyEndAllowThreads(__tstate
);
7779 if (PyErr_Occurred()) SWIG_fail
;
7782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7790 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7791 PyObject
*resultobj
;
7792 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7795 PyObject
* obj0
= 0 ;
7796 PyObject
* obj1
= 0 ;
7798 (char *) "self",(char *) "c", NULL
7801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
7802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7803 if (SWIG_arg_fail(1)) SWIG_fail
;
7805 arg2
= (char)(SWIG_As_char(obj1
));
7806 if (SWIG_arg_fail(2)) SWIG_fail
;
7809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7810 result
= (bool)(arg1
)->Ungetch(arg2
);
7812 wxPyEndAllowThreads(__tstate
);
7813 if (PyErr_Occurred()) SWIG_fail
;
7816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7824 static PyObject
*_wrap_InputStream_SeekI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7825 PyObject
*resultobj
;
7826 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7828 wxSeekMode arg3
= (wxSeekMode
) wxFromStart
;
7830 PyObject
* obj0
= 0 ;
7831 PyObject
* obj1
= 0 ;
7832 PyObject
* obj2
= 0 ;
7834 (char *) "self",(char *) "pos",(char *) "mode", NULL
7837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7839 if (SWIG_arg_fail(1)) SWIG_fail
;
7841 arg2
= (long)(SWIG_As_long(obj1
));
7842 if (SWIG_arg_fail(2)) SWIG_fail
;
7846 arg3
= (wxSeekMode
)(SWIG_As_int(obj2
));
7847 if (SWIG_arg_fail(3)) SWIG_fail
;
7851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7852 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
7854 wxPyEndAllowThreads(__tstate
);
7855 if (PyErr_Occurred()) SWIG_fail
;
7858 resultobj
= SWIG_From_long((long)(result
));
7866 static PyObject
*_wrap_InputStream_TellI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7867 PyObject
*resultobj
;
7868 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7870 PyObject
* obj0
= 0 ;
7872 (char *) "self", NULL
7875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
7876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7877 if (SWIG_arg_fail(1)) SWIG_fail
;
7879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7880 result
= (long)(arg1
)->TellI();
7882 wxPyEndAllowThreads(__tstate
);
7883 if (PyErr_Occurred()) SWIG_fail
;
7886 resultobj
= SWIG_From_long((long)(result
));
7894 static PyObject
* InputStream_swigregister(PyObject
*, PyObject
*args
) {
7896 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7897 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
7899 return Py_BuildValue((char *)"");
7901 static PyObject
*_wrap_OutputStream_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7902 PyObject
*resultobj
;
7903 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
7904 PyObject
*arg2
= (PyObject
*) 0 ;
7905 PyObject
* obj0
= 0 ;
7906 PyObject
* obj1
= 0 ;
7908 (char *) "self",(char *) "obj", NULL
7911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
7912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxOutputStream
, SWIG_POINTER_EXCEPTION
| 0);
7913 if (SWIG_arg_fail(1)) SWIG_fail
;
7916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7917 wxOutputStream_write(arg1
,arg2
);
7919 wxPyEndAllowThreads(__tstate
);
7920 if (PyErr_Occurred()) SWIG_fail
;
7922 Py_INCREF(Py_None
); resultobj
= Py_None
;
7929 static PyObject
* OutputStream_swigregister(PyObject
*, PyObject
*args
) {
7931 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7932 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
7934 return Py_BuildValue((char *)"");
7936 static PyObject
*_wrap_new_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7937 PyObject
*resultobj
;
7938 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
7939 wxString
*arg2
= 0 ;
7940 wxString
*arg3
= 0 ;
7941 wxString
*arg4
= 0 ;
7944 wxPyInputStream
*temp1
;
7945 bool temp2
= false ;
7946 bool temp3
= false ;
7947 bool temp4
= false ;
7948 PyObject
* obj0
= 0 ;
7949 PyObject
* obj1
= 0 ;
7950 PyObject
* obj2
= 0 ;
7951 PyObject
* obj3
= 0 ;
7952 PyObject
* obj4
= 0 ;
7954 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
7957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7959 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
7960 arg1
= wxPyCBInputStream_copy((wxPyCBInputStream
*)temp1
->m_wxis
);
7962 PyErr_Clear(); // clear the failure of the wxPyConvert above
7963 arg1
= wxPyCBInputStream_create(obj0
, true);
7965 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
7971 arg2
= wxString_in_helper(obj1
);
7972 if (arg2
== NULL
) SWIG_fail
;
7976 arg3
= wxString_in_helper(obj2
);
7977 if (arg3
== NULL
) SWIG_fail
;
7981 arg4
= wxString_in_helper(obj3
);
7982 if (arg4
== NULL
) SWIG_fail
;
7987 SWIG_Python_ConvertPtr(obj4
, (void **)&argp
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
);
7988 if (SWIG_arg_fail(5)) SWIG_fail
;
7990 SWIG_null_ref("wxDateTime");
7992 if (SWIG_arg_fail(5)) SWIG_fail
;
7996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7997 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
7999 wxPyEndAllowThreads(__tstate
);
8000 if (PyErr_Occurred()) SWIG_fail
;
8003 resultobj
= wxPyMake_wxObject(result
, 1);
8035 static PyObject
*_wrap_delete_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8036 PyObject
*resultobj
;
8037 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8038 PyObject
* obj0
= 0 ;
8040 (char *) "self", NULL
8043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
8044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8045 if (SWIG_arg_fail(1)) SWIG_fail
;
8047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8050 wxPyEndAllowThreads(__tstate
);
8051 if (PyErr_Occurred()) SWIG_fail
;
8053 Py_INCREF(Py_None
); resultobj
= Py_None
;
8060 static PyObject
*_wrap_FSFile_GetStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8061 PyObject
*resultobj
;
8062 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8063 wxInputStream
*result
;
8064 PyObject
* obj0
= 0 ;
8066 (char *) "self", NULL
8069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",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();
8074 result
= (wxInputStream
*)(arg1
)->GetStream();
8076 wxPyEndAllowThreads(__tstate
);
8077 if (PyErr_Occurred()) SWIG_fail
;
8080 wxPyInputStream
* _ptr
= NULL
;
8083 _ptr
= new wxPyInputStream(result
);
8085 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
8093 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8094 PyObject
*resultobj
;
8095 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8097 PyObject
* obj0
= 0 ;
8099 (char *) "self", NULL
8102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
8103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8104 if (SWIG_arg_fail(1)) SWIG_fail
;
8106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8108 wxString
const &_result_ref
= (arg1
)->GetMimeType();
8109 result
= (wxString
*) &_result_ref
;
8112 wxPyEndAllowThreads(__tstate
);
8113 if (PyErr_Occurred()) SWIG_fail
;
8117 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8119 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8128 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8129 PyObject
*resultobj
;
8130 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8132 PyObject
* obj0
= 0 ;
8134 (char *) "self", NULL
8137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
8138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8139 if (SWIG_arg_fail(1)) SWIG_fail
;
8141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8143 wxString
const &_result_ref
= (arg1
)->GetLocation();
8144 result
= (wxString
*) &_result_ref
;
8147 wxPyEndAllowThreads(__tstate
);
8148 if (PyErr_Occurred()) SWIG_fail
;
8152 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8154 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8163 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8164 PyObject
*resultobj
;
8165 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8167 PyObject
* obj0
= 0 ;
8169 (char *) "self", NULL
8172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
8173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8174 if (SWIG_arg_fail(1)) SWIG_fail
;
8176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8178 wxString
const &_result_ref
= (arg1
)->GetAnchor();
8179 result
= (wxString
*) &_result_ref
;
8182 wxPyEndAllowThreads(__tstate
);
8183 if (PyErr_Occurred()) SWIG_fail
;
8187 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8189 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8198 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8199 PyObject
*resultobj
;
8200 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8202 PyObject
* obj0
= 0 ;
8204 (char *) "self", NULL
8207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
8208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8209 if (SWIG_arg_fail(1)) SWIG_fail
;
8211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8212 result
= (arg1
)->GetModificationTime();
8214 wxPyEndAllowThreads(__tstate
);
8215 if (PyErr_Occurred()) SWIG_fail
;
8218 wxDateTime
* resultptr
;
8219 resultptr
= new wxDateTime((wxDateTime
&)(result
));
8220 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
8228 static PyObject
* FSFile_swigregister(PyObject
*, PyObject
*args
) {
8230 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8231 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
8233 return Py_BuildValue((char *)"");
8235 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8237 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8238 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
8240 return Py_BuildValue((char *)"");
8242 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8243 PyObject
*resultobj
;
8244 wxPyFileSystemHandler
*result
;
8249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
8251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8252 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
8254 wxPyEndAllowThreads(__tstate
);
8255 if (PyErr_Occurred()) SWIG_fail
;
8257 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
8264 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8265 PyObject
*resultobj
;
8266 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8267 PyObject
*arg2
= (PyObject
*) 0 ;
8268 PyObject
*arg3
= (PyObject
*) 0 ;
8269 PyObject
* obj0
= 0 ;
8270 PyObject
* obj1
= 0 ;
8271 PyObject
* obj2
= 0 ;
8273 (char *) "self",(char *) "self",(char *) "_class", NULL
8276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8278 if (SWIG_arg_fail(1)) SWIG_fail
;
8282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8283 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8285 wxPyEndAllowThreads(__tstate
);
8286 if (PyErr_Occurred()) SWIG_fail
;
8288 Py_INCREF(Py_None
); resultobj
= Py_None
;
8295 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8296 PyObject
*resultobj
;
8297 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8298 wxString
*arg2
= 0 ;
8300 bool temp2
= false ;
8301 PyObject
* obj0
= 0 ;
8302 PyObject
* obj1
= 0 ;
8304 (char *) "self",(char *) "location", NULL
8307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
8308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8309 if (SWIG_arg_fail(1)) SWIG_fail
;
8311 arg2
= wxString_in_helper(obj1
);
8312 if (arg2
== NULL
) SWIG_fail
;
8316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8317 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
8319 wxPyEndAllowThreads(__tstate
);
8320 if (PyErr_Occurred()) SWIG_fail
;
8323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8339 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8340 PyObject
*resultobj
;
8341 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8342 wxFileSystem
*arg2
= 0 ;
8343 wxString
*arg3
= 0 ;
8345 bool temp3
= false ;
8346 PyObject
* obj0
= 0 ;
8347 PyObject
* obj1
= 0 ;
8348 PyObject
* obj2
= 0 ;
8350 (char *) "self",(char *) "fs",(char *) "location", NULL
8353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8355 if (SWIG_arg_fail(1)) SWIG_fail
;
8357 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8358 if (SWIG_arg_fail(2)) SWIG_fail
;
8360 SWIG_null_ref("wxFileSystem");
8362 if (SWIG_arg_fail(2)) SWIG_fail
;
8365 arg3
= wxString_in_helper(obj2
);
8366 if (arg3
== NULL
) SWIG_fail
;
8370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8371 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8373 wxPyEndAllowThreads(__tstate
);
8374 if (PyErr_Occurred()) SWIG_fail
;
8377 resultobj
= wxPyMake_wxObject(result
, 1);
8393 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8394 PyObject
*resultobj
;
8395 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8396 wxString
*arg2
= 0 ;
8397 int arg3
= (int) 0 ;
8399 bool temp2
= false ;
8400 PyObject
* obj0
= 0 ;
8401 PyObject
* obj1
= 0 ;
8402 PyObject
* obj2
= 0 ;
8404 (char *) "self",(char *) "spec",(char *) "flags", NULL
8407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8409 if (SWIG_arg_fail(1)) SWIG_fail
;
8411 arg2
= wxString_in_helper(obj1
);
8412 if (arg2
== NULL
) SWIG_fail
;
8417 arg3
= (int)(SWIG_As_int(obj2
));
8418 if (SWIG_arg_fail(3)) SWIG_fail
;
8422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8423 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8425 wxPyEndAllowThreads(__tstate
);
8426 if (PyErr_Occurred()) SWIG_fail
;
8430 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8432 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8449 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8450 PyObject
*resultobj
;
8451 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8453 PyObject
* obj0
= 0 ;
8455 (char *) "self", NULL
8458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8460 if (SWIG_arg_fail(1)) SWIG_fail
;
8462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8463 result
= (arg1
)->FindNext();
8465 wxPyEndAllowThreads(__tstate
);
8466 if (PyErr_Occurred()) SWIG_fail
;
8470 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8472 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8481 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8482 PyObject
*resultobj
;
8483 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8484 wxString
*arg2
= 0 ;
8486 bool temp2
= false ;
8487 PyObject
* obj0
= 0 ;
8488 PyObject
* obj1
= 0 ;
8490 (char *) "self",(char *) "location", NULL
8493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
8494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8495 if (SWIG_arg_fail(1)) SWIG_fail
;
8497 arg2
= wxString_in_helper(obj1
);
8498 if (arg2
== NULL
) SWIG_fail
;
8502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8503 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
8505 wxPyEndAllowThreads(__tstate
);
8506 if (PyErr_Occurred()) SWIG_fail
;
8510 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8512 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8529 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8530 PyObject
*resultobj
;
8531 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8532 wxString
*arg2
= 0 ;
8534 bool temp2
= false ;
8535 PyObject
* obj0
= 0 ;
8536 PyObject
* obj1
= 0 ;
8538 (char *) "self",(char *) "location", NULL
8541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8543 if (SWIG_arg_fail(1)) SWIG_fail
;
8545 arg2
= wxString_in_helper(obj1
);
8546 if (arg2
== NULL
) SWIG_fail
;
8550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8551 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
8553 wxPyEndAllowThreads(__tstate
);
8554 if (PyErr_Occurred()) SWIG_fail
;
8558 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8560 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8577 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8578 PyObject
*resultobj
;
8579 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8580 wxString
*arg2
= 0 ;
8582 bool temp2
= false ;
8583 PyObject
* obj0
= 0 ;
8584 PyObject
* obj1
= 0 ;
8586 (char *) "self",(char *) "location", NULL
8589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
8590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8591 if (SWIG_arg_fail(1)) SWIG_fail
;
8593 arg2
= wxString_in_helper(obj1
);
8594 if (arg2
== NULL
) SWIG_fail
;
8598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8599 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
8601 wxPyEndAllowThreads(__tstate
);
8602 if (PyErr_Occurred()) SWIG_fail
;
8606 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8608 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8625 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8626 PyObject
*resultobj
;
8627 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8628 wxString
*arg2
= 0 ;
8630 bool temp2
= false ;
8631 PyObject
* obj0
= 0 ;
8632 PyObject
* obj1
= 0 ;
8634 (char *) "self",(char *) "location", NULL
8637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8639 if (SWIG_arg_fail(1)) SWIG_fail
;
8641 arg2
= wxString_in_helper(obj1
);
8642 if (arg2
== NULL
) SWIG_fail
;
8646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8647 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
8649 wxPyEndAllowThreads(__tstate
);
8650 if (PyErr_Occurred()) SWIG_fail
;
8654 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8656 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8673 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8674 PyObject
*resultobj
;
8675 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8676 wxString
*arg2
= 0 ;
8678 bool temp2
= false ;
8679 PyObject
* obj0
= 0 ;
8680 PyObject
* obj1
= 0 ;
8682 (char *) "self",(char *) "location", NULL
8685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
8686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8687 if (SWIG_arg_fail(1)) SWIG_fail
;
8689 arg2
= wxString_in_helper(obj1
);
8690 if (arg2
== NULL
) SWIG_fail
;
8694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8695 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
8697 wxPyEndAllowThreads(__tstate
);
8698 if (PyErr_Occurred()) SWIG_fail
;
8702 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8704 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8721 static PyObject
* FileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8723 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8724 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
8726 return Py_BuildValue((char *)"");
8728 static PyObject
*_wrap_new_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8729 PyObject
*resultobj
;
8730 wxFileSystem
*result
;
8735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
8737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8738 result
= (wxFileSystem
*)new wxFileSystem();
8740 wxPyEndAllowThreads(__tstate
);
8741 if (PyErr_Occurred()) SWIG_fail
;
8744 resultobj
= wxPyMake_wxObject(result
, 1);
8752 static PyObject
*_wrap_delete_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8753 PyObject
*resultobj
;
8754 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8755 PyObject
* obj0
= 0 ;
8757 (char *) "self", NULL
8760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
8761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8762 if (SWIG_arg_fail(1)) SWIG_fail
;
8764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8767 wxPyEndAllowThreads(__tstate
);
8768 if (PyErr_Occurred()) SWIG_fail
;
8770 Py_INCREF(Py_None
); resultobj
= Py_None
;
8777 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8778 PyObject
*resultobj
;
8779 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8780 wxString
*arg2
= 0 ;
8781 bool arg3
= (bool) false ;
8782 bool temp2
= false ;
8783 PyObject
* obj0
= 0 ;
8784 PyObject
* obj1
= 0 ;
8785 PyObject
* obj2
= 0 ;
8787 (char *) "self",(char *) "location",(char *) "is_dir", NULL
8790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8792 if (SWIG_arg_fail(1)) SWIG_fail
;
8794 arg2
= wxString_in_helper(obj1
);
8795 if (arg2
== NULL
) SWIG_fail
;
8800 arg3
= (bool)(SWIG_As_bool(obj2
));
8801 if (SWIG_arg_fail(3)) SWIG_fail
;
8805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8806 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
8808 wxPyEndAllowThreads(__tstate
);
8809 if (PyErr_Occurred()) SWIG_fail
;
8811 Py_INCREF(Py_None
); resultobj
= Py_None
;
8826 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8827 PyObject
*resultobj
;
8828 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8830 PyObject
* obj0
= 0 ;
8832 (char *) "self", NULL
8835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
8836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8837 if (SWIG_arg_fail(1)) SWIG_fail
;
8839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8840 result
= (arg1
)->GetPath();
8842 wxPyEndAllowThreads(__tstate
);
8843 if (PyErr_Occurred()) SWIG_fail
;
8847 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8849 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8858 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8859 PyObject
*resultobj
;
8860 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8861 wxString
*arg2
= 0 ;
8863 bool temp2
= false ;
8864 PyObject
* obj0
= 0 ;
8865 PyObject
* obj1
= 0 ;
8867 (char *) "self",(char *) "location", NULL
8870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8872 if (SWIG_arg_fail(1)) SWIG_fail
;
8874 arg2
= wxString_in_helper(obj1
);
8875 if (arg2
== NULL
) SWIG_fail
;
8879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8880 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
8882 wxPyEndAllowThreads(__tstate
);
8883 if (PyErr_Occurred()) SWIG_fail
;
8886 resultobj
= wxPyMake_wxObject(result
, 1);
8902 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8903 PyObject
*resultobj
;
8904 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8905 wxString
*arg2
= 0 ;
8906 int arg3
= (int) 0 ;
8908 bool temp2
= false ;
8909 PyObject
* obj0
= 0 ;
8910 PyObject
* obj1
= 0 ;
8911 PyObject
* obj2
= 0 ;
8913 (char *) "self",(char *) "spec",(char *) "flags", NULL
8916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8918 if (SWIG_arg_fail(1)) SWIG_fail
;
8920 arg2
= wxString_in_helper(obj1
);
8921 if (arg2
== NULL
) SWIG_fail
;
8926 arg3
= (int)(SWIG_As_int(obj2
));
8927 if (SWIG_arg_fail(3)) SWIG_fail
;
8931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8932 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8934 wxPyEndAllowThreads(__tstate
);
8935 if (PyErr_Occurred()) SWIG_fail
;
8939 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8941 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8958 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8959 PyObject
*resultobj
;
8960 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8962 PyObject
* obj0
= 0 ;
8964 (char *) "self", NULL
8967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
8968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8969 if (SWIG_arg_fail(1)) SWIG_fail
;
8971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8972 result
= (arg1
)->FindNext();
8974 wxPyEndAllowThreads(__tstate
);
8975 if (PyErr_Occurred()) SWIG_fail
;
8979 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8981 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8990 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8991 PyObject
*resultobj
;
8992 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
8993 PyObject
* obj0
= 0 ;
8995 (char *) "handler", NULL
8998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
8999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
9000 if (SWIG_arg_fail(1)) SWIG_fail
;
9002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9003 wxFileSystem::AddHandler(arg1
);
9005 wxPyEndAllowThreads(__tstate
);
9006 if (PyErr_Occurred()) SWIG_fail
;
9008 Py_INCREF(Py_None
); resultobj
= Py_None
;
9015 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9016 PyObject
*resultobj
;
9021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
9023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9024 wxFileSystem::CleanUpHandlers();
9026 wxPyEndAllowThreads(__tstate
);
9027 if (PyErr_Occurred()) SWIG_fail
;
9029 Py_INCREF(Py_None
); resultobj
= Py_None
;
9036 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9037 PyObject
*resultobj
;
9038 wxString
*arg1
= 0 ;
9040 bool temp1
= false ;
9041 PyObject
* obj0
= 0 ;
9043 (char *) "filename", NULL
9046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
9048 arg1
= wxString_in_helper(obj0
);
9049 if (arg1
== NULL
) SWIG_fail
;
9053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9054 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
9056 wxPyEndAllowThreads(__tstate
);
9057 if (PyErr_Occurred()) SWIG_fail
;
9061 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9063 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9080 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9081 PyObject
*resultobj
;
9082 wxString
*arg1
= 0 ;
9084 bool temp1
= false ;
9085 PyObject
* obj0
= 0 ;
9087 (char *) "url", NULL
9090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
9092 arg1
= wxString_in_helper(obj0
);
9093 if (arg1
== NULL
) SWIG_fail
;
9097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9098 result
= FileSystem_URLToFileName((wxString
const &)*arg1
);
9100 wxPyEndAllowThreads(__tstate
);
9101 if (PyErr_Occurred()) SWIG_fail
;
9105 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9107 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9124 static PyObject
* FileSystem_swigregister(PyObject
*, PyObject
*args
) {
9126 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9127 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
9129 return Py_BuildValue((char *)"");
9131 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9132 PyObject
*resultobj
;
9133 wxInternetFSHandler
*result
;
9138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
9140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9141 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
9143 wxPyEndAllowThreads(__tstate
);
9144 if (PyErr_Occurred()) SWIG_fail
;
9146 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
9153 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9154 PyObject
*resultobj
;
9155 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9156 wxString
*arg2
= 0 ;
9158 bool temp2
= false ;
9159 PyObject
* obj0
= 0 ;
9160 PyObject
* obj1
= 0 ;
9162 (char *) "self",(char *) "location", NULL
9165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9167 if (SWIG_arg_fail(1)) SWIG_fail
;
9169 arg2
= wxString_in_helper(obj1
);
9170 if (arg2
== NULL
) SWIG_fail
;
9174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9175 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9177 wxPyEndAllowThreads(__tstate
);
9178 if (PyErr_Occurred()) SWIG_fail
;
9181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9197 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9198 PyObject
*resultobj
;
9199 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9200 wxFileSystem
*arg2
= 0 ;
9201 wxString
*arg3
= 0 ;
9203 bool temp3
= false ;
9204 PyObject
* obj0
= 0 ;
9205 PyObject
* obj1
= 0 ;
9206 PyObject
* obj2
= 0 ;
9208 (char *) "self",(char *) "fs",(char *) "location", NULL
9211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9213 if (SWIG_arg_fail(1)) SWIG_fail
;
9215 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9216 if (SWIG_arg_fail(2)) SWIG_fail
;
9218 SWIG_null_ref("wxFileSystem");
9220 if (SWIG_arg_fail(2)) SWIG_fail
;
9223 arg3
= wxString_in_helper(obj2
);
9224 if (arg3
== NULL
) SWIG_fail
;
9228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9229 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9231 wxPyEndAllowThreads(__tstate
);
9232 if (PyErr_Occurred()) SWIG_fail
;
9235 resultobj
= wxPyMake_wxObject(result
, 1);
9251 static PyObject
* InternetFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9253 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9254 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
9256 return Py_BuildValue((char *)"");
9258 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9259 PyObject
*resultobj
;
9260 wxZipFSHandler
*result
;
9265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
9267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9268 result
= (wxZipFSHandler
*)new wxZipFSHandler();
9270 wxPyEndAllowThreads(__tstate
);
9271 if (PyErr_Occurred()) SWIG_fail
;
9273 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
9280 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9281 PyObject
*resultobj
;
9282 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9283 wxString
*arg2
= 0 ;
9285 bool temp2
= false ;
9286 PyObject
* obj0
= 0 ;
9287 PyObject
* obj1
= 0 ;
9289 (char *) "self",(char *) "location", NULL
9292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9294 if (SWIG_arg_fail(1)) SWIG_fail
;
9296 arg2
= wxString_in_helper(obj1
);
9297 if (arg2
== NULL
) SWIG_fail
;
9301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9302 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9304 wxPyEndAllowThreads(__tstate
);
9305 if (PyErr_Occurred()) SWIG_fail
;
9308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9324 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9325 PyObject
*resultobj
;
9326 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9327 wxFileSystem
*arg2
= 0 ;
9328 wxString
*arg3
= 0 ;
9330 bool temp3
= false ;
9331 PyObject
* obj0
= 0 ;
9332 PyObject
* obj1
= 0 ;
9333 PyObject
* obj2
= 0 ;
9335 (char *) "self",(char *) "fs",(char *) "location", NULL
9338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9340 if (SWIG_arg_fail(1)) SWIG_fail
;
9342 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9343 if (SWIG_arg_fail(2)) SWIG_fail
;
9345 SWIG_null_ref("wxFileSystem");
9347 if (SWIG_arg_fail(2)) SWIG_fail
;
9350 arg3
= wxString_in_helper(obj2
);
9351 if (arg3
== NULL
) SWIG_fail
;
9355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9356 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9358 wxPyEndAllowThreads(__tstate
);
9359 if (PyErr_Occurred()) SWIG_fail
;
9362 resultobj
= wxPyMake_wxObject(result
, 1);
9378 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9379 PyObject
*resultobj
;
9380 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9381 wxString
*arg2
= 0 ;
9382 int arg3
= (int) 0 ;
9384 bool temp2
= false ;
9385 PyObject
* obj0
= 0 ;
9386 PyObject
* obj1
= 0 ;
9387 PyObject
* obj2
= 0 ;
9389 (char *) "self",(char *) "spec",(char *) "flags", NULL
9392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9394 if (SWIG_arg_fail(1)) SWIG_fail
;
9396 arg2
= wxString_in_helper(obj1
);
9397 if (arg2
== NULL
) SWIG_fail
;
9402 arg3
= (int)(SWIG_As_int(obj2
));
9403 if (SWIG_arg_fail(3)) SWIG_fail
;
9407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9408 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9410 wxPyEndAllowThreads(__tstate
);
9411 if (PyErr_Occurred()) SWIG_fail
;
9415 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9417 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9434 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9435 PyObject
*resultobj
;
9436 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9438 PyObject
* obj0
= 0 ;
9440 (char *) "self", NULL
9443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9445 if (SWIG_arg_fail(1)) SWIG_fail
;
9447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9448 result
= (arg1
)->FindNext();
9450 wxPyEndAllowThreads(__tstate
);
9451 if (PyErr_Occurred()) SWIG_fail
;
9455 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9457 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9466 static PyObject
* ZipFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9468 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9469 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
9471 return Py_BuildValue((char *)"");
9473 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9474 PyObject
*resultobj
;
9475 wxString
*arg1
= 0 ;
9478 bool temp1
= false ;
9479 PyObject
* obj0
= 0 ;
9480 PyObject
* obj1
= 0 ;
9481 PyObject
* obj2
= 0 ;
9483 (char *) "filename",(char *) "image",(char *) "type", NULL
9486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9488 arg1
= wxString_in_helper(obj0
);
9489 if (arg1
== NULL
) SWIG_fail
;
9493 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
9494 if (SWIG_arg_fail(2)) SWIG_fail
;
9496 SWIG_null_ref("wxImage");
9498 if (SWIG_arg_fail(2)) SWIG_fail
;
9501 arg3
= (long)(SWIG_As_long(obj2
));
9502 if (SWIG_arg_fail(3)) SWIG_fail
;
9505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9506 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
9508 wxPyEndAllowThreads(__tstate
);
9509 if (PyErr_Occurred()) SWIG_fail
;
9511 Py_INCREF(Py_None
); resultobj
= Py_None
;
9526 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9527 PyObject
*resultobj
;
9528 wxString
*arg1
= 0 ;
9529 wxBitmap
*arg2
= 0 ;
9531 bool temp1
= false ;
9532 PyObject
* obj0
= 0 ;
9533 PyObject
* obj1
= 0 ;
9534 PyObject
* obj2
= 0 ;
9536 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
9539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9541 arg1
= wxString_in_helper(obj0
);
9542 if (arg1
== NULL
) SWIG_fail
;
9546 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
9547 if (SWIG_arg_fail(2)) SWIG_fail
;
9549 SWIG_null_ref("wxBitmap");
9551 if (SWIG_arg_fail(2)) SWIG_fail
;
9554 arg3
= (long)(SWIG_As_long(obj2
));
9555 if (SWIG_arg_fail(3)) SWIG_fail
;
9558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9559 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
9561 wxPyEndAllowThreads(__tstate
);
9562 if (PyErr_Occurred()) SWIG_fail
;
9564 Py_INCREF(Py_None
); resultobj
= Py_None
;
9579 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9580 PyObject
*resultobj
;
9581 wxString
*arg1
= 0 ;
9582 PyObject
*arg2
= (PyObject
*) 0 ;
9583 bool temp1
= false ;
9584 PyObject
* obj0
= 0 ;
9585 PyObject
* obj1
= 0 ;
9587 (char *) "filename",(char *) "data", NULL
9590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
9592 arg1
= wxString_in_helper(obj0
);
9593 if (arg1
== NULL
) SWIG_fail
;
9598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9599 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
9601 wxPyEndAllowThreads(__tstate
);
9602 if (PyErr_Occurred()) SWIG_fail
;
9604 Py_INCREF(Py_None
); resultobj
= Py_None
;
9619 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9620 PyObject
*resultobj
;
9621 wxMemoryFSHandler
*result
;
9626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
9628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9629 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
9631 wxPyEndAllowThreads(__tstate
);
9632 if (PyErr_Occurred()) SWIG_fail
;
9634 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
9641 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9642 PyObject
*resultobj
;
9643 wxString
*arg1
= 0 ;
9644 bool temp1
= false ;
9645 PyObject
* obj0
= 0 ;
9647 (char *) "filename", NULL
9650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
9652 arg1
= wxString_in_helper(obj0
);
9653 if (arg1
== NULL
) SWIG_fail
;
9657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9658 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
9660 wxPyEndAllowThreads(__tstate
);
9661 if (PyErr_Occurred()) SWIG_fail
;
9663 Py_INCREF(Py_None
); resultobj
= Py_None
;
9678 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9679 PyObject
*resultobj
;
9680 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9681 wxString
*arg2
= 0 ;
9683 bool temp2
= false ;
9684 PyObject
* obj0
= 0 ;
9685 PyObject
* obj1
= 0 ;
9687 (char *) "self",(char *) "location", NULL
9690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9692 if (SWIG_arg_fail(1)) SWIG_fail
;
9694 arg2
= wxString_in_helper(obj1
);
9695 if (arg2
== NULL
) SWIG_fail
;
9699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9700 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9702 wxPyEndAllowThreads(__tstate
);
9703 if (PyErr_Occurred()) SWIG_fail
;
9706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9722 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9723 PyObject
*resultobj
;
9724 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9725 wxFileSystem
*arg2
= 0 ;
9726 wxString
*arg3
= 0 ;
9728 bool temp3
= false ;
9729 PyObject
* obj0
= 0 ;
9730 PyObject
* obj1
= 0 ;
9731 PyObject
* obj2
= 0 ;
9733 (char *) "self",(char *) "fs",(char *) "location", NULL
9736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9738 if (SWIG_arg_fail(1)) SWIG_fail
;
9740 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9741 if (SWIG_arg_fail(2)) SWIG_fail
;
9743 SWIG_null_ref("wxFileSystem");
9745 if (SWIG_arg_fail(2)) SWIG_fail
;
9748 arg3
= wxString_in_helper(obj2
);
9749 if (arg3
== NULL
) SWIG_fail
;
9753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9754 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9756 wxPyEndAllowThreads(__tstate
);
9757 if (PyErr_Occurred()) SWIG_fail
;
9760 resultobj
= wxPyMake_wxObject(result
, 1);
9776 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9777 PyObject
*resultobj
;
9778 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9779 wxString
*arg2
= 0 ;
9780 int arg3
= (int) 0 ;
9782 bool temp2
= false ;
9783 PyObject
* obj0
= 0 ;
9784 PyObject
* obj1
= 0 ;
9785 PyObject
* obj2
= 0 ;
9787 (char *) "self",(char *) "spec",(char *) "flags", NULL
9790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9792 if (SWIG_arg_fail(1)) SWIG_fail
;
9794 arg2
= wxString_in_helper(obj1
);
9795 if (arg2
== NULL
) SWIG_fail
;
9800 arg3
= (int)(SWIG_As_int(obj2
));
9801 if (SWIG_arg_fail(3)) SWIG_fail
;
9805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9806 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9808 wxPyEndAllowThreads(__tstate
);
9809 if (PyErr_Occurred()) SWIG_fail
;
9813 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9815 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9832 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9833 PyObject
*resultobj
;
9834 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9836 PyObject
* obj0
= 0 ;
9838 (char *) "self", NULL
9841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9843 if (SWIG_arg_fail(1)) SWIG_fail
;
9845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9846 result
= (arg1
)->FindNext();
9848 wxPyEndAllowThreads(__tstate
);
9849 if (PyErr_Occurred()) SWIG_fail
;
9853 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9855 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9864 static PyObject
* MemoryFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9866 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9867 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
9869 return Py_BuildValue((char *)"");
9871 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9872 PyObject
*resultobj
;
9873 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9875 PyObject
* obj0
= 0 ;
9877 (char *) "self", NULL
9880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
9881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9882 if (SWIG_arg_fail(1)) SWIG_fail
;
9884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9885 result
= (arg1
)->GetName();
9887 wxPyEndAllowThreads(__tstate
);
9888 if (PyErr_Occurred()) SWIG_fail
;
9892 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9894 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9903 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9904 PyObject
*resultobj
;
9905 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9907 PyObject
* obj0
= 0 ;
9909 (char *) "self", NULL
9912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
9913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9914 if (SWIG_arg_fail(1)) SWIG_fail
;
9916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9917 result
= (arg1
)->GetExtension();
9919 wxPyEndAllowThreads(__tstate
);
9920 if (PyErr_Occurred()) SWIG_fail
;
9924 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9926 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9935 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9936 PyObject
*resultobj
;
9937 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9939 PyObject
* obj0
= 0 ;
9941 (char *) "self", NULL
9944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
9945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9946 if (SWIG_arg_fail(1)) SWIG_fail
;
9948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9949 result
= (long)(arg1
)->GetType();
9951 wxPyEndAllowThreads(__tstate
);
9952 if (PyErr_Occurred()) SWIG_fail
;
9955 resultobj
= SWIG_From_long((long)(result
));
9963 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9964 PyObject
*resultobj
;
9965 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9967 PyObject
* obj0
= 0 ;
9969 (char *) "self", NULL
9972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
9973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9974 if (SWIG_arg_fail(1)) SWIG_fail
;
9976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9977 result
= (arg1
)->GetMimeType();
9979 wxPyEndAllowThreads(__tstate
);
9980 if (PyErr_Occurred()) SWIG_fail
;
9984 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9986 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9995 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9996 PyObject
*resultobj
;
9997 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9998 wxString
*arg2
= 0 ;
10000 bool temp2
= false ;
10001 PyObject
* obj0
= 0 ;
10002 PyObject
* obj1
= 0 ;
10003 char *kwnames
[] = {
10004 (char *) "self",(char *) "name", NULL
10007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
10008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10009 if (SWIG_arg_fail(1)) SWIG_fail
;
10011 arg2
= wxString_in_helper(obj1
);
10012 if (arg2
== NULL
) SWIG_fail
;
10016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10017 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
10019 wxPyEndAllowThreads(__tstate
);
10020 if (PyErr_Occurred()) SWIG_fail
;
10023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10039 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10040 PyObject
*resultobj
;
10041 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10042 wxString
*arg2
= 0 ;
10043 bool temp2
= false ;
10044 PyObject
* obj0
= 0 ;
10045 PyObject
* obj1
= 0 ;
10046 char *kwnames
[] = {
10047 (char *) "self",(char *) "name", NULL
10050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
10051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10052 if (SWIG_arg_fail(1)) SWIG_fail
;
10054 arg2
= wxString_in_helper(obj1
);
10055 if (arg2
== NULL
) SWIG_fail
;
10059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10060 (arg1
)->SetName((wxString
const &)*arg2
);
10062 wxPyEndAllowThreads(__tstate
);
10063 if (PyErr_Occurred()) SWIG_fail
;
10065 Py_INCREF(Py_None
); resultobj
= Py_None
;
10080 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10081 PyObject
*resultobj
;
10082 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10083 wxString
*arg2
= 0 ;
10084 bool temp2
= false ;
10085 PyObject
* obj0
= 0 ;
10086 PyObject
* obj1
= 0 ;
10087 char *kwnames
[] = {
10088 (char *) "self",(char *) "extension", NULL
10091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
10092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10093 if (SWIG_arg_fail(1)) SWIG_fail
;
10095 arg2
= wxString_in_helper(obj1
);
10096 if (arg2
== NULL
) SWIG_fail
;
10100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10101 (arg1
)->SetExtension((wxString
const &)*arg2
);
10103 wxPyEndAllowThreads(__tstate
);
10104 if (PyErr_Occurred()) SWIG_fail
;
10106 Py_INCREF(Py_None
); resultobj
= Py_None
;
10121 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10122 PyObject
*resultobj
;
10123 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10125 PyObject
* obj0
= 0 ;
10126 PyObject
* obj1
= 0 ;
10127 char *kwnames
[] = {
10128 (char *) "self",(char *) "type", NULL
10131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
10132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10133 if (SWIG_arg_fail(1)) SWIG_fail
;
10135 arg2
= (long)(SWIG_As_long(obj1
));
10136 if (SWIG_arg_fail(2)) SWIG_fail
;
10139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10140 (arg1
)->SetType(arg2
);
10142 wxPyEndAllowThreads(__tstate
);
10143 if (PyErr_Occurred()) SWIG_fail
;
10145 Py_INCREF(Py_None
); resultobj
= Py_None
;
10152 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10153 PyObject
*resultobj
;
10154 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10155 wxString
*arg2
= 0 ;
10156 bool temp2
= false ;
10157 PyObject
* obj0
= 0 ;
10158 PyObject
* obj1
= 0 ;
10159 char *kwnames
[] = {
10160 (char *) "self",(char *) "mimetype", NULL
10163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
10164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10165 if (SWIG_arg_fail(1)) SWIG_fail
;
10167 arg2
= wxString_in_helper(obj1
);
10168 if (arg2
== NULL
) SWIG_fail
;
10172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10173 (arg1
)->SetMimeType((wxString
const &)*arg2
);
10175 wxPyEndAllowThreads(__tstate
);
10176 if (PyErr_Occurred()) SWIG_fail
;
10178 Py_INCREF(Py_None
); resultobj
= Py_None
;
10193 static PyObject
* ImageHandler_swigregister(PyObject
*, PyObject
*args
) {
10195 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10196 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
10198 return Py_BuildValue((char *)"");
10200 static PyObject
*_wrap_new_ImageHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10201 PyObject
*resultobj
;
10202 wxImageHistogram
*result
;
10203 char *kwnames
[] = {
10207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
10209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10210 result
= (wxImageHistogram
*)new wxImageHistogram();
10212 wxPyEndAllowThreads(__tstate
);
10213 if (PyErr_Occurred()) SWIG_fail
;
10215 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
10222 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10223 PyObject
*resultobj
;
10224 unsigned char arg1
;
10225 unsigned char arg2
;
10226 unsigned char arg3
;
10227 unsigned long result
;
10228 PyObject
* obj0
= 0 ;
10229 PyObject
* obj1
= 0 ;
10230 PyObject
* obj2
= 0 ;
10231 char *kwnames
[] = {
10232 (char *) "r",(char *) "g",(char *) "b", NULL
10235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10237 arg1
= (unsigned char)(SWIG_As_unsigned_SS_char(obj0
));
10238 if (SWIG_arg_fail(1)) SWIG_fail
;
10241 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10242 if (SWIG_arg_fail(2)) SWIG_fail
;
10245 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10246 if (SWIG_arg_fail(3)) SWIG_fail
;
10249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10250 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
10252 wxPyEndAllowThreads(__tstate
);
10253 if (PyErr_Occurred()) SWIG_fail
;
10256 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10264 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10265 PyObject
*resultobj
;
10266 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10267 unsigned char *arg2
= (unsigned char *) 0 ;
10268 unsigned char *arg3
= (unsigned char *) 0 ;
10269 unsigned char *arg4
= (unsigned char *) 0 ;
10270 unsigned char arg5
= (unsigned char) 1 ;
10271 unsigned char arg6
= (unsigned char) 0 ;
10272 unsigned char arg7
= (unsigned char) 0 ;
10274 unsigned char temp2
;
10276 unsigned char temp3
;
10278 unsigned char temp4
;
10280 PyObject
* obj0
= 0 ;
10281 PyObject
* obj1
= 0 ;
10282 PyObject
* obj2
= 0 ;
10283 PyObject
* obj3
= 0 ;
10284 char *kwnames
[] = {
10285 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
10288 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10289 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10290 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10293 if (SWIG_arg_fail(1)) SWIG_fail
;
10296 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10297 if (SWIG_arg_fail(5)) SWIG_fail
;
10302 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10303 if (SWIG_arg_fail(6)) SWIG_fail
;
10308 arg7
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
10309 if (SWIG_arg_fail(7)) SWIG_fail
;
10313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10314 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10316 wxPyEndAllowThreads(__tstate
);
10317 if (PyErr_Occurred()) SWIG_fail
;
10320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10322 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10323 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
10324 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10325 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
10326 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10327 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
10334 static PyObject
*_wrap_ImageHistogram_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10335 PyObject
*resultobj
;
10336 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10337 unsigned long arg2
;
10338 unsigned long result
;
10339 PyObject
* obj0
= 0 ;
10340 PyObject
* obj1
= 0 ;
10341 char *kwnames
[] = {
10342 (char *) "self",(char *) "key", NULL
10345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10347 if (SWIG_arg_fail(1)) SWIG_fail
;
10349 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
10350 if (SWIG_arg_fail(2)) SWIG_fail
;
10353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10354 result
= (unsigned long)wxImageHistogram_GetCount(arg1
,arg2
);
10356 wxPyEndAllowThreads(__tstate
);
10357 if (PyErr_Occurred()) SWIG_fail
;
10360 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10368 static PyObject
*_wrap_ImageHistogram_GetCountRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10369 PyObject
*resultobj
;
10370 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10371 unsigned char arg2
;
10372 unsigned char arg3
;
10373 unsigned char arg4
;
10374 unsigned long result
;
10375 PyObject
* obj0
= 0 ;
10376 PyObject
* obj1
= 0 ;
10377 PyObject
* obj2
= 0 ;
10378 PyObject
* obj3
= 0 ;
10379 char *kwnames
[] = {
10380 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ImageHistogram_GetCountRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10385 if (SWIG_arg_fail(1)) SWIG_fail
;
10387 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10388 if (SWIG_arg_fail(2)) SWIG_fail
;
10391 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10392 if (SWIG_arg_fail(3)) SWIG_fail
;
10395 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
10396 if (SWIG_arg_fail(4)) SWIG_fail
;
10399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10400 result
= (unsigned long)wxImageHistogram_GetCountRGB(arg1
,arg2
,arg3
,arg4
);
10402 wxPyEndAllowThreads(__tstate
);
10403 if (PyErr_Occurred()) SWIG_fail
;
10406 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10414 static PyObject
*_wrap_ImageHistogram_GetCountColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10415 PyObject
*resultobj
;
10416 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10417 wxColour
*arg2
= 0 ;
10418 unsigned long result
;
10420 PyObject
* obj0
= 0 ;
10421 PyObject
* obj1
= 0 ;
10422 char *kwnames
[] = {
10423 (char *) "self",(char *) "colour", NULL
10426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCountColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10428 if (SWIG_arg_fail(1)) SWIG_fail
;
10431 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10435 result
= (unsigned long)wxImageHistogram_GetCountColour(arg1
,(wxColour
const &)*arg2
);
10437 wxPyEndAllowThreads(__tstate
);
10438 if (PyErr_Occurred()) SWIG_fail
;
10441 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10449 static PyObject
* ImageHistogram_swigregister(PyObject
*, PyObject
*args
) {
10451 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10452 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
10454 return Py_BuildValue((char *)"");
10456 static PyObject
*_wrap_new_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10457 PyObject
*resultobj
;
10458 wxString
*arg1
= 0 ;
10459 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10460 int arg3
= (int) -1 ;
10462 bool temp1
= false ;
10463 PyObject
* obj0
= 0 ;
10464 PyObject
* obj1
= 0 ;
10465 PyObject
* obj2
= 0 ;
10466 char *kwnames
[] = {
10467 (char *) "name",(char *) "type",(char *) "index", NULL
10470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10472 arg1
= wxString_in_helper(obj0
);
10473 if (arg1
== NULL
) SWIG_fail
;
10478 arg2
= (long)(SWIG_As_long(obj1
));
10479 if (SWIG_arg_fail(2)) SWIG_fail
;
10484 arg3
= (int)(SWIG_As_int(obj2
));
10485 if (SWIG_arg_fail(3)) SWIG_fail
;
10489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10490 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
10492 wxPyEndAllowThreads(__tstate
);
10493 if (PyErr_Occurred()) SWIG_fail
;
10495 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10510 static PyObject
*_wrap_delete_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10511 PyObject
*resultobj
;
10512 wxImage
*arg1
= (wxImage
*) 0 ;
10513 PyObject
* obj0
= 0 ;
10514 char *kwnames
[] = {
10515 (char *) "self", NULL
10518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
10519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10520 if (SWIG_arg_fail(1)) SWIG_fail
;
10522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10525 wxPyEndAllowThreads(__tstate
);
10526 if (PyErr_Occurred()) SWIG_fail
;
10528 Py_INCREF(Py_None
); resultobj
= Py_None
;
10535 static PyObject
*_wrap_new_ImageFromMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10536 PyObject
*resultobj
;
10537 wxString
*arg1
= 0 ;
10538 wxString
*arg2
= 0 ;
10539 int arg3
= (int) -1 ;
10541 bool temp1
= false ;
10542 bool temp2
= false ;
10543 PyObject
* obj0
= 0 ;
10544 PyObject
* obj1
= 0 ;
10545 PyObject
* obj2
= 0 ;
10546 char *kwnames
[] = {
10547 (char *) "name",(char *) "mimetype",(char *) "index", NULL
10550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10552 arg1
= wxString_in_helper(obj0
);
10553 if (arg1
== NULL
) SWIG_fail
;
10557 arg2
= wxString_in_helper(obj1
);
10558 if (arg2
== NULL
) SWIG_fail
;
10563 arg3
= (int)(SWIG_As_int(obj2
));
10564 if (SWIG_arg_fail(3)) SWIG_fail
;
10568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10569 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10571 wxPyEndAllowThreads(__tstate
);
10572 if (PyErr_Occurred()) SWIG_fail
;
10574 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10597 static PyObject
*_wrap_new_ImageFromStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10598 PyObject
*resultobj
;
10599 wxInputStream
*arg1
= 0 ;
10600 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10601 int arg3
= (int) -1 ;
10603 wxPyInputStream
*temp1
;
10605 PyObject
* obj0
= 0 ;
10606 PyObject
* obj1
= 0 ;
10607 PyObject
* obj2
= 0 ;
10608 char *kwnames
[] = {
10609 (char *) "stream",(char *) "type",(char *) "index", NULL
10612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10614 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10615 arg1
= temp1
->m_wxis
;
10618 PyErr_Clear(); // clear the failure of the wxPyConvert above
10619 arg1
= wxPyCBInputStream_create(obj0
, false);
10620 if (arg1
== NULL
) {
10621 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
10629 arg2
= (long)(SWIG_As_long(obj1
));
10630 if (SWIG_arg_fail(2)) SWIG_fail
;
10635 arg3
= (int)(SWIG_As_int(obj2
));
10636 if (SWIG_arg_fail(3)) SWIG_fail
;
10640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10641 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
10643 wxPyEndAllowThreads(__tstate
);
10644 if (PyErr_Occurred()) SWIG_fail
;
10646 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10648 if (created1
) delete arg1
;
10653 if (created1
) delete arg1
;
10659 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10660 PyObject
*resultobj
;
10661 wxInputStream
*arg1
= 0 ;
10662 wxString
*arg2
= 0 ;
10663 int arg3
= (int) -1 ;
10665 wxPyInputStream
*temp1
;
10667 bool temp2
= false ;
10668 PyObject
* obj0
= 0 ;
10669 PyObject
* obj1
= 0 ;
10670 PyObject
* obj2
= 0 ;
10671 char *kwnames
[] = {
10672 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
10675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10677 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10678 arg1
= temp1
->m_wxis
;
10681 PyErr_Clear(); // clear the failure of the wxPyConvert above
10682 arg1
= wxPyCBInputStream_create(obj0
, false);
10683 if (arg1
== NULL
) {
10684 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
10691 arg2
= wxString_in_helper(obj1
);
10692 if (arg2
== NULL
) SWIG_fail
;
10697 arg3
= (int)(SWIG_As_int(obj2
));
10698 if (SWIG_arg_fail(3)) SWIG_fail
;
10702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10703 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
10705 wxPyEndAllowThreads(__tstate
);
10706 if (PyErr_Occurred()) SWIG_fail
;
10708 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10710 if (created1
) delete arg1
;
10719 if (created1
) delete arg1
;
10729 static PyObject
*_wrap_new_EmptyImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10730 PyObject
*resultobj
;
10731 int arg1
= (int) 0 ;
10732 int arg2
= (int) 0 ;
10733 bool arg3
= (bool) true ;
10735 PyObject
* obj0
= 0 ;
10736 PyObject
* obj1
= 0 ;
10737 PyObject
* obj2
= 0 ;
10738 char *kwnames
[] = {
10739 (char *) "width",(char *) "height",(char *) "clear", NULL
10742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10745 arg1
= (int)(SWIG_As_int(obj0
));
10746 if (SWIG_arg_fail(1)) SWIG_fail
;
10751 arg2
= (int)(SWIG_As_int(obj1
));
10752 if (SWIG_arg_fail(2)) SWIG_fail
;
10757 arg3
= (bool)(SWIG_As_bool(obj2
));
10758 if (SWIG_arg_fail(3)) SWIG_fail
;
10762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10763 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
10765 wxPyEndAllowThreads(__tstate
);
10766 if (PyErr_Occurred()) SWIG_fail
;
10768 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10775 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10776 PyObject
*resultobj
;
10777 wxBitmap
*arg1
= 0 ;
10779 PyObject
* obj0
= 0 ;
10780 char *kwnames
[] = {
10781 (char *) "bitmap", NULL
10784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
10786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
10787 if (SWIG_arg_fail(1)) SWIG_fail
;
10788 if (arg1
== NULL
) {
10789 SWIG_null_ref("wxBitmap");
10791 if (SWIG_arg_fail(1)) SWIG_fail
;
10794 if (!wxPyCheckForApp()) SWIG_fail
;
10795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10796 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
10798 wxPyEndAllowThreads(__tstate
);
10799 if (PyErr_Occurred()) SWIG_fail
;
10801 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10808 static PyObject
*_wrap_new_ImageFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10809 PyObject
*resultobj
;
10815 PyObject
* obj0
= 0 ;
10816 PyObject
* obj1
= 0 ;
10817 PyObject
* obj2
= 0 ;
10818 char *kwnames
[] = {
10819 (char *) "width",(char *) "height",(char *) "data", NULL
10822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10824 arg1
= (int)(SWIG_As_int(obj0
));
10825 if (SWIG_arg_fail(1)) SWIG_fail
;
10828 arg2
= (int)(SWIG_As_int(obj1
));
10829 if (SWIG_arg_fail(2)) SWIG_fail
;
10832 if (!PyArg_Parse(obj2
, "t#", &arg3
, &arg4
)) SWIG_fail
;
10835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10836 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
);
10838 wxPyEndAllowThreads(__tstate
);
10839 if (PyErr_Occurred()) SWIG_fail
;
10841 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10848 static PyObject
*_wrap_new_ImageFromDataWithAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10849 PyObject
*resultobj
;
10857 PyObject
* obj0
= 0 ;
10858 PyObject
* obj1
= 0 ;
10859 PyObject
* obj2
= 0 ;
10860 PyObject
* obj3
= 0 ;
10861 char *kwnames
[] = {
10862 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
10865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10867 arg1
= (int)(SWIG_As_int(obj0
));
10868 if (SWIG_arg_fail(1)) SWIG_fail
;
10871 arg2
= (int)(SWIG_As_int(obj1
));
10872 if (SWIG_arg_fail(2)) SWIG_fail
;
10875 if (!PyArg_Parse(obj2
, "t#", &arg3
, &arg4
)) SWIG_fail
;
10878 if (!PyArg_Parse(obj3
, "t#", &arg5
, &arg6
)) SWIG_fail
;
10881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10882 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
10884 wxPyEndAllowThreads(__tstate
);
10885 if (PyErr_Occurred()) SWIG_fail
;
10887 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10894 static PyObject
*_wrap_Image_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10895 PyObject
*resultobj
;
10896 wxImage
*arg1
= (wxImage
*) 0 ;
10899 PyObject
* obj0
= 0 ;
10900 PyObject
* obj1
= 0 ;
10901 PyObject
* obj2
= 0 ;
10902 char *kwnames
[] = {
10903 (char *) "self",(char *) "width",(char *) "height", NULL
10906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10908 if (SWIG_arg_fail(1)) SWIG_fail
;
10910 arg2
= (int)(SWIG_As_int(obj1
));
10911 if (SWIG_arg_fail(2)) SWIG_fail
;
10914 arg3
= (int)(SWIG_As_int(obj2
));
10915 if (SWIG_arg_fail(3)) SWIG_fail
;
10918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10919 (arg1
)->Create(arg2
,arg3
);
10921 wxPyEndAllowThreads(__tstate
);
10922 if (PyErr_Occurred()) SWIG_fail
;
10924 Py_INCREF(Py_None
); resultobj
= Py_None
;
10931 static PyObject
*_wrap_Image_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10932 PyObject
*resultobj
;
10933 wxImage
*arg1
= (wxImage
*) 0 ;
10934 PyObject
* obj0
= 0 ;
10935 char *kwnames
[] = {
10936 (char *) "self", NULL
10939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
10940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10941 if (SWIG_arg_fail(1)) SWIG_fail
;
10943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10946 wxPyEndAllowThreads(__tstate
);
10947 if (PyErr_Occurred()) SWIG_fail
;
10949 Py_INCREF(Py_None
); resultobj
= Py_None
;
10956 static PyObject
*_wrap_Image_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10957 PyObject
*resultobj
;
10958 wxImage
*arg1
= (wxImage
*) 0 ;
10961 SwigValueWrapper
<wxImage
> result
;
10962 PyObject
* obj0
= 0 ;
10963 PyObject
* obj1
= 0 ;
10964 PyObject
* obj2
= 0 ;
10965 char *kwnames
[] = {
10966 (char *) "self",(char *) "width",(char *) "height", NULL
10969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10971 if (SWIG_arg_fail(1)) SWIG_fail
;
10973 arg2
= (int)(SWIG_As_int(obj1
));
10974 if (SWIG_arg_fail(2)) SWIG_fail
;
10977 arg3
= (int)(SWIG_As_int(obj2
));
10978 if (SWIG_arg_fail(3)) SWIG_fail
;
10981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10982 result
= (arg1
)->Scale(arg2
,arg3
);
10984 wxPyEndAllowThreads(__tstate
);
10985 if (PyErr_Occurred()) SWIG_fail
;
10988 wxImage
* resultptr
;
10989 resultptr
= new wxImage((wxImage
&)(result
));
10990 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10998 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10999 PyObject
*resultobj
;
11000 wxImage
*arg1
= (wxImage
*) 0 ;
11003 SwigValueWrapper
<wxImage
> result
;
11004 PyObject
* obj0
= 0 ;
11005 PyObject
* obj1
= 0 ;
11006 PyObject
* obj2
= 0 ;
11007 char *kwnames
[] = {
11008 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
11011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11013 if (SWIG_arg_fail(1)) SWIG_fail
;
11015 arg2
= (int)(SWIG_As_int(obj1
));
11016 if (SWIG_arg_fail(2)) SWIG_fail
;
11019 arg3
= (int)(SWIG_As_int(obj2
));
11020 if (SWIG_arg_fail(3)) SWIG_fail
;
11023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11024 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
11026 wxPyEndAllowThreads(__tstate
);
11027 if (PyErr_Occurred()) SWIG_fail
;
11030 wxImage
* resultptr
;
11031 resultptr
= new wxImage((wxImage
&)(result
));
11032 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11040 static PyObject
*_wrap_Image_Rescale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11041 PyObject
*resultobj
;
11042 wxImage
*arg1
= (wxImage
*) 0 ;
11046 PyObject
* obj0
= 0 ;
11047 PyObject
* obj1
= 0 ;
11048 PyObject
* obj2
= 0 ;
11049 char *kwnames
[] = {
11050 (char *) "self",(char *) "width",(char *) "height", NULL
11053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11055 if (SWIG_arg_fail(1)) SWIG_fail
;
11057 arg2
= (int)(SWIG_As_int(obj1
));
11058 if (SWIG_arg_fail(2)) SWIG_fail
;
11061 arg3
= (int)(SWIG_As_int(obj2
));
11062 if (SWIG_arg_fail(3)) SWIG_fail
;
11065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11067 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
11068 result
= (wxImage
*) &_result_ref
;
11071 wxPyEndAllowThreads(__tstate
);
11072 if (PyErr_Occurred()) SWIG_fail
;
11074 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
11081 static PyObject
*_wrap_Image_Resize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11082 PyObject
*resultobj
;
11083 wxImage
*arg1
= (wxImage
*) 0 ;
11085 wxPoint
*arg3
= 0 ;
11086 int arg4
= (int) -1 ;
11087 int arg5
= (int) -1 ;
11088 int arg6
= (int) -1 ;
11092 PyObject
* obj0
= 0 ;
11093 PyObject
* obj1
= 0 ;
11094 PyObject
* obj2
= 0 ;
11095 PyObject
* obj3
= 0 ;
11096 PyObject
* obj4
= 0 ;
11097 PyObject
* obj5
= 0 ;
11098 char *kwnames
[] = {
11099 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
11102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Resize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11104 if (SWIG_arg_fail(1)) SWIG_fail
;
11107 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
11111 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11115 arg4
= (int)(SWIG_As_int(obj3
));
11116 if (SWIG_arg_fail(4)) SWIG_fail
;
11121 arg5
= (int)(SWIG_As_int(obj4
));
11122 if (SWIG_arg_fail(5)) SWIG_fail
;
11127 arg6
= (int)(SWIG_As_int(obj5
));
11128 if (SWIG_arg_fail(6)) SWIG_fail
;
11132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11134 wxImage
&_result_ref
= (arg1
)->Resize((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
11135 result
= (wxImage
*) &_result_ref
;
11138 wxPyEndAllowThreads(__tstate
);
11139 if (PyErr_Occurred()) SWIG_fail
;
11141 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
11148 static PyObject
*_wrap_Image_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11149 PyObject
*resultobj
;
11150 wxImage
*arg1
= (wxImage
*) 0 ;
11153 unsigned char arg4
;
11154 unsigned char arg5
;
11155 unsigned char arg6
;
11156 PyObject
* obj0
= 0 ;
11157 PyObject
* obj1
= 0 ;
11158 PyObject
* obj2
= 0 ;
11159 PyObject
* obj3
= 0 ;
11160 PyObject
* obj4
= 0 ;
11161 PyObject
* obj5
= 0 ;
11162 char *kwnames
[] = {
11163 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
11166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11168 if (SWIG_arg_fail(1)) SWIG_fail
;
11170 arg2
= (int)(SWIG_As_int(obj1
));
11171 if (SWIG_arg_fail(2)) SWIG_fail
;
11174 arg3
= (int)(SWIG_As_int(obj2
));
11175 if (SWIG_arg_fail(3)) SWIG_fail
;
11178 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11179 if (SWIG_arg_fail(4)) SWIG_fail
;
11182 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
11183 if (SWIG_arg_fail(5)) SWIG_fail
;
11186 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj5
));
11187 if (SWIG_arg_fail(6)) SWIG_fail
;
11190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11191 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
11193 wxPyEndAllowThreads(__tstate
);
11194 if (PyErr_Occurred()) SWIG_fail
;
11196 Py_INCREF(Py_None
); resultobj
= Py_None
;
11203 static PyObject
*_wrap_Image_SetRGBRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11204 PyObject
*resultobj
;
11205 wxImage
*arg1
= (wxImage
*) 0 ;
11207 unsigned char arg3
;
11208 unsigned char arg4
;
11209 unsigned char arg5
;
11211 PyObject
* obj0
= 0 ;
11212 PyObject
* obj1
= 0 ;
11213 PyObject
* obj2
= 0 ;
11214 PyObject
* obj3
= 0 ;
11215 PyObject
* obj4
= 0 ;
11216 char *kwnames
[] = {
11217 (char *) "self",(char *) "rect",(char *) "r",(char *) "g",(char *) "b", NULL
11220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetRGBRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11222 if (SWIG_arg_fail(1)) SWIG_fail
;
11225 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11228 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
11229 if (SWIG_arg_fail(3)) SWIG_fail
;
11232 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11233 if (SWIG_arg_fail(4)) SWIG_fail
;
11236 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
11237 if (SWIG_arg_fail(5)) SWIG_fail
;
11240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11241 (arg1
)->SetRGB((wxRect
const &)*arg2
,arg3
,arg4
,arg5
);
11243 wxPyEndAllowThreads(__tstate
);
11244 if (PyErr_Occurred()) SWIG_fail
;
11246 Py_INCREF(Py_None
); resultobj
= Py_None
;
11253 static PyObject
*_wrap_Image_GetRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11254 PyObject
*resultobj
;
11255 wxImage
*arg1
= (wxImage
*) 0 ;
11258 unsigned char result
;
11259 PyObject
* obj0
= 0 ;
11260 PyObject
* obj1
= 0 ;
11261 PyObject
* obj2
= 0 ;
11262 char *kwnames
[] = {
11263 (char *) "self",(char *) "x",(char *) "y", NULL
11266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11268 if (SWIG_arg_fail(1)) SWIG_fail
;
11270 arg2
= (int)(SWIG_As_int(obj1
));
11271 if (SWIG_arg_fail(2)) SWIG_fail
;
11274 arg3
= (int)(SWIG_As_int(obj2
));
11275 if (SWIG_arg_fail(3)) SWIG_fail
;
11278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11279 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
11281 wxPyEndAllowThreads(__tstate
);
11282 if (PyErr_Occurred()) SWIG_fail
;
11285 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11293 static PyObject
*_wrap_Image_GetGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11294 PyObject
*resultobj
;
11295 wxImage
*arg1
= (wxImage
*) 0 ;
11298 unsigned char result
;
11299 PyObject
* obj0
= 0 ;
11300 PyObject
* obj1
= 0 ;
11301 PyObject
* obj2
= 0 ;
11302 char *kwnames
[] = {
11303 (char *) "self",(char *) "x",(char *) "y", NULL
11306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11308 if (SWIG_arg_fail(1)) SWIG_fail
;
11310 arg2
= (int)(SWIG_As_int(obj1
));
11311 if (SWIG_arg_fail(2)) SWIG_fail
;
11314 arg3
= (int)(SWIG_As_int(obj2
));
11315 if (SWIG_arg_fail(3)) SWIG_fail
;
11318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11319 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
11321 wxPyEndAllowThreads(__tstate
);
11322 if (PyErr_Occurred()) SWIG_fail
;
11325 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11333 static PyObject
*_wrap_Image_GetBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11334 PyObject
*resultobj
;
11335 wxImage
*arg1
= (wxImage
*) 0 ;
11338 unsigned char result
;
11339 PyObject
* obj0
= 0 ;
11340 PyObject
* obj1
= 0 ;
11341 PyObject
* obj2
= 0 ;
11342 char *kwnames
[] = {
11343 (char *) "self",(char *) "x",(char *) "y", NULL
11346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11348 if (SWIG_arg_fail(1)) SWIG_fail
;
11350 arg2
= (int)(SWIG_As_int(obj1
));
11351 if (SWIG_arg_fail(2)) SWIG_fail
;
11354 arg3
= (int)(SWIG_As_int(obj2
));
11355 if (SWIG_arg_fail(3)) SWIG_fail
;
11358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11359 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
11361 wxPyEndAllowThreads(__tstate
);
11362 if (PyErr_Occurred()) SWIG_fail
;
11365 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11373 static PyObject
*_wrap_Image_SetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11374 PyObject
*resultobj
;
11375 wxImage
*arg1
= (wxImage
*) 0 ;
11378 unsigned char arg4
;
11379 PyObject
* obj0
= 0 ;
11380 PyObject
* obj1
= 0 ;
11381 PyObject
* obj2
= 0 ;
11382 PyObject
* obj3
= 0 ;
11383 char *kwnames
[] = {
11384 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
11387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11389 if (SWIG_arg_fail(1)) SWIG_fail
;
11391 arg2
= (int)(SWIG_As_int(obj1
));
11392 if (SWIG_arg_fail(2)) SWIG_fail
;
11395 arg3
= (int)(SWIG_As_int(obj2
));
11396 if (SWIG_arg_fail(3)) SWIG_fail
;
11399 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11400 if (SWIG_arg_fail(4)) SWIG_fail
;
11403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11404 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
11406 wxPyEndAllowThreads(__tstate
);
11407 if (PyErr_Occurred()) SWIG_fail
;
11409 Py_INCREF(Py_None
); resultobj
= Py_None
;
11416 static PyObject
*_wrap_Image_GetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11417 PyObject
*resultobj
;
11418 wxImage
*arg1
= (wxImage
*) 0 ;
11421 unsigned char result
;
11422 PyObject
* obj0
= 0 ;
11423 PyObject
* obj1
= 0 ;
11424 PyObject
* obj2
= 0 ;
11425 char *kwnames
[] = {
11426 (char *) "self",(char *) "x",(char *) "y", NULL
11429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11431 if (SWIG_arg_fail(1)) SWIG_fail
;
11433 arg2
= (int)(SWIG_As_int(obj1
));
11434 if (SWIG_arg_fail(2)) SWIG_fail
;
11437 arg3
= (int)(SWIG_As_int(obj2
));
11438 if (SWIG_arg_fail(3)) SWIG_fail
;
11441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11442 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
11444 wxPyEndAllowThreads(__tstate
);
11445 if (PyErr_Occurred()) SWIG_fail
;
11448 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11456 static PyObject
*_wrap_Image_HasAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11457 PyObject
*resultobj
;
11458 wxImage
*arg1
= (wxImage
*) 0 ;
11460 PyObject
* obj0
= 0 ;
11461 char *kwnames
[] = {
11462 (char *) "self", NULL
11465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
11466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11467 if (SWIG_arg_fail(1)) SWIG_fail
;
11469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11470 result
= (bool)(arg1
)->HasAlpha();
11472 wxPyEndAllowThreads(__tstate
);
11473 if (PyErr_Occurred()) SWIG_fail
;
11476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11484 static PyObject
*_wrap_Image_InitAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11485 PyObject
*resultobj
;
11486 wxImage
*arg1
= (wxImage
*) 0 ;
11487 PyObject
* obj0
= 0 ;
11488 char *kwnames
[] = {
11489 (char *) "self", NULL
11492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InitAlpha",kwnames
,&obj0
)) goto fail
;
11493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11494 if (SWIG_arg_fail(1)) SWIG_fail
;
11496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11497 (arg1
)->InitAlpha();
11499 wxPyEndAllowThreads(__tstate
);
11500 if (PyErr_Occurred()) SWIG_fail
;
11502 Py_INCREF(Py_None
); resultobj
= Py_None
;
11509 static PyObject
*_wrap_Image_IsTransparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11510 PyObject
*resultobj
;
11511 wxImage
*arg1
= (wxImage
*) 0 ;
11514 unsigned char arg4
= (unsigned char) wxIMAGE_ALPHA_THRESHOLD
;
11516 PyObject
* obj0
= 0 ;
11517 PyObject
* obj1
= 0 ;
11518 PyObject
* obj2
= 0 ;
11519 PyObject
* obj3
= 0 ;
11520 char *kwnames
[] = {
11521 (char *) "self",(char *) "x",(char *) "y",(char *) "threshold", NULL
11524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_IsTransparent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11526 if (SWIG_arg_fail(1)) SWIG_fail
;
11528 arg2
= (int)(SWIG_As_int(obj1
));
11529 if (SWIG_arg_fail(2)) SWIG_fail
;
11532 arg3
= (int)(SWIG_As_int(obj2
));
11533 if (SWIG_arg_fail(3)) SWIG_fail
;
11537 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11538 if (SWIG_arg_fail(4)) SWIG_fail
;
11542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11543 result
= (bool)((wxImage
const *)arg1
)->IsTransparent(arg2
,arg3
,arg4
);
11545 wxPyEndAllowThreads(__tstate
);
11546 if (PyErr_Occurred()) SWIG_fail
;
11549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11557 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11558 PyObject
*resultobj
;
11559 wxImage
*arg1
= (wxImage
*) 0 ;
11560 byte
*arg2
= (byte
*) 0 ;
11561 byte
*arg3
= (byte
*) 0 ;
11562 byte
*arg4
= (byte
*) 0 ;
11563 byte arg5
= (byte
) 0 ;
11564 byte arg6
= (byte
) 0 ;
11565 byte arg7
= (byte
) 0 ;
11573 PyObject
* obj0
= 0 ;
11574 PyObject
* obj1
= 0 ;
11575 PyObject
* obj2
= 0 ;
11576 PyObject
* obj3
= 0 ;
11577 char *kwnames
[] = {
11578 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
11581 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
11582 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11583 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
11584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11586 if (SWIG_arg_fail(1)) SWIG_fail
;
11589 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11590 if (SWIG_arg_fail(5)) SWIG_fail
;
11595 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11596 if (SWIG_arg_fail(6)) SWIG_fail
;
11601 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11602 if (SWIG_arg_fail(7)) SWIG_fail
;
11606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11607 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11609 wxPyEndAllowThreads(__tstate
);
11610 if (PyErr_Occurred()) SWIG_fail
;
11613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11615 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
11616 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
11617 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11618 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
11619 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
11620 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
11627 static PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11628 PyObject
*resultobj
;
11629 wxImage
*arg1
= (wxImage
*) 0 ;
11630 byte arg2
= (byte
) wxIMAGE_ALPHA_THRESHOLD
;
11632 PyObject
* obj0
= 0 ;
11633 PyObject
* obj1
= 0 ;
11634 char *kwnames
[] = {
11635 (char *) "self",(char *) "threshold", NULL
11638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) goto fail
;
11639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11640 if (SWIG_arg_fail(1)) SWIG_fail
;
11643 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11644 if (SWIG_arg_fail(2)) SWIG_fail
;
11648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11649 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
11651 wxPyEndAllowThreads(__tstate
);
11652 if (PyErr_Occurred()) SWIG_fail
;
11655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11663 static PyObject
*_wrap_Image_ConvertColourToAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11664 PyObject
*resultobj
;
11665 wxImage
*arg1
= (wxImage
*) 0 ;
11666 unsigned char arg2
;
11667 unsigned char arg3
;
11668 unsigned char arg4
;
11670 PyObject
* obj0
= 0 ;
11671 PyObject
* obj1
= 0 ;
11672 PyObject
* obj2
= 0 ;
11673 PyObject
* obj3
= 0 ;
11674 char *kwnames
[] = {
11675 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
11678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertColourToAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11680 if (SWIG_arg_fail(1)) SWIG_fail
;
11682 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
11683 if (SWIG_arg_fail(2)) SWIG_fail
;
11686 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
11687 if (SWIG_arg_fail(3)) SWIG_fail
;
11690 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11691 if (SWIG_arg_fail(4)) SWIG_fail
;
11694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11695 result
= (bool)(arg1
)->ConvertColourToAlpha(arg2
,arg3
,arg4
);
11697 wxPyEndAllowThreads(__tstate
);
11698 if (PyErr_Occurred()) SWIG_fail
;
11701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11709 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11710 PyObject
*resultobj
;
11711 wxImage
*arg1
= (wxImage
*) 0 ;
11712 wxImage
*arg2
= 0 ;
11717 PyObject
* obj0
= 0 ;
11718 PyObject
* obj1
= 0 ;
11719 PyObject
* obj2
= 0 ;
11720 PyObject
* obj3
= 0 ;
11721 PyObject
* obj4
= 0 ;
11722 char *kwnames
[] = {
11723 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
11726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11728 if (SWIG_arg_fail(1)) SWIG_fail
;
11730 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11731 if (SWIG_arg_fail(2)) SWIG_fail
;
11732 if (arg2
== NULL
) {
11733 SWIG_null_ref("wxImage");
11735 if (SWIG_arg_fail(2)) SWIG_fail
;
11738 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11739 if (SWIG_arg_fail(3)) SWIG_fail
;
11742 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11743 if (SWIG_arg_fail(4)) SWIG_fail
;
11746 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
11747 if (SWIG_arg_fail(5)) SWIG_fail
;
11750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11751 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
11753 wxPyEndAllowThreads(__tstate
);
11754 if (PyErr_Occurred()) SWIG_fail
;
11757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11765 static PyObject
*_wrap_Image_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11766 PyObject
*resultobj
;
11767 wxString
*arg1
= 0 ;
11769 bool temp1
= false ;
11770 PyObject
* obj0
= 0 ;
11771 char *kwnames
[] = {
11772 (char *) "name", NULL
11775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
11777 arg1
= wxString_in_helper(obj0
);
11778 if (arg1
== NULL
) SWIG_fail
;
11782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11783 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
11785 wxPyEndAllowThreads(__tstate
);
11786 if (PyErr_Occurred()) SWIG_fail
;
11789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11805 static PyObject
*_wrap_Image_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11806 PyObject
*resultobj
;
11807 wxString
*arg1
= 0 ;
11808 long arg2
= (long) wxBITMAP_TYPE_ANY
;
11810 bool temp1
= false ;
11811 PyObject
* obj0
= 0 ;
11812 PyObject
* obj1
= 0 ;
11813 char *kwnames
[] = {
11814 (char *) "name",(char *) "type", NULL
11817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11819 arg1
= wxString_in_helper(obj0
);
11820 if (arg1
== NULL
) SWIG_fail
;
11825 arg2
= (long)(SWIG_As_long(obj1
));
11826 if (SWIG_arg_fail(2)) SWIG_fail
;
11830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11831 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
11833 wxPyEndAllowThreads(__tstate
);
11834 if (PyErr_Occurred()) SWIG_fail
;
11837 resultobj
= SWIG_From_int((int)(result
));
11853 static PyObject
*_wrap_Image_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11854 PyObject
*resultobj
;
11855 wxImage
*arg1
= (wxImage
*) 0 ;
11856 wxString
*arg2
= 0 ;
11857 long arg3
= (long) wxBITMAP_TYPE_ANY
;
11858 int arg4
= (int) -1 ;
11860 bool temp2
= false ;
11861 PyObject
* obj0
= 0 ;
11862 PyObject
* obj1
= 0 ;
11863 PyObject
* obj2
= 0 ;
11864 PyObject
* obj3
= 0 ;
11865 char *kwnames
[] = {
11866 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
11869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11871 if (SWIG_arg_fail(1)) SWIG_fail
;
11873 arg2
= wxString_in_helper(obj1
);
11874 if (arg2
== NULL
) SWIG_fail
;
11879 arg3
= (long)(SWIG_As_long(obj2
));
11880 if (SWIG_arg_fail(3)) SWIG_fail
;
11885 arg4
= (int)(SWIG_As_int(obj3
));
11886 if (SWIG_arg_fail(4)) SWIG_fail
;
11890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11891 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
11893 wxPyEndAllowThreads(__tstate
);
11894 if (PyErr_Occurred()) SWIG_fail
;
11897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11913 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11914 PyObject
*resultobj
;
11915 wxImage
*arg1
= (wxImage
*) 0 ;
11916 wxString
*arg2
= 0 ;
11917 wxString
*arg3
= 0 ;
11918 int arg4
= (int) -1 ;
11920 bool temp2
= false ;
11921 bool temp3
= false ;
11922 PyObject
* obj0
= 0 ;
11923 PyObject
* obj1
= 0 ;
11924 PyObject
* obj2
= 0 ;
11925 PyObject
* obj3
= 0 ;
11926 char *kwnames
[] = {
11927 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
11930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11932 if (SWIG_arg_fail(1)) SWIG_fail
;
11934 arg2
= wxString_in_helper(obj1
);
11935 if (arg2
== NULL
) SWIG_fail
;
11939 arg3
= wxString_in_helper(obj2
);
11940 if (arg3
== NULL
) SWIG_fail
;
11945 arg4
= (int)(SWIG_As_int(obj3
));
11946 if (SWIG_arg_fail(4)) SWIG_fail
;
11950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11951 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
11953 wxPyEndAllowThreads(__tstate
);
11954 if (PyErr_Occurred()) SWIG_fail
;
11957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11981 static PyObject
*_wrap_Image_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11982 PyObject
*resultobj
;
11983 wxImage
*arg1
= (wxImage
*) 0 ;
11984 wxString
*arg2
= 0 ;
11987 bool temp2
= false ;
11988 PyObject
* obj0
= 0 ;
11989 PyObject
* obj1
= 0 ;
11990 PyObject
* obj2
= 0 ;
11991 char *kwnames
[] = {
11992 (char *) "self",(char *) "name",(char *) "type", NULL
11995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11997 if (SWIG_arg_fail(1)) SWIG_fail
;
11999 arg2
= wxString_in_helper(obj1
);
12000 if (arg2
== NULL
) SWIG_fail
;
12004 arg3
= (int)(SWIG_As_int(obj2
));
12005 if (SWIG_arg_fail(3)) SWIG_fail
;
12008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12009 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
12011 wxPyEndAllowThreads(__tstate
);
12012 if (PyErr_Occurred()) SWIG_fail
;
12015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12031 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12032 PyObject
*resultobj
;
12033 wxImage
*arg1
= (wxImage
*) 0 ;
12034 wxString
*arg2
= 0 ;
12035 wxString
*arg3
= 0 ;
12037 bool temp2
= false ;
12038 bool temp3
= false ;
12039 PyObject
* obj0
= 0 ;
12040 PyObject
* obj1
= 0 ;
12041 PyObject
* obj2
= 0 ;
12042 char *kwnames
[] = {
12043 (char *) "self",(char *) "name",(char *) "mimetype", NULL
12046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12048 if (SWIG_arg_fail(1)) SWIG_fail
;
12050 arg2
= wxString_in_helper(obj1
);
12051 if (arg2
== NULL
) SWIG_fail
;
12055 arg3
= wxString_in_helper(obj2
);
12056 if (arg3
== NULL
) SWIG_fail
;
12060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12061 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
12063 wxPyEndAllowThreads(__tstate
);
12064 if (PyErr_Occurred()) SWIG_fail
;
12067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12091 static PyObject
*_wrap_Image_CanReadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12092 PyObject
*resultobj
;
12093 wxInputStream
*arg1
= 0 ;
12095 wxPyInputStream
*temp1
;
12097 PyObject
* obj0
= 0 ;
12098 char *kwnames
[] = {
12099 (char *) "stream", NULL
12102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
12104 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
12105 arg1
= temp1
->m_wxis
;
12108 PyErr_Clear(); // clear the failure of the wxPyConvert above
12109 arg1
= wxPyCBInputStream_create(obj0
, false);
12110 if (arg1
== NULL
) {
12111 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12119 result
= (bool)wxImage::CanRead(*arg1
);
12121 wxPyEndAllowThreads(__tstate
);
12122 if (PyErr_Occurred()) SWIG_fail
;
12125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12128 if (created1
) delete arg1
;
12133 if (created1
) delete arg1
;
12139 static PyObject
*_wrap_Image_LoadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12140 PyObject
*resultobj
;
12141 wxImage
*arg1
= (wxImage
*) 0 ;
12142 wxInputStream
*arg2
= 0 ;
12143 long arg3
= (long) wxBITMAP_TYPE_ANY
;
12144 int arg4
= (int) -1 ;
12146 wxPyInputStream
*temp2
;
12148 PyObject
* obj0
= 0 ;
12149 PyObject
* obj1
= 0 ;
12150 PyObject
* obj2
= 0 ;
12151 PyObject
* obj3
= 0 ;
12152 char *kwnames
[] = {
12153 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
12156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12158 if (SWIG_arg_fail(1)) SWIG_fail
;
12160 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
12161 arg2
= temp2
->m_wxis
;
12164 PyErr_Clear(); // clear the failure of the wxPyConvert above
12165 arg2
= wxPyCBInputStream_create(obj1
, false);
12166 if (arg2
== NULL
) {
12167 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12175 arg3
= (long)(SWIG_As_long(obj2
));
12176 if (SWIG_arg_fail(3)) SWIG_fail
;
12181 arg4
= (int)(SWIG_As_int(obj3
));
12182 if (SWIG_arg_fail(4)) SWIG_fail
;
12186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12187 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
12189 wxPyEndAllowThreads(__tstate
);
12190 if (PyErr_Occurred()) SWIG_fail
;
12193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12196 if (created2
) delete arg2
;
12201 if (created2
) delete arg2
;
12207 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12208 PyObject
*resultobj
;
12209 wxImage
*arg1
= (wxImage
*) 0 ;
12210 wxInputStream
*arg2
= 0 ;
12211 wxString
*arg3
= 0 ;
12212 int arg4
= (int) -1 ;
12214 wxPyInputStream
*temp2
;
12216 bool temp3
= false ;
12217 PyObject
* obj0
= 0 ;
12218 PyObject
* obj1
= 0 ;
12219 PyObject
* obj2
= 0 ;
12220 PyObject
* obj3
= 0 ;
12221 char *kwnames
[] = {
12222 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
12225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12227 if (SWIG_arg_fail(1)) SWIG_fail
;
12229 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
12230 arg2
= temp2
->m_wxis
;
12233 PyErr_Clear(); // clear the failure of the wxPyConvert above
12234 arg2
= wxPyCBInputStream_create(obj1
, false);
12235 if (arg2
== NULL
) {
12236 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12243 arg3
= wxString_in_helper(obj2
);
12244 if (arg3
== NULL
) SWIG_fail
;
12249 arg4
= (int)(SWIG_As_int(obj3
));
12250 if (SWIG_arg_fail(4)) SWIG_fail
;
12254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12255 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
12257 wxPyEndAllowThreads(__tstate
);
12258 if (PyErr_Occurred()) SWIG_fail
;
12261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12264 if (created2
) delete arg2
;
12273 if (created2
) delete arg2
;
12283 static PyObject
*_wrap_Image_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12284 PyObject
*resultobj
;
12285 wxImage
*arg1
= (wxImage
*) 0 ;
12287 PyObject
* obj0
= 0 ;
12288 char *kwnames
[] = {
12289 (char *) "self", NULL
12292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
12293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12294 if (SWIG_arg_fail(1)) SWIG_fail
;
12296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12297 result
= (bool)(arg1
)->Ok();
12299 wxPyEndAllowThreads(__tstate
);
12300 if (PyErr_Occurred()) SWIG_fail
;
12303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12311 static PyObject
*_wrap_Image_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12312 PyObject
*resultobj
;
12313 wxImage
*arg1
= (wxImage
*) 0 ;
12315 PyObject
* obj0
= 0 ;
12316 char *kwnames
[] = {
12317 (char *) "self", NULL
12320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
12321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12322 if (SWIG_arg_fail(1)) SWIG_fail
;
12324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12325 result
= (int)(arg1
)->GetWidth();
12327 wxPyEndAllowThreads(__tstate
);
12328 if (PyErr_Occurred()) SWIG_fail
;
12331 resultobj
= SWIG_From_int((int)(result
));
12339 static PyObject
*_wrap_Image_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12340 PyObject
*resultobj
;
12341 wxImage
*arg1
= (wxImage
*) 0 ;
12343 PyObject
* obj0
= 0 ;
12344 char *kwnames
[] = {
12345 (char *) "self", NULL
12348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
12349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12350 if (SWIG_arg_fail(1)) SWIG_fail
;
12352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12353 result
= (int)(arg1
)->GetHeight();
12355 wxPyEndAllowThreads(__tstate
);
12356 if (PyErr_Occurred()) SWIG_fail
;
12359 resultobj
= SWIG_From_int((int)(result
));
12367 static PyObject
*_wrap_Image_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12368 PyObject
*resultobj
;
12369 wxImage
*arg1
= (wxImage
*) 0 ;
12371 PyObject
* obj0
= 0 ;
12372 char *kwnames
[] = {
12373 (char *) "self", NULL
12376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
12377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12378 if (SWIG_arg_fail(1)) SWIG_fail
;
12380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12381 result
= wxImage_GetSize(arg1
);
12383 wxPyEndAllowThreads(__tstate
);
12384 if (PyErr_Occurred()) SWIG_fail
;
12387 wxSize
* resultptr
;
12388 resultptr
= new wxSize((wxSize
&)(result
));
12389 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
12397 static PyObject
*_wrap_Image_GetSubImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12398 PyObject
*resultobj
;
12399 wxImage
*arg1
= (wxImage
*) 0 ;
12401 SwigValueWrapper
<wxImage
> result
;
12403 PyObject
* obj0
= 0 ;
12404 PyObject
* obj1
= 0 ;
12405 char *kwnames
[] = {
12406 (char *) "self",(char *) "rect", NULL
12409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
12410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12411 if (SWIG_arg_fail(1)) SWIG_fail
;
12414 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12418 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
12420 wxPyEndAllowThreads(__tstate
);
12421 if (PyErr_Occurred()) SWIG_fail
;
12424 wxImage
* resultptr
;
12425 resultptr
= new wxImage((wxImage
&)(result
));
12426 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12434 static PyObject
*_wrap_Image_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12435 PyObject
*resultobj
;
12436 wxImage
*arg1
= (wxImage
*) 0 ;
12438 wxPoint
*arg3
= 0 ;
12439 int arg4
= (int) -1 ;
12440 int arg5
= (int) -1 ;
12441 int arg6
= (int) -1 ;
12442 SwigValueWrapper
<wxImage
> result
;
12445 PyObject
* obj0
= 0 ;
12446 PyObject
* obj1
= 0 ;
12447 PyObject
* obj2
= 0 ;
12448 PyObject
* obj3
= 0 ;
12449 PyObject
* obj4
= 0 ;
12450 PyObject
* obj5
= 0 ;
12451 char *kwnames
[] = {
12452 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
12455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Size",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12457 if (SWIG_arg_fail(1)) SWIG_fail
;
12460 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12464 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12468 arg4
= (int)(SWIG_As_int(obj3
));
12469 if (SWIG_arg_fail(4)) SWIG_fail
;
12474 arg5
= (int)(SWIG_As_int(obj4
));
12475 if (SWIG_arg_fail(5)) SWIG_fail
;
12480 arg6
= (int)(SWIG_As_int(obj5
));
12481 if (SWIG_arg_fail(6)) SWIG_fail
;
12485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12486 result
= ((wxImage
const *)arg1
)->Size((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
12488 wxPyEndAllowThreads(__tstate
);
12489 if (PyErr_Occurred()) SWIG_fail
;
12492 wxImage
* resultptr
;
12493 resultptr
= new wxImage((wxImage
&)(result
));
12494 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12502 static PyObject
*_wrap_Image_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12503 PyObject
*resultobj
;
12504 wxImage
*arg1
= (wxImage
*) 0 ;
12505 SwigValueWrapper
<wxImage
> result
;
12506 PyObject
* obj0
= 0 ;
12507 char *kwnames
[] = {
12508 (char *) "self", NULL
12511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
12512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12513 if (SWIG_arg_fail(1)) SWIG_fail
;
12515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12516 result
= (arg1
)->Copy();
12518 wxPyEndAllowThreads(__tstate
);
12519 if (PyErr_Occurred()) SWIG_fail
;
12522 wxImage
* resultptr
;
12523 resultptr
= new wxImage((wxImage
&)(result
));
12524 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12532 static PyObject
*_wrap_Image_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12533 PyObject
*resultobj
;
12534 wxImage
*arg1
= (wxImage
*) 0 ;
12535 wxImage
*arg2
= 0 ;
12538 PyObject
* obj0
= 0 ;
12539 PyObject
* obj1
= 0 ;
12540 PyObject
* obj2
= 0 ;
12541 PyObject
* obj3
= 0 ;
12542 char *kwnames
[] = {
12543 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
12546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12548 if (SWIG_arg_fail(1)) SWIG_fail
;
12550 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12551 if (SWIG_arg_fail(2)) SWIG_fail
;
12552 if (arg2
== NULL
) {
12553 SWIG_null_ref("wxImage");
12555 if (SWIG_arg_fail(2)) SWIG_fail
;
12558 arg3
= (int)(SWIG_As_int(obj2
));
12559 if (SWIG_arg_fail(3)) SWIG_fail
;
12562 arg4
= (int)(SWIG_As_int(obj3
));
12563 if (SWIG_arg_fail(4)) SWIG_fail
;
12566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12567 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
12569 wxPyEndAllowThreads(__tstate
);
12570 if (PyErr_Occurred()) SWIG_fail
;
12572 Py_INCREF(Py_None
); resultobj
= Py_None
;
12579 static PyObject
*_wrap_Image_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12580 PyObject
*resultobj
;
12581 wxImage
*arg1
= (wxImage
*) 0 ;
12583 PyObject
* obj0
= 0 ;
12584 char *kwnames
[] = {
12585 (char *) "self", NULL
12588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
12589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12590 if (SWIG_arg_fail(1)) SWIG_fail
;
12592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12593 result
= (PyObject
*)wxImage_GetData(arg1
);
12595 wxPyEndAllowThreads(__tstate
);
12596 if (PyErr_Occurred()) SWIG_fail
;
12598 resultobj
= result
;
12605 static PyObject
*_wrap_Image_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12606 PyObject
*resultobj
;
12607 wxImage
*arg1
= (wxImage
*) 0 ;
12610 PyObject
* obj0
= 0 ;
12611 PyObject
* obj1
= 0 ;
12612 char *kwnames
[] = {
12613 (char *) "self",(char *) "data", NULL
12616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
12617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12618 if (SWIG_arg_fail(1)) SWIG_fail
;
12620 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12624 wxImage_SetData(arg1
,arg2
,arg3
);
12626 wxPyEndAllowThreads(__tstate
);
12627 if (PyErr_Occurred()) SWIG_fail
;
12629 Py_INCREF(Py_None
); resultobj
= Py_None
;
12636 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12637 PyObject
*resultobj
;
12638 wxImage
*arg1
= (wxImage
*) 0 ;
12640 PyObject
* obj0
= 0 ;
12641 char *kwnames
[] = {
12642 (char *) "self", NULL
12645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
12646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12647 if (SWIG_arg_fail(1)) SWIG_fail
;
12649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12650 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
12652 wxPyEndAllowThreads(__tstate
);
12653 if (PyErr_Occurred()) SWIG_fail
;
12655 resultobj
= result
;
12662 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12663 PyObject
*resultobj
;
12664 wxImage
*arg1
= (wxImage
*) 0 ;
12667 PyObject
* obj0
= 0 ;
12668 PyObject
* obj1
= 0 ;
12669 char *kwnames
[] = {
12670 (char *) "self",(char *) "data", NULL
12673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12675 if (SWIG_arg_fail(1)) SWIG_fail
;
12677 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12681 wxImage_SetDataBuffer(arg1
,arg2
,arg3
);
12683 wxPyEndAllowThreads(__tstate
);
12684 if (PyErr_Occurred()) SWIG_fail
;
12686 Py_INCREF(Py_None
); resultobj
= Py_None
;
12693 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12694 PyObject
*resultobj
;
12695 wxImage
*arg1
= (wxImage
*) 0 ;
12697 PyObject
* obj0
= 0 ;
12698 char *kwnames
[] = {
12699 (char *) "self", NULL
12702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
12703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12704 if (SWIG_arg_fail(1)) SWIG_fail
;
12706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12707 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
12709 wxPyEndAllowThreads(__tstate
);
12710 if (PyErr_Occurred()) SWIG_fail
;
12712 resultobj
= result
;
12719 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12720 PyObject
*resultobj
;
12721 wxImage
*arg1
= (wxImage
*) 0 ;
12724 PyObject
* obj0
= 0 ;
12725 PyObject
* obj1
= 0 ;
12726 char *kwnames
[] = {
12727 (char *) "self",(char *) "alpha", NULL
12730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
12731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12732 if (SWIG_arg_fail(1)) SWIG_fail
;
12734 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12738 wxImage_SetAlphaData(arg1
,arg2
,arg3
);
12740 wxPyEndAllowThreads(__tstate
);
12741 if (PyErr_Occurred()) SWIG_fail
;
12743 Py_INCREF(Py_None
); resultobj
= Py_None
;
12750 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12751 PyObject
*resultobj
;
12752 wxImage
*arg1
= (wxImage
*) 0 ;
12754 PyObject
* obj0
= 0 ;
12755 char *kwnames
[] = {
12756 (char *) "self", NULL
12759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
12760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12761 if (SWIG_arg_fail(1)) SWIG_fail
;
12763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12764 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
12766 wxPyEndAllowThreads(__tstate
);
12767 if (PyErr_Occurred()) SWIG_fail
;
12769 resultobj
= result
;
12776 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12777 PyObject
*resultobj
;
12778 wxImage
*arg1
= (wxImage
*) 0 ;
12781 PyObject
* obj0
= 0 ;
12782 PyObject
* obj1
= 0 ;
12783 char *kwnames
[] = {
12784 (char *) "self",(char *) "alpha", NULL
12787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12789 if (SWIG_arg_fail(1)) SWIG_fail
;
12791 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12795 wxImage_SetAlphaBuffer(arg1
,arg2
,arg3
);
12797 wxPyEndAllowThreads(__tstate
);
12798 if (PyErr_Occurred()) SWIG_fail
;
12800 Py_INCREF(Py_None
); resultobj
= Py_None
;
12807 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12808 PyObject
*resultobj
;
12809 wxImage
*arg1
= (wxImage
*) 0 ;
12810 unsigned char arg2
;
12811 unsigned char arg3
;
12812 unsigned char arg4
;
12813 PyObject
* obj0
= 0 ;
12814 PyObject
* obj1
= 0 ;
12815 PyObject
* obj2
= 0 ;
12816 PyObject
* obj3
= 0 ;
12817 char *kwnames
[] = {
12818 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
12826 if (SWIG_arg_fail(2)) SWIG_fail
;
12829 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
12830 if (SWIG_arg_fail(3)) SWIG_fail
;
12833 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
12834 if (SWIG_arg_fail(4)) SWIG_fail
;
12837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12838 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
12840 wxPyEndAllowThreads(__tstate
);
12841 if (PyErr_Occurred()) SWIG_fail
;
12843 Py_INCREF(Py_None
); resultobj
= Py_None
;
12850 static PyObject
*_wrap_Image_GetOrFindMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12851 PyObject
*resultobj
;
12852 wxImage
*arg1
= (wxImage
*) 0 ;
12853 unsigned char *arg2
= (unsigned char *) 0 ;
12854 unsigned char *arg3
= (unsigned char *) 0 ;
12855 unsigned char *arg4
= (unsigned char *) 0 ;
12856 unsigned char temp2
;
12858 unsigned char temp3
;
12860 unsigned char temp4
;
12862 PyObject
* obj0
= 0 ;
12863 char *kwnames
[] = {
12864 (char *) "self", NULL
12867 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
12868 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
12869 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
12870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetOrFindMaskColour",kwnames
,&obj0
)) goto fail
;
12871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12872 if (SWIG_arg_fail(1)) SWIG_fail
;
12874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12875 ((wxImage
const *)arg1
)->GetOrFindMaskColour(arg2
,arg3
,arg4
);
12877 wxPyEndAllowThreads(__tstate
);
12878 if (PyErr_Occurred()) SWIG_fail
;
12880 Py_INCREF(Py_None
); resultobj
= Py_None
;
12881 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
12882 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
12883 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
12884 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
12885 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
12886 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
12893 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12894 PyObject
*resultobj
;
12895 wxImage
*arg1
= (wxImage
*) 0 ;
12896 unsigned char result
;
12897 PyObject
* obj0
= 0 ;
12898 char *kwnames
[] = {
12899 (char *) "self", NULL
12902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
12903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12904 if (SWIG_arg_fail(1)) SWIG_fail
;
12906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12907 result
= (unsigned char)(arg1
)->GetMaskRed();
12909 wxPyEndAllowThreads(__tstate
);
12910 if (PyErr_Occurred()) SWIG_fail
;
12913 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12921 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12922 PyObject
*resultobj
;
12923 wxImage
*arg1
= (wxImage
*) 0 ;
12924 unsigned char result
;
12925 PyObject
* obj0
= 0 ;
12926 char *kwnames
[] = {
12927 (char *) "self", NULL
12930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
12931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12932 if (SWIG_arg_fail(1)) SWIG_fail
;
12934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12935 result
= (unsigned char)(arg1
)->GetMaskGreen();
12937 wxPyEndAllowThreads(__tstate
);
12938 if (PyErr_Occurred()) SWIG_fail
;
12941 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12949 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12950 PyObject
*resultobj
;
12951 wxImage
*arg1
= (wxImage
*) 0 ;
12952 unsigned char result
;
12953 PyObject
* obj0
= 0 ;
12954 char *kwnames
[] = {
12955 (char *) "self", NULL
12958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
12959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12960 if (SWIG_arg_fail(1)) SWIG_fail
;
12962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12963 result
= (unsigned char)(arg1
)->GetMaskBlue();
12965 wxPyEndAllowThreads(__tstate
);
12966 if (PyErr_Occurred()) SWIG_fail
;
12969 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12977 static PyObject
*_wrap_Image_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12978 PyObject
*resultobj
;
12979 wxImage
*arg1
= (wxImage
*) 0 ;
12980 bool arg2
= (bool) true ;
12981 PyObject
* obj0
= 0 ;
12982 PyObject
* obj1
= 0 ;
12983 char *kwnames
[] = {
12984 (char *) "self",(char *) "mask", NULL
12987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
12988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12989 if (SWIG_arg_fail(1)) SWIG_fail
;
12992 arg2
= (bool)(SWIG_As_bool(obj1
));
12993 if (SWIG_arg_fail(2)) SWIG_fail
;
12997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12998 (arg1
)->SetMask(arg2
);
13000 wxPyEndAllowThreads(__tstate
);
13001 if (PyErr_Occurred()) SWIG_fail
;
13003 Py_INCREF(Py_None
); resultobj
= Py_None
;
13010 static PyObject
*_wrap_Image_HasMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13011 PyObject
*resultobj
;
13012 wxImage
*arg1
= (wxImage
*) 0 ;
13014 PyObject
* obj0
= 0 ;
13015 char *kwnames
[] = {
13016 (char *) "self", NULL
13019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
13020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13021 if (SWIG_arg_fail(1)) SWIG_fail
;
13023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13024 result
= (bool)(arg1
)->HasMask();
13026 wxPyEndAllowThreads(__tstate
);
13027 if (PyErr_Occurred()) SWIG_fail
;
13030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13038 static PyObject
*_wrap_Image_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13039 PyObject
*resultobj
;
13040 wxImage
*arg1
= (wxImage
*) 0 ;
13042 wxPoint
*arg3
= 0 ;
13043 bool arg4
= (bool) true ;
13044 wxPoint
*arg5
= (wxPoint
*) NULL
;
13045 SwigValueWrapper
<wxImage
> result
;
13047 PyObject
* obj0
= 0 ;
13048 PyObject
* obj1
= 0 ;
13049 PyObject
* obj2
= 0 ;
13050 PyObject
* obj3
= 0 ;
13051 PyObject
* obj4
= 0 ;
13052 char *kwnames
[] = {
13053 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
13056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13058 if (SWIG_arg_fail(1)) SWIG_fail
;
13060 arg2
= (double)(SWIG_As_double(obj1
));
13061 if (SWIG_arg_fail(2)) SWIG_fail
;
13065 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13069 arg4
= (bool)(SWIG_As_bool(obj3
));
13070 if (SWIG_arg_fail(4)) SWIG_fail
;
13074 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
13075 if (SWIG_arg_fail(5)) SWIG_fail
;
13078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13079 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
13081 wxPyEndAllowThreads(__tstate
);
13082 if (PyErr_Occurred()) SWIG_fail
;
13085 wxImage
* resultptr
;
13086 resultptr
= new wxImage((wxImage
&)(result
));
13087 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13095 static PyObject
*_wrap_Image_Rotate90(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13096 PyObject
*resultobj
;
13097 wxImage
*arg1
= (wxImage
*) 0 ;
13098 bool arg2
= (bool) true ;
13099 SwigValueWrapper
<wxImage
> result
;
13100 PyObject
* obj0
= 0 ;
13101 PyObject
* obj1
= 0 ;
13102 char *kwnames
[] = {
13103 (char *) "self",(char *) "clockwise", NULL
13106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
13107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13108 if (SWIG_arg_fail(1)) SWIG_fail
;
13111 arg2
= (bool)(SWIG_As_bool(obj1
));
13112 if (SWIG_arg_fail(2)) SWIG_fail
;
13116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13117 result
= (arg1
)->Rotate90(arg2
);
13119 wxPyEndAllowThreads(__tstate
);
13120 if (PyErr_Occurred()) SWIG_fail
;
13123 wxImage
* resultptr
;
13124 resultptr
= new wxImage((wxImage
&)(result
));
13125 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13133 static PyObject
*_wrap_Image_Mirror(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13134 PyObject
*resultobj
;
13135 wxImage
*arg1
= (wxImage
*) 0 ;
13136 bool arg2
= (bool) true ;
13137 SwigValueWrapper
<wxImage
> result
;
13138 PyObject
* obj0
= 0 ;
13139 PyObject
* obj1
= 0 ;
13140 char *kwnames
[] = {
13141 (char *) "self",(char *) "horizontally", NULL
13144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
13145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13146 if (SWIG_arg_fail(1)) SWIG_fail
;
13149 arg2
= (bool)(SWIG_As_bool(obj1
));
13150 if (SWIG_arg_fail(2)) SWIG_fail
;
13154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13155 result
= (arg1
)->Mirror(arg2
);
13157 wxPyEndAllowThreads(__tstate
);
13158 if (PyErr_Occurred()) SWIG_fail
;
13161 wxImage
* resultptr
;
13162 resultptr
= new wxImage((wxImage
&)(result
));
13163 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13171 static PyObject
*_wrap_Image_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13172 PyObject
*resultobj
;
13173 wxImage
*arg1
= (wxImage
*) 0 ;
13174 unsigned char arg2
;
13175 unsigned char arg3
;
13176 unsigned char arg4
;
13177 unsigned char arg5
;
13178 unsigned char arg6
;
13179 unsigned char arg7
;
13180 PyObject
* obj0
= 0 ;
13181 PyObject
* obj1
= 0 ;
13182 PyObject
* obj2
= 0 ;
13183 PyObject
* obj3
= 0 ;
13184 PyObject
* obj4
= 0 ;
13185 PyObject
* obj5
= 0 ;
13186 PyObject
* obj6
= 0 ;
13187 char *kwnames
[] = {
13188 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
13191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13193 if (SWIG_arg_fail(1)) SWIG_fail
;
13195 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
13196 if (SWIG_arg_fail(2)) SWIG_fail
;
13199 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
13200 if (SWIG_arg_fail(3)) SWIG_fail
;
13203 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
13204 if (SWIG_arg_fail(4)) SWIG_fail
;
13207 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
13208 if (SWIG_arg_fail(5)) SWIG_fail
;
13211 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj5
));
13212 if (SWIG_arg_fail(6)) SWIG_fail
;
13215 arg7
= (unsigned char)(SWIG_As_unsigned_SS_char(obj6
));
13216 if (SWIG_arg_fail(7)) SWIG_fail
;
13219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13220 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13222 wxPyEndAllowThreads(__tstate
);
13223 if (PyErr_Occurred()) SWIG_fail
;
13225 Py_INCREF(Py_None
); resultobj
= Py_None
;
13232 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13233 PyObject
*resultobj
;
13234 wxImage
*arg1
= (wxImage
*) 0 ;
13235 unsigned char arg2
;
13236 unsigned char arg3
;
13237 unsigned char arg4
;
13238 SwigValueWrapper
<wxImage
> result
;
13239 PyObject
* obj0
= 0 ;
13240 PyObject
* obj1
= 0 ;
13241 PyObject
* obj2
= 0 ;
13242 PyObject
* obj3
= 0 ;
13243 char *kwnames
[] = {
13244 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
13247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13249 if (SWIG_arg_fail(1)) SWIG_fail
;
13251 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
13252 if (SWIG_arg_fail(2)) SWIG_fail
;
13255 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
13256 if (SWIG_arg_fail(3)) SWIG_fail
;
13259 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
13260 if (SWIG_arg_fail(4)) SWIG_fail
;
13263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13264 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
13266 wxPyEndAllowThreads(__tstate
);
13267 if (PyErr_Occurred()) SWIG_fail
;
13270 wxImage
* resultptr
;
13271 resultptr
= new wxImage((wxImage
&)(result
));
13272 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13280 static PyObject
*_wrap_Image_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13281 PyObject
*resultobj
;
13282 wxImage
*arg1
= (wxImage
*) 0 ;
13283 wxString
*arg2
= 0 ;
13284 wxString
*arg3
= 0 ;
13285 bool temp2
= false ;
13286 bool temp3
= false ;
13287 PyObject
* obj0
= 0 ;
13288 PyObject
* obj1
= 0 ;
13289 PyObject
* obj2
= 0 ;
13290 char *kwnames
[] = {
13291 (char *) "self",(char *) "name",(char *) "value", NULL
13294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13296 if (SWIG_arg_fail(1)) SWIG_fail
;
13298 arg2
= wxString_in_helper(obj1
);
13299 if (arg2
== NULL
) SWIG_fail
;
13303 arg3
= wxString_in_helper(obj2
);
13304 if (arg3
== NULL
) SWIG_fail
;
13308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13309 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
13311 wxPyEndAllowThreads(__tstate
);
13312 if (PyErr_Occurred()) SWIG_fail
;
13314 Py_INCREF(Py_None
); resultobj
= Py_None
;
13337 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13338 PyObject
*resultobj
;
13339 wxImage
*arg1
= (wxImage
*) 0 ;
13340 wxString
*arg2
= 0 ;
13342 bool temp2
= false ;
13343 PyObject
* obj0
= 0 ;
13344 PyObject
* obj1
= 0 ;
13345 PyObject
* obj2
= 0 ;
13346 char *kwnames
[] = {
13347 (char *) "self",(char *) "name",(char *) "value", NULL
13350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13352 if (SWIG_arg_fail(1)) SWIG_fail
;
13354 arg2
= wxString_in_helper(obj1
);
13355 if (arg2
== NULL
) SWIG_fail
;
13359 arg3
= (int)(SWIG_As_int(obj2
));
13360 if (SWIG_arg_fail(3)) SWIG_fail
;
13363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13364 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
13366 wxPyEndAllowThreads(__tstate
);
13367 if (PyErr_Occurred()) SWIG_fail
;
13369 Py_INCREF(Py_None
); resultobj
= Py_None
;
13384 static PyObject
*_wrap_Image_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13385 PyObject
*resultobj
;
13386 wxImage
*arg1
= (wxImage
*) 0 ;
13387 wxString
*arg2
= 0 ;
13389 bool temp2
= false ;
13390 PyObject
* obj0
= 0 ;
13391 PyObject
* obj1
= 0 ;
13392 char *kwnames
[] = {
13393 (char *) "self",(char *) "name", NULL
13396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
13397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13398 if (SWIG_arg_fail(1)) SWIG_fail
;
13400 arg2
= wxString_in_helper(obj1
);
13401 if (arg2
== NULL
) SWIG_fail
;
13405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13406 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
13408 wxPyEndAllowThreads(__tstate
);
13409 if (PyErr_Occurred()) SWIG_fail
;
13413 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13415 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13432 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13433 PyObject
*resultobj
;
13434 wxImage
*arg1
= (wxImage
*) 0 ;
13435 wxString
*arg2
= 0 ;
13437 bool temp2
= false ;
13438 PyObject
* obj0
= 0 ;
13439 PyObject
* obj1
= 0 ;
13440 char *kwnames
[] = {
13441 (char *) "self",(char *) "name", NULL
13444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13446 if (SWIG_arg_fail(1)) SWIG_fail
;
13448 arg2
= wxString_in_helper(obj1
);
13449 if (arg2
== NULL
) SWIG_fail
;
13453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13454 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
13456 wxPyEndAllowThreads(__tstate
);
13457 if (PyErr_Occurred()) SWIG_fail
;
13460 resultobj
= SWIG_From_int((int)(result
));
13476 static PyObject
*_wrap_Image_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13477 PyObject
*resultobj
;
13478 wxImage
*arg1
= (wxImage
*) 0 ;
13479 wxString
*arg2
= 0 ;
13481 bool temp2
= false ;
13482 PyObject
* obj0
= 0 ;
13483 PyObject
* obj1
= 0 ;
13484 char *kwnames
[] = {
13485 (char *) "self",(char *) "name", NULL
13488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
13489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13490 if (SWIG_arg_fail(1)) SWIG_fail
;
13492 arg2
= wxString_in_helper(obj1
);
13493 if (arg2
== NULL
) SWIG_fail
;
13497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13498 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
13500 wxPyEndAllowThreads(__tstate
);
13501 if (PyErr_Occurred()) SWIG_fail
;
13504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13520 static PyObject
*_wrap_Image_CountColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13521 PyObject
*resultobj
;
13522 wxImage
*arg1
= (wxImage
*) 0 ;
13523 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
13524 unsigned long result
;
13525 PyObject
* obj0
= 0 ;
13526 PyObject
* obj1
= 0 ;
13527 char *kwnames
[] = {
13528 (char *) "self",(char *) "stopafter", NULL
13531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
13532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13533 if (SWIG_arg_fail(1)) SWIG_fail
;
13536 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
13537 if (SWIG_arg_fail(2)) SWIG_fail
;
13541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13542 result
= (unsigned long)(arg1
)->CountColours(arg2
);
13544 wxPyEndAllowThreads(__tstate
);
13545 if (PyErr_Occurred()) SWIG_fail
;
13548 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13556 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13557 PyObject
*resultobj
;
13558 wxImage
*arg1
= (wxImage
*) 0 ;
13559 wxImageHistogram
*arg2
= 0 ;
13560 unsigned long result
;
13561 PyObject
* obj0
= 0 ;
13562 PyObject
* obj1
= 0 ;
13563 char *kwnames
[] = {
13564 (char *) "self",(char *) "h", NULL
13567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
13568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13569 if (SWIG_arg_fail(1)) SWIG_fail
;
13571 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
13572 if (SWIG_arg_fail(2)) SWIG_fail
;
13573 if (arg2
== NULL
) {
13574 SWIG_null_ref("wxImageHistogram");
13576 if (SWIG_arg_fail(2)) SWIG_fail
;
13579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13580 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
13582 wxPyEndAllowThreads(__tstate
);
13583 if (PyErr_Occurred()) SWIG_fail
;
13586 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13594 static PyObject
*_wrap_Image_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13595 PyObject
*resultobj
;
13596 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13597 PyObject
* obj0
= 0 ;
13598 char *kwnames
[] = {
13599 (char *) "handler", NULL
13602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
13603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13604 if (SWIG_arg_fail(1)) SWIG_fail
;
13606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13607 wxImage::AddHandler(arg1
);
13609 wxPyEndAllowThreads(__tstate
);
13610 if (PyErr_Occurred()) SWIG_fail
;
13612 Py_INCREF(Py_None
); resultobj
= Py_None
;
13619 static PyObject
*_wrap_Image_InsertHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13620 PyObject
*resultobj
;
13621 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13622 PyObject
* obj0
= 0 ;
13623 char *kwnames
[] = {
13624 (char *) "handler", NULL
13627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
13628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13629 if (SWIG_arg_fail(1)) SWIG_fail
;
13631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13632 wxImage::InsertHandler(arg1
);
13634 wxPyEndAllowThreads(__tstate
);
13635 if (PyErr_Occurred()) SWIG_fail
;
13637 Py_INCREF(Py_None
); resultobj
= Py_None
;
13644 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13645 PyObject
*resultobj
;
13646 wxString
*arg1
= 0 ;
13648 bool temp1
= false ;
13649 PyObject
* obj0
= 0 ;
13650 char *kwnames
[] = {
13651 (char *) "name", NULL
13654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
13656 arg1
= wxString_in_helper(obj0
);
13657 if (arg1
== NULL
) SWIG_fail
;
13661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13662 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
13664 wxPyEndAllowThreads(__tstate
);
13665 if (PyErr_Occurred()) SWIG_fail
;
13668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13684 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13685 PyObject
*resultobj
;
13687 char *kwnames
[] = {
13691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
13693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13694 result
= wxImage::GetImageExtWildcard();
13696 wxPyEndAllowThreads(__tstate
);
13697 if (PyErr_Occurred()) SWIG_fail
;
13701 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13703 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13712 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13713 PyObject
*resultobj
;
13714 wxImage
*arg1
= (wxImage
*) 0 ;
13715 int arg2
= (int) -1 ;
13717 PyObject
* obj0
= 0 ;
13718 PyObject
* obj1
= 0 ;
13719 char *kwnames
[] = {
13720 (char *) "self",(char *) "depth", NULL
13723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13725 if (SWIG_arg_fail(1)) SWIG_fail
;
13728 arg2
= (int)(SWIG_As_int(obj1
));
13729 if (SWIG_arg_fail(2)) SWIG_fail
;
13733 if (!wxPyCheckForApp()) SWIG_fail
;
13734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13735 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
13737 wxPyEndAllowThreads(__tstate
);
13738 if (PyErr_Occurred()) SWIG_fail
;
13741 wxBitmap
* resultptr
;
13742 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13743 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13751 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13752 PyObject
*resultobj
;
13753 wxImage
*arg1
= (wxImage
*) 0 ;
13754 unsigned char arg2
;
13755 unsigned char arg3
;
13756 unsigned char arg4
;
13758 PyObject
* obj0
= 0 ;
13759 PyObject
* obj1
= 0 ;
13760 PyObject
* obj2
= 0 ;
13761 PyObject
* obj3
= 0 ;
13762 char *kwnames
[] = {
13763 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
13766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13768 if (SWIG_arg_fail(1)) SWIG_fail
;
13770 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
13771 if (SWIG_arg_fail(2)) SWIG_fail
;
13774 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
13775 if (SWIG_arg_fail(3)) SWIG_fail
;
13778 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
13779 if (SWIG_arg_fail(4)) SWIG_fail
;
13782 if (!wxPyCheckForApp()) SWIG_fail
;
13783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13784 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
13786 wxPyEndAllowThreads(__tstate
);
13787 if (PyErr_Occurred()) SWIG_fail
;
13790 wxBitmap
* resultptr
;
13791 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13792 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13800 static PyObject
* Image_swigregister(PyObject
*, PyObject
*args
) {
13802 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13803 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
13805 return Py_BuildValue((char *)"");
13807 static int _wrap_NullImage_set(PyObject
*) {
13808 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
13813 static PyObject
*_wrap_NullImage_get(void) {
13816 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
13821 static int _wrap_IMAGE_OPTION_FILENAME_set(PyObject
*) {
13822 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_FILENAME is read-only.");
13827 static PyObject
*_wrap_IMAGE_OPTION_FILENAME_get(void) {
13832 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
13834 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
13841 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
13842 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
13847 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get(void) {
13852 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13854 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13861 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
13862 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
13867 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get(void) {
13872 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13874 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13881 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
13882 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
13887 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get(void) {
13892 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13894 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13901 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
13902 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
13907 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get(void) {
13912 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13914 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13921 static int _wrap_IMAGE_OPTION_RESOLUTIONX_set(PyObject
*) {
13922 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONX is read-only.");
13927 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONX_get(void) {
13932 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
13934 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
13941 static int _wrap_IMAGE_OPTION_RESOLUTIONY_set(PyObject
*) {
13942 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONY is read-only.");
13947 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONY_get(void) {
13952 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
13954 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
13961 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
13962 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
13967 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get(void) {
13972 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
13974 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
13981 static int _wrap_IMAGE_OPTION_QUALITY_set(PyObject
*) {
13982 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_QUALITY is read-only.");
13987 static PyObject
*_wrap_IMAGE_OPTION_QUALITY_get(void) {
13992 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
13994 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
14001 static int _wrap_IMAGE_OPTION_BITSPERSAMPLE_set(PyObject
*) {
14002 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BITSPERSAMPLE is read-only.");
14007 static PyObject
*_wrap_IMAGE_OPTION_BITSPERSAMPLE_get(void) {
14012 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
14014 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
14021 static int _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set(PyObject
*) {
14022 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_SAMPLESPERPIXEL is read-only.");
14027 static PyObject
*_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get(void) {
14032 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
14034 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
14041 static int _wrap_IMAGE_OPTION_COMPRESSION_set(PyObject
*) {
14042 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_COMPRESSION is read-only.");
14047 static PyObject
*_wrap_IMAGE_OPTION_COMPRESSION_get(void) {
14052 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
14054 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
14061 static int _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set(PyObject
*) {
14062 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_IMAGEDESCRIPTOR is read-only.");
14067 static PyObject
*_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get(void) {
14072 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
14074 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
14081 static int _wrap_IMAGE_OPTION_PNG_FORMAT_set(PyObject
*) {
14082 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_PNG_FORMAT is read-only.");
14087 static PyObject
*_wrap_IMAGE_OPTION_PNG_FORMAT_get(void) {
14092 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
14094 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
14101 static int _wrap_IMAGE_OPTION_PNG_BITDEPTH_set(PyObject
*) {
14102 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_PNG_BITDEPTH is read-only.");
14107 static PyObject
*_wrap_IMAGE_OPTION_PNG_BITDEPTH_get(void) {
14112 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
14114 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
14121 static PyObject
*_wrap_new_BMPHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14122 PyObject
*resultobj
;
14123 wxBMPHandler
*result
;
14124 char *kwnames
[] = {
14128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
14130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14131 result
= (wxBMPHandler
*)new wxBMPHandler();
14133 wxPyEndAllowThreads(__tstate
);
14134 if (PyErr_Occurred()) SWIG_fail
;
14136 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
14143 static PyObject
* BMPHandler_swigregister(PyObject
*, PyObject
*args
) {
14145 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14146 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
14148 return Py_BuildValue((char *)"");
14150 static PyObject
*_wrap_new_ICOHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14151 PyObject
*resultobj
;
14152 wxICOHandler
*result
;
14153 char *kwnames
[] = {
14157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
14159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14160 result
= (wxICOHandler
*)new wxICOHandler();
14162 wxPyEndAllowThreads(__tstate
);
14163 if (PyErr_Occurred()) SWIG_fail
;
14165 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
14172 static PyObject
* ICOHandler_swigregister(PyObject
*, PyObject
*args
) {
14174 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14175 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
14177 return Py_BuildValue((char *)"");
14179 static PyObject
*_wrap_new_CURHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14180 PyObject
*resultobj
;
14181 wxCURHandler
*result
;
14182 char *kwnames
[] = {
14186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
14188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14189 result
= (wxCURHandler
*)new wxCURHandler();
14191 wxPyEndAllowThreads(__tstate
);
14192 if (PyErr_Occurred()) SWIG_fail
;
14194 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
14201 static PyObject
* CURHandler_swigregister(PyObject
*, PyObject
*args
) {
14203 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14204 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
14206 return Py_BuildValue((char *)"");
14208 static PyObject
*_wrap_new_ANIHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14209 PyObject
*resultobj
;
14210 wxANIHandler
*result
;
14211 char *kwnames
[] = {
14215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
14217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14218 result
= (wxANIHandler
*)new wxANIHandler();
14220 wxPyEndAllowThreads(__tstate
);
14221 if (PyErr_Occurred()) SWIG_fail
;
14223 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
14230 static PyObject
* ANIHandler_swigregister(PyObject
*, PyObject
*args
) {
14232 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14233 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
14235 return Py_BuildValue((char *)"");
14237 static PyObject
*_wrap_new_PNGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14238 PyObject
*resultobj
;
14239 wxPNGHandler
*result
;
14240 char *kwnames
[] = {
14244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
14246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14247 result
= (wxPNGHandler
*)new wxPNGHandler();
14249 wxPyEndAllowThreads(__tstate
);
14250 if (PyErr_Occurred()) SWIG_fail
;
14252 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
14259 static PyObject
* PNGHandler_swigregister(PyObject
*, PyObject
*args
) {
14261 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14262 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
14264 return Py_BuildValue((char *)"");
14266 static PyObject
*_wrap_new_GIFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14267 PyObject
*resultobj
;
14268 wxGIFHandler
*result
;
14269 char *kwnames
[] = {
14273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
14275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14276 result
= (wxGIFHandler
*)new wxGIFHandler();
14278 wxPyEndAllowThreads(__tstate
);
14279 if (PyErr_Occurred()) SWIG_fail
;
14281 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
14288 static PyObject
* GIFHandler_swigregister(PyObject
*, PyObject
*args
) {
14290 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14291 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
14293 return Py_BuildValue((char *)"");
14295 static PyObject
*_wrap_new_PCXHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14296 PyObject
*resultobj
;
14297 wxPCXHandler
*result
;
14298 char *kwnames
[] = {
14302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
14304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14305 result
= (wxPCXHandler
*)new wxPCXHandler();
14307 wxPyEndAllowThreads(__tstate
);
14308 if (PyErr_Occurred()) SWIG_fail
;
14310 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
14317 static PyObject
* PCXHandler_swigregister(PyObject
*, PyObject
*args
) {
14319 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14320 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
14322 return Py_BuildValue((char *)"");
14324 static PyObject
*_wrap_new_JPEGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14325 PyObject
*resultobj
;
14326 wxJPEGHandler
*result
;
14327 char *kwnames
[] = {
14331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
14333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14334 result
= (wxJPEGHandler
*)new wxJPEGHandler();
14336 wxPyEndAllowThreads(__tstate
);
14337 if (PyErr_Occurred()) SWIG_fail
;
14339 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
14346 static PyObject
* JPEGHandler_swigregister(PyObject
*, PyObject
*args
) {
14348 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14349 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
14351 return Py_BuildValue((char *)"");
14353 static PyObject
*_wrap_new_PNMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14354 PyObject
*resultobj
;
14355 wxPNMHandler
*result
;
14356 char *kwnames
[] = {
14360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
14362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14363 result
= (wxPNMHandler
*)new wxPNMHandler();
14365 wxPyEndAllowThreads(__tstate
);
14366 if (PyErr_Occurred()) SWIG_fail
;
14368 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
14375 static PyObject
* PNMHandler_swigregister(PyObject
*, PyObject
*args
) {
14377 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14378 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
14380 return Py_BuildValue((char *)"");
14382 static PyObject
*_wrap_new_XPMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14383 PyObject
*resultobj
;
14384 wxXPMHandler
*result
;
14385 char *kwnames
[] = {
14389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
14391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14392 result
= (wxXPMHandler
*)new wxXPMHandler();
14394 wxPyEndAllowThreads(__tstate
);
14395 if (PyErr_Occurred()) SWIG_fail
;
14397 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
14404 static PyObject
* XPMHandler_swigregister(PyObject
*, PyObject
*args
) {
14406 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14407 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
14409 return Py_BuildValue((char *)"");
14411 static PyObject
*_wrap_new_TIFFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14412 PyObject
*resultobj
;
14413 wxTIFFHandler
*result
;
14414 char *kwnames
[] = {
14418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
14420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14421 result
= (wxTIFFHandler
*)new wxTIFFHandler();
14423 wxPyEndAllowThreads(__tstate
);
14424 if (PyErr_Occurred()) SWIG_fail
;
14426 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
14433 static PyObject
* TIFFHandler_swigregister(PyObject
*, PyObject
*args
) {
14435 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14436 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
14438 return Py_BuildValue((char *)"");
14440 static PyObject
*_wrap_Quantize_Quantize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14441 PyObject
*resultobj
;
14442 wxImage
*arg1
= 0 ;
14443 wxImage
*arg2
= 0 ;
14444 int arg3
= (int) 236 ;
14445 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
14447 PyObject
* obj0
= 0 ;
14448 PyObject
* obj1
= 0 ;
14449 PyObject
* obj2
= 0 ;
14450 PyObject
* obj3
= 0 ;
14451 char *kwnames
[] = {
14452 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
14455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14458 if (SWIG_arg_fail(1)) SWIG_fail
;
14459 if (arg1
== NULL
) {
14460 SWIG_null_ref("wxImage");
14462 if (SWIG_arg_fail(1)) SWIG_fail
;
14465 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14466 if (SWIG_arg_fail(2)) SWIG_fail
;
14467 if (arg2
== NULL
) {
14468 SWIG_null_ref("wxImage");
14470 if (SWIG_arg_fail(2)) SWIG_fail
;
14474 arg3
= (int)(SWIG_As_int(obj2
));
14475 if (SWIG_arg_fail(3)) SWIG_fail
;
14480 arg4
= (int)(SWIG_As_int(obj3
));
14481 if (SWIG_arg_fail(4)) SWIG_fail
;
14485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14486 result
= (bool)Quantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
14488 wxPyEndAllowThreads(__tstate
);
14489 if (PyErr_Occurred()) SWIG_fail
;
14492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14500 static PyObject
* Quantize_swigregister(PyObject
*, PyObject
*args
) {
14502 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14503 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
);
14505 return Py_BuildValue((char *)"");
14507 static PyObject
*_wrap_new_EvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14508 PyObject
*resultobj
;
14509 wxEvtHandler
*result
;
14510 char *kwnames
[] = {
14514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
14516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14517 result
= (wxEvtHandler
*)new wxEvtHandler();
14519 wxPyEndAllowThreads(__tstate
);
14520 if (PyErr_Occurred()) SWIG_fail
;
14522 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
14529 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14530 PyObject
*resultobj
;
14531 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14532 wxEvtHandler
*result
;
14533 PyObject
* obj0
= 0 ;
14534 char *kwnames
[] = {
14535 (char *) "self", NULL
14538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
14539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14540 if (SWIG_arg_fail(1)) SWIG_fail
;
14542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14543 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
14545 wxPyEndAllowThreads(__tstate
);
14546 if (PyErr_Occurred()) SWIG_fail
;
14549 resultobj
= wxPyMake_wxObject(result
, 0);
14557 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14558 PyObject
*resultobj
;
14559 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14560 wxEvtHandler
*result
;
14561 PyObject
* obj0
= 0 ;
14562 char *kwnames
[] = {
14563 (char *) "self", NULL
14566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
14567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14568 if (SWIG_arg_fail(1)) SWIG_fail
;
14570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14571 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
14573 wxPyEndAllowThreads(__tstate
);
14574 if (PyErr_Occurred()) SWIG_fail
;
14577 resultobj
= wxPyMake_wxObject(result
, 0);
14585 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14586 PyObject
*resultobj
;
14587 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14588 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
14589 PyObject
* obj0
= 0 ;
14590 PyObject
* obj1
= 0 ;
14591 char *kwnames
[] = {
14592 (char *) "self",(char *) "handler", NULL
14595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
14596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14597 if (SWIG_arg_fail(1)) SWIG_fail
;
14598 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14599 if (SWIG_arg_fail(2)) SWIG_fail
;
14601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14602 (arg1
)->SetNextHandler(arg2
);
14604 wxPyEndAllowThreads(__tstate
);
14605 if (PyErr_Occurred()) SWIG_fail
;
14607 Py_INCREF(Py_None
); resultobj
= Py_None
;
14614 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14615 PyObject
*resultobj
;
14616 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14617 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
14618 PyObject
* obj0
= 0 ;
14619 PyObject
* obj1
= 0 ;
14620 char *kwnames
[] = {
14621 (char *) "self",(char *) "handler", NULL
14624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
14625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14626 if (SWIG_arg_fail(1)) SWIG_fail
;
14627 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14628 if (SWIG_arg_fail(2)) SWIG_fail
;
14630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14631 (arg1
)->SetPreviousHandler(arg2
);
14633 wxPyEndAllowThreads(__tstate
);
14634 if (PyErr_Occurred()) SWIG_fail
;
14636 Py_INCREF(Py_None
); resultobj
= Py_None
;
14643 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14644 PyObject
*resultobj
;
14645 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14647 PyObject
* obj0
= 0 ;
14648 char *kwnames
[] = {
14649 (char *) "self", NULL
14652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
14653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14654 if (SWIG_arg_fail(1)) SWIG_fail
;
14656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14657 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
14659 wxPyEndAllowThreads(__tstate
);
14660 if (PyErr_Occurred()) SWIG_fail
;
14663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14671 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14672 PyObject
*resultobj
;
14673 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14675 PyObject
* obj0
= 0 ;
14676 PyObject
* obj1
= 0 ;
14677 char *kwnames
[] = {
14678 (char *) "self",(char *) "enabled", NULL
14681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
14682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14683 if (SWIG_arg_fail(1)) SWIG_fail
;
14685 arg2
= (bool)(SWIG_As_bool(obj1
));
14686 if (SWIG_arg_fail(2)) SWIG_fail
;
14689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14690 (arg1
)->SetEvtHandlerEnabled(arg2
);
14692 wxPyEndAllowThreads(__tstate
);
14693 if (PyErr_Occurred()) SWIG_fail
;
14695 Py_INCREF(Py_None
); resultobj
= Py_None
;
14702 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14703 PyObject
*resultobj
;
14704 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14705 wxEvent
*arg2
= 0 ;
14707 PyObject
* obj0
= 0 ;
14708 PyObject
* obj1
= 0 ;
14709 char *kwnames
[] = {
14710 (char *) "self",(char *) "event", NULL
14713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14715 if (SWIG_arg_fail(1)) SWIG_fail
;
14717 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14718 if (SWIG_arg_fail(2)) SWIG_fail
;
14719 if (arg2
== NULL
) {
14720 SWIG_null_ref("wxEvent");
14722 if (SWIG_arg_fail(2)) SWIG_fail
;
14725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14726 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
14728 wxPyEndAllowThreads(__tstate
);
14729 if (PyErr_Occurred()) SWIG_fail
;
14732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14740 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14741 PyObject
*resultobj
;
14742 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14743 wxEvent
*arg2
= 0 ;
14744 PyObject
* obj0
= 0 ;
14745 PyObject
* obj1
= 0 ;
14746 char *kwnames
[] = {
14747 (char *) "self",(char *) "event", NULL
14750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14752 if (SWIG_arg_fail(1)) SWIG_fail
;
14754 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14755 if (SWIG_arg_fail(2)) SWIG_fail
;
14756 if (arg2
== NULL
) {
14757 SWIG_null_ref("wxEvent");
14759 if (SWIG_arg_fail(2)) SWIG_fail
;
14762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14763 (arg1
)->AddPendingEvent(*arg2
);
14765 wxPyEndAllowThreads(__tstate
);
14766 if (PyErr_Occurred()) SWIG_fail
;
14768 Py_INCREF(Py_None
); resultobj
= Py_None
;
14775 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14776 PyObject
*resultobj
;
14777 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14778 PyObject
* obj0
= 0 ;
14779 char *kwnames
[] = {
14780 (char *) "self", NULL
14783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
14784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14785 if (SWIG_arg_fail(1)) SWIG_fail
;
14787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14788 (arg1
)->ProcessPendingEvents();
14790 wxPyEndAllowThreads(__tstate
);
14791 if (PyErr_Occurred()) SWIG_fail
;
14793 Py_INCREF(Py_None
); resultobj
= Py_None
;
14800 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14801 PyObject
*resultobj
;
14802 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14806 PyObject
*arg5
= (PyObject
*) 0 ;
14807 PyObject
* obj0
= 0 ;
14808 PyObject
* obj1
= 0 ;
14809 PyObject
* obj2
= 0 ;
14810 PyObject
* obj3
= 0 ;
14811 PyObject
* obj4
= 0 ;
14812 char *kwnames
[] = {
14813 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
14816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14818 if (SWIG_arg_fail(1)) SWIG_fail
;
14820 arg2
= (int)(SWIG_As_int(obj1
));
14821 if (SWIG_arg_fail(2)) SWIG_fail
;
14824 arg3
= (int)(SWIG_As_int(obj2
));
14825 if (SWIG_arg_fail(3)) SWIG_fail
;
14828 arg4
= (int)(SWIG_As_int(obj3
));
14829 if (SWIG_arg_fail(4)) SWIG_fail
;
14833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14834 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
14836 wxPyEndAllowThreads(__tstate
);
14837 if (PyErr_Occurred()) SWIG_fail
;
14839 Py_INCREF(Py_None
); resultobj
= Py_None
;
14846 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14847 PyObject
*resultobj
;
14848 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14850 int arg3
= (int) -1 ;
14851 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
14853 PyObject
* obj0
= 0 ;
14854 PyObject
* obj1
= 0 ;
14855 PyObject
* obj2
= 0 ;
14856 PyObject
* obj3
= 0 ;
14857 char *kwnames
[] = {
14858 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
14861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14863 if (SWIG_arg_fail(1)) SWIG_fail
;
14865 arg2
= (int)(SWIG_As_int(obj1
));
14866 if (SWIG_arg_fail(2)) SWIG_fail
;
14870 arg3
= (int)(SWIG_As_int(obj2
));
14871 if (SWIG_arg_fail(3)) SWIG_fail
;
14876 arg4
= (wxEventType
)(SWIG_As_int(obj3
));
14877 if (SWIG_arg_fail(4)) SWIG_fail
;
14881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14882 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
14884 wxPyEndAllowThreads(__tstate
);
14885 if (PyErr_Occurred()) SWIG_fail
;
14888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14896 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14897 PyObject
*resultobj
;
14898 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14899 PyObject
*arg2
= (PyObject
*) 0 ;
14900 bool arg3
= (bool) true ;
14901 PyObject
* obj0
= 0 ;
14902 PyObject
* obj1
= 0 ;
14903 PyObject
* obj2
= 0 ;
14904 char *kwnames
[] = {
14905 (char *) "self",(char *) "_self",(char *) "incref", NULL
14908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14910 if (SWIG_arg_fail(1)) SWIG_fail
;
14914 arg3
= (bool)(SWIG_As_bool(obj2
));
14915 if (SWIG_arg_fail(3)) SWIG_fail
;
14919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14920 wxEvtHandler__setOORInfo(arg1
,arg2
,arg3
);
14922 wxPyEndAllowThreads(__tstate
);
14923 if (PyErr_Occurred()) SWIG_fail
;
14925 Py_INCREF(Py_None
); resultobj
= Py_None
;
14932 static PyObject
* EvtHandler_swigregister(PyObject
*, PyObject
*args
) {
14934 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14935 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
14937 return Py_BuildValue((char *)"");
14939 static PyObject
*_wrap_NewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14940 PyObject
*resultobj
;
14941 wxEventType result
;
14942 char *kwnames
[] = {
14946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
14948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14949 result
= (wxEventType
)wxNewEventType();
14951 wxPyEndAllowThreads(__tstate
);
14952 if (PyErr_Occurred()) SWIG_fail
;
14955 resultobj
= SWIG_From_int((int)(result
));
14963 static PyObject
*_wrap_delete_Event(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14964 PyObject
*resultobj
;
14965 wxEvent
*arg1
= (wxEvent
*) 0 ;
14966 PyObject
* obj0
= 0 ;
14967 char *kwnames
[] = {
14968 (char *) "self", NULL
14971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
14972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14973 if (SWIG_arg_fail(1)) SWIG_fail
;
14975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14978 wxPyEndAllowThreads(__tstate
);
14979 if (PyErr_Occurred()) SWIG_fail
;
14981 Py_INCREF(Py_None
); resultobj
= Py_None
;
14988 static PyObject
*_wrap_Event_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14989 PyObject
*resultobj
;
14990 wxEvent
*arg1
= (wxEvent
*) 0 ;
14992 PyObject
* obj0
= 0 ;
14993 PyObject
* obj1
= 0 ;
14994 char *kwnames
[] = {
14995 (char *) "self",(char *) "typ", NULL
14998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
14999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15000 if (SWIG_arg_fail(1)) SWIG_fail
;
15002 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
15003 if (SWIG_arg_fail(2)) SWIG_fail
;
15006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15007 (arg1
)->SetEventType(arg2
);
15009 wxPyEndAllowThreads(__tstate
);
15010 if (PyErr_Occurred()) SWIG_fail
;
15012 Py_INCREF(Py_None
); resultobj
= Py_None
;
15019 static PyObject
*_wrap_Event_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15020 PyObject
*resultobj
;
15021 wxEvent
*arg1
= (wxEvent
*) 0 ;
15022 wxEventType result
;
15023 PyObject
* obj0
= 0 ;
15024 char *kwnames
[] = {
15025 (char *) "self", NULL
15028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
15029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15030 if (SWIG_arg_fail(1)) SWIG_fail
;
15032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15033 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
15035 wxPyEndAllowThreads(__tstate
);
15036 if (PyErr_Occurred()) SWIG_fail
;
15039 resultobj
= SWIG_From_int((int)(result
));
15047 static PyObject
*_wrap_Event_GetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15048 PyObject
*resultobj
;
15049 wxEvent
*arg1
= (wxEvent
*) 0 ;
15051 PyObject
* obj0
= 0 ;
15052 char *kwnames
[] = {
15053 (char *) "self", NULL
15056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
15057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15058 if (SWIG_arg_fail(1)) SWIG_fail
;
15060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15061 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
15063 wxPyEndAllowThreads(__tstate
);
15064 if (PyErr_Occurred()) SWIG_fail
;
15067 resultobj
= wxPyMake_wxObject(result
, 0);
15075 static PyObject
*_wrap_Event_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15076 PyObject
*resultobj
;
15077 wxEvent
*arg1
= (wxEvent
*) 0 ;
15078 wxObject
*arg2
= (wxObject
*) 0 ;
15079 PyObject
* obj0
= 0 ;
15080 PyObject
* obj1
= 0 ;
15081 char *kwnames
[] = {
15082 (char *) "self",(char *) "obj", NULL
15085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
15086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15087 if (SWIG_arg_fail(1)) SWIG_fail
;
15088 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
15089 if (SWIG_arg_fail(2)) SWIG_fail
;
15091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15092 (arg1
)->SetEventObject(arg2
);
15094 wxPyEndAllowThreads(__tstate
);
15095 if (PyErr_Occurred()) SWIG_fail
;
15097 Py_INCREF(Py_None
); resultobj
= Py_None
;
15104 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15105 PyObject
*resultobj
;
15106 wxEvent
*arg1
= (wxEvent
*) 0 ;
15108 PyObject
* obj0
= 0 ;
15109 char *kwnames
[] = {
15110 (char *) "self", NULL
15113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
15114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15115 if (SWIG_arg_fail(1)) SWIG_fail
;
15117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15118 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
15120 wxPyEndAllowThreads(__tstate
);
15121 if (PyErr_Occurred()) SWIG_fail
;
15124 resultobj
= SWIG_From_long((long)(result
));
15132 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15133 PyObject
*resultobj
;
15134 wxEvent
*arg1
= (wxEvent
*) 0 ;
15135 long arg2
= (long) 0 ;
15136 PyObject
* obj0
= 0 ;
15137 PyObject
* obj1
= 0 ;
15138 char *kwnames
[] = {
15139 (char *) "self",(char *) "ts", NULL
15142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
15143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15144 if (SWIG_arg_fail(1)) SWIG_fail
;
15147 arg2
= (long)(SWIG_As_long(obj1
));
15148 if (SWIG_arg_fail(2)) SWIG_fail
;
15152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15153 (arg1
)->SetTimestamp(arg2
);
15155 wxPyEndAllowThreads(__tstate
);
15156 if (PyErr_Occurred()) SWIG_fail
;
15158 Py_INCREF(Py_None
); resultobj
= Py_None
;
15165 static PyObject
*_wrap_Event_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15166 PyObject
*resultobj
;
15167 wxEvent
*arg1
= (wxEvent
*) 0 ;
15169 PyObject
* obj0
= 0 ;
15170 char *kwnames
[] = {
15171 (char *) "self", NULL
15174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
15175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15176 if (SWIG_arg_fail(1)) SWIG_fail
;
15178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15179 result
= (int)((wxEvent
const *)arg1
)->GetId();
15181 wxPyEndAllowThreads(__tstate
);
15182 if (PyErr_Occurred()) SWIG_fail
;
15185 resultobj
= SWIG_From_int((int)(result
));
15193 static PyObject
*_wrap_Event_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15194 PyObject
*resultobj
;
15195 wxEvent
*arg1
= (wxEvent
*) 0 ;
15197 PyObject
* obj0
= 0 ;
15198 PyObject
* obj1
= 0 ;
15199 char *kwnames
[] = {
15200 (char *) "self",(char *) "Id", NULL
15203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
15204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15205 if (SWIG_arg_fail(1)) SWIG_fail
;
15207 arg2
= (int)(SWIG_As_int(obj1
));
15208 if (SWIG_arg_fail(2)) SWIG_fail
;
15211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15212 (arg1
)->SetId(arg2
);
15214 wxPyEndAllowThreads(__tstate
);
15215 if (PyErr_Occurred()) SWIG_fail
;
15217 Py_INCREF(Py_None
); resultobj
= Py_None
;
15224 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15225 PyObject
*resultobj
;
15226 wxEvent
*arg1
= (wxEvent
*) 0 ;
15228 PyObject
* obj0
= 0 ;
15229 char *kwnames
[] = {
15230 (char *) "self", NULL
15233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
15234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15235 if (SWIG_arg_fail(1)) SWIG_fail
;
15237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15238 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
15240 wxPyEndAllowThreads(__tstate
);
15241 if (PyErr_Occurred()) SWIG_fail
;
15244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15252 static PyObject
*_wrap_Event_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15253 PyObject
*resultobj
;
15254 wxEvent
*arg1
= (wxEvent
*) 0 ;
15255 bool arg2
= (bool) true ;
15256 PyObject
* obj0
= 0 ;
15257 PyObject
* obj1
= 0 ;
15258 char *kwnames
[] = {
15259 (char *) "self",(char *) "skip", NULL
15262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
15263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15264 if (SWIG_arg_fail(1)) SWIG_fail
;
15267 arg2
= (bool)(SWIG_As_bool(obj1
));
15268 if (SWIG_arg_fail(2)) SWIG_fail
;
15272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15273 (arg1
)->Skip(arg2
);
15275 wxPyEndAllowThreads(__tstate
);
15276 if (PyErr_Occurred()) SWIG_fail
;
15278 Py_INCREF(Py_None
); resultobj
= Py_None
;
15285 static PyObject
*_wrap_Event_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15286 PyObject
*resultobj
;
15287 wxEvent
*arg1
= (wxEvent
*) 0 ;
15289 PyObject
* obj0
= 0 ;
15290 char *kwnames
[] = {
15291 (char *) "self", NULL
15294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
15295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15296 if (SWIG_arg_fail(1)) SWIG_fail
;
15298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15299 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
15301 wxPyEndAllowThreads(__tstate
);
15302 if (PyErr_Occurred()) SWIG_fail
;
15305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15313 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15314 PyObject
*resultobj
;
15315 wxEvent
*arg1
= (wxEvent
*) 0 ;
15317 PyObject
* obj0
= 0 ;
15318 char *kwnames
[] = {
15319 (char *) "self", NULL
15322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
15323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15324 if (SWIG_arg_fail(1)) SWIG_fail
;
15326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15327 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
15329 wxPyEndAllowThreads(__tstate
);
15330 if (PyErr_Occurred()) SWIG_fail
;
15333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15341 static PyObject
*_wrap_Event_StopPropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15342 PyObject
*resultobj
;
15343 wxEvent
*arg1
= (wxEvent
*) 0 ;
15345 PyObject
* obj0
= 0 ;
15346 char *kwnames
[] = {
15347 (char *) "self", NULL
15350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
15351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15352 if (SWIG_arg_fail(1)) SWIG_fail
;
15354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15355 result
= (int)(arg1
)->StopPropagation();
15357 wxPyEndAllowThreads(__tstate
);
15358 if (PyErr_Occurred()) SWIG_fail
;
15361 resultobj
= SWIG_From_int((int)(result
));
15369 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15370 PyObject
*resultobj
;
15371 wxEvent
*arg1
= (wxEvent
*) 0 ;
15373 PyObject
* obj0
= 0 ;
15374 PyObject
* obj1
= 0 ;
15375 char *kwnames
[] = {
15376 (char *) "self",(char *) "propagationLevel", NULL
15379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
15380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15381 if (SWIG_arg_fail(1)) SWIG_fail
;
15383 arg2
= (int)(SWIG_As_int(obj1
));
15384 if (SWIG_arg_fail(2)) SWIG_fail
;
15387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15388 (arg1
)->ResumePropagation(arg2
);
15390 wxPyEndAllowThreads(__tstate
);
15391 if (PyErr_Occurred()) SWIG_fail
;
15393 Py_INCREF(Py_None
); resultobj
= Py_None
;
15400 static PyObject
*_wrap_Event_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15401 PyObject
*resultobj
;
15402 wxEvent
*arg1
= (wxEvent
*) 0 ;
15404 PyObject
* obj0
= 0 ;
15405 char *kwnames
[] = {
15406 (char *) "self", NULL
15409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
15410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15411 if (SWIG_arg_fail(1)) SWIG_fail
;
15413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15414 result
= (wxEvent
*)(arg1
)->Clone();
15416 wxPyEndAllowThreads(__tstate
);
15417 if (PyErr_Occurred()) SWIG_fail
;
15419 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
15426 static PyObject
* Event_swigregister(PyObject
*, PyObject
*args
) {
15428 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15429 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
15431 return Py_BuildValue((char *)"");
15433 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15434 PyObject
*resultobj
;
15435 wxEvent
*arg1
= 0 ;
15436 wxPropagationDisabler
*result
;
15437 PyObject
* obj0
= 0 ;
15438 char *kwnames
[] = {
15439 (char *) "event", NULL
15442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",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
;
15446 if (arg1
== NULL
) {
15447 SWIG_null_ref("wxEvent");
15449 if (SWIG_arg_fail(1)) SWIG_fail
;
15452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15453 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
15455 wxPyEndAllowThreads(__tstate
);
15456 if (PyErr_Occurred()) SWIG_fail
;
15458 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
15465 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15466 PyObject
*resultobj
;
15467 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
15468 PyObject
* obj0
= 0 ;
15469 char *kwnames
[] = {
15470 (char *) "self", NULL
15473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
15474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagationDisabler
, SWIG_POINTER_EXCEPTION
| 0);
15475 if (SWIG_arg_fail(1)) SWIG_fail
;
15477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15480 wxPyEndAllowThreads(__tstate
);
15481 if (PyErr_Occurred()) SWIG_fail
;
15483 Py_INCREF(Py_None
); resultobj
= Py_None
;
15490 static PyObject
* PropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
15492 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15493 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
15495 return Py_BuildValue((char *)"");
15497 static PyObject
*_wrap_new_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15498 PyObject
*resultobj
;
15499 wxEvent
*arg1
= 0 ;
15500 wxPropagateOnce
*result
;
15501 PyObject
* obj0
= 0 ;
15502 char *kwnames
[] = {
15503 (char *) "event", NULL
15506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
15508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15509 if (SWIG_arg_fail(1)) SWIG_fail
;
15510 if (arg1
== NULL
) {
15511 SWIG_null_ref("wxEvent");
15513 if (SWIG_arg_fail(1)) SWIG_fail
;
15516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15517 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
15519 wxPyEndAllowThreads(__tstate
);
15520 if (PyErr_Occurred()) SWIG_fail
;
15522 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
15529 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15530 PyObject
*resultobj
;
15531 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
15532 PyObject
* obj0
= 0 ;
15533 char *kwnames
[] = {
15534 (char *) "self", NULL
15537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
15538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagateOnce
, SWIG_POINTER_EXCEPTION
| 0);
15539 if (SWIG_arg_fail(1)) SWIG_fail
;
15541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15544 wxPyEndAllowThreads(__tstate
);
15545 if (PyErr_Occurred()) SWIG_fail
;
15547 Py_INCREF(Py_None
); resultobj
= Py_None
;
15554 static PyObject
* PropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
15556 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15557 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
15559 return Py_BuildValue((char *)"");
15561 static PyObject
*_wrap_new_CommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15562 PyObject
*resultobj
;
15563 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15564 int arg2
= (int) 0 ;
15565 wxCommandEvent
*result
;
15566 PyObject
* obj0
= 0 ;
15567 PyObject
* obj1
= 0 ;
15568 char *kwnames
[] = {
15569 (char *) "commandType",(char *) "winid", NULL
15572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15575 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15576 if (SWIG_arg_fail(1)) SWIG_fail
;
15581 arg2
= (int)(SWIG_As_int(obj1
));
15582 if (SWIG_arg_fail(2)) SWIG_fail
;
15586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15587 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
15589 wxPyEndAllowThreads(__tstate
);
15590 if (PyErr_Occurred()) SWIG_fail
;
15592 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
15599 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15600 PyObject
*resultobj
;
15601 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15603 PyObject
* obj0
= 0 ;
15604 char *kwnames
[] = {
15605 (char *) "self", NULL
15608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
15609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15610 if (SWIG_arg_fail(1)) SWIG_fail
;
15612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15613 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
15615 wxPyEndAllowThreads(__tstate
);
15616 if (PyErr_Occurred()) SWIG_fail
;
15619 resultobj
= SWIG_From_int((int)(result
));
15627 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15628 PyObject
*resultobj
;
15629 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15630 wxString
*arg2
= 0 ;
15631 bool temp2
= false ;
15632 PyObject
* obj0
= 0 ;
15633 PyObject
* obj1
= 0 ;
15634 char *kwnames
[] = {
15635 (char *) "self",(char *) "s", NULL
15638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
15639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15640 if (SWIG_arg_fail(1)) SWIG_fail
;
15642 arg2
= wxString_in_helper(obj1
);
15643 if (arg2
== NULL
) SWIG_fail
;
15647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15648 (arg1
)->SetString((wxString
const &)*arg2
);
15650 wxPyEndAllowThreads(__tstate
);
15651 if (PyErr_Occurred()) SWIG_fail
;
15653 Py_INCREF(Py_None
); resultobj
= Py_None
;
15668 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15669 PyObject
*resultobj
;
15670 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15672 PyObject
* obj0
= 0 ;
15673 char *kwnames
[] = {
15674 (char *) "self", NULL
15677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
15678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15679 if (SWIG_arg_fail(1)) SWIG_fail
;
15681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15682 result
= ((wxCommandEvent
const *)arg1
)->GetString();
15684 wxPyEndAllowThreads(__tstate
);
15685 if (PyErr_Occurred()) SWIG_fail
;
15689 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15691 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15700 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15701 PyObject
*resultobj
;
15702 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15704 PyObject
* obj0
= 0 ;
15705 char *kwnames
[] = {
15706 (char *) "self", NULL
15709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
15710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15711 if (SWIG_arg_fail(1)) SWIG_fail
;
15713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15714 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
15716 wxPyEndAllowThreads(__tstate
);
15717 if (PyErr_Occurred()) SWIG_fail
;
15720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15728 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15729 PyObject
*resultobj
;
15730 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15732 PyObject
* obj0
= 0 ;
15733 char *kwnames
[] = {
15734 (char *) "self", NULL
15737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
15738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15739 if (SWIG_arg_fail(1)) SWIG_fail
;
15741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15742 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
15744 wxPyEndAllowThreads(__tstate
);
15745 if (PyErr_Occurred()) SWIG_fail
;
15748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15756 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15757 PyObject
*resultobj
;
15758 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15760 PyObject
* obj0
= 0 ;
15761 PyObject
* obj1
= 0 ;
15762 char *kwnames
[] = {
15763 (char *) "self",(char *) "extraLong", NULL
15766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
15767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15768 if (SWIG_arg_fail(1)) SWIG_fail
;
15770 arg2
= (long)(SWIG_As_long(obj1
));
15771 if (SWIG_arg_fail(2)) SWIG_fail
;
15774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15775 (arg1
)->SetExtraLong(arg2
);
15777 wxPyEndAllowThreads(__tstate
);
15778 if (PyErr_Occurred()) SWIG_fail
;
15780 Py_INCREF(Py_None
); resultobj
= Py_None
;
15787 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15788 PyObject
*resultobj
;
15789 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15791 PyObject
* obj0
= 0 ;
15792 char *kwnames
[] = {
15793 (char *) "self", NULL
15796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
15797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15798 if (SWIG_arg_fail(1)) SWIG_fail
;
15800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15801 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
15803 wxPyEndAllowThreads(__tstate
);
15804 if (PyErr_Occurred()) SWIG_fail
;
15807 resultobj
= SWIG_From_long((long)(result
));
15815 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15816 PyObject
*resultobj
;
15817 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15819 PyObject
* obj0
= 0 ;
15820 PyObject
* obj1
= 0 ;
15821 char *kwnames
[] = {
15822 (char *) "self",(char *) "i", NULL
15825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
15826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15827 if (SWIG_arg_fail(1)) SWIG_fail
;
15829 arg2
= (int)(SWIG_As_int(obj1
));
15830 if (SWIG_arg_fail(2)) SWIG_fail
;
15833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15834 (arg1
)->SetInt(arg2
);
15836 wxPyEndAllowThreads(__tstate
);
15837 if (PyErr_Occurred()) SWIG_fail
;
15839 Py_INCREF(Py_None
); resultobj
= Py_None
;
15846 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15847 PyObject
*resultobj
;
15848 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15850 PyObject
* obj0
= 0 ;
15851 char *kwnames
[] = {
15852 (char *) "self", NULL
15855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
15856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15857 if (SWIG_arg_fail(1)) SWIG_fail
;
15859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15860 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
15862 wxPyEndAllowThreads(__tstate
);
15863 if (PyErr_Occurred()) SWIG_fail
;
15866 resultobj
= SWIG_From_long((long)(result
));
15874 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15875 PyObject
*resultobj
;
15876 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15878 PyObject
* obj0
= 0 ;
15879 char *kwnames
[] = {
15880 (char *) "self", NULL
15883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
15884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15885 if (SWIG_arg_fail(1)) SWIG_fail
;
15887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15888 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
15890 wxPyEndAllowThreads(__tstate
);
15891 if (PyErr_Occurred()) SWIG_fail
;
15893 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
15900 static PyObject
* CommandEvent_swigregister(PyObject
*, PyObject
*args
) {
15902 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15903 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
15905 return Py_BuildValue((char *)"");
15907 static PyObject
*_wrap_new_NotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15908 PyObject
*resultobj
;
15909 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15910 int arg2
= (int) 0 ;
15911 wxNotifyEvent
*result
;
15912 PyObject
* obj0
= 0 ;
15913 PyObject
* obj1
= 0 ;
15914 char *kwnames
[] = {
15915 (char *) "commandType",(char *) "winid", NULL
15918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15921 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15922 if (SWIG_arg_fail(1)) SWIG_fail
;
15927 arg2
= (int)(SWIG_As_int(obj1
));
15928 if (SWIG_arg_fail(2)) SWIG_fail
;
15932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15933 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
15935 wxPyEndAllowThreads(__tstate
);
15936 if (PyErr_Occurred()) SWIG_fail
;
15938 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
15945 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15946 PyObject
*resultobj
;
15947 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15948 PyObject
* obj0
= 0 ;
15949 char *kwnames
[] = {
15950 (char *) "self", NULL
15953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
15954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15955 if (SWIG_arg_fail(1)) SWIG_fail
;
15957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15960 wxPyEndAllowThreads(__tstate
);
15961 if (PyErr_Occurred()) SWIG_fail
;
15963 Py_INCREF(Py_None
); resultobj
= Py_None
;
15970 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15971 PyObject
*resultobj
;
15972 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15973 PyObject
* obj0
= 0 ;
15974 char *kwnames
[] = {
15975 (char *) "self", NULL
15978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
15979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15980 if (SWIG_arg_fail(1)) SWIG_fail
;
15982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15985 wxPyEndAllowThreads(__tstate
);
15986 if (PyErr_Occurred()) SWIG_fail
;
15988 Py_INCREF(Py_None
); resultobj
= Py_None
;
15995 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15996 PyObject
*resultobj
;
15997 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15999 PyObject
* obj0
= 0 ;
16000 char *kwnames
[] = {
16001 (char *) "self", NULL
16004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
16005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
16006 if (SWIG_arg_fail(1)) SWIG_fail
;
16008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16009 result
= (bool)(arg1
)->IsAllowed();
16011 wxPyEndAllowThreads(__tstate
);
16012 if (PyErr_Occurred()) SWIG_fail
;
16015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16023 static PyObject
* NotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
16025 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16026 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
16028 return Py_BuildValue((char *)"");
16030 static PyObject
*_wrap_new_ScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16031 PyObject
*resultobj
;
16032 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16033 int arg2
= (int) 0 ;
16034 int arg3
= (int) 0 ;
16035 int arg4
= (int) 0 ;
16036 wxScrollEvent
*result
;
16037 PyObject
* obj0
= 0 ;
16038 PyObject
* obj1
= 0 ;
16039 PyObject
* obj2
= 0 ;
16040 PyObject
* obj3
= 0 ;
16041 char *kwnames
[] = {
16042 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
16045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16048 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16049 if (SWIG_arg_fail(1)) SWIG_fail
;
16054 arg2
= (int)(SWIG_As_int(obj1
));
16055 if (SWIG_arg_fail(2)) SWIG_fail
;
16060 arg3
= (int)(SWIG_As_int(obj2
));
16061 if (SWIG_arg_fail(3)) SWIG_fail
;
16066 arg4
= (int)(SWIG_As_int(obj3
));
16067 if (SWIG_arg_fail(4)) SWIG_fail
;
16071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16072 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
16074 wxPyEndAllowThreads(__tstate
);
16075 if (PyErr_Occurred()) SWIG_fail
;
16077 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
16084 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16085 PyObject
*resultobj
;
16086 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16088 PyObject
* obj0
= 0 ;
16089 char *kwnames
[] = {
16090 (char *) "self", NULL
16093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
16094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16095 if (SWIG_arg_fail(1)) SWIG_fail
;
16097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16098 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
16100 wxPyEndAllowThreads(__tstate
);
16101 if (PyErr_Occurred()) SWIG_fail
;
16104 resultobj
= SWIG_From_int((int)(result
));
16112 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16113 PyObject
*resultobj
;
16114 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16116 PyObject
* obj0
= 0 ;
16117 char *kwnames
[] = {
16118 (char *) "self", NULL
16121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16123 if (SWIG_arg_fail(1)) SWIG_fail
;
16125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16126 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
16128 wxPyEndAllowThreads(__tstate
);
16129 if (PyErr_Occurred()) SWIG_fail
;
16132 resultobj
= SWIG_From_int((int)(result
));
16140 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16141 PyObject
*resultobj
;
16142 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16144 PyObject
* obj0
= 0 ;
16145 PyObject
* obj1
= 0 ;
16146 char *kwnames
[] = {
16147 (char *) "self",(char *) "orient", NULL
16150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16152 if (SWIG_arg_fail(1)) SWIG_fail
;
16154 arg2
= (int)(SWIG_As_int(obj1
));
16155 if (SWIG_arg_fail(2)) SWIG_fail
;
16158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16159 (arg1
)->SetOrientation(arg2
);
16161 wxPyEndAllowThreads(__tstate
);
16162 if (PyErr_Occurred()) SWIG_fail
;
16164 Py_INCREF(Py_None
); resultobj
= Py_None
;
16171 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16172 PyObject
*resultobj
;
16173 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16175 PyObject
* obj0
= 0 ;
16176 PyObject
* obj1
= 0 ;
16177 char *kwnames
[] = {
16178 (char *) "self",(char *) "pos", NULL
16181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16183 if (SWIG_arg_fail(1)) SWIG_fail
;
16185 arg2
= (int)(SWIG_As_int(obj1
));
16186 if (SWIG_arg_fail(2)) SWIG_fail
;
16189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16190 (arg1
)->SetPosition(arg2
);
16192 wxPyEndAllowThreads(__tstate
);
16193 if (PyErr_Occurred()) SWIG_fail
;
16195 Py_INCREF(Py_None
); resultobj
= Py_None
;
16202 static PyObject
* ScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
16204 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16205 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
16207 return Py_BuildValue((char *)"");
16209 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16210 PyObject
*resultobj
;
16211 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16212 int arg2
= (int) 0 ;
16213 int arg3
= (int) 0 ;
16214 wxScrollWinEvent
*result
;
16215 PyObject
* obj0
= 0 ;
16216 PyObject
* obj1
= 0 ;
16217 PyObject
* obj2
= 0 ;
16218 char *kwnames
[] = {
16219 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
16222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16225 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16226 if (SWIG_arg_fail(1)) SWIG_fail
;
16231 arg2
= (int)(SWIG_As_int(obj1
));
16232 if (SWIG_arg_fail(2)) SWIG_fail
;
16237 arg3
= (int)(SWIG_As_int(obj2
));
16238 if (SWIG_arg_fail(3)) SWIG_fail
;
16242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16243 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
16245 wxPyEndAllowThreads(__tstate
);
16246 if (PyErr_Occurred()) SWIG_fail
;
16248 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
16255 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16256 PyObject
*resultobj
;
16257 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16259 PyObject
* obj0
= 0 ;
16260 char *kwnames
[] = {
16261 (char *) "self", NULL
16264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
16265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16266 if (SWIG_arg_fail(1)) SWIG_fail
;
16268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16269 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
16271 wxPyEndAllowThreads(__tstate
);
16272 if (PyErr_Occurred()) SWIG_fail
;
16275 resultobj
= SWIG_From_int((int)(result
));
16283 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16284 PyObject
*resultobj
;
16285 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16287 PyObject
* obj0
= 0 ;
16288 char *kwnames
[] = {
16289 (char *) "self", NULL
16292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16294 if (SWIG_arg_fail(1)) SWIG_fail
;
16296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16297 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
16299 wxPyEndAllowThreads(__tstate
);
16300 if (PyErr_Occurred()) SWIG_fail
;
16303 resultobj
= SWIG_From_int((int)(result
));
16311 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16312 PyObject
*resultobj
;
16313 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16315 PyObject
* obj0
= 0 ;
16316 PyObject
* obj1
= 0 ;
16317 char *kwnames
[] = {
16318 (char *) "self",(char *) "orient", NULL
16321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16323 if (SWIG_arg_fail(1)) SWIG_fail
;
16325 arg2
= (int)(SWIG_As_int(obj1
));
16326 if (SWIG_arg_fail(2)) SWIG_fail
;
16329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16330 (arg1
)->SetOrientation(arg2
);
16332 wxPyEndAllowThreads(__tstate
);
16333 if (PyErr_Occurred()) SWIG_fail
;
16335 Py_INCREF(Py_None
); resultobj
= Py_None
;
16342 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16343 PyObject
*resultobj
;
16344 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16346 PyObject
* obj0
= 0 ;
16347 PyObject
* obj1
= 0 ;
16348 char *kwnames
[] = {
16349 (char *) "self",(char *) "pos", NULL
16352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16354 if (SWIG_arg_fail(1)) SWIG_fail
;
16356 arg2
= (int)(SWIG_As_int(obj1
));
16357 if (SWIG_arg_fail(2)) SWIG_fail
;
16360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16361 (arg1
)->SetPosition(arg2
);
16363 wxPyEndAllowThreads(__tstate
);
16364 if (PyErr_Occurred()) SWIG_fail
;
16366 Py_INCREF(Py_None
); resultobj
= Py_None
;
16373 static PyObject
* ScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
16375 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16376 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
16378 return Py_BuildValue((char *)"");
16380 static PyObject
*_wrap_new_MouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16381 PyObject
*resultobj
;
16382 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16383 wxMouseEvent
*result
;
16384 PyObject
* obj0
= 0 ;
16385 char *kwnames
[] = {
16386 (char *) "mouseType", NULL
16389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
16392 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16393 if (SWIG_arg_fail(1)) SWIG_fail
;
16397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16398 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
16400 wxPyEndAllowThreads(__tstate
);
16401 if (PyErr_Occurred()) SWIG_fail
;
16404 resultobj
= wxPyMake_wxObject(result
, 1);
16412 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16413 PyObject
*resultobj
;
16414 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16416 PyObject
* obj0
= 0 ;
16417 char *kwnames
[] = {
16418 (char *) "self", NULL
16421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
16422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16423 if (SWIG_arg_fail(1)) SWIG_fail
;
16425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16426 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
16428 wxPyEndAllowThreads(__tstate
);
16429 if (PyErr_Occurred()) SWIG_fail
;
16432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16440 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16441 PyObject
*resultobj
;
16442 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16443 int arg2
= (int) wxMOUSE_BTN_ANY
;
16445 PyObject
* obj0
= 0 ;
16446 PyObject
* obj1
= 0 ;
16447 char *kwnames
[] = {
16448 (char *) "self",(char *) "but", NULL
16451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
16452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16453 if (SWIG_arg_fail(1)) SWIG_fail
;
16456 arg2
= (int)(SWIG_As_int(obj1
));
16457 if (SWIG_arg_fail(2)) SWIG_fail
;
16461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16462 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
16464 wxPyEndAllowThreads(__tstate
);
16465 if (PyErr_Occurred()) SWIG_fail
;
16468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16476 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16477 PyObject
*resultobj
;
16478 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16479 int arg2
= (int) wxMOUSE_BTN_ANY
;
16481 PyObject
* obj0
= 0 ;
16482 PyObject
* obj1
= 0 ;
16483 char *kwnames
[] = {
16484 (char *) "self",(char *) "but", NULL
16487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
16488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16489 if (SWIG_arg_fail(1)) SWIG_fail
;
16492 arg2
= (int)(SWIG_As_int(obj1
));
16493 if (SWIG_arg_fail(2)) SWIG_fail
;
16497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16498 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
16500 wxPyEndAllowThreads(__tstate
);
16501 if (PyErr_Occurred()) SWIG_fail
;
16504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16512 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16513 PyObject
*resultobj
;
16514 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16515 int arg2
= (int) wxMOUSE_BTN_ANY
;
16517 PyObject
* obj0
= 0 ;
16518 PyObject
* obj1
= 0 ;
16519 char *kwnames
[] = {
16520 (char *) "self",(char *) "but", NULL
16523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
16524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16525 if (SWIG_arg_fail(1)) SWIG_fail
;
16528 arg2
= (int)(SWIG_As_int(obj1
));
16529 if (SWIG_arg_fail(2)) SWIG_fail
;
16533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16534 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
16536 wxPyEndAllowThreads(__tstate
);
16537 if (PyErr_Occurred()) SWIG_fail
;
16540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16548 static PyObject
*_wrap_MouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16549 PyObject
*resultobj
;
16550 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16553 PyObject
* obj0
= 0 ;
16554 PyObject
* obj1
= 0 ;
16555 char *kwnames
[] = {
16556 (char *) "self",(char *) "but", NULL
16559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
16560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16561 if (SWIG_arg_fail(1)) SWIG_fail
;
16563 arg2
= (int)(SWIG_As_int(obj1
));
16564 if (SWIG_arg_fail(2)) SWIG_fail
;
16567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16568 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(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_ButtonIsDown(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 *) "but", NULL
16593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",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
)->ButtonIsDown(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_GetButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16617 PyObject
*resultobj
;
16618 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16620 PyObject
* obj0
= 0 ;
16621 char *kwnames
[] = {
16622 (char *) "self", NULL
16625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
16626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16627 if (SWIG_arg_fail(1)) SWIG_fail
;
16629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16630 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
16632 wxPyEndAllowThreads(__tstate
);
16633 if (PyErr_Occurred()) SWIG_fail
;
16636 resultobj
= SWIG_From_int((int)(result
));
16644 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16645 PyObject
*resultobj
;
16646 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16648 PyObject
* obj0
= 0 ;
16649 char *kwnames
[] = {
16650 (char *) "self", NULL
16653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
16654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16655 if (SWIG_arg_fail(1)) SWIG_fail
;
16657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16658 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
16660 wxPyEndAllowThreads(__tstate
);
16661 if (PyErr_Occurred()) SWIG_fail
;
16664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16672 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16673 PyObject
*resultobj
;
16674 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16676 PyObject
* obj0
= 0 ;
16677 char *kwnames
[] = {
16678 (char *) "self", NULL
16681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
16682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16683 if (SWIG_arg_fail(1)) SWIG_fail
;
16685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16686 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
16688 wxPyEndAllowThreads(__tstate
);
16689 if (PyErr_Occurred()) SWIG_fail
;
16692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16700 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16701 PyObject
*resultobj
;
16702 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16704 PyObject
* obj0
= 0 ;
16705 char *kwnames
[] = {
16706 (char *) "self", NULL
16709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
16710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16711 if (SWIG_arg_fail(1)) SWIG_fail
;
16713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16714 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
16716 wxPyEndAllowThreads(__tstate
);
16717 if (PyErr_Occurred()) SWIG_fail
;
16720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16728 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16729 PyObject
*resultobj
;
16730 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16732 PyObject
* obj0
= 0 ;
16733 char *kwnames
[] = {
16734 (char *) "self", NULL
16737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
16738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16739 if (SWIG_arg_fail(1)) SWIG_fail
;
16741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16742 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
16744 wxPyEndAllowThreads(__tstate
);
16745 if (PyErr_Occurred()) SWIG_fail
;
16748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16756 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16757 PyObject
*resultobj
;
16758 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16760 PyObject
* obj0
= 0 ;
16761 char *kwnames
[] = {
16762 (char *) "self", NULL
16765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
16766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16767 if (SWIG_arg_fail(1)) SWIG_fail
;
16769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16770 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
16772 wxPyEndAllowThreads(__tstate
);
16773 if (PyErr_Occurred()) SWIG_fail
;
16776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16784 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16785 PyObject
*resultobj
;
16786 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16788 PyObject
* obj0
= 0 ;
16789 char *kwnames
[] = {
16790 (char *) "self", NULL
16793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
16794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16795 if (SWIG_arg_fail(1)) SWIG_fail
;
16797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16798 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
16800 wxPyEndAllowThreads(__tstate
);
16801 if (PyErr_Occurred()) SWIG_fail
;
16804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16812 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16813 PyObject
*resultobj
;
16814 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16816 PyObject
* obj0
= 0 ;
16817 char *kwnames
[] = {
16818 (char *) "self", NULL
16821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
16822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16823 if (SWIG_arg_fail(1)) SWIG_fail
;
16825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16826 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
16828 wxPyEndAllowThreads(__tstate
);
16829 if (PyErr_Occurred()) SWIG_fail
;
16832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16840 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16841 PyObject
*resultobj
;
16842 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16844 PyObject
* obj0
= 0 ;
16845 char *kwnames
[] = {
16846 (char *) "self", NULL
16849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
16850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16851 if (SWIG_arg_fail(1)) SWIG_fail
;
16853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16854 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
16856 wxPyEndAllowThreads(__tstate
);
16857 if (PyErr_Occurred()) SWIG_fail
;
16860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16868 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16869 PyObject
*resultobj
;
16870 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16872 PyObject
* obj0
= 0 ;
16873 char *kwnames
[] = {
16874 (char *) "self", NULL
16877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
16878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16879 if (SWIG_arg_fail(1)) SWIG_fail
;
16881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16882 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
16884 wxPyEndAllowThreads(__tstate
);
16885 if (PyErr_Occurred()) SWIG_fail
;
16888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16896 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16897 PyObject
*resultobj
;
16898 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16900 PyObject
* obj0
= 0 ;
16901 char *kwnames
[] = {
16902 (char *) "self", NULL
16905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
16906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16907 if (SWIG_arg_fail(1)) SWIG_fail
;
16909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16910 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
16912 wxPyEndAllowThreads(__tstate
);
16913 if (PyErr_Occurred()) SWIG_fail
;
16916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16924 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16925 PyObject
*resultobj
;
16926 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16928 PyObject
* obj0
= 0 ;
16929 char *kwnames
[] = {
16930 (char *) "self", NULL
16933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
16934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16935 if (SWIG_arg_fail(1)) SWIG_fail
;
16937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16938 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
16940 wxPyEndAllowThreads(__tstate
);
16941 if (PyErr_Occurred()) SWIG_fail
;
16944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16952 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16953 PyObject
*resultobj
;
16954 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16956 PyObject
* obj0
= 0 ;
16957 char *kwnames
[] = {
16958 (char *) "self", NULL
16961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
16962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16963 if (SWIG_arg_fail(1)) SWIG_fail
;
16965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16966 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
16968 wxPyEndAllowThreads(__tstate
);
16969 if (PyErr_Occurred()) SWIG_fail
;
16972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16980 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16981 PyObject
*resultobj
;
16982 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16984 PyObject
* obj0
= 0 ;
16985 char *kwnames
[] = {
16986 (char *) "self", NULL
16989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
16990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16991 if (SWIG_arg_fail(1)) SWIG_fail
;
16993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16994 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
16996 wxPyEndAllowThreads(__tstate
);
16997 if (PyErr_Occurred()) SWIG_fail
;
17000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17008 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17009 PyObject
*resultobj
;
17010 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17012 PyObject
* obj0
= 0 ;
17013 char *kwnames
[] = {
17014 (char *) "self", NULL
17017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
17018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17019 if (SWIG_arg_fail(1)) SWIG_fail
;
17021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17022 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
17024 wxPyEndAllowThreads(__tstate
);
17025 if (PyErr_Occurred()) SWIG_fail
;
17028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17036 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17037 PyObject
*resultobj
;
17038 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17040 PyObject
* obj0
= 0 ;
17041 char *kwnames
[] = {
17042 (char *) "self", NULL
17045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
17046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17047 if (SWIG_arg_fail(1)) SWIG_fail
;
17049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17050 result
= (bool)(arg1
)->LeftIsDown();
17052 wxPyEndAllowThreads(__tstate
);
17053 if (PyErr_Occurred()) SWIG_fail
;
17056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17064 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17065 PyObject
*resultobj
;
17066 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17068 PyObject
* obj0
= 0 ;
17069 char *kwnames
[] = {
17070 (char *) "self", NULL
17073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
17074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17075 if (SWIG_arg_fail(1)) SWIG_fail
;
17077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17078 result
= (bool)(arg1
)->MiddleIsDown();
17080 wxPyEndAllowThreads(__tstate
);
17081 if (PyErr_Occurred()) SWIG_fail
;
17084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17092 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17093 PyObject
*resultobj
;
17094 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17096 PyObject
* obj0
= 0 ;
17097 char *kwnames
[] = {
17098 (char *) "self", NULL
17101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
17102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17103 if (SWIG_arg_fail(1)) SWIG_fail
;
17105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17106 result
= (bool)(arg1
)->RightIsDown();
17108 wxPyEndAllowThreads(__tstate
);
17109 if (PyErr_Occurred()) SWIG_fail
;
17112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17120 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17121 PyObject
*resultobj
;
17122 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17124 PyObject
* obj0
= 0 ;
17125 char *kwnames
[] = {
17126 (char *) "self", NULL
17129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
17130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17131 if (SWIG_arg_fail(1)) SWIG_fail
;
17133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17134 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
17136 wxPyEndAllowThreads(__tstate
);
17137 if (PyErr_Occurred()) SWIG_fail
;
17140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17148 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17149 PyObject
*resultobj
;
17150 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17152 PyObject
* obj0
= 0 ;
17153 char *kwnames
[] = {
17154 (char *) "self", NULL
17157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
17158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17159 if (SWIG_arg_fail(1)) SWIG_fail
;
17161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17162 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
17164 wxPyEndAllowThreads(__tstate
);
17165 if (PyErr_Occurred()) SWIG_fail
;
17168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17176 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17177 PyObject
*resultobj
;
17178 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17180 PyObject
* obj0
= 0 ;
17181 char *kwnames
[] = {
17182 (char *) "self", NULL
17185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
17186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17187 if (SWIG_arg_fail(1)) SWIG_fail
;
17189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17190 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
17192 wxPyEndAllowThreads(__tstate
);
17193 if (PyErr_Occurred()) SWIG_fail
;
17196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17204 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17205 PyObject
*resultobj
;
17206 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17208 PyObject
* obj0
= 0 ;
17209 char *kwnames
[] = {
17210 (char *) "self", NULL
17213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
17214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17215 if (SWIG_arg_fail(1)) SWIG_fail
;
17217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17218 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
17220 wxPyEndAllowThreads(__tstate
);
17221 if (PyErr_Occurred()) SWIG_fail
;
17224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17232 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17233 PyObject
*resultobj
;
17234 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17236 PyObject
* obj0
= 0 ;
17237 char *kwnames
[] = {
17238 (char *) "self", NULL
17241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17243 if (SWIG_arg_fail(1)) SWIG_fail
;
17245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17246 result
= (arg1
)->GetPosition();
17248 wxPyEndAllowThreads(__tstate
);
17249 if (PyErr_Occurred()) SWIG_fail
;
17252 wxPoint
* resultptr
;
17253 resultptr
= new wxPoint((wxPoint
&)(result
));
17254 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17262 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17263 PyObject
*resultobj
;
17264 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17265 long *arg2
= (long *) 0 ;
17266 long *arg3
= (long *) 0 ;
17271 PyObject
* obj0
= 0 ;
17272 char *kwnames
[] = {
17273 (char *) "self", NULL
17276 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17277 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
17279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17280 if (SWIG_arg_fail(1)) SWIG_fail
;
17282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17283 (arg1
)->GetPosition(arg2
,arg3
);
17285 wxPyEndAllowThreads(__tstate
);
17286 if (PyErr_Occurred()) SWIG_fail
;
17288 Py_INCREF(Py_None
); resultobj
= Py_None
;
17289 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17290 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
17291 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17292 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
17299 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17300 PyObject
*resultobj
;
17301 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17304 PyObject
* obj0
= 0 ;
17305 PyObject
* obj1
= 0 ;
17306 char *kwnames
[] = {
17307 (char *) "self",(char *) "dc", NULL
17310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
17311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17312 if (SWIG_arg_fail(1)) SWIG_fail
;
17314 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17315 if (SWIG_arg_fail(2)) SWIG_fail
;
17316 if (arg2
== NULL
) {
17317 SWIG_null_ref("wxDC");
17319 if (SWIG_arg_fail(2)) SWIG_fail
;
17322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17323 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
17325 wxPyEndAllowThreads(__tstate
);
17326 if (PyErr_Occurred()) SWIG_fail
;
17329 wxPoint
* resultptr
;
17330 resultptr
= new wxPoint((wxPoint
&)(result
));
17331 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17339 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17340 PyObject
*resultobj
;
17341 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17343 PyObject
* obj0
= 0 ;
17344 char *kwnames
[] = {
17345 (char *) "self", NULL
17348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
17349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17350 if (SWIG_arg_fail(1)) SWIG_fail
;
17352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17353 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
17355 wxPyEndAllowThreads(__tstate
);
17356 if (PyErr_Occurred()) SWIG_fail
;
17359 resultobj
= SWIG_From_int((int)(result
));
17367 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17368 PyObject
*resultobj
;
17369 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17371 PyObject
* obj0
= 0 ;
17372 char *kwnames
[] = {
17373 (char *) "self", NULL
17376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
17377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17378 if (SWIG_arg_fail(1)) SWIG_fail
;
17380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17381 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
17383 wxPyEndAllowThreads(__tstate
);
17384 if (PyErr_Occurred()) SWIG_fail
;
17387 resultobj
= SWIG_From_int((int)(result
));
17395 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17396 PyObject
*resultobj
;
17397 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17399 PyObject
* obj0
= 0 ;
17400 char *kwnames
[] = {
17401 (char *) "self", NULL
17404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
17405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17406 if (SWIG_arg_fail(1)) SWIG_fail
;
17408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17409 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
17411 wxPyEndAllowThreads(__tstate
);
17412 if (PyErr_Occurred()) SWIG_fail
;
17415 resultobj
= SWIG_From_int((int)(result
));
17423 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17424 PyObject
*resultobj
;
17425 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17427 PyObject
* obj0
= 0 ;
17428 char *kwnames
[] = {
17429 (char *) "self", NULL
17432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
17433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17434 if (SWIG_arg_fail(1)) SWIG_fail
;
17436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17437 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
17439 wxPyEndAllowThreads(__tstate
);
17440 if (PyErr_Occurred()) SWIG_fail
;
17443 resultobj
= SWIG_From_int((int)(result
));
17451 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17452 PyObject
*resultobj
;
17453 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17455 PyObject
* obj0
= 0 ;
17456 char *kwnames
[] = {
17457 (char *) "self", NULL
17460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
17461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17462 if (SWIG_arg_fail(1)) SWIG_fail
;
17464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17465 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
17467 wxPyEndAllowThreads(__tstate
);
17468 if (PyErr_Occurred()) SWIG_fail
;
17471 resultobj
= SWIG_From_int((int)(result
));
17479 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17480 PyObject
*resultobj
;
17481 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17483 PyObject
* obj0
= 0 ;
17484 char *kwnames
[] = {
17485 (char *) "self", NULL
17488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
17489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17490 if (SWIG_arg_fail(1)) SWIG_fail
;
17492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17493 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
17495 wxPyEndAllowThreads(__tstate
);
17496 if (PyErr_Occurred()) SWIG_fail
;
17499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17507 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17508 PyObject
*resultobj
;
17509 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17511 PyObject
* obj0
= 0 ;
17512 PyObject
* obj1
= 0 ;
17513 char *kwnames
[] = {
17514 (char *) "self",(char *) "m_x", NULL
17517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17519 if (SWIG_arg_fail(1)) SWIG_fail
;
17521 arg2
= (int)(SWIG_As_int(obj1
));
17522 if (SWIG_arg_fail(2)) SWIG_fail
;
17524 if (arg1
) (arg1
)->m_x
= arg2
;
17526 Py_INCREF(Py_None
); resultobj
= Py_None
;
17533 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17534 PyObject
*resultobj
;
17535 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17537 PyObject
* obj0
= 0 ;
17538 char *kwnames
[] = {
17539 (char *) "self", NULL
17542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
17543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17544 if (SWIG_arg_fail(1)) SWIG_fail
;
17545 result
= (int) ((arg1
)->m_x
);
17548 resultobj
= SWIG_From_int((int)(result
));
17556 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17557 PyObject
*resultobj
;
17558 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17560 PyObject
* obj0
= 0 ;
17561 PyObject
* obj1
= 0 ;
17562 char *kwnames
[] = {
17563 (char *) "self",(char *) "m_y", NULL
17566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17568 if (SWIG_arg_fail(1)) SWIG_fail
;
17570 arg2
= (int)(SWIG_As_int(obj1
));
17571 if (SWIG_arg_fail(2)) SWIG_fail
;
17573 if (arg1
) (arg1
)->m_y
= arg2
;
17575 Py_INCREF(Py_None
); resultobj
= Py_None
;
17582 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17583 PyObject
*resultobj
;
17584 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17586 PyObject
* obj0
= 0 ;
17587 char *kwnames
[] = {
17588 (char *) "self", NULL
17591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
17592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17593 if (SWIG_arg_fail(1)) SWIG_fail
;
17594 result
= (int) ((arg1
)->m_y
);
17597 resultobj
= SWIG_From_int((int)(result
));
17605 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17606 PyObject
*resultobj
;
17607 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17609 PyObject
* obj0
= 0 ;
17610 PyObject
* obj1
= 0 ;
17611 char *kwnames
[] = {
17612 (char *) "self",(char *) "m_leftDown", NULL
17615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17617 if (SWIG_arg_fail(1)) SWIG_fail
;
17619 arg2
= (bool)(SWIG_As_bool(obj1
));
17620 if (SWIG_arg_fail(2)) SWIG_fail
;
17622 if (arg1
) (arg1
)->m_leftDown
= arg2
;
17624 Py_INCREF(Py_None
); resultobj
= Py_None
;
17631 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17632 PyObject
*resultobj
;
17633 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17635 PyObject
* obj0
= 0 ;
17636 char *kwnames
[] = {
17637 (char *) "self", NULL
17640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
17641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17642 if (SWIG_arg_fail(1)) SWIG_fail
;
17643 result
= (bool) ((arg1
)->m_leftDown
);
17646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17654 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17655 PyObject
*resultobj
;
17656 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17658 PyObject
* obj0
= 0 ;
17659 PyObject
* obj1
= 0 ;
17660 char *kwnames
[] = {
17661 (char *) "self",(char *) "m_middleDown", NULL
17664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17666 if (SWIG_arg_fail(1)) SWIG_fail
;
17668 arg2
= (bool)(SWIG_As_bool(obj1
));
17669 if (SWIG_arg_fail(2)) SWIG_fail
;
17671 if (arg1
) (arg1
)->m_middleDown
= arg2
;
17673 Py_INCREF(Py_None
); resultobj
= Py_None
;
17680 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17681 PyObject
*resultobj
;
17682 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17684 PyObject
* obj0
= 0 ;
17685 char *kwnames
[] = {
17686 (char *) "self", NULL
17689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
17690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17691 if (SWIG_arg_fail(1)) SWIG_fail
;
17692 result
= (bool) ((arg1
)->m_middleDown
);
17695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17703 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17704 PyObject
*resultobj
;
17705 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17707 PyObject
* obj0
= 0 ;
17708 PyObject
* obj1
= 0 ;
17709 char *kwnames
[] = {
17710 (char *) "self",(char *) "m_rightDown", NULL
17713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17715 if (SWIG_arg_fail(1)) SWIG_fail
;
17717 arg2
= (bool)(SWIG_As_bool(obj1
));
17718 if (SWIG_arg_fail(2)) SWIG_fail
;
17720 if (arg1
) (arg1
)->m_rightDown
= arg2
;
17722 Py_INCREF(Py_None
); resultobj
= Py_None
;
17729 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17730 PyObject
*resultobj
;
17731 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17733 PyObject
* obj0
= 0 ;
17734 char *kwnames
[] = {
17735 (char *) "self", NULL
17738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
17739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17740 if (SWIG_arg_fail(1)) SWIG_fail
;
17741 result
= (bool) ((arg1
)->m_rightDown
);
17744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17752 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17753 PyObject
*resultobj
;
17754 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17756 PyObject
* obj0
= 0 ;
17757 PyObject
* obj1
= 0 ;
17758 char *kwnames
[] = {
17759 (char *) "self",(char *) "m_controlDown", NULL
17762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17764 if (SWIG_arg_fail(1)) SWIG_fail
;
17766 arg2
= (bool)(SWIG_As_bool(obj1
));
17767 if (SWIG_arg_fail(2)) SWIG_fail
;
17769 if (arg1
) (arg1
)->m_controlDown
= arg2
;
17771 Py_INCREF(Py_None
); resultobj
= Py_None
;
17778 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17779 PyObject
*resultobj
;
17780 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17782 PyObject
* obj0
= 0 ;
17783 char *kwnames
[] = {
17784 (char *) "self", NULL
17787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
17788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17789 if (SWIG_arg_fail(1)) SWIG_fail
;
17790 result
= (bool) ((arg1
)->m_controlDown
);
17793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17801 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17802 PyObject
*resultobj
;
17803 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17805 PyObject
* obj0
= 0 ;
17806 PyObject
* obj1
= 0 ;
17807 char *kwnames
[] = {
17808 (char *) "self",(char *) "m_shiftDown", NULL
17811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17813 if (SWIG_arg_fail(1)) SWIG_fail
;
17815 arg2
= (bool)(SWIG_As_bool(obj1
));
17816 if (SWIG_arg_fail(2)) SWIG_fail
;
17818 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
17820 Py_INCREF(Py_None
); resultobj
= Py_None
;
17827 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17828 PyObject
*resultobj
;
17829 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17831 PyObject
* obj0
= 0 ;
17832 char *kwnames
[] = {
17833 (char *) "self", NULL
17836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
17837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17838 if (SWIG_arg_fail(1)) SWIG_fail
;
17839 result
= (bool) ((arg1
)->m_shiftDown
);
17842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17850 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17851 PyObject
*resultobj
;
17852 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17854 PyObject
* obj0
= 0 ;
17855 PyObject
* obj1
= 0 ;
17856 char *kwnames
[] = {
17857 (char *) "self",(char *) "m_altDown", NULL
17860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17862 if (SWIG_arg_fail(1)) SWIG_fail
;
17864 arg2
= (bool)(SWIG_As_bool(obj1
));
17865 if (SWIG_arg_fail(2)) SWIG_fail
;
17867 if (arg1
) (arg1
)->m_altDown
= arg2
;
17869 Py_INCREF(Py_None
); resultobj
= Py_None
;
17876 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17877 PyObject
*resultobj
;
17878 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17880 PyObject
* obj0
= 0 ;
17881 char *kwnames
[] = {
17882 (char *) "self", NULL
17885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
17886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17887 if (SWIG_arg_fail(1)) SWIG_fail
;
17888 result
= (bool) ((arg1
)->m_altDown
);
17891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17899 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17900 PyObject
*resultobj
;
17901 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17903 PyObject
* obj0
= 0 ;
17904 PyObject
* obj1
= 0 ;
17905 char *kwnames
[] = {
17906 (char *) "self",(char *) "m_metaDown", NULL
17909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17911 if (SWIG_arg_fail(1)) SWIG_fail
;
17913 arg2
= (bool)(SWIG_As_bool(obj1
));
17914 if (SWIG_arg_fail(2)) SWIG_fail
;
17916 if (arg1
) (arg1
)->m_metaDown
= arg2
;
17918 Py_INCREF(Py_None
); resultobj
= Py_None
;
17925 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17926 PyObject
*resultobj
;
17927 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17929 PyObject
* obj0
= 0 ;
17930 char *kwnames
[] = {
17931 (char *) "self", NULL
17934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
17935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17936 if (SWIG_arg_fail(1)) SWIG_fail
;
17937 result
= (bool) ((arg1
)->m_metaDown
);
17940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17948 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17949 PyObject
*resultobj
;
17950 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17952 PyObject
* obj0
= 0 ;
17953 PyObject
* obj1
= 0 ;
17954 char *kwnames
[] = {
17955 (char *) "self",(char *) "m_wheelRotation", NULL
17958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17960 if (SWIG_arg_fail(1)) SWIG_fail
;
17962 arg2
= (int)(SWIG_As_int(obj1
));
17963 if (SWIG_arg_fail(2)) SWIG_fail
;
17965 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
17967 Py_INCREF(Py_None
); resultobj
= Py_None
;
17974 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17975 PyObject
*resultobj
;
17976 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17978 PyObject
* obj0
= 0 ;
17979 char *kwnames
[] = {
17980 (char *) "self", NULL
17983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
17984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17985 if (SWIG_arg_fail(1)) SWIG_fail
;
17986 result
= (int) ((arg1
)->m_wheelRotation
);
17989 resultobj
= SWIG_From_int((int)(result
));
17997 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17998 PyObject
*resultobj
;
17999 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18001 PyObject
* obj0
= 0 ;
18002 PyObject
* obj1
= 0 ;
18003 char *kwnames
[] = {
18004 (char *) "self",(char *) "m_wheelDelta", NULL
18007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18009 if (SWIG_arg_fail(1)) SWIG_fail
;
18011 arg2
= (int)(SWIG_As_int(obj1
));
18012 if (SWIG_arg_fail(2)) SWIG_fail
;
18014 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
18016 Py_INCREF(Py_None
); resultobj
= Py_None
;
18023 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18024 PyObject
*resultobj
;
18025 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18027 PyObject
* obj0
= 0 ;
18028 char *kwnames
[] = {
18029 (char *) "self", NULL
18032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
18033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18034 if (SWIG_arg_fail(1)) SWIG_fail
;
18035 result
= (int) ((arg1
)->m_wheelDelta
);
18038 resultobj
= SWIG_From_int((int)(result
));
18046 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18047 PyObject
*resultobj
;
18048 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18050 PyObject
* obj0
= 0 ;
18051 PyObject
* obj1
= 0 ;
18052 char *kwnames
[] = {
18053 (char *) "self",(char *) "m_linesPerAction", NULL
18056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18058 if (SWIG_arg_fail(1)) SWIG_fail
;
18060 arg2
= (int)(SWIG_As_int(obj1
));
18061 if (SWIG_arg_fail(2)) SWIG_fail
;
18063 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
18065 Py_INCREF(Py_None
); resultobj
= Py_None
;
18072 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18073 PyObject
*resultobj
;
18074 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18076 PyObject
* obj0
= 0 ;
18077 char *kwnames
[] = {
18078 (char *) "self", NULL
18081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
18082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18083 if (SWIG_arg_fail(1)) SWIG_fail
;
18084 result
= (int) ((arg1
)->m_linesPerAction
);
18087 resultobj
= SWIG_From_int((int)(result
));
18095 static PyObject
* MouseEvent_swigregister(PyObject
*, PyObject
*args
) {
18097 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18098 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
18100 return Py_BuildValue((char *)"");
18102 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18103 PyObject
*resultobj
;
18104 int arg1
= (int) 0 ;
18105 int arg2
= (int) 0 ;
18106 wxSetCursorEvent
*result
;
18107 PyObject
* obj0
= 0 ;
18108 PyObject
* obj1
= 0 ;
18109 char *kwnames
[] = {
18110 (char *) "x",(char *) "y", NULL
18113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18116 arg1
= (int)(SWIG_As_int(obj0
));
18117 if (SWIG_arg_fail(1)) SWIG_fail
;
18122 arg2
= (int)(SWIG_As_int(obj1
));
18123 if (SWIG_arg_fail(2)) SWIG_fail
;
18127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18128 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
18130 wxPyEndAllowThreads(__tstate
);
18131 if (PyErr_Occurred()) SWIG_fail
;
18133 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
18140 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18141 PyObject
*resultobj
;
18142 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18144 PyObject
* obj0
= 0 ;
18145 char *kwnames
[] = {
18146 (char *) "self", NULL
18149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
18150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18151 if (SWIG_arg_fail(1)) SWIG_fail
;
18153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18154 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
18156 wxPyEndAllowThreads(__tstate
);
18157 if (PyErr_Occurred()) SWIG_fail
;
18160 resultobj
= SWIG_From_int((int)(result
));
18168 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18169 PyObject
*resultobj
;
18170 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18172 PyObject
* obj0
= 0 ;
18173 char *kwnames
[] = {
18174 (char *) "self", NULL
18177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
18178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18179 if (SWIG_arg_fail(1)) SWIG_fail
;
18181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18182 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
18184 wxPyEndAllowThreads(__tstate
);
18185 if (PyErr_Occurred()) SWIG_fail
;
18188 resultobj
= SWIG_From_int((int)(result
));
18196 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18197 PyObject
*resultobj
;
18198 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18199 wxCursor
*arg2
= 0 ;
18200 PyObject
* obj0
= 0 ;
18201 PyObject
* obj1
= 0 ;
18202 char *kwnames
[] = {
18203 (char *) "self",(char *) "cursor", NULL
18206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
18207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18208 if (SWIG_arg_fail(1)) SWIG_fail
;
18210 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
18211 if (SWIG_arg_fail(2)) SWIG_fail
;
18212 if (arg2
== NULL
) {
18213 SWIG_null_ref("wxCursor");
18215 if (SWIG_arg_fail(2)) SWIG_fail
;
18218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18219 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
18221 wxPyEndAllowThreads(__tstate
);
18222 if (PyErr_Occurred()) SWIG_fail
;
18224 Py_INCREF(Py_None
); resultobj
= Py_None
;
18231 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18232 PyObject
*resultobj
;
18233 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18235 PyObject
* obj0
= 0 ;
18236 char *kwnames
[] = {
18237 (char *) "self", NULL
18240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18246 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
18247 result
= (wxCursor
*) &_result_ref
;
18250 wxPyEndAllowThreads(__tstate
);
18251 if (PyErr_Occurred()) SWIG_fail
;
18254 wxCursor
* resultptr
= new wxCursor(*result
);
18255 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
18263 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18264 PyObject
*resultobj
;
18265 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18267 PyObject
* obj0
= 0 ;
18268 char *kwnames
[] = {
18269 (char *) "self", NULL
18272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
18273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18274 if (SWIG_arg_fail(1)) SWIG_fail
;
18276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18277 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
18279 wxPyEndAllowThreads(__tstate
);
18280 if (PyErr_Occurred()) SWIG_fail
;
18283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18291 static PyObject
* SetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
18293 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18294 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
18296 return Py_BuildValue((char *)"");
18298 static PyObject
*_wrap_new_KeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18299 PyObject
*resultobj
;
18300 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18301 wxKeyEvent
*result
;
18302 PyObject
* obj0
= 0 ;
18303 char *kwnames
[] = {
18304 (char *) "keyType", NULL
18307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
18310 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
18311 if (SWIG_arg_fail(1)) SWIG_fail
;
18315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18316 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
18318 wxPyEndAllowThreads(__tstate
);
18319 if (PyErr_Occurred()) SWIG_fail
;
18321 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
18328 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18329 PyObject
*resultobj
;
18330 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18332 PyObject
* obj0
= 0 ;
18333 char *kwnames
[] = {
18334 (char *) "self", NULL
18337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
18338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18339 if (SWIG_arg_fail(1)) SWIG_fail
;
18341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18342 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
18344 wxPyEndAllowThreads(__tstate
);
18345 if (PyErr_Occurred()) SWIG_fail
;
18348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18356 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18357 PyObject
*resultobj
;
18358 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18360 PyObject
* obj0
= 0 ;
18361 char *kwnames
[] = {
18362 (char *) "self", NULL
18365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
18366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18367 if (SWIG_arg_fail(1)) SWIG_fail
;
18369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18370 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
18372 wxPyEndAllowThreads(__tstate
);
18373 if (PyErr_Occurred()) SWIG_fail
;
18376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18384 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18385 PyObject
*resultobj
;
18386 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18388 PyObject
* obj0
= 0 ;
18389 char *kwnames
[] = {
18390 (char *) "self", NULL
18393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
18394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18395 if (SWIG_arg_fail(1)) SWIG_fail
;
18397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18398 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
18400 wxPyEndAllowThreads(__tstate
);
18401 if (PyErr_Occurred()) SWIG_fail
;
18404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18412 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18413 PyObject
*resultobj
;
18414 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18416 PyObject
* obj0
= 0 ;
18417 char *kwnames
[] = {
18418 (char *) "self", NULL
18421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
18422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18423 if (SWIG_arg_fail(1)) SWIG_fail
;
18425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18426 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
18428 wxPyEndAllowThreads(__tstate
);
18429 if (PyErr_Occurred()) SWIG_fail
;
18432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18440 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18441 PyObject
*resultobj
;
18442 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18444 PyObject
* obj0
= 0 ;
18445 char *kwnames
[] = {
18446 (char *) "self", NULL
18449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
18450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18451 if (SWIG_arg_fail(1)) SWIG_fail
;
18453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18454 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
18456 wxPyEndAllowThreads(__tstate
);
18457 if (PyErr_Occurred()) SWIG_fail
;
18460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18468 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18469 PyObject
*resultobj
;
18470 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18472 PyObject
* obj0
= 0 ;
18473 char *kwnames
[] = {
18474 (char *) "self", NULL
18477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
18478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18479 if (SWIG_arg_fail(1)) SWIG_fail
;
18481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18482 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
18484 wxPyEndAllowThreads(__tstate
);
18485 if (PyErr_Occurred()) SWIG_fail
;
18488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18496 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18497 PyObject
*resultobj
;
18498 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18500 PyObject
* obj0
= 0 ;
18501 char *kwnames
[] = {
18502 (char *) "self", NULL
18505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
18506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18507 if (SWIG_arg_fail(1)) SWIG_fail
;
18509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18510 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
18512 wxPyEndAllowThreads(__tstate
);
18513 if (PyErr_Occurred()) SWIG_fail
;
18516 resultobj
= SWIG_From_int((int)(result
));
18524 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18525 PyObject
*resultobj
;
18526 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18528 PyObject
* obj0
= 0 ;
18529 char *kwnames
[] = {
18530 (char *) "self", NULL
18533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
18534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18535 if (SWIG_arg_fail(1)) SWIG_fail
;
18537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18538 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
18540 wxPyEndAllowThreads(__tstate
);
18541 if (PyErr_Occurred()) SWIG_fail
;
18544 resultobj
= SWIG_From_int((int)(result
));
18552 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18553 PyObject
*resultobj
;
18554 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18555 unsigned int result
;
18556 PyObject
* obj0
= 0 ;
18557 char *kwnames
[] = {
18558 (char *) "self", NULL
18561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
18562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18563 if (SWIG_arg_fail(1)) SWIG_fail
;
18565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18566 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
18568 wxPyEndAllowThreads(__tstate
);
18569 if (PyErr_Occurred()) SWIG_fail
;
18572 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18580 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18581 PyObject
*resultobj
;
18582 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18583 unsigned int result
;
18584 PyObject
* obj0
= 0 ;
18585 char *kwnames
[] = {
18586 (char *) "self", NULL
18589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
18590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18591 if (SWIG_arg_fail(1)) SWIG_fail
;
18593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18594 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
18596 wxPyEndAllowThreads(__tstate
);
18597 if (PyErr_Occurred()) SWIG_fail
;
18600 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18608 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18609 PyObject
*resultobj
;
18610 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18612 PyObject
* obj0
= 0 ;
18613 char *kwnames
[] = {
18614 (char *) "self", NULL
18617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18619 if (SWIG_arg_fail(1)) SWIG_fail
;
18621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18622 result
= (arg1
)->GetPosition();
18624 wxPyEndAllowThreads(__tstate
);
18625 if (PyErr_Occurred()) SWIG_fail
;
18628 wxPoint
* resultptr
;
18629 resultptr
= new wxPoint((wxPoint
&)(result
));
18630 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18638 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18639 PyObject
*resultobj
;
18640 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18641 long *arg2
= (long *) 0 ;
18642 long *arg3
= (long *) 0 ;
18647 PyObject
* obj0
= 0 ;
18648 char *kwnames
[] = {
18649 (char *) "self", NULL
18652 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18653 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
18655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18656 if (SWIG_arg_fail(1)) SWIG_fail
;
18658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18659 (arg1
)->GetPosition(arg2
,arg3
);
18661 wxPyEndAllowThreads(__tstate
);
18662 if (PyErr_Occurred()) SWIG_fail
;
18664 Py_INCREF(Py_None
); resultobj
= Py_None
;
18665 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18666 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
18667 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18668 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
18675 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18676 PyObject
*resultobj
;
18677 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18679 PyObject
* obj0
= 0 ;
18680 char *kwnames
[] = {
18681 (char *) "self", NULL
18684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
18685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18686 if (SWIG_arg_fail(1)) SWIG_fail
;
18688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18689 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
18691 wxPyEndAllowThreads(__tstate
);
18692 if (PyErr_Occurred()) SWIG_fail
;
18695 resultobj
= SWIG_From_int((int)(result
));
18703 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18704 PyObject
*resultobj
;
18705 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18707 PyObject
* obj0
= 0 ;
18708 char *kwnames
[] = {
18709 (char *) "self", NULL
18712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
18713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18714 if (SWIG_arg_fail(1)) SWIG_fail
;
18716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18717 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
18719 wxPyEndAllowThreads(__tstate
);
18720 if (PyErr_Occurred()) SWIG_fail
;
18723 resultobj
= SWIG_From_int((int)(result
));
18731 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18732 PyObject
*resultobj
;
18733 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18735 PyObject
* obj0
= 0 ;
18736 PyObject
* obj1
= 0 ;
18737 char *kwnames
[] = {
18738 (char *) "self",(char *) "m_x", NULL
18741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18743 if (SWIG_arg_fail(1)) SWIG_fail
;
18745 arg2
= (int)(SWIG_As_int(obj1
));
18746 if (SWIG_arg_fail(2)) SWIG_fail
;
18748 if (arg1
) (arg1
)->m_x
= arg2
;
18750 Py_INCREF(Py_None
); resultobj
= Py_None
;
18757 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18758 PyObject
*resultobj
;
18759 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18761 PyObject
* obj0
= 0 ;
18762 char *kwnames
[] = {
18763 (char *) "self", NULL
18766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
18767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18768 if (SWIG_arg_fail(1)) SWIG_fail
;
18769 result
= (int) ((arg1
)->m_x
);
18772 resultobj
= SWIG_From_int((int)(result
));
18780 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18781 PyObject
*resultobj
;
18782 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18784 PyObject
* obj0
= 0 ;
18785 PyObject
* obj1
= 0 ;
18786 char *kwnames
[] = {
18787 (char *) "self",(char *) "m_y", NULL
18790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18792 if (SWIG_arg_fail(1)) SWIG_fail
;
18794 arg2
= (int)(SWIG_As_int(obj1
));
18795 if (SWIG_arg_fail(2)) SWIG_fail
;
18797 if (arg1
) (arg1
)->m_y
= arg2
;
18799 Py_INCREF(Py_None
); resultobj
= Py_None
;
18806 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18807 PyObject
*resultobj
;
18808 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18810 PyObject
* obj0
= 0 ;
18811 char *kwnames
[] = {
18812 (char *) "self", NULL
18815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
18816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18817 if (SWIG_arg_fail(1)) SWIG_fail
;
18818 result
= (int) ((arg1
)->m_y
);
18821 resultobj
= SWIG_From_int((int)(result
));
18829 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18830 PyObject
*resultobj
;
18831 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18833 PyObject
* obj0
= 0 ;
18834 PyObject
* obj1
= 0 ;
18835 char *kwnames
[] = {
18836 (char *) "self",(char *) "m_keyCode", NULL
18839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18841 if (SWIG_arg_fail(1)) SWIG_fail
;
18843 arg2
= (long)(SWIG_As_long(obj1
));
18844 if (SWIG_arg_fail(2)) SWIG_fail
;
18846 if (arg1
) (arg1
)->m_keyCode
= arg2
;
18848 Py_INCREF(Py_None
); resultobj
= Py_None
;
18855 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18856 PyObject
*resultobj
;
18857 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18859 PyObject
* obj0
= 0 ;
18860 char *kwnames
[] = {
18861 (char *) "self", NULL
18864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
18865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18866 if (SWIG_arg_fail(1)) SWIG_fail
;
18867 result
= (long) ((arg1
)->m_keyCode
);
18870 resultobj
= SWIG_From_long((long)(result
));
18878 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18879 PyObject
*resultobj
;
18880 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18882 PyObject
* obj0
= 0 ;
18883 PyObject
* obj1
= 0 ;
18884 char *kwnames
[] = {
18885 (char *) "self",(char *) "m_controlDown", NULL
18888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18890 if (SWIG_arg_fail(1)) SWIG_fail
;
18892 arg2
= (bool)(SWIG_As_bool(obj1
));
18893 if (SWIG_arg_fail(2)) SWIG_fail
;
18895 if (arg1
) (arg1
)->m_controlDown
= arg2
;
18897 Py_INCREF(Py_None
); resultobj
= Py_None
;
18904 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18905 PyObject
*resultobj
;
18906 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18908 PyObject
* obj0
= 0 ;
18909 char *kwnames
[] = {
18910 (char *) "self", NULL
18913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
18914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18915 if (SWIG_arg_fail(1)) SWIG_fail
;
18916 result
= (bool) ((arg1
)->m_controlDown
);
18919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18927 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18928 PyObject
*resultobj
;
18929 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18931 PyObject
* obj0
= 0 ;
18932 PyObject
* obj1
= 0 ;
18933 char *kwnames
[] = {
18934 (char *) "self",(char *) "m_shiftDown", NULL
18937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18939 if (SWIG_arg_fail(1)) SWIG_fail
;
18941 arg2
= (bool)(SWIG_As_bool(obj1
));
18942 if (SWIG_arg_fail(2)) SWIG_fail
;
18944 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
18946 Py_INCREF(Py_None
); resultobj
= Py_None
;
18953 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18954 PyObject
*resultobj
;
18955 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18957 PyObject
* obj0
= 0 ;
18958 char *kwnames
[] = {
18959 (char *) "self", NULL
18962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
18963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18964 if (SWIG_arg_fail(1)) SWIG_fail
;
18965 result
= (bool) ((arg1
)->m_shiftDown
);
18968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18976 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18977 PyObject
*resultobj
;
18978 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18980 PyObject
* obj0
= 0 ;
18981 PyObject
* obj1
= 0 ;
18982 char *kwnames
[] = {
18983 (char *) "self",(char *) "m_altDown", NULL
18986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18988 if (SWIG_arg_fail(1)) SWIG_fail
;
18990 arg2
= (bool)(SWIG_As_bool(obj1
));
18991 if (SWIG_arg_fail(2)) SWIG_fail
;
18993 if (arg1
) (arg1
)->m_altDown
= arg2
;
18995 Py_INCREF(Py_None
); resultobj
= Py_None
;
19002 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19003 PyObject
*resultobj
;
19004 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19006 PyObject
* obj0
= 0 ;
19007 char *kwnames
[] = {
19008 (char *) "self", NULL
19011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
19012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19013 if (SWIG_arg_fail(1)) SWIG_fail
;
19014 result
= (bool) ((arg1
)->m_altDown
);
19017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19025 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19026 PyObject
*resultobj
;
19027 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19029 PyObject
* obj0
= 0 ;
19030 PyObject
* obj1
= 0 ;
19031 char *kwnames
[] = {
19032 (char *) "self",(char *) "m_metaDown", NULL
19035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19037 if (SWIG_arg_fail(1)) SWIG_fail
;
19039 arg2
= (bool)(SWIG_As_bool(obj1
));
19040 if (SWIG_arg_fail(2)) SWIG_fail
;
19042 if (arg1
) (arg1
)->m_metaDown
= arg2
;
19044 Py_INCREF(Py_None
); resultobj
= Py_None
;
19051 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19052 PyObject
*resultobj
;
19053 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19055 PyObject
* obj0
= 0 ;
19056 char *kwnames
[] = {
19057 (char *) "self", NULL
19060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
19061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19062 if (SWIG_arg_fail(1)) SWIG_fail
;
19063 result
= (bool) ((arg1
)->m_metaDown
);
19066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19074 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19075 PyObject
*resultobj
;
19076 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19078 PyObject
* obj0
= 0 ;
19079 PyObject
* obj1
= 0 ;
19080 char *kwnames
[] = {
19081 (char *) "self",(char *) "m_scanCode", NULL
19084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19086 if (SWIG_arg_fail(1)) SWIG_fail
;
19088 arg2
= (bool)(SWIG_As_bool(obj1
));
19089 if (SWIG_arg_fail(2)) SWIG_fail
;
19091 if (arg1
) (arg1
)->m_scanCode
= arg2
;
19093 Py_INCREF(Py_None
); resultobj
= Py_None
;
19100 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19101 PyObject
*resultobj
;
19102 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19104 PyObject
* obj0
= 0 ;
19105 char *kwnames
[] = {
19106 (char *) "self", NULL
19109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
19110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19111 if (SWIG_arg_fail(1)) SWIG_fail
;
19112 result
= (bool) ((arg1
)->m_scanCode
);
19115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19123 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19124 PyObject
*resultobj
;
19125 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19126 unsigned int arg2
;
19127 PyObject
* obj0
= 0 ;
19128 PyObject
* obj1
= 0 ;
19129 char *kwnames
[] = {
19130 (char *) "self",(char *) "m_rawCode", NULL
19133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19135 if (SWIG_arg_fail(1)) SWIG_fail
;
19137 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
19138 if (SWIG_arg_fail(2)) SWIG_fail
;
19140 if (arg1
) (arg1
)->m_rawCode
= arg2
;
19142 Py_INCREF(Py_None
); resultobj
= Py_None
;
19149 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19150 PyObject
*resultobj
;
19151 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19152 unsigned int result
;
19153 PyObject
* obj0
= 0 ;
19154 char *kwnames
[] = {
19155 (char *) "self", NULL
19158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
19159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19160 if (SWIG_arg_fail(1)) SWIG_fail
;
19161 result
= (unsigned int) ((arg1
)->m_rawCode
);
19164 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
19172 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19173 PyObject
*resultobj
;
19174 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19175 unsigned int arg2
;
19176 PyObject
* obj0
= 0 ;
19177 PyObject
* obj1
= 0 ;
19178 char *kwnames
[] = {
19179 (char *) "self",(char *) "m_rawFlags", NULL
19182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19184 if (SWIG_arg_fail(1)) SWIG_fail
;
19186 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
19187 if (SWIG_arg_fail(2)) SWIG_fail
;
19189 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
19191 Py_INCREF(Py_None
); resultobj
= Py_None
;
19198 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19199 PyObject
*resultobj
;
19200 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19201 unsigned int result
;
19202 PyObject
* obj0
= 0 ;
19203 char *kwnames
[] = {
19204 (char *) "self", NULL
19207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
19208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19209 if (SWIG_arg_fail(1)) SWIG_fail
;
19210 result
= (unsigned int) ((arg1
)->m_rawFlags
);
19213 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
19221 static PyObject
* KeyEvent_swigregister(PyObject
*, PyObject
*args
) {
19223 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19224 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
19226 return Py_BuildValue((char *)"");
19228 static PyObject
*_wrap_new_SizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19229 PyObject
*resultobj
;
19230 wxSize
const &arg1_defvalue
= wxDefaultSize
;
19231 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
19232 int arg2
= (int) 0 ;
19233 wxSizeEvent
*result
;
19235 PyObject
* obj0
= 0 ;
19236 PyObject
* obj1
= 0 ;
19237 char *kwnames
[] = {
19238 (char *) "sz",(char *) "winid", NULL
19241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19245 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
19250 arg2
= (int)(SWIG_As_int(obj1
));
19251 if (SWIG_arg_fail(2)) SWIG_fail
;
19255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19256 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
19258 wxPyEndAllowThreads(__tstate
);
19259 if (PyErr_Occurred()) SWIG_fail
;
19261 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
19268 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19269 PyObject
*resultobj
;
19270 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19272 PyObject
* obj0
= 0 ;
19273 char *kwnames
[] = {
19274 (char *) "self", NULL
19277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
19278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19279 if (SWIG_arg_fail(1)) SWIG_fail
;
19281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19282 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
19284 wxPyEndAllowThreads(__tstate
);
19285 if (PyErr_Occurred()) SWIG_fail
;
19288 wxSize
* resultptr
;
19289 resultptr
= new wxSize((wxSize
&)(result
));
19290 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19298 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19299 PyObject
*resultobj
;
19300 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19302 PyObject
* obj0
= 0 ;
19303 char *kwnames
[] = {
19304 (char *) "self", NULL
19307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
19308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19309 if (SWIG_arg_fail(1)) SWIG_fail
;
19311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19312 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
19314 wxPyEndAllowThreads(__tstate
);
19315 if (PyErr_Occurred()) SWIG_fail
;
19318 wxRect
* resultptr
;
19319 resultptr
= new wxRect((wxRect
&)(result
));
19320 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
19328 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19329 PyObject
*resultobj
;
19330 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19332 PyObject
* obj0
= 0 ;
19333 PyObject
* obj1
= 0 ;
19334 char *kwnames
[] = {
19335 (char *) "self",(char *) "rect", NULL
19338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
19339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19340 if (SWIG_arg_fail(1)) SWIG_fail
;
19343 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
);
19344 if (SWIG_arg_fail(2)) SWIG_fail
;
19345 if (argp
== NULL
) {
19346 SWIG_null_ref("wxRect");
19348 if (SWIG_arg_fail(2)) SWIG_fail
;
19352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19353 (arg1
)->SetRect(arg2
);
19355 wxPyEndAllowThreads(__tstate
);
19356 if (PyErr_Occurred()) SWIG_fail
;
19358 Py_INCREF(Py_None
); resultobj
= Py_None
;
19365 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19366 PyObject
*resultobj
;
19367 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19369 PyObject
* obj0
= 0 ;
19370 PyObject
* obj1
= 0 ;
19371 char *kwnames
[] = {
19372 (char *) "self",(char *) "size", NULL
19375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19377 if (SWIG_arg_fail(1)) SWIG_fail
;
19380 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
19381 if (SWIG_arg_fail(2)) SWIG_fail
;
19382 if (argp
== NULL
) {
19383 SWIG_null_ref("wxSize");
19385 if (SWIG_arg_fail(2)) SWIG_fail
;
19389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19390 wxSizeEvent_SetSize(arg1
,arg2
);
19392 wxPyEndAllowThreads(__tstate
);
19393 if (PyErr_Occurred()) SWIG_fail
;
19395 Py_INCREF(Py_None
); resultobj
= Py_None
;
19402 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19403 PyObject
*resultobj
;
19404 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19405 wxSize
*arg2
= (wxSize
*) 0 ;
19406 PyObject
* obj0
= 0 ;
19407 PyObject
* obj1
= 0 ;
19408 char *kwnames
[] = {
19409 (char *) "self",(char *) "m_size", NULL
19412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19414 if (SWIG_arg_fail(1)) SWIG_fail
;
19415 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
19416 if (SWIG_arg_fail(2)) SWIG_fail
;
19417 if (arg1
) (arg1
)->m_size
= *arg2
;
19419 Py_INCREF(Py_None
); resultobj
= Py_None
;
19426 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19427 PyObject
*resultobj
;
19428 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19430 PyObject
* obj0
= 0 ;
19431 char *kwnames
[] = {
19432 (char *) "self", NULL
19435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
19436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19437 if (SWIG_arg_fail(1)) SWIG_fail
;
19438 result
= (wxSize
*)& ((arg1
)->m_size
);
19440 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
19447 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19448 PyObject
*resultobj
;
19449 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19450 wxRect
*arg2
= (wxRect
*) 0 ;
19451 PyObject
* obj0
= 0 ;
19452 PyObject
* obj1
= 0 ;
19453 char *kwnames
[] = {
19454 (char *) "self",(char *) "m_rect", NULL
19457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19459 if (SWIG_arg_fail(1)) SWIG_fail
;
19460 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
19461 if (SWIG_arg_fail(2)) SWIG_fail
;
19462 if (arg1
) (arg1
)->m_rect
= *arg2
;
19464 Py_INCREF(Py_None
); resultobj
= Py_None
;
19471 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19472 PyObject
*resultobj
;
19473 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19475 PyObject
* obj0
= 0 ;
19476 char *kwnames
[] = {
19477 (char *) "self", NULL
19480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
19481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19482 if (SWIG_arg_fail(1)) SWIG_fail
;
19483 result
= (wxRect
*)& ((arg1
)->m_rect
);
19485 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
19492 static PyObject
* SizeEvent_swigregister(PyObject
*, PyObject
*args
) {
19494 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19495 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
19497 return Py_BuildValue((char *)"");
19499 static PyObject
*_wrap_new_MoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19500 PyObject
*resultobj
;
19501 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
19502 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
19503 int arg2
= (int) 0 ;
19504 wxMoveEvent
*result
;
19506 PyObject
* obj0
= 0 ;
19507 PyObject
* obj1
= 0 ;
19508 char *kwnames
[] = {
19509 (char *) "pos",(char *) "winid", NULL
19512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19516 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
19521 arg2
= (int)(SWIG_As_int(obj1
));
19522 if (SWIG_arg_fail(2)) SWIG_fail
;
19526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19527 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
19529 wxPyEndAllowThreads(__tstate
);
19530 if (PyErr_Occurred()) SWIG_fail
;
19532 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
19539 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19540 PyObject
*resultobj
;
19541 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19543 PyObject
* obj0
= 0 ;
19544 char *kwnames
[] = {
19545 (char *) "self", NULL
19548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19550 if (SWIG_arg_fail(1)) SWIG_fail
;
19552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19553 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
19555 wxPyEndAllowThreads(__tstate
);
19556 if (PyErr_Occurred()) SWIG_fail
;
19559 wxPoint
* resultptr
;
19560 resultptr
= new wxPoint((wxPoint
&)(result
));
19561 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19569 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19570 PyObject
*resultobj
;
19571 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19573 PyObject
* obj0
= 0 ;
19574 char *kwnames
[] = {
19575 (char *) "self", NULL
19578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
19579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19580 if (SWIG_arg_fail(1)) SWIG_fail
;
19582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19583 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
19585 wxPyEndAllowThreads(__tstate
);
19586 if (PyErr_Occurred()) SWIG_fail
;
19589 wxRect
* resultptr
;
19590 resultptr
= new wxRect((wxRect
&)(result
));
19591 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
19599 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19600 PyObject
*resultobj
;
19601 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19604 PyObject
* obj0
= 0 ;
19605 PyObject
* obj1
= 0 ;
19606 char *kwnames
[] = {
19607 (char *) "self",(char *) "rect", NULL
19610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
19611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19612 if (SWIG_arg_fail(1)) SWIG_fail
;
19615 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19619 (arg1
)->SetRect((wxRect
const &)*arg2
);
19621 wxPyEndAllowThreads(__tstate
);
19622 if (PyErr_Occurred()) SWIG_fail
;
19624 Py_INCREF(Py_None
); resultobj
= Py_None
;
19631 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19632 PyObject
*resultobj
;
19633 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19634 wxPoint
*arg2
= 0 ;
19636 PyObject
* obj0
= 0 ;
19637 PyObject
* obj1
= 0 ;
19638 char *kwnames
[] = {
19639 (char *) "self",(char *) "pos", NULL
19642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
19643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19644 if (SWIG_arg_fail(1)) SWIG_fail
;
19647 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19651 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19653 wxPyEndAllowThreads(__tstate
);
19654 if (PyErr_Occurred()) SWIG_fail
;
19656 Py_INCREF(Py_None
); resultobj
= Py_None
;
19663 static PyObject
* MoveEvent_swigregister(PyObject
*, PyObject
*args
) {
19665 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19666 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
19668 return Py_BuildValue((char *)"");
19670 static PyObject
*_wrap_new_PaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19671 PyObject
*resultobj
;
19672 int arg1
= (int) 0 ;
19673 wxPaintEvent
*result
;
19674 PyObject
* obj0
= 0 ;
19675 char *kwnames
[] = {
19676 (char *) "Id", NULL
19679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
19682 arg1
= (int)(SWIG_As_int(obj0
));
19683 if (SWIG_arg_fail(1)) SWIG_fail
;
19687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19688 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
19690 wxPyEndAllowThreads(__tstate
);
19691 if (PyErr_Occurred()) SWIG_fail
;
19693 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
19700 static PyObject
* PaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19702 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19703 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
19705 return Py_BuildValue((char *)"");
19707 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19708 PyObject
*resultobj
;
19709 int arg1
= (int) 0 ;
19710 wxNcPaintEvent
*result
;
19711 PyObject
* obj0
= 0 ;
19712 char *kwnames
[] = {
19713 (char *) "winid", NULL
19716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
19719 arg1
= (int)(SWIG_As_int(obj0
));
19720 if (SWIG_arg_fail(1)) SWIG_fail
;
19724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19725 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
19727 wxPyEndAllowThreads(__tstate
);
19728 if (PyErr_Occurred()) SWIG_fail
;
19730 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
19737 static PyObject
* NcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19739 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19740 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
19742 return Py_BuildValue((char *)"");
19744 static PyObject
*_wrap_new_EraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19745 PyObject
*resultobj
;
19746 int arg1
= (int) 0 ;
19747 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
19748 wxEraseEvent
*result
;
19749 PyObject
* obj0
= 0 ;
19750 PyObject
* obj1
= 0 ;
19751 char *kwnames
[] = {
19752 (char *) "Id",(char *) "dc", NULL
19755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19758 arg1
= (int)(SWIG_As_int(obj0
));
19759 if (SWIG_arg_fail(1)) SWIG_fail
;
19763 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
19764 if (SWIG_arg_fail(2)) SWIG_fail
;
19767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19768 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
19770 wxPyEndAllowThreads(__tstate
);
19771 if (PyErr_Occurred()) SWIG_fail
;
19773 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
19780 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19781 PyObject
*resultobj
;
19782 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
19784 PyObject
* obj0
= 0 ;
19785 char *kwnames
[] = {
19786 (char *) "self", NULL
19789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
19790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEraseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19791 if (SWIG_arg_fail(1)) SWIG_fail
;
19793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19794 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
19796 wxPyEndAllowThreads(__tstate
);
19797 if (PyErr_Occurred()) SWIG_fail
;
19800 resultobj
= wxPyMake_wxObject(result
, 0);
19808 static PyObject
* EraseEvent_swigregister(PyObject
*, PyObject
*args
) {
19810 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19811 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
19813 return Py_BuildValue((char *)"");
19815 static PyObject
*_wrap_new_FocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19816 PyObject
*resultobj
;
19817 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19818 int arg2
= (int) 0 ;
19819 wxFocusEvent
*result
;
19820 PyObject
* obj0
= 0 ;
19821 PyObject
* obj1
= 0 ;
19822 char *kwnames
[] = {
19823 (char *) "type",(char *) "winid", NULL
19826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19829 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19830 if (SWIG_arg_fail(1)) SWIG_fail
;
19835 arg2
= (int)(SWIG_As_int(obj1
));
19836 if (SWIG_arg_fail(2)) SWIG_fail
;
19840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19841 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
19843 wxPyEndAllowThreads(__tstate
);
19844 if (PyErr_Occurred()) SWIG_fail
;
19846 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
19853 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19854 PyObject
*resultobj
;
19855 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19857 PyObject
* obj0
= 0 ;
19858 char *kwnames
[] = {
19859 (char *) "self", NULL
19862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19864 if (SWIG_arg_fail(1)) SWIG_fail
;
19866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19867 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
19869 wxPyEndAllowThreads(__tstate
);
19870 if (PyErr_Occurred()) SWIG_fail
;
19873 resultobj
= wxPyMake_wxObject(result
, 0);
19881 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19882 PyObject
*resultobj
;
19883 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19884 wxWindow
*arg2
= (wxWindow
*) 0 ;
19885 PyObject
* obj0
= 0 ;
19886 PyObject
* obj1
= 0 ;
19887 char *kwnames
[] = {
19888 (char *) "self",(char *) "win", NULL
19891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
19892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19893 if (SWIG_arg_fail(1)) SWIG_fail
;
19894 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19895 if (SWIG_arg_fail(2)) SWIG_fail
;
19897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19898 (arg1
)->SetWindow(arg2
);
19900 wxPyEndAllowThreads(__tstate
);
19901 if (PyErr_Occurred()) SWIG_fail
;
19903 Py_INCREF(Py_None
); resultobj
= Py_None
;
19910 static PyObject
* FocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19912 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19913 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
19915 return Py_BuildValue((char *)"");
19917 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19918 PyObject
*resultobj
;
19919 wxWindow
*arg1
= (wxWindow
*) NULL
;
19920 wxChildFocusEvent
*result
;
19921 PyObject
* obj0
= 0 ;
19922 char *kwnames
[] = {
19923 (char *) "win", NULL
19926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
19928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19929 if (SWIG_arg_fail(1)) SWIG_fail
;
19932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19933 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
19935 wxPyEndAllowThreads(__tstate
);
19936 if (PyErr_Occurred()) SWIG_fail
;
19938 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
19945 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19946 PyObject
*resultobj
;
19947 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
19949 PyObject
* obj0
= 0 ;
19950 char *kwnames
[] = {
19951 (char *) "self", NULL
19954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChildFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19956 if (SWIG_arg_fail(1)) SWIG_fail
;
19958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19959 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
19961 wxPyEndAllowThreads(__tstate
);
19962 if (PyErr_Occurred()) SWIG_fail
;
19965 resultobj
= wxPyMake_wxObject(result
, 0);
19973 static PyObject
* ChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19975 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19976 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
19978 return Py_BuildValue((char *)"");
19980 static PyObject
*_wrap_new_ActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19981 PyObject
*resultobj
;
19982 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19983 bool arg2
= (bool) true ;
19984 int arg3
= (int) 0 ;
19985 wxActivateEvent
*result
;
19986 PyObject
* obj0
= 0 ;
19987 PyObject
* obj1
= 0 ;
19988 PyObject
* obj2
= 0 ;
19989 char *kwnames
[] = {
19990 (char *) "type",(char *) "active",(char *) "Id", NULL
19993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19996 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19997 if (SWIG_arg_fail(1)) SWIG_fail
;
20002 arg2
= (bool)(SWIG_As_bool(obj1
));
20003 if (SWIG_arg_fail(2)) SWIG_fail
;
20008 arg3
= (int)(SWIG_As_int(obj2
));
20009 if (SWIG_arg_fail(3)) SWIG_fail
;
20013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20014 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
20016 wxPyEndAllowThreads(__tstate
);
20017 if (PyErr_Occurred()) SWIG_fail
;
20019 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
20026 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20027 PyObject
*resultobj
;
20028 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
20030 PyObject
* obj0
= 0 ;
20031 char *kwnames
[] = {
20032 (char *) "self", NULL
20035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
20036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxActivateEvent
, SWIG_POINTER_EXCEPTION
| 0);
20037 if (SWIG_arg_fail(1)) SWIG_fail
;
20039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20040 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
20042 wxPyEndAllowThreads(__tstate
);
20043 if (PyErr_Occurred()) SWIG_fail
;
20046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20054 static PyObject
* ActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
20056 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20057 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
20059 return Py_BuildValue((char *)"");
20061 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20062 PyObject
*resultobj
;
20063 int arg1
= (int) 0 ;
20064 wxInitDialogEvent
*result
;
20065 PyObject
* obj0
= 0 ;
20066 char *kwnames
[] = {
20067 (char *) "Id", NULL
20070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
20073 arg1
= (int)(SWIG_As_int(obj0
));
20074 if (SWIG_arg_fail(1)) SWIG_fail
;
20078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20079 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
20081 wxPyEndAllowThreads(__tstate
);
20082 if (PyErr_Occurred()) SWIG_fail
;
20084 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
20091 static PyObject
* InitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
20093 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20094 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
20096 return Py_BuildValue((char *)"");
20098 static PyObject
*_wrap_new_MenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20099 PyObject
*resultobj
;
20100 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20101 int arg2
= (int) 0 ;
20102 wxMenu
*arg3
= (wxMenu
*) NULL
;
20103 wxMenuEvent
*result
;
20104 PyObject
* obj0
= 0 ;
20105 PyObject
* obj1
= 0 ;
20106 PyObject
* obj2
= 0 ;
20107 char *kwnames
[] = {
20108 (char *) "type",(char *) "winid",(char *) "menu", NULL
20111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20114 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20115 if (SWIG_arg_fail(1)) SWIG_fail
;
20120 arg2
= (int)(SWIG_As_int(obj1
));
20121 if (SWIG_arg_fail(2)) SWIG_fail
;
20125 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
20126 if (SWIG_arg_fail(3)) SWIG_fail
;
20129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20130 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
20132 wxPyEndAllowThreads(__tstate
);
20133 if (PyErr_Occurred()) SWIG_fail
;
20135 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
20142 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20143 PyObject
*resultobj
;
20144 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20146 PyObject
* obj0
= 0 ;
20147 char *kwnames
[] = {
20148 (char *) "self", NULL
20151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
20152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20153 if (SWIG_arg_fail(1)) SWIG_fail
;
20155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20156 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
20158 wxPyEndAllowThreads(__tstate
);
20159 if (PyErr_Occurred()) SWIG_fail
;
20162 resultobj
= SWIG_From_int((int)(result
));
20170 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20171 PyObject
*resultobj
;
20172 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20174 PyObject
* obj0
= 0 ;
20175 char *kwnames
[] = {
20176 (char *) "self", NULL
20179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
20180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20181 if (SWIG_arg_fail(1)) SWIG_fail
;
20183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20184 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
20186 wxPyEndAllowThreads(__tstate
);
20187 if (PyErr_Occurred()) SWIG_fail
;
20190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20198 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20199 PyObject
*resultobj
;
20200 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20202 PyObject
* obj0
= 0 ;
20203 char *kwnames
[] = {
20204 (char *) "self", NULL
20207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
20208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20209 if (SWIG_arg_fail(1)) SWIG_fail
;
20211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20212 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
20214 wxPyEndAllowThreads(__tstate
);
20215 if (PyErr_Occurred()) SWIG_fail
;
20218 resultobj
= wxPyMake_wxObject(result
, 0);
20226 static PyObject
* MenuEvent_swigregister(PyObject
*, PyObject
*args
) {
20228 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20229 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
20231 return Py_BuildValue((char *)"");
20233 static PyObject
*_wrap_new_CloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20234 PyObject
*resultobj
;
20235 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20236 int arg2
= (int) 0 ;
20237 wxCloseEvent
*result
;
20238 PyObject
* obj0
= 0 ;
20239 PyObject
* obj1
= 0 ;
20240 char *kwnames
[] = {
20241 (char *) "type",(char *) "winid", NULL
20244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20247 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20248 if (SWIG_arg_fail(1)) SWIG_fail
;
20253 arg2
= (int)(SWIG_As_int(obj1
));
20254 if (SWIG_arg_fail(2)) SWIG_fail
;
20258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20259 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
20261 wxPyEndAllowThreads(__tstate
);
20262 if (PyErr_Occurred()) SWIG_fail
;
20264 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
20271 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20272 PyObject
*resultobj
;
20273 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20275 PyObject
* obj0
= 0 ;
20276 PyObject
* obj1
= 0 ;
20277 char *kwnames
[] = {
20278 (char *) "self",(char *) "logOff", NULL
20281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
20282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20283 if (SWIG_arg_fail(1)) SWIG_fail
;
20285 arg2
= (bool)(SWIG_As_bool(obj1
));
20286 if (SWIG_arg_fail(2)) SWIG_fail
;
20289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20290 (arg1
)->SetLoggingOff(arg2
);
20292 wxPyEndAllowThreads(__tstate
);
20293 if (PyErr_Occurred()) SWIG_fail
;
20295 Py_INCREF(Py_None
); resultobj
= Py_None
;
20302 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20303 PyObject
*resultobj
;
20304 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20306 PyObject
* obj0
= 0 ;
20307 char *kwnames
[] = {
20308 (char *) "self", NULL
20311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
20312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20313 if (SWIG_arg_fail(1)) SWIG_fail
;
20315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20316 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
20318 wxPyEndAllowThreads(__tstate
);
20319 if (PyErr_Occurred()) SWIG_fail
;
20322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20330 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20331 PyObject
*resultobj
;
20332 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20333 bool arg2
= (bool) true ;
20334 PyObject
* obj0
= 0 ;
20335 PyObject
* obj1
= 0 ;
20336 char *kwnames
[] = {
20337 (char *) "self",(char *) "veto", NULL
20340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
20341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20342 if (SWIG_arg_fail(1)) SWIG_fail
;
20345 arg2
= (bool)(SWIG_As_bool(obj1
));
20346 if (SWIG_arg_fail(2)) SWIG_fail
;
20350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20351 (arg1
)->Veto(arg2
);
20353 wxPyEndAllowThreads(__tstate
);
20354 if (PyErr_Occurred()) SWIG_fail
;
20356 Py_INCREF(Py_None
); resultobj
= Py_None
;
20363 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20364 PyObject
*resultobj
;
20365 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20367 PyObject
* obj0
= 0 ;
20368 PyObject
* obj1
= 0 ;
20369 char *kwnames
[] = {
20370 (char *) "self",(char *) "canVeto", NULL
20373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
20374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20375 if (SWIG_arg_fail(1)) SWIG_fail
;
20377 arg2
= (bool)(SWIG_As_bool(obj1
));
20378 if (SWIG_arg_fail(2)) SWIG_fail
;
20381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20382 (arg1
)->SetCanVeto(arg2
);
20384 wxPyEndAllowThreads(__tstate
);
20385 if (PyErr_Occurred()) SWIG_fail
;
20387 Py_INCREF(Py_None
); resultobj
= Py_None
;
20394 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20395 PyObject
*resultobj
;
20396 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20398 PyObject
* obj0
= 0 ;
20399 char *kwnames
[] = {
20400 (char *) "self", NULL
20403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
20404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20405 if (SWIG_arg_fail(1)) SWIG_fail
;
20407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20408 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
20410 wxPyEndAllowThreads(__tstate
);
20411 if (PyErr_Occurred()) SWIG_fail
;
20414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20422 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20423 PyObject
*resultobj
;
20424 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20426 PyObject
* obj0
= 0 ;
20427 char *kwnames
[] = {
20428 (char *) "self", NULL
20431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
20432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20433 if (SWIG_arg_fail(1)) SWIG_fail
;
20435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20436 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
20438 wxPyEndAllowThreads(__tstate
);
20439 if (PyErr_Occurred()) SWIG_fail
;
20442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20450 static PyObject
* CloseEvent_swigregister(PyObject
*, PyObject
*args
) {
20452 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20453 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
20455 return Py_BuildValue((char *)"");
20457 static PyObject
*_wrap_new_ShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20458 PyObject
*resultobj
;
20459 int arg1
= (int) 0 ;
20460 bool arg2
= (bool) false ;
20461 wxShowEvent
*result
;
20462 PyObject
* obj0
= 0 ;
20463 PyObject
* obj1
= 0 ;
20464 char *kwnames
[] = {
20465 (char *) "winid",(char *) "show", NULL
20468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20471 arg1
= (int)(SWIG_As_int(obj0
));
20472 if (SWIG_arg_fail(1)) SWIG_fail
;
20477 arg2
= (bool)(SWIG_As_bool(obj1
));
20478 if (SWIG_arg_fail(2)) SWIG_fail
;
20482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20483 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
20485 wxPyEndAllowThreads(__tstate
);
20486 if (PyErr_Occurred()) SWIG_fail
;
20488 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
20495 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20496 PyObject
*resultobj
;
20497 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
20499 PyObject
* obj0
= 0 ;
20500 PyObject
* obj1
= 0 ;
20501 char *kwnames
[] = {
20502 (char *) "self",(char *) "show", NULL
20505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
20506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
20507 if (SWIG_arg_fail(1)) SWIG_fail
;
20509 arg2
= (bool)(SWIG_As_bool(obj1
));
20510 if (SWIG_arg_fail(2)) SWIG_fail
;
20513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20514 (arg1
)->SetShow(arg2
);
20516 wxPyEndAllowThreads(__tstate
);
20517 if (PyErr_Occurred()) SWIG_fail
;
20519 Py_INCREF(Py_None
); resultobj
= Py_None
;
20526 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20527 PyObject
*resultobj
;
20528 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
20530 PyObject
* obj0
= 0 ;
20531 char *kwnames
[] = {
20532 (char *) "self", NULL
20535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
20536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
20537 if (SWIG_arg_fail(1)) SWIG_fail
;
20539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20540 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
20542 wxPyEndAllowThreads(__tstate
);
20543 if (PyErr_Occurred()) SWIG_fail
;
20546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20554 static PyObject
* ShowEvent_swigregister(PyObject
*, PyObject
*args
) {
20556 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20557 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
20559 return Py_BuildValue((char *)"");
20561 static PyObject
*_wrap_new_IconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20562 PyObject
*resultobj
;
20563 int arg1
= (int) 0 ;
20564 bool arg2
= (bool) true ;
20565 wxIconizeEvent
*result
;
20566 PyObject
* obj0
= 0 ;
20567 PyObject
* obj1
= 0 ;
20568 char *kwnames
[] = {
20569 (char *) "id",(char *) "iconized", NULL
20572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20575 arg1
= (int)(SWIG_As_int(obj0
));
20576 if (SWIG_arg_fail(1)) SWIG_fail
;
20581 arg2
= (bool)(SWIG_As_bool(obj1
));
20582 if (SWIG_arg_fail(2)) SWIG_fail
;
20586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20587 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
20589 wxPyEndAllowThreads(__tstate
);
20590 if (PyErr_Occurred()) SWIG_fail
;
20592 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
20599 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20600 PyObject
*resultobj
;
20601 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
20603 PyObject
* obj0
= 0 ;
20604 char *kwnames
[] = {
20605 (char *) "self", NULL
20608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
20609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
20610 if (SWIG_arg_fail(1)) SWIG_fail
;
20612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20613 result
= (bool)(arg1
)->Iconized();
20615 wxPyEndAllowThreads(__tstate
);
20616 if (PyErr_Occurred()) SWIG_fail
;
20619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20627 static PyObject
* IconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20629 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20630 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
20632 return Py_BuildValue((char *)"");
20634 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20635 PyObject
*resultobj
;
20636 int arg1
= (int) 0 ;
20637 wxMaximizeEvent
*result
;
20638 PyObject
* obj0
= 0 ;
20639 char *kwnames
[] = {
20640 (char *) "id", NULL
20643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
20646 arg1
= (int)(SWIG_As_int(obj0
));
20647 if (SWIG_arg_fail(1)) SWIG_fail
;
20651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20652 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
20654 wxPyEndAllowThreads(__tstate
);
20655 if (PyErr_Occurred()) SWIG_fail
;
20657 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
20664 static PyObject
* MaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20666 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20667 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
20669 return Py_BuildValue((char *)"");
20671 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20672 PyObject
*resultobj
;
20673 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20675 PyObject
* obj0
= 0 ;
20676 char *kwnames
[] = {
20677 (char *) "self", NULL
20680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
20681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20682 if (SWIG_arg_fail(1)) SWIG_fail
;
20684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20685 result
= (arg1
)->GetPosition();
20687 wxPyEndAllowThreads(__tstate
);
20688 if (PyErr_Occurred()) SWIG_fail
;
20691 wxPoint
* resultptr
;
20692 resultptr
= new wxPoint((wxPoint
&)(result
));
20693 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20701 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20702 PyObject
*resultobj
;
20703 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20705 PyObject
* obj0
= 0 ;
20706 char *kwnames
[] = {
20707 (char *) "self", NULL
20710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
20711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20712 if (SWIG_arg_fail(1)) SWIG_fail
;
20714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20715 result
= (int)(arg1
)->GetNumberOfFiles();
20717 wxPyEndAllowThreads(__tstate
);
20718 if (PyErr_Occurred()) SWIG_fail
;
20721 resultobj
= SWIG_From_int((int)(result
));
20729 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20730 PyObject
*resultobj
;
20731 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20733 PyObject
* obj0
= 0 ;
20734 char *kwnames
[] = {
20735 (char *) "self", NULL
20738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
20739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20740 if (SWIG_arg_fail(1)) SWIG_fail
;
20742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20743 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
20745 wxPyEndAllowThreads(__tstate
);
20746 if (PyErr_Occurred()) SWIG_fail
;
20748 resultobj
= result
;
20755 static PyObject
* DropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
20757 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20758 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
20760 return Py_BuildValue((char *)"");
20762 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20763 PyObject
*resultobj
;
20764 int arg1
= (int) 0 ;
20765 wxUpdateUIEvent
*result
;
20766 PyObject
* obj0
= 0 ;
20767 char *kwnames
[] = {
20768 (char *) "commandId", NULL
20771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
20774 arg1
= (int)(SWIG_As_int(obj0
));
20775 if (SWIG_arg_fail(1)) SWIG_fail
;
20779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20780 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
20782 wxPyEndAllowThreads(__tstate
);
20783 if (PyErr_Occurred()) SWIG_fail
;
20785 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
20792 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20793 PyObject
*resultobj
;
20794 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20796 PyObject
* obj0
= 0 ;
20797 char *kwnames
[] = {
20798 (char *) "self", NULL
20801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
20802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20803 if (SWIG_arg_fail(1)) SWIG_fail
;
20805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20806 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
20808 wxPyEndAllowThreads(__tstate
);
20809 if (PyErr_Occurred()) SWIG_fail
;
20812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20820 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20821 PyObject
*resultobj
;
20822 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20824 PyObject
* obj0
= 0 ;
20825 char *kwnames
[] = {
20826 (char *) "self", NULL
20829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
20830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20831 if (SWIG_arg_fail(1)) SWIG_fail
;
20833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20834 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
20836 wxPyEndAllowThreads(__tstate
);
20837 if (PyErr_Occurred()) SWIG_fail
;
20840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20848 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20849 PyObject
*resultobj
;
20850 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20852 PyObject
* obj0
= 0 ;
20853 char *kwnames
[] = {
20854 (char *) "self", NULL
20857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
20858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20859 if (SWIG_arg_fail(1)) SWIG_fail
;
20861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20862 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
20864 wxPyEndAllowThreads(__tstate
);
20865 if (PyErr_Occurred()) SWIG_fail
;
20869 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20871 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20880 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20881 PyObject
*resultobj
;
20882 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20884 PyObject
* obj0
= 0 ;
20885 char *kwnames
[] = {
20886 (char *) "self", NULL
20889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
20890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20891 if (SWIG_arg_fail(1)) SWIG_fail
;
20893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20894 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
20896 wxPyEndAllowThreads(__tstate
);
20897 if (PyErr_Occurred()) SWIG_fail
;
20900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20908 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20909 PyObject
*resultobj
;
20910 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20912 PyObject
* obj0
= 0 ;
20913 char *kwnames
[] = {
20914 (char *) "self", NULL
20917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
20918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20919 if (SWIG_arg_fail(1)) SWIG_fail
;
20921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20922 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
20924 wxPyEndAllowThreads(__tstate
);
20925 if (PyErr_Occurred()) SWIG_fail
;
20928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20936 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20937 PyObject
*resultobj
;
20938 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20940 PyObject
* obj0
= 0 ;
20941 char *kwnames
[] = {
20942 (char *) "self", NULL
20945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
20946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20947 if (SWIG_arg_fail(1)) SWIG_fail
;
20949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20950 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
20952 wxPyEndAllowThreads(__tstate
);
20953 if (PyErr_Occurred()) SWIG_fail
;
20956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20964 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20965 PyObject
*resultobj
;
20966 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20968 PyObject
* obj0
= 0 ;
20969 PyObject
* obj1
= 0 ;
20970 char *kwnames
[] = {
20971 (char *) "self",(char *) "check", NULL
20974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
20975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20976 if (SWIG_arg_fail(1)) SWIG_fail
;
20978 arg2
= (bool)(SWIG_As_bool(obj1
));
20979 if (SWIG_arg_fail(2)) SWIG_fail
;
20982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20983 (arg1
)->Check(arg2
);
20985 wxPyEndAllowThreads(__tstate
);
20986 if (PyErr_Occurred()) SWIG_fail
;
20988 Py_INCREF(Py_None
); resultobj
= Py_None
;
20995 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20996 PyObject
*resultobj
;
20997 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20999 PyObject
* obj0
= 0 ;
21000 PyObject
* obj1
= 0 ;
21001 char *kwnames
[] = {
21002 (char *) "self",(char *) "enable", NULL
21005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
21006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21007 if (SWIG_arg_fail(1)) SWIG_fail
;
21009 arg2
= (bool)(SWIG_As_bool(obj1
));
21010 if (SWIG_arg_fail(2)) SWIG_fail
;
21013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21014 (arg1
)->Enable(arg2
);
21016 wxPyEndAllowThreads(__tstate
);
21017 if (PyErr_Occurred()) SWIG_fail
;
21019 Py_INCREF(Py_None
); resultobj
= Py_None
;
21026 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21027 PyObject
*resultobj
;
21028 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21029 wxString
*arg2
= 0 ;
21030 bool temp2
= false ;
21031 PyObject
* obj0
= 0 ;
21032 PyObject
* obj1
= 0 ;
21033 char *kwnames
[] = {
21034 (char *) "self",(char *) "text", NULL
21037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
21038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21039 if (SWIG_arg_fail(1)) SWIG_fail
;
21041 arg2
= wxString_in_helper(obj1
);
21042 if (arg2
== NULL
) SWIG_fail
;
21046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21047 (arg1
)->SetText((wxString
const &)*arg2
);
21049 wxPyEndAllowThreads(__tstate
);
21050 if (PyErr_Occurred()) SWIG_fail
;
21052 Py_INCREF(Py_None
); resultobj
= Py_None
;
21067 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21068 PyObject
*resultobj
;
21070 PyObject
* obj0
= 0 ;
21071 char *kwnames
[] = {
21072 (char *) "updateInterval", NULL
21075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
21077 arg1
= (long)(SWIG_As_long(obj0
));
21078 if (SWIG_arg_fail(1)) SWIG_fail
;
21081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21082 wxUpdateUIEvent::SetUpdateInterval(arg1
);
21084 wxPyEndAllowThreads(__tstate
);
21085 if (PyErr_Occurred()) SWIG_fail
;
21087 Py_INCREF(Py_None
); resultobj
= Py_None
;
21094 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21095 PyObject
*resultobj
;
21097 char *kwnames
[] = {
21101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
21103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21104 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
21106 wxPyEndAllowThreads(__tstate
);
21107 if (PyErr_Occurred()) SWIG_fail
;
21110 resultobj
= SWIG_From_long((long)(result
));
21118 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21119 PyObject
*resultobj
;
21120 wxWindow
*arg1
= (wxWindow
*) 0 ;
21122 PyObject
* obj0
= 0 ;
21123 char *kwnames
[] = {
21124 (char *) "win", NULL
21127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
21128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21129 if (SWIG_arg_fail(1)) SWIG_fail
;
21131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21132 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
21134 wxPyEndAllowThreads(__tstate
);
21135 if (PyErr_Occurred()) SWIG_fail
;
21138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21146 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21147 PyObject
*resultobj
;
21148 char *kwnames
[] = {
21152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
21154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21155 wxUpdateUIEvent::ResetUpdateTime();
21157 wxPyEndAllowThreads(__tstate
);
21158 if (PyErr_Occurred()) SWIG_fail
;
21160 Py_INCREF(Py_None
); resultobj
= Py_None
;
21167 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21168 PyObject
*resultobj
;
21169 wxUpdateUIMode arg1
;
21170 PyObject
* obj0
= 0 ;
21171 char *kwnames
[] = {
21172 (char *) "mode", NULL
21175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
21177 arg1
= (wxUpdateUIMode
)(SWIG_As_int(obj0
));
21178 if (SWIG_arg_fail(1)) SWIG_fail
;
21181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21182 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
21184 wxPyEndAllowThreads(__tstate
);
21185 if (PyErr_Occurred()) SWIG_fail
;
21187 Py_INCREF(Py_None
); resultobj
= Py_None
;
21194 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21195 PyObject
*resultobj
;
21196 wxUpdateUIMode result
;
21197 char *kwnames
[] = {
21201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
21203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21204 result
= (wxUpdateUIMode
)wxUpdateUIEvent::GetMode();
21206 wxPyEndAllowThreads(__tstate
);
21207 if (PyErr_Occurred()) SWIG_fail
;
21209 resultobj
= SWIG_From_int((result
));
21216 static PyObject
* UpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
21218 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21219 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
21221 return Py_BuildValue((char *)"");
21223 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21224 PyObject
*resultobj
;
21225 wxSysColourChangedEvent
*result
;
21226 char *kwnames
[] = {
21230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
21232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21233 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
21235 wxPyEndAllowThreads(__tstate
);
21236 if (PyErr_Occurred()) SWIG_fail
;
21238 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
21245 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21247 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21248 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
21250 return Py_BuildValue((char *)"");
21252 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21253 PyObject
*resultobj
;
21254 int arg1
= (int) 0 ;
21255 wxWindow
*arg2
= (wxWindow
*) NULL
;
21256 wxMouseCaptureChangedEvent
*result
;
21257 PyObject
* obj0
= 0 ;
21258 PyObject
* obj1
= 0 ;
21259 char *kwnames
[] = {
21260 (char *) "winid",(char *) "gainedCapture", NULL
21263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21266 arg1
= (int)(SWIG_As_int(obj0
));
21267 if (SWIG_arg_fail(1)) SWIG_fail
;
21271 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21272 if (SWIG_arg_fail(2)) SWIG_fail
;
21275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21276 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
21278 wxPyEndAllowThreads(__tstate
);
21279 if (PyErr_Occurred()) SWIG_fail
;
21281 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
21288 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21289 PyObject
*resultobj
;
21290 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
21292 PyObject
* obj0
= 0 ;
21293 char *kwnames
[] = {
21294 (char *) "self", NULL
21297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
21298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseCaptureChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21299 if (SWIG_arg_fail(1)) SWIG_fail
;
21301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21302 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
21304 wxPyEndAllowThreads(__tstate
);
21305 if (PyErr_Occurred()) SWIG_fail
;
21308 resultobj
= wxPyMake_wxObject(result
, 0);
21316 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21318 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21319 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
21321 return Py_BuildValue((char *)"");
21323 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21324 PyObject
*resultobj
;
21325 wxDisplayChangedEvent
*result
;
21326 char *kwnames
[] = {
21330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
21332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21333 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
21335 wxPyEndAllowThreads(__tstate
);
21336 if (PyErr_Occurred()) SWIG_fail
;
21338 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
21345 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21347 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21348 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
21350 return Py_BuildValue((char *)"");
21352 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21353 PyObject
*resultobj
;
21354 int arg1
= (int) 0 ;
21355 wxPaletteChangedEvent
*result
;
21356 PyObject
* obj0
= 0 ;
21357 char *kwnames
[] = {
21358 (char *) "id", NULL
21361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
21364 arg1
= (int)(SWIG_As_int(obj0
));
21365 if (SWIG_arg_fail(1)) SWIG_fail
;
21369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21370 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
21372 wxPyEndAllowThreads(__tstate
);
21373 if (PyErr_Occurred()) SWIG_fail
;
21375 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
21382 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21383 PyObject
*resultobj
;
21384 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
21385 wxWindow
*arg2
= (wxWindow
*) 0 ;
21386 PyObject
* obj0
= 0 ;
21387 PyObject
* obj1
= 0 ;
21388 char *kwnames
[] = {
21389 (char *) "self",(char *) "win", NULL
21392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
21393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21394 if (SWIG_arg_fail(1)) SWIG_fail
;
21395 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21396 if (SWIG_arg_fail(2)) SWIG_fail
;
21398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21399 (arg1
)->SetChangedWindow(arg2
);
21401 wxPyEndAllowThreads(__tstate
);
21402 if (PyErr_Occurred()) SWIG_fail
;
21404 Py_INCREF(Py_None
); resultobj
= Py_None
;
21411 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21412 PyObject
*resultobj
;
21413 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
21415 PyObject
* obj0
= 0 ;
21416 char *kwnames
[] = {
21417 (char *) "self", NULL
21420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
21421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21422 if (SWIG_arg_fail(1)) SWIG_fail
;
21424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21425 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
21427 wxPyEndAllowThreads(__tstate
);
21428 if (PyErr_Occurred()) SWIG_fail
;
21431 resultobj
= wxPyMake_wxObject(result
, 0);
21439 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21441 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21442 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
21444 return Py_BuildValue((char *)"");
21446 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21447 PyObject
*resultobj
;
21448 int arg1
= (int) 0 ;
21449 wxQueryNewPaletteEvent
*result
;
21450 PyObject
* obj0
= 0 ;
21451 char *kwnames
[] = {
21452 (char *) "winid", NULL
21455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
21458 arg1
= (int)(SWIG_As_int(obj0
));
21459 if (SWIG_arg_fail(1)) SWIG_fail
;
21463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21464 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
21466 wxPyEndAllowThreads(__tstate
);
21467 if (PyErr_Occurred()) SWIG_fail
;
21469 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
21476 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21477 PyObject
*resultobj
;
21478 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
21480 PyObject
* obj0
= 0 ;
21481 PyObject
* obj1
= 0 ;
21482 char *kwnames
[] = {
21483 (char *) "self",(char *) "realized", NULL
21486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
21487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
21488 if (SWIG_arg_fail(1)) SWIG_fail
;
21490 arg2
= (bool)(SWIG_As_bool(obj1
));
21491 if (SWIG_arg_fail(2)) SWIG_fail
;
21494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21495 (arg1
)->SetPaletteRealized(arg2
);
21497 wxPyEndAllowThreads(__tstate
);
21498 if (PyErr_Occurred()) SWIG_fail
;
21500 Py_INCREF(Py_None
); resultobj
= Py_None
;
21507 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21508 PyObject
*resultobj
;
21509 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
21511 PyObject
* obj0
= 0 ;
21512 char *kwnames
[] = {
21513 (char *) "self", NULL
21516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
21517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
21518 if (SWIG_arg_fail(1)) SWIG_fail
;
21520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21521 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
21523 wxPyEndAllowThreads(__tstate
);
21524 if (PyErr_Occurred()) SWIG_fail
;
21527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21535 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
21537 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21538 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
21540 return Py_BuildValue((char *)"");
21542 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21543 PyObject
*resultobj
;
21544 wxNavigationKeyEvent
*result
;
21545 char *kwnames
[] = {
21549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
21551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21552 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
21554 wxPyEndAllowThreads(__tstate
);
21555 if (PyErr_Occurred()) SWIG_fail
;
21557 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
21564 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21565 PyObject
*resultobj
;
21566 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21568 PyObject
* obj0
= 0 ;
21569 char *kwnames
[] = {
21570 (char *) "self", NULL
21573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
21574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21575 if (SWIG_arg_fail(1)) SWIG_fail
;
21577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21578 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
21580 wxPyEndAllowThreads(__tstate
);
21581 if (PyErr_Occurred()) SWIG_fail
;
21584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21592 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21593 PyObject
*resultobj
;
21594 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21596 PyObject
* obj0
= 0 ;
21597 PyObject
* obj1
= 0 ;
21598 char *kwnames
[] = {
21599 (char *) "self",(char *) "forward", NULL
21602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
21603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21604 if (SWIG_arg_fail(1)) SWIG_fail
;
21606 arg2
= (bool)(SWIG_As_bool(obj1
));
21607 if (SWIG_arg_fail(2)) SWIG_fail
;
21610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21611 (arg1
)->SetDirection(arg2
);
21613 wxPyEndAllowThreads(__tstate
);
21614 if (PyErr_Occurred()) SWIG_fail
;
21616 Py_INCREF(Py_None
); resultobj
= Py_None
;
21623 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21624 PyObject
*resultobj
;
21625 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21627 PyObject
* obj0
= 0 ;
21628 char *kwnames
[] = {
21629 (char *) "self", NULL
21632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
21633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21634 if (SWIG_arg_fail(1)) SWIG_fail
;
21636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21637 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
21639 wxPyEndAllowThreads(__tstate
);
21640 if (PyErr_Occurred()) SWIG_fail
;
21643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21651 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21652 PyObject
*resultobj
;
21653 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21655 PyObject
* obj0
= 0 ;
21656 PyObject
* obj1
= 0 ;
21657 char *kwnames
[] = {
21658 (char *) "self",(char *) "ischange", NULL
21661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
21662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21663 if (SWIG_arg_fail(1)) SWIG_fail
;
21665 arg2
= (bool)(SWIG_As_bool(obj1
));
21666 if (SWIG_arg_fail(2)) SWIG_fail
;
21669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21670 (arg1
)->SetWindowChange(arg2
);
21672 wxPyEndAllowThreads(__tstate
);
21673 if (PyErr_Occurred()) SWIG_fail
;
21675 Py_INCREF(Py_None
); resultobj
= Py_None
;
21682 static PyObject
*_wrap_NavigationKeyEvent_IsFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21683 PyObject
*resultobj
;
21684 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21686 PyObject
* obj0
= 0 ;
21687 char *kwnames
[] = {
21688 (char *) "self", NULL
21691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsFromTab",kwnames
,&obj0
)) goto fail
;
21692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21693 if (SWIG_arg_fail(1)) SWIG_fail
;
21695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21696 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsFromTab();
21698 wxPyEndAllowThreads(__tstate
);
21699 if (PyErr_Occurred()) SWIG_fail
;
21702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21710 static PyObject
*_wrap_NavigationKeyEvent_SetFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21711 PyObject
*resultobj
;
21712 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21714 PyObject
* obj0
= 0 ;
21715 PyObject
* obj1
= 0 ;
21716 char *kwnames
[] = {
21717 (char *) "self",(char *) "bIs", NULL
21720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFromTab",kwnames
,&obj0
,&obj1
)) goto fail
;
21721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21722 if (SWIG_arg_fail(1)) SWIG_fail
;
21724 arg2
= (bool)(SWIG_As_bool(obj1
));
21725 if (SWIG_arg_fail(2)) SWIG_fail
;
21728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21729 (arg1
)->SetFromTab(arg2
);
21731 wxPyEndAllowThreads(__tstate
);
21732 if (PyErr_Occurred()) SWIG_fail
;
21734 Py_INCREF(Py_None
); resultobj
= Py_None
;
21741 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21742 PyObject
*resultobj
;
21743 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21745 PyObject
* obj0
= 0 ;
21746 PyObject
* obj1
= 0 ;
21747 char *kwnames
[] = {
21748 (char *) "self",(char *) "flags", NULL
21751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
21752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21753 if (SWIG_arg_fail(1)) SWIG_fail
;
21755 arg2
= (long)(SWIG_As_long(obj1
));
21756 if (SWIG_arg_fail(2)) SWIG_fail
;
21759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21760 (arg1
)->SetFlags(arg2
);
21762 wxPyEndAllowThreads(__tstate
);
21763 if (PyErr_Occurred()) SWIG_fail
;
21765 Py_INCREF(Py_None
); resultobj
= Py_None
;
21772 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21773 PyObject
*resultobj
;
21774 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21776 PyObject
* obj0
= 0 ;
21777 char *kwnames
[] = {
21778 (char *) "self", NULL
21781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
21782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21783 if (SWIG_arg_fail(1)) SWIG_fail
;
21785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21786 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
21788 wxPyEndAllowThreads(__tstate
);
21789 if (PyErr_Occurred()) SWIG_fail
;
21792 resultobj
= wxPyMake_wxObject(result
, 0);
21800 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21801 PyObject
*resultobj
;
21802 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21803 wxWindow
*arg2
= (wxWindow
*) 0 ;
21804 PyObject
* obj0
= 0 ;
21805 PyObject
* obj1
= 0 ;
21806 char *kwnames
[] = {
21807 (char *) "self",(char *) "win", NULL
21810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
21811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21812 if (SWIG_arg_fail(1)) SWIG_fail
;
21813 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21814 if (SWIG_arg_fail(2)) SWIG_fail
;
21816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21817 (arg1
)->SetCurrentFocus(arg2
);
21819 wxPyEndAllowThreads(__tstate
);
21820 if (PyErr_Occurred()) SWIG_fail
;
21822 Py_INCREF(Py_None
); resultobj
= Py_None
;
21829 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
21831 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21832 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
21834 return Py_BuildValue((char *)"");
21836 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21837 PyObject
*resultobj
;
21838 wxWindow
*arg1
= (wxWindow
*) NULL
;
21839 wxWindowCreateEvent
*result
;
21840 PyObject
* obj0
= 0 ;
21841 char *kwnames
[] = {
21842 (char *) "win", NULL
21845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
21847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21848 if (SWIG_arg_fail(1)) SWIG_fail
;
21851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21852 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
21854 wxPyEndAllowThreads(__tstate
);
21855 if (PyErr_Occurred()) SWIG_fail
;
21857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
21864 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21865 PyObject
*resultobj
;
21866 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
21868 PyObject
* obj0
= 0 ;
21869 char *kwnames
[] = {
21870 (char *) "self", NULL
21873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowCreateEvent
, SWIG_POINTER_EXCEPTION
| 0);
21875 if (SWIG_arg_fail(1)) SWIG_fail
;
21877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21878 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
21880 wxPyEndAllowThreads(__tstate
);
21881 if (PyErr_Occurred()) SWIG_fail
;
21884 resultobj
= wxPyMake_wxObject(result
, 0);
21892 static PyObject
* WindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
21894 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21895 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
21897 return Py_BuildValue((char *)"");
21899 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21900 PyObject
*resultobj
;
21901 wxWindow
*arg1
= (wxWindow
*) NULL
;
21902 wxWindowDestroyEvent
*result
;
21903 PyObject
* obj0
= 0 ;
21904 char *kwnames
[] = {
21905 (char *) "win", NULL
21908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
21910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21911 if (SWIG_arg_fail(1)) SWIG_fail
;
21914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21915 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
21917 wxPyEndAllowThreads(__tstate
);
21918 if (PyErr_Occurred()) SWIG_fail
;
21920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
21927 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21928 PyObject
*resultobj
;
21929 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
21931 PyObject
* obj0
= 0 ;
21932 char *kwnames
[] = {
21933 (char *) "self", NULL
21936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDestroyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21938 if (SWIG_arg_fail(1)) SWIG_fail
;
21940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21941 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
21943 wxPyEndAllowThreads(__tstate
);
21944 if (PyErr_Occurred()) SWIG_fail
;
21947 resultobj
= wxPyMake_wxObject(result
, 0);
21955 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
21957 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21958 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
21960 return Py_BuildValue((char *)"");
21962 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21963 PyObject
*resultobj
;
21964 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21965 int arg2
= (int) 0 ;
21966 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21967 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21968 wxContextMenuEvent
*result
;
21970 PyObject
* obj0
= 0 ;
21971 PyObject
* obj1
= 0 ;
21972 PyObject
* obj2
= 0 ;
21973 char *kwnames
[] = {
21974 (char *) "type",(char *) "winid",(char *) "pt", NULL
21977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21980 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
21981 if (SWIG_arg_fail(1)) SWIG_fail
;
21986 arg2
= (int)(SWIG_As_int(obj1
));
21987 if (SWIG_arg_fail(2)) SWIG_fail
;
21993 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21998 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
22000 wxPyEndAllowThreads(__tstate
);
22001 if (PyErr_Occurred()) SWIG_fail
;
22003 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
22010 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22011 PyObject
*resultobj
;
22012 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
22014 PyObject
* obj0
= 0 ;
22015 char *kwnames
[] = {
22016 (char *) "self", NULL
22019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
22020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
22021 if (SWIG_arg_fail(1)) SWIG_fail
;
22023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22025 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
22026 result
= (wxPoint
*) &_result_ref
;
22029 wxPyEndAllowThreads(__tstate
);
22030 if (PyErr_Occurred()) SWIG_fail
;
22032 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
22039 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22040 PyObject
*resultobj
;
22041 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
22042 wxPoint
*arg2
= 0 ;
22044 PyObject
* obj0
= 0 ;
22045 PyObject
* obj1
= 0 ;
22046 char *kwnames
[] = {
22047 (char *) "self",(char *) "pos", NULL
22050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
22051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
22052 if (SWIG_arg_fail(1)) SWIG_fail
;
22055 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22059 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
22061 wxPyEndAllowThreads(__tstate
);
22062 if (PyErr_Occurred()) SWIG_fail
;
22064 Py_INCREF(Py_None
); resultobj
= Py_None
;
22071 static PyObject
* ContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
22073 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22074 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
22076 return Py_BuildValue((char *)"");
22078 static PyObject
*_wrap_new_IdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22079 PyObject
*resultobj
;
22080 wxIdleEvent
*result
;
22081 char *kwnames
[] = {
22085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
22087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22088 result
= (wxIdleEvent
*)new wxIdleEvent();
22090 wxPyEndAllowThreads(__tstate
);
22091 if (PyErr_Occurred()) SWIG_fail
;
22093 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
22100 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22101 PyObject
*resultobj
;
22102 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
22103 bool arg2
= (bool) true ;
22104 PyObject
* obj0
= 0 ;
22105 PyObject
* obj1
= 0 ;
22106 char *kwnames
[] = {
22107 (char *) "self",(char *) "needMore", NULL
22110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
22111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
22112 if (SWIG_arg_fail(1)) SWIG_fail
;
22115 arg2
= (bool)(SWIG_As_bool(obj1
));
22116 if (SWIG_arg_fail(2)) SWIG_fail
;
22120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22121 (arg1
)->RequestMore(arg2
);
22123 wxPyEndAllowThreads(__tstate
);
22124 if (PyErr_Occurred()) SWIG_fail
;
22126 Py_INCREF(Py_None
); resultobj
= Py_None
;
22133 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22134 PyObject
*resultobj
;
22135 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
22137 PyObject
* obj0
= 0 ;
22138 char *kwnames
[] = {
22139 (char *) "self", NULL
22142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
22143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
22144 if (SWIG_arg_fail(1)) SWIG_fail
;
22146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22147 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
22149 wxPyEndAllowThreads(__tstate
);
22150 if (PyErr_Occurred()) SWIG_fail
;
22153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22161 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22162 PyObject
*resultobj
;
22164 PyObject
* obj0
= 0 ;
22165 char *kwnames
[] = {
22166 (char *) "mode", NULL
22169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
22171 arg1
= (wxIdleMode
)(SWIG_As_int(obj0
));
22172 if (SWIG_arg_fail(1)) SWIG_fail
;
22175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22176 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
22178 wxPyEndAllowThreads(__tstate
);
22179 if (PyErr_Occurred()) SWIG_fail
;
22181 Py_INCREF(Py_None
); resultobj
= Py_None
;
22188 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22189 PyObject
*resultobj
;
22191 char *kwnames
[] = {
22195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
22197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22198 result
= (wxIdleMode
)wxIdleEvent::GetMode();
22200 wxPyEndAllowThreads(__tstate
);
22201 if (PyErr_Occurred()) SWIG_fail
;
22203 resultobj
= SWIG_From_int((result
));
22210 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22211 PyObject
*resultobj
;
22212 wxWindow
*arg1
= (wxWindow
*) 0 ;
22214 PyObject
* obj0
= 0 ;
22215 char *kwnames
[] = {
22216 (char *) "win", NULL
22219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
22220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22221 if (SWIG_arg_fail(1)) SWIG_fail
;
22223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22224 result
= (bool)wxIdleEvent::CanSend(arg1
);
22226 wxPyEndAllowThreads(__tstate
);
22227 if (PyErr_Occurred()) SWIG_fail
;
22230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22238 static PyObject
* IdleEvent_swigregister(PyObject
*, PyObject
*args
) {
22240 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22241 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
22243 return Py_BuildValue((char *)"");
22245 static PyObject
*_wrap_new_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22246 PyObject
*resultobj
;
22247 int arg1
= (int) 0 ;
22248 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
22250 PyObject
* obj0
= 0 ;
22251 PyObject
* obj1
= 0 ;
22252 char *kwnames
[] = {
22253 (char *) "winid",(char *) "commandType", NULL
22256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
22259 arg1
= (int)(SWIG_As_int(obj0
));
22260 if (SWIG_arg_fail(1)) SWIG_fail
;
22265 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
22266 if (SWIG_arg_fail(2)) SWIG_fail
;
22270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22271 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
22273 wxPyEndAllowThreads(__tstate
);
22274 if (PyErr_Occurred()) SWIG_fail
;
22276 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
22283 static PyObject
*_wrap_delete_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22284 PyObject
*resultobj
;
22285 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22286 PyObject
* obj0
= 0 ;
22287 char *kwnames
[] = {
22288 (char *) "self", NULL
22291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
22292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22293 if (SWIG_arg_fail(1)) SWIG_fail
;
22295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22298 wxPyEndAllowThreads(__tstate
);
22299 if (PyErr_Occurred()) SWIG_fail
;
22301 Py_INCREF(Py_None
); resultobj
= Py_None
;
22308 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22309 PyObject
*resultobj
;
22310 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22311 PyObject
*arg2
= (PyObject
*) 0 ;
22312 PyObject
* obj0
= 0 ;
22313 PyObject
* obj1
= 0 ;
22314 char *kwnames
[] = {
22315 (char *) "self",(char *) "self", NULL
22318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
22319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22320 if (SWIG_arg_fail(1)) SWIG_fail
;
22323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22324 (arg1
)->SetSelf(arg2
);
22326 wxPyEndAllowThreads(__tstate
);
22327 if (PyErr_Occurred()) SWIG_fail
;
22329 Py_INCREF(Py_None
); resultobj
= Py_None
;
22336 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22337 PyObject
*resultobj
;
22338 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22340 PyObject
* obj0
= 0 ;
22341 char *kwnames
[] = {
22342 (char *) "self", NULL
22345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
22346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22347 if (SWIG_arg_fail(1)) SWIG_fail
;
22349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22350 result
= (PyObject
*)(arg1
)->GetSelf();
22352 wxPyEndAllowThreads(__tstate
);
22353 if (PyErr_Occurred()) SWIG_fail
;
22355 resultobj
= result
;
22362 static PyObject
* PyEvent_swigregister(PyObject
*, PyObject
*args
) {
22364 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22365 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
22367 return Py_BuildValue((char *)"");
22369 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22370 PyObject
*resultobj
;
22371 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22372 int arg2
= (int) 0 ;
22373 wxPyCommandEvent
*result
;
22374 PyObject
* obj0
= 0 ;
22375 PyObject
* obj1
= 0 ;
22376 char *kwnames
[] = {
22377 (char *) "commandType",(char *) "id", NULL
22380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
22383 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
22384 if (SWIG_arg_fail(1)) SWIG_fail
;
22389 arg2
= (int)(SWIG_As_int(obj1
));
22390 if (SWIG_arg_fail(2)) SWIG_fail
;
22394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22395 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
22397 wxPyEndAllowThreads(__tstate
);
22398 if (PyErr_Occurred()) SWIG_fail
;
22400 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
22407 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22408 PyObject
*resultobj
;
22409 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22410 PyObject
* obj0
= 0 ;
22411 char *kwnames
[] = {
22412 (char *) "self", NULL
22415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
22416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22417 if (SWIG_arg_fail(1)) SWIG_fail
;
22419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22422 wxPyEndAllowThreads(__tstate
);
22423 if (PyErr_Occurred()) SWIG_fail
;
22425 Py_INCREF(Py_None
); resultobj
= Py_None
;
22432 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22433 PyObject
*resultobj
;
22434 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22435 PyObject
*arg2
= (PyObject
*) 0 ;
22436 PyObject
* obj0
= 0 ;
22437 PyObject
* obj1
= 0 ;
22438 char *kwnames
[] = {
22439 (char *) "self",(char *) "self", NULL
22442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
22443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22444 if (SWIG_arg_fail(1)) SWIG_fail
;
22447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22448 (arg1
)->SetSelf(arg2
);
22450 wxPyEndAllowThreads(__tstate
);
22451 if (PyErr_Occurred()) SWIG_fail
;
22453 Py_INCREF(Py_None
); resultobj
= Py_None
;
22460 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22461 PyObject
*resultobj
;
22462 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22464 PyObject
* obj0
= 0 ;
22465 char *kwnames
[] = {
22466 (char *) "self", NULL
22469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
22470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22471 if (SWIG_arg_fail(1)) SWIG_fail
;
22473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22474 result
= (PyObject
*)(arg1
)->GetSelf();
22476 wxPyEndAllowThreads(__tstate
);
22477 if (PyErr_Occurred()) SWIG_fail
;
22479 resultobj
= result
;
22486 static PyObject
* PyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
22488 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22489 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
22491 return Py_BuildValue((char *)"");
22493 static PyObject
*_wrap_new_DateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22494 PyObject
*resultobj
;
22495 wxWindow
*arg1
= (wxWindow
*) 0 ;
22496 wxDateTime
*arg2
= 0 ;
22498 wxDateEvent
*result
;
22499 PyObject
* obj0
= 0 ;
22500 PyObject
* obj1
= 0 ;
22501 PyObject
* obj2
= 0 ;
22502 char *kwnames
[] = {
22503 (char *) "win",(char *) "dt",(char *) "type", NULL
22506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_DateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22508 if (SWIG_arg_fail(1)) SWIG_fail
;
22510 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22511 if (SWIG_arg_fail(2)) SWIG_fail
;
22512 if (arg2
== NULL
) {
22513 SWIG_null_ref("wxDateTime");
22515 if (SWIG_arg_fail(2)) SWIG_fail
;
22518 arg3
= (wxEventType
)(SWIG_As_int(obj2
));
22519 if (SWIG_arg_fail(3)) SWIG_fail
;
22522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22523 result
= (wxDateEvent
*)new wxDateEvent(arg1
,(wxDateTime
const &)*arg2
,arg3
);
22525 wxPyEndAllowThreads(__tstate
);
22526 if (PyErr_Occurred()) SWIG_fail
;
22528 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateEvent
, 1);
22535 static PyObject
*_wrap_DateEvent_GetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22536 PyObject
*resultobj
;
22537 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
22538 wxDateTime
*result
;
22539 PyObject
* obj0
= 0 ;
22540 char *kwnames
[] = {
22541 (char *) "self", NULL
22544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateEvent_GetDate",kwnames
,&obj0
)) goto fail
;
22545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
22546 if (SWIG_arg_fail(1)) SWIG_fail
;
22548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22550 wxDateTime
const &_result_ref
= ((wxDateEvent
const *)arg1
)->GetDate();
22551 result
= (wxDateTime
*) &_result_ref
;
22554 wxPyEndAllowThreads(__tstate
);
22555 if (PyErr_Occurred()) SWIG_fail
;
22557 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22564 static PyObject
*_wrap_DateEvent_SetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22565 PyObject
*resultobj
;
22566 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
22567 wxDateTime
*arg2
= 0 ;
22568 PyObject
* obj0
= 0 ;
22569 PyObject
* obj1
= 0 ;
22570 char *kwnames
[] = {
22571 (char *) "self",(char *) "date", NULL
22574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateEvent_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
;
22575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
22576 if (SWIG_arg_fail(1)) SWIG_fail
;
22578 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22579 if (SWIG_arg_fail(2)) SWIG_fail
;
22580 if (arg2
== NULL
) {
22581 SWIG_null_ref("wxDateTime");
22583 if (SWIG_arg_fail(2)) SWIG_fail
;
22586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22587 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
22589 wxPyEndAllowThreads(__tstate
);
22590 if (PyErr_Occurred()) SWIG_fail
;
22592 Py_INCREF(Py_None
); resultobj
= Py_None
;
22599 static PyObject
* DateEvent_swigregister(PyObject
*, PyObject
*args
) {
22601 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22602 SWIG_TypeClientData(SWIGTYPE_p_wxDateEvent
, obj
);
22604 return Py_BuildValue((char *)"");
22606 static PyObject
*_wrap_new_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22607 PyObject
*resultobj
;
22609 char *kwnames
[] = {
22613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
22615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22616 result
= (wxPyApp
*)new_wxPyApp();
22618 wxPyEndAllowThreads(__tstate
);
22619 if (PyErr_Occurred()) SWIG_fail
;
22621 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
22628 static PyObject
*_wrap_delete_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22629 PyObject
*resultobj
;
22630 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22631 PyObject
* obj0
= 0 ;
22632 char *kwnames
[] = {
22633 (char *) "self", NULL
22636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
22637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22638 if (SWIG_arg_fail(1)) SWIG_fail
;
22640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22643 wxPyEndAllowThreads(__tstate
);
22644 if (PyErr_Occurred()) SWIG_fail
;
22646 Py_INCREF(Py_None
); resultobj
= Py_None
;
22653 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22654 PyObject
*resultobj
;
22655 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22656 PyObject
*arg2
= (PyObject
*) 0 ;
22657 PyObject
*arg3
= (PyObject
*) 0 ;
22658 PyObject
* obj0
= 0 ;
22659 PyObject
* obj1
= 0 ;
22660 PyObject
* obj2
= 0 ;
22661 char *kwnames
[] = {
22662 (char *) "self",(char *) "self",(char *) "_class", NULL
22665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22667 if (SWIG_arg_fail(1)) SWIG_fail
;
22671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22672 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22674 wxPyEndAllowThreads(__tstate
);
22675 if (PyErr_Occurred()) SWIG_fail
;
22677 Py_INCREF(Py_None
); resultobj
= Py_None
;
22684 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22685 PyObject
*resultobj
;
22686 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22688 PyObject
* obj0
= 0 ;
22689 char *kwnames
[] = {
22690 (char *) "self", NULL
22693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
22694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22695 if (SWIG_arg_fail(1)) SWIG_fail
;
22697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22698 result
= ((wxPyApp
const *)arg1
)->GetAppName();
22700 wxPyEndAllowThreads(__tstate
);
22701 if (PyErr_Occurred()) SWIG_fail
;
22705 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22707 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22716 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22717 PyObject
*resultobj
;
22718 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22719 wxString
*arg2
= 0 ;
22720 bool temp2
= false ;
22721 PyObject
* obj0
= 0 ;
22722 PyObject
* obj1
= 0 ;
22723 char *kwnames
[] = {
22724 (char *) "self",(char *) "name", NULL
22727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
22728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22729 if (SWIG_arg_fail(1)) SWIG_fail
;
22731 arg2
= wxString_in_helper(obj1
);
22732 if (arg2
== NULL
) SWIG_fail
;
22736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22737 (arg1
)->SetAppName((wxString
const &)*arg2
);
22739 wxPyEndAllowThreads(__tstate
);
22740 if (PyErr_Occurred()) SWIG_fail
;
22742 Py_INCREF(Py_None
); resultobj
= Py_None
;
22757 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22758 PyObject
*resultobj
;
22759 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22761 PyObject
* obj0
= 0 ;
22762 char *kwnames
[] = {
22763 (char *) "self", NULL
22766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
22767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22768 if (SWIG_arg_fail(1)) SWIG_fail
;
22770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22771 result
= ((wxPyApp
const *)arg1
)->GetClassName();
22773 wxPyEndAllowThreads(__tstate
);
22774 if (PyErr_Occurred()) SWIG_fail
;
22778 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22780 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22789 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22790 PyObject
*resultobj
;
22791 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22792 wxString
*arg2
= 0 ;
22793 bool temp2
= false ;
22794 PyObject
* obj0
= 0 ;
22795 PyObject
* obj1
= 0 ;
22796 char *kwnames
[] = {
22797 (char *) "self",(char *) "name", NULL
22800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
22801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22802 if (SWIG_arg_fail(1)) SWIG_fail
;
22804 arg2
= wxString_in_helper(obj1
);
22805 if (arg2
== NULL
) SWIG_fail
;
22809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22810 (arg1
)->SetClassName((wxString
const &)*arg2
);
22812 wxPyEndAllowThreads(__tstate
);
22813 if (PyErr_Occurred()) SWIG_fail
;
22815 Py_INCREF(Py_None
); resultobj
= Py_None
;
22830 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22831 PyObject
*resultobj
;
22832 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22834 PyObject
* obj0
= 0 ;
22835 char *kwnames
[] = {
22836 (char *) "self", NULL
22839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
22840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22841 if (SWIG_arg_fail(1)) SWIG_fail
;
22843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22845 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
22846 result
= (wxString
*) &_result_ref
;
22849 wxPyEndAllowThreads(__tstate
);
22850 if (PyErr_Occurred()) SWIG_fail
;
22854 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22856 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22865 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22866 PyObject
*resultobj
;
22867 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22868 wxString
*arg2
= 0 ;
22869 bool temp2
= false ;
22870 PyObject
* obj0
= 0 ;
22871 PyObject
* obj1
= 0 ;
22872 char *kwnames
[] = {
22873 (char *) "self",(char *) "name", NULL
22876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
22877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22878 if (SWIG_arg_fail(1)) SWIG_fail
;
22880 arg2
= wxString_in_helper(obj1
);
22881 if (arg2
== NULL
) SWIG_fail
;
22885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22886 (arg1
)->SetVendorName((wxString
const &)*arg2
);
22888 wxPyEndAllowThreads(__tstate
);
22889 if (PyErr_Occurred()) SWIG_fail
;
22891 Py_INCREF(Py_None
); resultobj
= Py_None
;
22906 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22907 PyObject
*resultobj
;
22908 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22909 wxAppTraits
*result
;
22910 PyObject
* obj0
= 0 ;
22911 char *kwnames
[] = {
22912 (char *) "self", NULL
22915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
22916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22917 if (SWIG_arg_fail(1)) SWIG_fail
;
22919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22920 result
= (wxAppTraits
*)(arg1
)->GetTraits();
22922 wxPyEndAllowThreads(__tstate
);
22923 if (PyErr_Occurred()) SWIG_fail
;
22925 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
22932 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22933 PyObject
*resultobj
;
22934 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22935 PyObject
* obj0
= 0 ;
22936 char *kwnames
[] = {
22937 (char *) "self", NULL
22940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
22941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22942 if (SWIG_arg_fail(1)) SWIG_fail
;
22944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22945 (arg1
)->ProcessPendingEvents();
22947 wxPyEndAllowThreads(__tstate
);
22948 if (PyErr_Occurred()) SWIG_fail
;
22950 Py_INCREF(Py_None
); resultobj
= Py_None
;
22957 static PyObject
*_wrap_PyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22958 PyObject
*resultobj
;
22959 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22960 bool arg2
= (bool) false ;
22962 PyObject
* obj0
= 0 ;
22963 PyObject
* obj1
= 0 ;
22964 char *kwnames
[] = {
22965 (char *) "self",(char *) "onlyIfNeeded", NULL
22968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
22969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22970 if (SWIG_arg_fail(1)) SWIG_fail
;
22973 arg2
= (bool)(SWIG_As_bool(obj1
));
22974 if (SWIG_arg_fail(2)) SWIG_fail
;
22978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22979 result
= (bool)(arg1
)->Yield(arg2
);
22981 wxPyEndAllowThreads(__tstate
);
22982 if (PyErr_Occurred()) SWIG_fail
;
22985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22993 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22994 PyObject
*resultobj
;
22995 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22996 PyObject
* obj0
= 0 ;
22997 char *kwnames
[] = {
22998 (char *) "self", NULL
23001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
23002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23003 if (SWIG_arg_fail(1)) SWIG_fail
;
23005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23006 (arg1
)->WakeUpIdle();
23008 wxPyEndAllowThreads(__tstate
);
23009 if (PyErr_Occurred()) SWIG_fail
;
23011 Py_INCREF(Py_None
); resultobj
= Py_None
;
23018 static PyObject
*_wrap_PyApp_IsMainLoopRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23019 PyObject
*resultobj
;
23021 char *kwnames
[] = {
23025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_IsMainLoopRunning",kwnames
)) goto fail
;
23027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23028 result
= (bool)wxPyApp::IsMainLoopRunning();
23030 wxPyEndAllowThreads(__tstate
);
23031 if (PyErr_Occurred()) SWIG_fail
;
23034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23042 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23043 PyObject
*resultobj
;
23044 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23046 PyObject
* obj0
= 0 ;
23047 char *kwnames
[] = {
23048 (char *) "self", NULL
23051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
23052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23053 if (SWIG_arg_fail(1)) SWIG_fail
;
23055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23056 result
= (int)(arg1
)->MainLoop();
23058 wxPyEndAllowThreads(__tstate
);
23059 if (PyErr_Occurred()) SWIG_fail
;
23062 resultobj
= SWIG_From_int((int)(result
));
23070 static PyObject
*_wrap_PyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23071 PyObject
*resultobj
;
23072 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23073 PyObject
* obj0
= 0 ;
23074 char *kwnames
[] = {
23075 (char *) "self", NULL
23078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
23079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23080 if (SWIG_arg_fail(1)) SWIG_fail
;
23082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23085 wxPyEndAllowThreads(__tstate
);
23086 if (PyErr_Occurred()) SWIG_fail
;
23088 Py_INCREF(Py_None
); resultobj
= Py_None
;
23095 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23096 PyObject
*resultobj
;
23097 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23098 PyObject
* obj0
= 0 ;
23099 char *kwnames
[] = {
23100 (char *) "self", NULL
23103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
23104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23105 if (SWIG_arg_fail(1)) SWIG_fail
;
23107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23108 (arg1
)->ExitMainLoop();
23110 wxPyEndAllowThreads(__tstate
);
23111 if (PyErr_Occurred()) SWIG_fail
;
23113 Py_INCREF(Py_None
); resultobj
= Py_None
;
23120 static PyObject
*_wrap_PyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23121 PyObject
*resultobj
;
23122 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23124 PyObject
* obj0
= 0 ;
23125 char *kwnames
[] = {
23126 (char *) "self", NULL
23129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
23130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23131 if (SWIG_arg_fail(1)) SWIG_fail
;
23133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23134 result
= (bool)(arg1
)->Pending();
23136 wxPyEndAllowThreads(__tstate
);
23137 if (PyErr_Occurred()) SWIG_fail
;
23140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23148 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23149 PyObject
*resultobj
;
23150 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23152 PyObject
* obj0
= 0 ;
23153 char *kwnames
[] = {
23154 (char *) "self", NULL
23157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
23158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23159 if (SWIG_arg_fail(1)) SWIG_fail
;
23161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23162 result
= (bool)(arg1
)->Dispatch();
23164 wxPyEndAllowThreads(__tstate
);
23165 if (PyErr_Occurred()) SWIG_fail
;
23168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23176 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23177 PyObject
*resultobj
;
23178 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23180 PyObject
* obj0
= 0 ;
23181 char *kwnames
[] = {
23182 (char *) "self", NULL
23185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
23186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23187 if (SWIG_arg_fail(1)) SWIG_fail
;
23189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23190 result
= (bool)(arg1
)->ProcessIdle();
23192 wxPyEndAllowThreads(__tstate
);
23193 if (PyErr_Occurred()) SWIG_fail
;
23196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23204 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23205 PyObject
*resultobj
;
23206 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23207 wxWindow
*arg2
= (wxWindow
*) 0 ;
23208 wxIdleEvent
*arg3
= 0 ;
23210 PyObject
* obj0
= 0 ;
23211 PyObject
* obj1
= 0 ;
23212 PyObject
* obj2
= 0 ;
23213 char *kwnames
[] = {
23214 (char *) "self",(char *) "win",(char *) "event", NULL
23217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23219 if (SWIG_arg_fail(1)) SWIG_fail
;
23220 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23221 if (SWIG_arg_fail(2)) SWIG_fail
;
23223 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
23224 if (SWIG_arg_fail(3)) SWIG_fail
;
23225 if (arg3
== NULL
) {
23226 SWIG_null_ref("wxIdleEvent");
23228 if (SWIG_arg_fail(3)) SWIG_fail
;
23231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23232 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
23234 wxPyEndAllowThreads(__tstate
);
23235 if (PyErr_Occurred()) SWIG_fail
;
23238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23246 static PyObject
*_wrap_PyApp_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23247 PyObject
*resultobj
;
23248 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23250 PyObject
* obj0
= 0 ;
23251 char *kwnames
[] = {
23252 (char *) "self", NULL
23255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
23256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23257 if (SWIG_arg_fail(1)) SWIG_fail
;
23259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23260 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
23262 wxPyEndAllowThreads(__tstate
);
23263 if (PyErr_Occurred()) SWIG_fail
;
23266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23274 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23275 PyObject
*resultobj
;
23276 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23277 wxWindow
*arg2
= (wxWindow
*) 0 ;
23278 PyObject
* obj0
= 0 ;
23279 PyObject
* obj1
= 0 ;
23280 char *kwnames
[] = {
23281 (char *) "self",(char *) "win", NULL
23284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
23285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23286 if (SWIG_arg_fail(1)) SWIG_fail
;
23287 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23288 if (SWIG_arg_fail(2)) SWIG_fail
;
23290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23291 (arg1
)->SetTopWindow(arg2
);
23293 wxPyEndAllowThreads(__tstate
);
23294 if (PyErr_Occurred()) SWIG_fail
;
23296 Py_INCREF(Py_None
); resultobj
= Py_None
;
23303 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23304 PyObject
*resultobj
;
23305 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23307 PyObject
* obj0
= 0 ;
23308 char *kwnames
[] = {
23309 (char *) "self", NULL
23312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
23313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23314 if (SWIG_arg_fail(1)) SWIG_fail
;
23316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23317 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
23319 wxPyEndAllowThreads(__tstate
);
23320 if (PyErr_Occurred()) SWIG_fail
;
23323 resultobj
= wxPyMake_wxObject(result
, 0);
23331 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23332 PyObject
*resultobj
;
23333 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23335 PyObject
* obj0
= 0 ;
23336 PyObject
* obj1
= 0 ;
23337 char *kwnames
[] = {
23338 (char *) "self",(char *) "flag", NULL
23341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
23342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23343 if (SWIG_arg_fail(1)) SWIG_fail
;
23345 arg2
= (bool)(SWIG_As_bool(obj1
));
23346 if (SWIG_arg_fail(2)) SWIG_fail
;
23349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23350 (arg1
)->SetExitOnFrameDelete(arg2
);
23352 wxPyEndAllowThreads(__tstate
);
23353 if (PyErr_Occurred()) SWIG_fail
;
23355 Py_INCREF(Py_None
); resultobj
= Py_None
;
23362 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23363 PyObject
*resultobj
;
23364 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23366 PyObject
* obj0
= 0 ;
23367 char *kwnames
[] = {
23368 (char *) "self", NULL
23371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
23372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23373 if (SWIG_arg_fail(1)) SWIG_fail
;
23375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23376 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
23378 wxPyEndAllowThreads(__tstate
);
23379 if (PyErr_Occurred()) SWIG_fail
;
23382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23390 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23391 PyObject
*resultobj
;
23392 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23394 PyObject
* obj0
= 0 ;
23395 PyObject
* obj1
= 0 ;
23396 char *kwnames
[] = {
23397 (char *) "self",(char *) "flag", NULL
23400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
23401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23402 if (SWIG_arg_fail(1)) SWIG_fail
;
23404 arg2
= (bool)(SWIG_As_bool(obj1
));
23405 if (SWIG_arg_fail(2)) SWIG_fail
;
23408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23409 (arg1
)->SetUseBestVisual(arg2
);
23411 wxPyEndAllowThreads(__tstate
);
23412 if (PyErr_Occurred()) SWIG_fail
;
23414 Py_INCREF(Py_None
); resultobj
= Py_None
;
23421 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23422 PyObject
*resultobj
;
23423 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23425 PyObject
* obj0
= 0 ;
23426 char *kwnames
[] = {
23427 (char *) "self", NULL
23430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
23431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23432 if (SWIG_arg_fail(1)) SWIG_fail
;
23434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23435 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
23437 wxPyEndAllowThreads(__tstate
);
23438 if (PyErr_Occurred()) SWIG_fail
;
23441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23449 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23450 PyObject
*resultobj
;
23451 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23453 PyObject
* obj0
= 0 ;
23454 PyObject
* obj1
= 0 ;
23455 char *kwnames
[] = {
23456 (char *) "self",(char *) "mode", NULL
23459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
23460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23461 if (SWIG_arg_fail(1)) SWIG_fail
;
23463 arg2
= (int)(SWIG_As_int(obj1
));
23464 if (SWIG_arg_fail(2)) SWIG_fail
;
23467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23468 (arg1
)->SetPrintMode(arg2
);
23470 wxPyEndAllowThreads(__tstate
);
23471 if (PyErr_Occurred()) SWIG_fail
;
23473 Py_INCREF(Py_None
); resultobj
= Py_None
;
23480 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23481 PyObject
*resultobj
;
23482 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23484 PyObject
* obj0
= 0 ;
23485 char *kwnames
[] = {
23486 (char *) "self", NULL
23489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
23490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23491 if (SWIG_arg_fail(1)) SWIG_fail
;
23493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23494 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
23496 wxPyEndAllowThreads(__tstate
);
23497 if (PyErr_Occurred()) SWIG_fail
;
23500 resultobj
= SWIG_From_int((int)(result
));
23508 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23509 PyObject
*resultobj
;
23510 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23512 PyObject
* obj0
= 0 ;
23513 PyObject
* obj1
= 0 ;
23514 char *kwnames
[] = {
23515 (char *) "self",(char *) "mode", NULL
23518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
23519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23520 if (SWIG_arg_fail(1)) SWIG_fail
;
23522 arg2
= (int)(SWIG_As_int(obj1
));
23523 if (SWIG_arg_fail(2)) SWIG_fail
;
23526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23527 (arg1
)->SetAssertMode(arg2
);
23529 wxPyEndAllowThreads(__tstate
);
23530 if (PyErr_Occurred()) SWIG_fail
;
23532 Py_INCREF(Py_None
); resultobj
= Py_None
;
23539 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23540 PyObject
*resultobj
;
23541 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23543 PyObject
* obj0
= 0 ;
23544 char *kwnames
[] = {
23545 (char *) "self", NULL
23548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
23549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23550 if (SWIG_arg_fail(1)) SWIG_fail
;
23552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23553 result
= (int)(arg1
)->GetAssertMode();
23555 wxPyEndAllowThreads(__tstate
);
23556 if (PyErr_Occurred()) SWIG_fail
;
23559 resultobj
= SWIG_From_int((int)(result
));
23567 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23568 PyObject
*resultobj
;
23570 char *kwnames
[] = {
23574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
23576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23577 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
23579 wxPyEndAllowThreads(__tstate
);
23580 if (PyErr_Occurred()) SWIG_fail
;
23583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23591 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23592 PyObject
*resultobj
;
23594 char *kwnames
[] = {
23598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
23600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23601 result
= (long)wxPyApp::GetMacAboutMenuItemId();
23603 wxPyEndAllowThreads(__tstate
);
23604 if (PyErr_Occurred()) SWIG_fail
;
23607 resultobj
= SWIG_From_long((long)(result
));
23615 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23616 PyObject
*resultobj
;
23618 char *kwnames
[] = {
23622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
23624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23625 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
23627 wxPyEndAllowThreads(__tstate
);
23628 if (PyErr_Occurred()) SWIG_fail
;
23631 resultobj
= SWIG_From_long((long)(result
));
23639 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23640 PyObject
*resultobj
;
23642 char *kwnames
[] = {
23646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
23648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23649 result
= (long)wxPyApp::GetMacExitMenuItemId();
23651 wxPyEndAllowThreads(__tstate
);
23652 if (PyErr_Occurred()) SWIG_fail
;
23655 resultobj
= SWIG_From_long((long)(result
));
23663 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23664 PyObject
*resultobj
;
23666 char *kwnames
[] = {
23670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
23672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23673 result
= wxPyApp::GetMacHelpMenuTitleName();
23675 wxPyEndAllowThreads(__tstate
);
23676 if (PyErr_Occurred()) SWIG_fail
;
23680 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23682 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23691 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23692 PyObject
*resultobj
;
23694 PyObject
* obj0
= 0 ;
23695 char *kwnames
[] = {
23696 (char *) "val", NULL
23699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
23701 arg1
= (bool)(SWIG_As_bool(obj0
));
23702 if (SWIG_arg_fail(1)) SWIG_fail
;
23705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23706 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
23708 wxPyEndAllowThreads(__tstate
);
23709 if (PyErr_Occurred()) SWIG_fail
;
23711 Py_INCREF(Py_None
); resultobj
= Py_None
;
23718 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23719 PyObject
*resultobj
;
23721 PyObject
* obj0
= 0 ;
23722 char *kwnames
[] = {
23723 (char *) "val", NULL
23726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
23728 arg1
= (long)(SWIG_As_long(obj0
));
23729 if (SWIG_arg_fail(1)) SWIG_fail
;
23732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23733 wxPyApp::SetMacAboutMenuItemId(arg1
);
23735 wxPyEndAllowThreads(__tstate
);
23736 if (PyErr_Occurred()) SWIG_fail
;
23738 Py_INCREF(Py_None
); resultobj
= Py_None
;
23745 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23746 PyObject
*resultobj
;
23748 PyObject
* obj0
= 0 ;
23749 char *kwnames
[] = {
23750 (char *) "val", NULL
23753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
23755 arg1
= (long)(SWIG_As_long(obj0
));
23756 if (SWIG_arg_fail(1)) SWIG_fail
;
23759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23760 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
23762 wxPyEndAllowThreads(__tstate
);
23763 if (PyErr_Occurred()) SWIG_fail
;
23765 Py_INCREF(Py_None
); resultobj
= Py_None
;
23772 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23773 PyObject
*resultobj
;
23775 PyObject
* obj0
= 0 ;
23776 char *kwnames
[] = {
23777 (char *) "val", NULL
23780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
23782 arg1
= (long)(SWIG_As_long(obj0
));
23783 if (SWIG_arg_fail(1)) SWIG_fail
;
23786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23787 wxPyApp::SetMacExitMenuItemId(arg1
);
23789 wxPyEndAllowThreads(__tstate
);
23790 if (PyErr_Occurred()) SWIG_fail
;
23792 Py_INCREF(Py_None
); resultobj
= Py_None
;
23799 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23800 PyObject
*resultobj
;
23801 wxString
*arg1
= 0 ;
23802 bool temp1
= false ;
23803 PyObject
* obj0
= 0 ;
23804 char *kwnames
[] = {
23805 (char *) "val", NULL
23808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
23810 arg1
= wxString_in_helper(obj0
);
23811 if (arg1
== NULL
) SWIG_fail
;
23815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23816 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
23818 wxPyEndAllowThreads(__tstate
);
23819 if (PyErr_Occurred()) SWIG_fail
;
23821 Py_INCREF(Py_None
); resultobj
= Py_None
;
23836 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23837 PyObject
*resultobj
;
23838 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23839 PyObject
* obj0
= 0 ;
23840 char *kwnames
[] = {
23841 (char *) "self", NULL
23844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
23845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23846 if (SWIG_arg_fail(1)) SWIG_fail
;
23848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23849 (arg1
)->_BootstrapApp();
23851 wxPyEndAllowThreads(__tstate
);
23852 if (PyErr_Occurred()) SWIG_fail
;
23854 Py_INCREF(Py_None
); resultobj
= Py_None
;
23861 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23862 PyObject
*resultobj
;
23864 char *kwnames
[] = {
23868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
23870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23871 result
= (int)wxPyApp::GetComCtl32Version();
23873 wxPyEndAllowThreads(__tstate
);
23874 if (PyErr_Occurred()) SWIG_fail
;
23877 resultobj
= SWIG_From_int((int)(result
));
23885 static PyObject
* PyApp_swigregister(PyObject
*, PyObject
*args
) {
23887 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23888 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
23890 return Py_BuildValue((char *)"");
23892 static PyObject
*_wrap_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23893 PyObject
*resultobj
;
23894 char *kwnames
[] = {
23898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
23900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23903 wxPyEndAllowThreads(__tstate
);
23904 if (PyErr_Occurred()) SWIG_fail
;
23906 Py_INCREF(Py_None
); resultobj
= Py_None
;
23913 static PyObject
*_wrap_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23914 PyObject
*resultobj
;
23916 char *kwnames
[] = {
23920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
23922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23923 result
= (bool)wxYield();
23925 wxPyEndAllowThreads(__tstate
);
23926 if (PyErr_Occurred()) SWIG_fail
;
23929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23937 static PyObject
*_wrap_YieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23938 PyObject
*resultobj
;
23940 char *kwnames
[] = {
23944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
23946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23947 result
= (bool)wxYieldIfNeeded();
23949 wxPyEndAllowThreads(__tstate
);
23950 if (PyErr_Occurred()) SWIG_fail
;
23953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23961 static PyObject
*_wrap_SafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23962 PyObject
*resultobj
;
23963 wxWindow
*arg1
= (wxWindow
*) NULL
;
23964 bool arg2
= (bool) false ;
23966 PyObject
* obj0
= 0 ;
23967 PyObject
* obj1
= 0 ;
23968 char *kwnames
[] = {
23969 (char *) "win",(char *) "onlyIfNeeded", NULL
23972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
23974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23975 if (SWIG_arg_fail(1)) SWIG_fail
;
23979 arg2
= (bool)(SWIG_As_bool(obj1
));
23980 if (SWIG_arg_fail(2)) SWIG_fail
;
23984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23985 result
= (bool)wxSafeYield(arg1
,arg2
);
23987 wxPyEndAllowThreads(__tstate
);
23988 if (PyErr_Occurred()) SWIG_fail
;
23991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23999 static PyObject
*_wrap_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24000 PyObject
*resultobj
;
24001 char *kwnames
[] = {
24005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
24007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24010 wxPyEndAllowThreads(__tstate
);
24011 if (PyErr_Occurred()) SWIG_fail
;
24013 Py_INCREF(Py_None
); resultobj
= Py_None
;
24020 static PyObject
*_wrap_PostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24021 PyObject
*resultobj
;
24022 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
24023 wxEvent
*arg2
= 0 ;
24024 PyObject
* obj0
= 0 ;
24025 PyObject
* obj1
= 0 ;
24026 char *kwnames
[] = {
24027 (char *) "dest",(char *) "event", NULL
24030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
24032 if (SWIG_arg_fail(1)) SWIG_fail
;
24034 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
24035 if (SWIG_arg_fail(2)) SWIG_fail
;
24036 if (arg2
== NULL
) {
24037 SWIG_null_ref("wxEvent");
24039 if (SWIG_arg_fail(2)) SWIG_fail
;
24042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24043 wxPostEvent(arg1
,*arg2
);
24045 wxPyEndAllowThreads(__tstate
);
24046 if (PyErr_Occurred()) SWIG_fail
;
24048 Py_INCREF(Py_None
); resultobj
= Py_None
;
24055 static PyObject
*_wrap_App_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24056 PyObject
*resultobj
;
24057 char *kwnames
[] = {
24061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
24063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24066 wxPyEndAllowThreads(__tstate
);
24067 if (PyErr_Occurred()) SWIG_fail
;
24069 Py_INCREF(Py_None
); resultobj
= Py_None
;
24076 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24077 PyObject
*resultobj
;
24079 char *kwnames
[] = {
24083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
24085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24086 result
= (wxPyApp
*)wxPyGetApp();
24088 wxPyEndAllowThreads(__tstate
);
24089 if (PyErr_Occurred()) SWIG_fail
;
24092 resultobj
= wxPyMake_wxObject(result
, 0);
24100 static PyObject
*_wrap_SetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24101 PyObject
*resultobj
;
24102 char *arg1
= (char *) 0 ;
24103 PyObject
* obj0
= 0 ;
24104 char *kwnames
[] = {
24105 (char *) "encoding", NULL
24108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetDefaultPyEncoding",kwnames
,&obj0
)) goto fail
;
24109 if (!SWIG_AsCharPtr(obj0
, (char**)&arg1
)) {
24110 SWIG_arg_fail(1);SWIG_fail
;
24113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24114 wxSetDefaultPyEncoding((char const *)arg1
);
24116 wxPyEndAllowThreads(__tstate
);
24117 if (PyErr_Occurred()) SWIG_fail
;
24119 Py_INCREF(Py_None
); resultobj
= Py_None
;
24126 static PyObject
*_wrap_GetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24127 PyObject
*resultobj
;
24129 char *kwnames
[] = {
24133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDefaultPyEncoding",kwnames
)) goto fail
;
24135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24136 result
= (char *)wxGetDefaultPyEncoding();
24138 wxPyEndAllowThreads(__tstate
);
24139 if (PyErr_Occurred()) SWIG_fail
;
24141 resultobj
= SWIG_FromCharPtr(result
);
24148 static PyObject
*_wrap_new_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24149 PyObject
*resultobj
;
24150 wxEventLoop
*result
;
24151 char *kwnames
[] = {
24155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EventLoop",kwnames
)) goto fail
;
24157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24158 result
= (wxEventLoop
*)new wxEventLoop();
24160 wxPyEndAllowThreads(__tstate
);
24161 if (PyErr_Occurred()) SWIG_fail
;
24163 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 1);
24170 static PyObject
*_wrap_delete_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24171 PyObject
*resultobj
;
24172 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24173 PyObject
* obj0
= 0 ;
24174 char *kwnames
[] = {
24175 (char *) "self", NULL
24178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EventLoop",kwnames
,&obj0
)) goto fail
;
24179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24180 if (SWIG_arg_fail(1)) SWIG_fail
;
24182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24185 wxPyEndAllowThreads(__tstate
);
24186 if (PyErr_Occurred()) SWIG_fail
;
24188 Py_INCREF(Py_None
); resultobj
= Py_None
;
24195 static PyObject
*_wrap_EventLoop_Run(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24196 PyObject
*resultobj
;
24197 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24199 PyObject
* obj0
= 0 ;
24200 char *kwnames
[] = {
24201 (char *) "self", NULL
24204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Run",kwnames
,&obj0
)) goto fail
;
24205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24206 if (SWIG_arg_fail(1)) SWIG_fail
;
24208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24209 result
= (int)(arg1
)->Run();
24211 wxPyEndAllowThreads(__tstate
);
24212 if (PyErr_Occurred()) SWIG_fail
;
24215 resultobj
= SWIG_From_int((int)(result
));
24223 static PyObject
*_wrap_EventLoop_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24224 PyObject
*resultobj
;
24225 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24226 int arg2
= (int) 0 ;
24227 PyObject
* obj0
= 0 ;
24228 PyObject
* obj1
= 0 ;
24229 char *kwnames
[] = {
24230 (char *) "self",(char *) "rc", NULL
24233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) goto fail
;
24234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24235 if (SWIG_arg_fail(1)) SWIG_fail
;
24238 arg2
= (int)(SWIG_As_int(obj1
));
24239 if (SWIG_arg_fail(2)) SWIG_fail
;
24243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24244 (arg1
)->Exit(arg2
);
24246 wxPyEndAllowThreads(__tstate
);
24247 if (PyErr_Occurred()) SWIG_fail
;
24249 Py_INCREF(Py_None
); resultobj
= Py_None
;
24256 static PyObject
*_wrap_EventLoop_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24257 PyObject
*resultobj
;
24258 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24260 PyObject
* obj0
= 0 ;
24261 char *kwnames
[] = {
24262 (char *) "self", NULL
24265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Pending",kwnames
,&obj0
)) goto fail
;
24266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24267 if (SWIG_arg_fail(1)) SWIG_fail
;
24269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24270 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
24272 wxPyEndAllowThreads(__tstate
);
24273 if (PyErr_Occurred()) SWIG_fail
;
24276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24284 static PyObject
*_wrap_EventLoop_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24285 PyObject
*resultobj
;
24286 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24288 PyObject
* obj0
= 0 ;
24289 char *kwnames
[] = {
24290 (char *) "self", NULL
24293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Dispatch",kwnames
,&obj0
)) goto fail
;
24294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24295 if (SWIG_arg_fail(1)) SWIG_fail
;
24297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24298 result
= (bool)(arg1
)->Dispatch();
24300 wxPyEndAllowThreads(__tstate
);
24301 if (PyErr_Occurred()) SWIG_fail
;
24304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24312 static PyObject
*_wrap_EventLoop_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24313 PyObject
*resultobj
;
24314 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24316 PyObject
* obj0
= 0 ;
24317 char *kwnames
[] = {
24318 (char *) "self", NULL
24321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_IsRunning",kwnames
,&obj0
)) goto fail
;
24322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24323 if (SWIG_arg_fail(1)) SWIG_fail
;
24325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24326 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
24328 wxPyEndAllowThreads(__tstate
);
24329 if (PyErr_Occurred()) SWIG_fail
;
24332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24340 static PyObject
*_wrap_EventLoop_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24341 PyObject
*resultobj
;
24342 wxEventLoop
*result
;
24343 char *kwnames
[] = {
24347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EventLoop_GetActive",kwnames
)) goto fail
;
24349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24350 result
= (wxEventLoop
*)wxEventLoop::GetActive();
24352 wxPyEndAllowThreads(__tstate
);
24353 if (PyErr_Occurred()) SWIG_fail
;
24355 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 0);
24362 static PyObject
*_wrap_EventLoop_SetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24363 PyObject
*resultobj
;
24364 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24365 PyObject
* obj0
= 0 ;
24366 char *kwnames
[] = {
24367 (char *) "loop", NULL
24370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) goto fail
;
24371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24372 if (SWIG_arg_fail(1)) SWIG_fail
;
24374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24375 wxEventLoop::SetActive(arg1
);
24377 wxPyEndAllowThreads(__tstate
);
24378 if (PyErr_Occurred()) SWIG_fail
;
24380 Py_INCREF(Py_None
); resultobj
= Py_None
;
24387 static PyObject
* EventLoop_swigregister(PyObject
*, PyObject
*args
) {
24389 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24390 SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop
, obj
);
24392 return Py_BuildValue((char *)"");
24394 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24395 PyObject
*resultobj
;
24396 int arg1
= (int) 0 ;
24397 int arg2
= (int) 0 ;
24398 int arg3
= (int) 0 ;
24399 wxAcceleratorEntry
*result
;
24400 PyObject
* obj0
= 0 ;
24401 PyObject
* obj1
= 0 ;
24402 PyObject
* obj2
= 0 ;
24403 char *kwnames
[] = {
24404 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
24407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24410 arg1
= (int)(SWIG_As_int(obj0
));
24411 if (SWIG_arg_fail(1)) SWIG_fail
;
24416 arg2
= (int)(SWIG_As_int(obj1
));
24417 if (SWIG_arg_fail(2)) SWIG_fail
;
24422 arg3
= (int)(SWIG_As_int(obj2
));
24423 if (SWIG_arg_fail(3)) SWIG_fail
;
24427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24428 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
24430 wxPyEndAllowThreads(__tstate
);
24431 if (PyErr_Occurred()) SWIG_fail
;
24433 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
24440 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24441 PyObject
*resultobj
;
24442 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24443 PyObject
* obj0
= 0 ;
24444 char *kwnames
[] = {
24445 (char *) "self", NULL
24448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
24449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24450 if (SWIG_arg_fail(1)) SWIG_fail
;
24452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24455 wxPyEndAllowThreads(__tstate
);
24456 if (PyErr_Occurred()) SWIG_fail
;
24458 Py_INCREF(Py_None
); resultobj
= Py_None
;
24465 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24466 PyObject
*resultobj
;
24467 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24471 PyObject
* obj0
= 0 ;
24472 PyObject
* obj1
= 0 ;
24473 PyObject
* obj2
= 0 ;
24474 PyObject
* obj3
= 0 ;
24475 char *kwnames
[] = {
24476 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
24479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24481 if (SWIG_arg_fail(1)) SWIG_fail
;
24483 arg2
= (int)(SWIG_As_int(obj1
));
24484 if (SWIG_arg_fail(2)) SWIG_fail
;
24487 arg3
= (int)(SWIG_As_int(obj2
));
24488 if (SWIG_arg_fail(3)) SWIG_fail
;
24491 arg4
= (int)(SWIG_As_int(obj3
));
24492 if (SWIG_arg_fail(4)) SWIG_fail
;
24495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24496 (arg1
)->Set(arg2
,arg3
,arg4
);
24498 wxPyEndAllowThreads(__tstate
);
24499 if (PyErr_Occurred()) SWIG_fail
;
24501 Py_INCREF(Py_None
); resultobj
= Py_None
;
24508 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24509 PyObject
*resultobj
;
24510 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24512 PyObject
* obj0
= 0 ;
24513 char *kwnames
[] = {
24514 (char *) "self", NULL
24517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
24518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24519 if (SWIG_arg_fail(1)) SWIG_fail
;
24521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24522 result
= (int)(arg1
)->GetFlags();
24524 wxPyEndAllowThreads(__tstate
);
24525 if (PyErr_Occurred()) SWIG_fail
;
24528 resultobj
= SWIG_From_int((int)(result
));
24536 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24537 PyObject
*resultobj
;
24538 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24540 PyObject
* obj0
= 0 ;
24541 char *kwnames
[] = {
24542 (char *) "self", NULL
24545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24547 if (SWIG_arg_fail(1)) SWIG_fail
;
24549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24550 result
= (int)(arg1
)->GetKeyCode();
24552 wxPyEndAllowThreads(__tstate
);
24553 if (PyErr_Occurred()) SWIG_fail
;
24556 resultobj
= SWIG_From_int((int)(result
));
24564 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24565 PyObject
*resultobj
;
24566 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24568 PyObject
* obj0
= 0 ;
24569 char *kwnames
[] = {
24570 (char *) "self", NULL
24573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
24574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24575 if (SWIG_arg_fail(1)) SWIG_fail
;
24577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24578 result
= (int)(arg1
)->GetCommand();
24580 wxPyEndAllowThreads(__tstate
);
24581 if (PyErr_Occurred()) SWIG_fail
;
24584 resultobj
= SWIG_From_int((int)(result
));
24592 static PyObject
* AcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
24594 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24595 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
24597 return Py_BuildValue((char *)"");
24599 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24600 PyObject
*resultobj
;
24602 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
24603 wxAcceleratorTable
*result
;
24604 PyObject
* obj0
= 0 ;
24605 char *kwnames
[] = {
24609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
24611 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
24612 if (arg2
) arg1
= PyList_Size(obj0
);
24616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24617 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
24619 wxPyEndAllowThreads(__tstate
);
24620 if (PyErr_Occurred()) SWIG_fail
;
24622 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
24635 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24636 PyObject
*resultobj
;
24637 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
24638 PyObject
* obj0
= 0 ;
24639 char *kwnames
[] = {
24640 (char *) "self", NULL
24643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
24644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
24645 if (SWIG_arg_fail(1)) SWIG_fail
;
24647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24650 wxPyEndAllowThreads(__tstate
);
24651 if (PyErr_Occurred()) SWIG_fail
;
24653 Py_INCREF(Py_None
); resultobj
= Py_None
;
24660 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24661 PyObject
*resultobj
;
24662 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
24664 PyObject
* obj0
= 0 ;
24665 char *kwnames
[] = {
24666 (char *) "self", NULL
24669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
24670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
24671 if (SWIG_arg_fail(1)) SWIG_fail
;
24673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24674 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
24676 wxPyEndAllowThreads(__tstate
);
24677 if (PyErr_Occurred()) SWIG_fail
;
24680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24688 static PyObject
* AcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
24690 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24691 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
24693 return Py_BuildValue((char *)"");
24695 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
24696 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
24701 static PyObject
*_wrap_NullAcceleratorTable_get(void) {
24704 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
24709 static PyObject
*_wrap_GetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24710 PyObject
*resultobj
;
24711 wxString
*arg1
= 0 ;
24712 wxAcceleratorEntry
*result
;
24713 bool temp1
= false ;
24714 PyObject
* obj0
= 0 ;
24715 char *kwnames
[] = {
24716 (char *) "label", NULL
24719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
24721 arg1
= wxString_in_helper(obj0
);
24722 if (arg1
== NULL
) SWIG_fail
;
24726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24727 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
24729 wxPyEndAllowThreads(__tstate
);
24730 if (PyErr_Occurred()) SWIG_fail
;
24732 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
24747 static int _wrap_PanelNameStr_set(PyObject
*) {
24748 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
24753 static PyObject
*_wrap_PanelNameStr_get(void) {
24758 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24760 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24767 static PyObject
*_wrap_new_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24768 PyObject
*resultobj
;
24769 wxVisualAttributes
*result
;
24770 char *kwnames
[] = {
24774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
24776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24777 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
24779 wxPyEndAllowThreads(__tstate
);
24780 if (PyErr_Occurred()) SWIG_fail
;
24782 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
24789 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24790 PyObject
*resultobj
;
24791 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24792 PyObject
* obj0
= 0 ;
24793 char *kwnames
[] = {
24794 (char *) "self", NULL
24797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
24798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24799 if (SWIG_arg_fail(1)) SWIG_fail
;
24801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24802 delete_wxVisualAttributes(arg1
);
24804 wxPyEndAllowThreads(__tstate
);
24805 if (PyErr_Occurred()) SWIG_fail
;
24807 Py_INCREF(Py_None
); resultobj
= Py_None
;
24814 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24815 PyObject
*resultobj
;
24816 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24817 wxFont
*arg2
= (wxFont
*) 0 ;
24818 PyObject
* obj0
= 0 ;
24819 PyObject
* obj1
= 0 ;
24820 char *kwnames
[] = {
24821 (char *) "self",(char *) "font", NULL
24824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24826 if (SWIG_arg_fail(1)) SWIG_fail
;
24827 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
24828 if (SWIG_arg_fail(2)) SWIG_fail
;
24829 if (arg1
) (arg1
)->font
= *arg2
;
24831 Py_INCREF(Py_None
); resultobj
= Py_None
;
24838 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24839 PyObject
*resultobj
;
24840 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24842 PyObject
* obj0
= 0 ;
24843 char *kwnames
[] = {
24844 (char *) "self", NULL
24847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
24848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24849 if (SWIG_arg_fail(1)) SWIG_fail
;
24850 result
= (wxFont
*)& ((arg1
)->font
);
24852 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
24859 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24860 PyObject
*resultobj
;
24861 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24862 wxColour
*arg2
= (wxColour
*) 0 ;
24863 PyObject
* obj0
= 0 ;
24864 PyObject
* obj1
= 0 ;
24865 char *kwnames
[] = {
24866 (char *) "self",(char *) "colFg", NULL
24869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24871 if (SWIG_arg_fail(1)) SWIG_fail
;
24872 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24873 if (SWIG_arg_fail(2)) SWIG_fail
;
24874 if (arg1
) (arg1
)->colFg
= *arg2
;
24876 Py_INCREF(Py_None
); resultobj
= Py_None
;
24883 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24884 PyObject
*resultobj
;
24885 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24887 PyObject
* obj0
= 0 ;
24888 char *kwnames
[] = {
24889 (char *) "self", NULL
24892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
24893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24894 if (SWIG_arg_fail(1)) SWIG_fail
;
24895 result
= (wxColour
*)& ((arg1
)->colFg
);
24897 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24904 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24905 PyObject
*resultobj
;
24906 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24907 wxColour
*arg2
= (wxColour
*) 0 ;
24908 PyObject
* obj0
= 0 ;
24909 PyObject
* obj1
= 0 ;
24910 char *kwnames
[] = {
24911 (char *) "self",(char *) "colBg", NULL
24914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24916 if (SWIG_arg_fail(1)) SWIG_fail
;
24917 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24918 if (SWIG_arg_fail(2)) SWIG_fail
;
24919 if (arg1
) (arg1
)->colBg
= *arg2
;
24921 Py_INCREF(Py_None
); resultobj
= Py_None
;
24928 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24929 PyObject
*resultobj
;
24930 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24932 PyObject
* obj0
= 0 ;
24933 char *kwnames
[] = {
24934 (char *) "self", NULL
24937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
24938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24939 if (SWIG_arg_fail(1)) SWIG_fail
;
24940 result
= (wxColour
*)& ((arg1
)->colBg
);
24942 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24949 static PyObject
* VisualAttributes_swigregister(PyObject
*, PyObject
*args
) {
24951 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24952 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
24954 return Py_BuildValue((char *)"");
24956 static PyObject
*_wrap_new_Window(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24957 PyObject
*resultobj
;
24958 wxWindow
*arg1
= (wxWindow
*) 0 ;
24959 int arg2
= (int) (int)-1 ;
24960 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24961 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24962 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24963 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24964 long arg5
= (long) 0 ;
24965 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
24966 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
24970 bool temp6
= false ;
24971 PyObject
* obj0
= 0 ;
24972 PyObject
* obj1
= 0 ;
24973 PyObject
* obj2
= 0 ;
24974 PyObject
* obj3
= 0 ;
24975 PyObject
* obj4
= 0 ;
24976 PyObject
* obj5
= 0 ;
24977 char *kwnames
[] = {
24978 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24983 if (SWIG_arg_fail(1)) SWIG_fail
;
24986 arg2
= (int const)(SWIG_As_int(obj1
));
24987 if (SWIG_arg_fail(2)) SWIG_fail
;
24993 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24999 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25004 arg5
= (long)(SWIG_As_long(obj4
));
25005 if (SWIG_arg_fail(5)) SWIG_fail
;
25010 arg6
= wxString_in_helper(obj5
);
25011 if (arg6
== NULL
) SWIG_fail
;
25016 if (!wxPyCheckForApp()) SWIG_fail
;
25017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25018 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25020 wxPyEndAllowThreads(__tstate
);
25021 if (PyErr_Occurred()) SWIG_fail
;
25023 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
25038 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25039 PyObject
*resultobj
;
25041 char *kwnames
[] = {
25045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
25047 if (!wxPyCheckForApp()) SWIG_fail
;
25048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25049 result
= (wxWindow
*)new wxWindow();
25051 wxPyEndAllowThreads(__tstate
);
25052 if (PyErr_Occurred()) SWIG_fail
;
25054 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
25061 static PyObject
*_wrap_Window_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25062 PyObject
*resultobj
;
25063 wxWindow
*arg1
= (wxWindow
*) 0 ;
25064 wxWindow
*arg2
= (wxWindow
*) 0 ;
25065 int arg3
= (int) (int)-1 ;
25066 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25067 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25068 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25069 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25070 long arg6
= (long) 0 ;
25071 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
25072 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25076 bool temp7
= false ;
25077 PyObject
* obj0
= 0 ;
25078 PyObject
* obj1
= 0 ;
25079 PyObject
* obj2
= 0 ;
25080 PyObject
* obj3
= 0 ;
25081 PyObject
* obj4
= 0 ;
25082 PyObject
* obj5
= 0 ;
25083 PyObject
* obj6
= 0 ;
25084 char *kwnames
[] = {
25085 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25090 if (SWIG_arg_fail(1)) SWIG_fail
;
25091 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25092 if (SWIG_arg_fail(2)) SWIG_fail
;
25095 arg3
= (int const)(SWIG_As_int(obj2
));
25096 if (SWIG_arg_fail(3)) SWIG_fail
;
25102 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25108 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25113 arg6
= (long)(SWIG_As_long(obj5
));
25114 if (SWIG_arg_fail(6)) SWIG_fail
;
25119 arg7
= wxString_in_helper(obj6
);
25120 if (arg7
== NULL
) SWIG_fail
;
25125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25126 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25128 wxPyEndAllowThreads(__tstate
);
25129 if (PyErr_Occurred()) SWIG_fail
;
25132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25148 static PyObject
*_wrap_Window_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25149 PyObject
*resultobj
;
25150 wxWindow
*arg1
= (wxWindow
*) 0 ;
25151 bool arg2
= (bool) false ;
25153 PyObject
* obj0
= 0 ;
25154 PyObject
* obj1
= 0 ;
25155 char *kwnames
[] = {
25156 (char *) "self",(char *) "force", NULL
25159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
25160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25161 if (SWIG_arg_fail(1)) SWIG_fail
;
25164 arg2
= (bool)(SWIG_As_bool(obj1
));
25165 if (SWIG_arg_fail(2)) SWIG_fail
;
25169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25170 result
= (bool)(arg1
)->Close(arg2
);
25172 wxPyEndAllowThreads(__tstate
);
25173 if (PyErr_Occurred()) SWIG_fail
;
25176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25184 static PyObject
*_wrap_Window_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25185 PyObject
*resultobj
;
25186 wxWindow
*arg1
= (wxWindow
*) 0 ;
25188 PyObject
* obj0
= 0 ;
25189 char *kwnames
[] = {
25190 (char *) "self", NULL
25193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
25194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25195 if (SWIG_arg_fail(1)) SWIG_fail
;
25197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25198 result
= (bool)(arg1
)->Destroy();
25200 wxPyEndAllowThreads(__tstate
);
25201 if (PyErr_Occurred()) SWIG_fail
;
25204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25212 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25213 PyObject
*resultobj
;
25214 wxWindow
*arg1
= (wxWindow
*) 0 ;
25216 PyObject
* obj0
= 0 ;
25217 char *kwnames
[] = {
25218 (char *) "self", NULL
25221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
25222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25223 if (SWIG_arg_fail(1)) SWIG_fail
;
25225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25226 result
= (bool)(arg1
)->DestroyChildren();
25228 wxPyEndAllowThreads(__tstate
);
25229 if (PyErr_Occurred()) SWIG_fail
;
25232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25240 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25241 PyObject
*resultobj
;
25242 wxWindow
*arg1
= (wxWindow
*) 0 ;
25244 PyObject
* obj0
= 0 ;
25245 char *kwnames
[] = {
25246 (char *) "self", NULL
25249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
25250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25251 if (SWIG_arg_fail(1)) SWIG_fail
;
25253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25254 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
25256 wxPyEndAllowThreads(__tstate
);
25257 if (PyErr_Occurred()) SWIG_fail
;
25260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25268 static PyObject
*_wrap_Window_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25269 PyObject
*resultobj
;
25270 wxWindow
*arg1
= (wxWindow
*) 0 ;
25271 wxString
*arg2
= 0 ;
25272 bool temp2
= false ;
25273 PyObject
* obj0
= 0 ;
25274 PyObject
* obj1
= 0 ;
25275 char *kwnames
[] = {
25276 (char *) "self",(char *) "title", NULL
25279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
25280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25281 if (SWIG_arg_fail(1)) SWIG_fail
;
25283 arg2
= wxString_in_helper(obj1
);
25284 if (arg2
== NULL
) SWIG_fail
;
25288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25289 (arg1
)->SetTitle((wxString
const &)*arg2
);
25291 wxPyEndAllowThreads(__tstate
);
25292 if (PyErr_Occurred()) SWIG_fail
;
25294 Py_INCREF(Py_None
); resultobj
= Py_None
;
25309 static PyObject
*_wrap_Window_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25310 PyObject
*resultobj
;
25311 wxWindow
*arg1
= (wxWindow
*) 0 ;
25313 PyObject
* obj0
= 0 ;
25314 char *kwnames
[] = {
25315 (char *) "self", NULL
25318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
25319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25320 if (SWIG_arg_fail(1)) SWIG_fail
;
25322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25323 result
= ((wxWindow
const *)arg1
)->GetTitle();
25325 wxPyEndAllowThreads(__tstate
);
25326 if (PyErr_Occurred()) SWIG_fail
;
25330 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25332 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25341 static PyObject
*_wrap_Window_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25342 PyObject
*resultobj
;
25343 wxWindow
*arg1
= (wxWindow
*) 0 ;
25344 wxString
*arg2
= 0 ;
25345 bool temp2
= false ;
25346 PyObject
* obj0
= 0 ;
25347 PyObject
* obj1
= 0 ;
25348 char *kwnames
[] = {
25349 (char *) "self",(char *) "label", NULL
25352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25354 if (SWIG_arg_fail(1)) SWIG_fail
;
25356 arg2
= wxString_in_helper(obj1
);
25357 if (arg2
== NULL
) SWIG_fail
;
25361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25362 (arg1
)->SetLabel((wxString
const &)*arg2
);
25364 wxPyEndAllowThreads(__tstate
);
25365 if (PyErr_Occurred()) SWIG_fail
;
25367 Py_INCREF(Py_None
); resultobj
= Py_None
;
25382 static PyObject
*_wrap_Window_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25383 PyObject
*resultobj
;
25384 wxWindow
*arg1
= (wxWindow
*) 0 ;
25386 PyObject
* obj0
= 0 ;
25387 char *kwnames
[] = {
25388 (char *) "self", NULL
25391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
25392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25393 if (SWIG_arg_fail(1)) SWIG_fail
;
25395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25396 result
= ((wxWindow
const *)arg1
)->GetLabel();
25398 wxPyEndAllowThreads(__tstate
);
25399 if (PyErr_Occurred()) SWIG_fail
;
25403 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25405 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25414 static PyObject
*_wrap_Window_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25415 PyObject
*resultobj
;
25416 wxWindow
*arg1
= (wxWindow
*) 0 ;
25417 wxString
*arg2
= 0 ;
25418 bool temp2
= false ;
25419 PyObject
* obj0
= 0 ;
25420 PyObject
* obj1
= 0 ;
25421 char *kwnames
[] = {
25422 (char *) "self",(char *) "name", NULL
25425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
25426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25427 if (SWIG_arg_fail(1)) SWIG_fail
;
25429 arg2
= wxString_in_helper(obj1
);
25430 if (arg2
== NULL
) SWIG_fail
;
25434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25435 (arg1
)->SetName((wxString
const &)*arg2
);
25437 wxPyEndAllowThreads(__tstate
);
25438 if (PyErr_Occurred()) SWIG_fail
;
25440 Py_INCREF(Py_None
); resultobj
= Py_None
;
25455 static PyObject
*_wrap_Window_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25456 PyObject
*resultobj
;
25457 wxWindow
*arg1
= (wxWindow
*) 0 ;
25459 PyObject
* obj0
= 0 ;
25460 char *kwnames
[] = {
25461 (char *) "self", NULL
25464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
25465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25466 if (SWIG_arg_fail(1)) SWIG_fail
;
25468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25469 result
= ((wxWindow
const *)arg1
)->GetName();
25471 wxPyEndAllowThreads(__tstate
);
25472 if (PyErr_Occurred()) SWIG_fail
;
25476 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25478 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25487 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25488 PyObject
*resultobj
;
25489 wxWindow
*arg1
= (wxWindow
*) 0 ;
25490 wxWindowVariant arg2
;
25491 PyObject
* obj0
= 0 ;
25492 PyObject
* obj1
= 0 ;
25493 char *kwnames
[] = {
25494 (char *) "self",(char *) "variant", NULL
25497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
25498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25499 if (SWIG_arg_fail(1)) SWIG_fail
;
25501 arg2
= (wxWindowVariant
)(SWIG_As_int(obj1
));
25502 if (SWIG_arg_fail(2)) SWIG_fail
;
25505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25506 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
25508 wxPyEndAllowThreads(__tstate
);
25509 if (PyErr_Occurred()) SWIG_fail
;
25511 Py_INCREF(Py_None
); resultobj
= Py_None
;
25518 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25519 PyObject
*resultobj
;
25520 wxWindow
*arg1
= (wxWindow
*) 0 ;
25521 wxWindowVariant result
;
25522 PyObject
* obj0
= 0 ;
25523 char *kwnames
[] = {
25524 (char *) "self", NULL
25527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
25528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25529 if (SWIG_arg_fail(1)) SWIG_fail
;
25531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25532 result
= (wxWindowVariant
)((wxWindow
const *)arg1
)->GetWindowVariant();
25534 wxPyEndAllowThreads(__tstate
);
25535 if (PyErr_Occurred()) SWIG_fail
;
25537 resultobj
= SWIG_From_int((result
));
25544 static PyObject
*_wrap_Window_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25545 PyObject
*resultobj
;
25546 wxWindow
*arg1
= (wxWindow
*) 0 ;
25548 PyObject
* obj0
= 0 ;
25549 PyObject
* obj1
= 0 ;
25550 char *kwnames
[] = {
25551 (char *) "self",(char *) "winid", NULL
25554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
25555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25556 if (SWIG_arg_fail(1)) SWIG_fail
;
25558 arg2
= (int)(SWIG_As_int(obj1
));
25559 if (SWIG_arg_fail(2)) SWIG_fail
;
25562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25563 (arg1
)->SetId(arg2
);
25565 wxPyEndAllowThreads(__tstate
);
25566 if (PyErr_Occurred()) SWIG_fail
;
25568 Py_INCREF(Py_None
); resultobj
= Py_None
;
25575 static PyObject
*_wrap_Window_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25576 PyObject
*resultobj
;
25577 wxWindow
*arg1
= (wxWindow
*) 0 ;
25579 PyObject
* obj0
= 0 ;
25580 char *kwnames
[] = {
25581 (char *) "self", NULL
25584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
25585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25586 if (SWIG_arg_fail(1)) SWIG_fail
;
25588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25589 result
= (int)((wxWindow
const *)arg1
)->GetId();
25591 wxPyEndAllowThreads(__tstate
);
25592 if (PyErr_Occurred()) SWIG_fail
;
25595 resultobj
= SWIG_From_int((int)(result
));
25603 static PyObject
*_wrap_Window_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25604 PyObject
*resultobj
;
25606 char *kwnames
[] = {
25610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
25612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25613 result
= (int)wxWindow::NewControlId();
25615 wxPyEndAllowThreads(__tstate
);
25616 if (PyErr_Occurred()) SWIG_fail
;
25619 resultobj
= SWIG_From_int((int)(result
));
25627 static PyObject
*_wrap_Window_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25628 PyObject
*resultobj
;
25631 PyObject
* obj0
= 0 ;
25632 char *kwnames
[] = {
25633 (char *) "winid", NULL
25636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
25638 arg1
= (int)(SWIG_As_int(obj0
));
25639 if (SWIG_arg_fail(1)) SWIG_fail
;
25642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25643 result
= (int)wxWindow::NextControlId(arg1
);
25645 wxPyEndAllowThreads(__tstate
);
25646 if (PyErr_Occurred()) SWIG_fail
;
25649 resultobj
= SWIG_From_int((int)(result
));
25657 static PyObject
*_wrap_Window_PrevControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25658 PyObject
*resultobj
;
25661 PyObject
* obj0
= 0 ;
25662 char *kwnames
[] = {
25663 (char *) "winid", NULL
25666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
25668 arg1
= (int)(SWIG_As_int(obj0
));
25669 if (SWIG_arg_fail(1)) SWIG_fail
;
25672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25673 result
= (int)wxWindow::PrevControlId(arg1
);
25675 wxPyEndAllowThreads(__tstate
);
25676 if (PyErr_Occurred()) SWIG_fail
;
25679 resultobj
= SWIG_From_int((int)(result
));
25687 static PyObject
*_wrap_Window_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25688 PyObject
*resultobj
;
25689 wxWindow
*arg1
= (wxWindow
*) 0 ;
25692 PyObject
* obj0
= 0 ;
25693 PyObject
* obj1
= 0 ;
25694 char *kwnames
[] = {
25695 (char *) "self",(char *) "size", NULL
25698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25700 if (SWIG_arg_fail(1)) SWIG_fail
;
25703 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25707 (arg1
)->SetSize((wxSize
const &)*arg2
);
25709 wxPyEndAllowThreads(__tstate
);
25710 if (PyErr_Occurred()) SWIG_fail
;
25712 Py_INCREF(Py_None
); resultobj
= Py_None
;
25719 static PyObject
*_wrap_Window_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25720 PyObject
*resultobj
;
25721 wxWindow
*arg1
= (wxWindow
*) 0 ;
25726 int arg6
= (int) wxSIZE_AUTO
;
25727 PyObject
* obj0
= 0 ;
25728 PyObject
* obj1
= 0 ;
25729 PyObject
* obj2
= 0 ;
25730 PyObject
* obj3
= 0 ;
25731 PyObject
* obj4
= 0 ;
25732 PyObject
* obj5
= 0 ;
25733 char *kwnames
[] = {
25734 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
25737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25739 if (SWIG_arg_fail(1)) SWIG_fail
;
25741 arg2
= (int)(SWIG_As_int(obj1
));
25742 if (SWIG_arg_fail(2)) SWIG_fail
;
25745 arg3
= (int)(SWIG_As_int(obj2
));
25746 if (SWIG_arg_fail(3)) SWIG_fail
;
25749 arg4
= (int)(SWIG_As_int(obj3
));
25750 if (SWIG_arg_fail(4)) SWIG_fail
;
25753 arg5
= (int)(SWIG_As_int(obj4
));
25754 if (SWIG_arg_fail(5)) SWIG_fail
;
25758 arg6
= (int)(SWIG_As_int(obj5
));
25759 if (SWIG_arg_fail(6)) SWIG_fail
;
25763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25764 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
25766 wxPyEndAllowThreads(__tstate
);
25767 if (PyErr_Occurred()) SWIG_fail
;
25769 Py_INCREF(Py_None
); resultobj
= Py_None
;
25776 static PyObject
*_wrap_Window_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25777 PyObject
*resultobj
;
25778 wxWindow
*arg1
= (wxWindow
*) 0 ;
25780 int arg3
= (int) wxSIZE_AUTO
;
25782 PyObject
* obj0
= 0 ;
25783 PyObject
* obj1
= 0 ;
25784 PyObject
* obj2
= 0 ;
25785 char *kwnames
[] = {
25786 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
25789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25791 if (SWIG_arg_fail(1)) SWIG_fail
;
25794 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25798 arg3
= (int)(SWIG_As_int(obj2
));
25799 if (SWIG_arg_fail(3)) SWIG_fail
;
25803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25804 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
25806 wxPyEndAllowThreads(__tstate
);
25807 if (PyErr_Occurred()) SWIG_fail
;
25809 Py_INCREF(Py_None
); resultobj
= Py_None
;
25816 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25817 PyObject
*resultobj
;
25818 wxWindow
*arg1
= (wxWindow
*) 0 ;
25821 PyObject
* obj0
= 0 ;
25822 PyObject
* obj1
= 0 ;
25823 PyObject
* obj2
= 0 ;
25824 char *kwnames
[] = {
25825 (char *) "self",(char *) "width",(char *) "height", NULL
25828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25830 if (SWIG_arg_fail(1)) SWIG_fail
;
25832 arg2
= (int)(SWIG_As_int(obj1
));
25833 if (SWIG_arg_fail(2)) SWIG_fail
;
25836 arg3
= (int)(SWIG_As_int(obj2
));
25837 if (SWIG_arg_fail(3)) SWIG_fail
;
25840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25841 (arg1
)->SetSize(arg2
,arg3
);
25843 wxPyEndAllowThreads(__tstate
);
25844 if (PyErr_Occurred()) SWIG_fail
;
25846 Py_INCREF(Py_None
); resultobj
= Py_None
;
25853 static PyObject
*_wrap_Window_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25854 PyObject
*resultobj
;
25855 wxWindow
*arg1
= (wxWindow
*) 0 ;
25856 wxPoint
*arg2
= 0 ;
25857 int arg3
= (int) wxSIZE_USE_EXISTING
;
25859 PyObject
* obj0
= 0 ;
25860 PyObject
* obj1
= 0 ;
25861 PyObject
* obj2
= 0 ;
25862 char *kwnames
[] = {
25863 (char *) "self",(char *) "pt",(char *) "flags", NULL
25866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25868 if (SWIG_arg_fail(1)) SWIG_fail
;
25871 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25875 arg3
= (int)(SWIG_As_int(obj2
));
25876 if (SWIG_arg_fail(3)) SWIG_fail
;
25880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25881 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
25883 wxPyEndAllowThreads(__tstate
);
25884 if (PyErr_Occurred()) SWIG_fail
;
25886 Py_INCREF(Py_None
); resultobj
= Py_None
;
25893 static PyObject
*_wrap_Window_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25894 PyObject
*resultobj
;
25895 wxWindow
*arg1
= (wxWindow
*) 0 ;
25898 int arg4
= (int) wxSIZE_USE_EXISTING
;
25899 PyObject
* obj0
= 0 ;
25900 PyObject
* obj1
= 0 ;
25901 PyObject
* obj2
= 0 ;
25902 PyObject
* obj3
= 0 ;
25903 char *kwnames
[] = {
25904 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
25907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25909 if (SWIG_arg_fail(1)) SWIG_fail
;
25911 arg2
= (int)(SWIG_As_int(obj1
));
25912 if (SWIG_arg_fail(2)) SWIG_fail
;
25915 arg3
= (int)(SWIG_As_int(obj2
));
25916 if (SWIG_arg_fail(3)) SWIG_fail
;
25920 arg4
= (int)(SWIG_As_int(obj3
));
25921 if (SWIG_arg_fail(4)) SWIG_fail
;
25925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25926 (arg1
)->Move(arg2
,arg3
,arg4
);
25928 wxPyEndAllowThreads(__tstate
);
25929 if (PyErr_Occurred()) SWIG_fail
;
25931 Py_INCREF(Py_None
); resultobj
= Py_None
;
25938 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25939 PyObject
*resultobj
;
25940 wxWindow
*arg1
= (wxWindow
*) 0 ;
25941 wxSize
const &arg2_defvalue
= wxDefaultSize
;
25942 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
25944 PyObject
* obj0
= 0 ;
25945 PyObject
* obj1
= 0 ;
25946 char *kwnames
[] = {
25947 (char *) "self",(char *) "size", NULL
25950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25952 if (SWIG_arg_fail(1)) SWIG_fail
;
25956 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25961 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
25963 wxPyEndAllowThreads(__tstate
);
25964 if (PyErr_Occurred()) SWIG_fail
;
25966 Py_INCREF(Py_None
); resultobj
= Py_None
;
25973 static PyObject
*_wrap_Window_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25974 PyObject
*resultobj
;
25975 wxWindow
*arg1
= (wxWindow
*) 0 ;
25976 PyObject
* obj0
= 0 ;
25977 char *kwnames
[] = {
25978 (char *) "self", NULL
25981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
25982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25983 if (SWIG_arg_fail(1)) SWIG_fail
;
25985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25988 wxPyEndAllowThreads(__tstate
);
25989 if (PyErr_Occurred()) SWIG_fail
;
25991 Py_INCREF(Py_None
); resultobj
= Py_None
;
25998 static PyObject
*_wrap_Window_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25999 PyObject
*resultobj
;
26000 wxWindow
*arg1
= (wxWindow
*) 0 ;
26001 PyObject
* obj0
= 0 ;
26002 char *kwnames
[] = {
26003 (char *) "self", NULL
26006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
26007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26008 if (SWIG_arg_fail(1)) SWIG_fail
;
26010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26013 wxPyEndAllowThreads(__tstate
);
26014 if (PyErr_Occurred()) SWIG_fail
;
26016 Py_INCREF(Py_None
); resultobj
= Py_None
;
26023 static PyObject
*_wrap_Window_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26024 PyObject
*resultobj
;
26025 wxWindow
*arg1
= (wxWindow
*) 0 ;
26028 PyObject
* obj0
= 0 ;
26029 PyObject
* obj1
= 0 ;
26030 char *kwnames
[] = {
26031 (char *) "self",(char *) "size", NULL
26034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26036 if (SWIG_arg_fail(1)) SWIG_fail
;
26039 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26043 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
26045 wxPyEndAllowThreads(__tstate
);
26046 if (PyErr_Occurred()) SWIG_fail
;
26048 Py_INCREF(Py_None
); resultobj
= Py_None
;
26055 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26056 PyObject
*resultobj
;
26057 wxWindow
*arg1
= (wxWindow
*) 0 ;
26060 PyObject
* obj0
= 0 ;
26061 PyObject
* obj1
= 0 ;
26062 PyObject
* obj2
= 0 ;
26063 char *kwnames
[] = {
26064 (char *) "self",(char *) "width",(char *) "height", NULL
26067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26069 if (SWIG_arg_fail(1)) SWIG_fail
;
26071 arg2
= (int)(SWIG_As_int(obj1
));
26072 if (SWIG_arg_fail(2)) SWIG_fail
;
26075 arg3
= (int)(SWIG_As_int(obj2
));
26076 if (SWIG_arg_fail(3)) SWIG_fail
;
26079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26080 (arg1
)->SetClientSize(arg2
,arg3
);
26082 wxPyEndAllowThreads(__tstate
);
26083 if (PyErr_Occurred()) SWIG_fail
;
26085 Py_INCREF(Py_None
); resultobj
= Py_None
;
26092 static PyObject
*_wrap_Window_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26093 PyObject
*resultobj
;
26094 wxWindow
*arg1
= (wxWindow
*) 0 ;
26097 PyObject
* obj0
= 0 ;
26098 PyObject
* obj1
= 0 ;
26099 char *kwnames
[] = {
26100 (char *) "self",(char *) "rect", NULL
26103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26105 if (SWIG_arg_fail(1)) SWIG_fail
;
26108 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26112 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
26114 wxPyEndAllowThreads(__tstate
);
26115 if (PyErr_Occurred()) SWIG_fail
;
26117 Py_INCREF(Py_None
); resultobj
= Py_None
;
26124 static PyObject
*_wrap_Window_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26125 PyObject
*resultobj
;
26126 wxWindow
*arg1
= (wxWindow
*) 0 ;
26128 PyObject
* obj0
= 0 ;
26129 char *kwnames
[] = {
26130 (char *) "self", NULL
26133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
26134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26135 if (SWIG_arg_fail(1)) SWIG_fail
;
26137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26138 result
= (arg1
)->GetPosition();
26140 wxPyEndAllowThreads(__tstate
);
26141 if (PyErr_Occurred()) SWIG_fail
;
26144 wxPoint
* resultptr
;
26145 resultptr
= new wxPoint((wxPoint
&)(result
));
26146 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26154 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26155 PyObject
*resultobj
;
26156 wxWindow
*arg1
= (wxWindow
*) 0 ;
26157 int *arg2
= (int *) 0 ;
26158 int *arg3
= (int *) 0 ;
26163 PyObject
* obj0
= 0 ;
26164 char *kwnames
[] = {
26165 (char *) "self", NULL
26168 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26169 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
26171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26172 if (SWIG_arg_fail(1)) SWIG_fail
;
26174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26175 (arg1
)->GetPosition(arg2
,arg3
);
26177 wxPyEndAllowThreads(__tstate
);
26178 if (PyErr_Occurred()) SWIG_fail
;
26180 Py_INCREF(Py_None
); resultobj
= Py_None
;
26181 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26182 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26183 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26184 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26191 static PyObject
*_wrap_Window_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26192 PyObject
*resultobj
;
26193 wxWindow
*arg1
= (wxWindow
*) 0 ;
26195 PyObject
* obj0
= 0 ;
26196 char *kwnames
[] = {
26197 (char *) "self", NULL
26200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
26201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26202 if (SWIG_arg_fail(1)) SWIG_fail
;
26204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26205 result
= ((wxWindow
const *)arg1
)->GetSize();
26207 wxPyEndAllowThreads(__tstate
);
26208 if (PyErr_Occurred()) SWIG_fail
;
26211 wxSize
* resultptr
;
26212 resultptr
= new wxSize((wxSize
&)(result
));
26213 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26221 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26222 PyObject
*resultobj
;
26223 wxWindow
*arg1
= (wxWindow
*) 0 ;
26224 int *arg2
= (int *) 0 ;
26225 int *arg3
= (int *) 0 ;
26230 PyObject
* obj0
= 0 ;
26231 char *kwnames
[] = {
26232 (char *) "self", NULL
26235 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26236 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
26238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26239 if (SWIG_arg_fail(1)) SWIG_fail
;
26241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26242 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
26244 wxPyEndAllowThreads(__tstate
);
26245 if (PyErr_Occurred()) SWIG_fail
;
26247 Py_INCREF(Py_None
); resultobj
= Py_None
;
26248 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26249 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26250 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26251 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26258 static PyObject
*_wrap_Window_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26259 PyObject
*resultobj
;
26260 wxWindow
*arg1
= (wxWindow
*) 0 ;
26262 PyObject
* obj0
= 0 ;
26263 char *kwnames
[] = {
26264 (char *) "self", NULL
26267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
26268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26269 if (SWIG_arg_fail(1)) SWIG_fail
;
26271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26272 result
= ((wxWindow
const *)arg1
)->GetRect();
26274 wxPyEndAllowThreads(__tstate
);
26275 if (PyErr_Occurred()) SWIG_fail
;
26278 wxRect
* resultptr
;
26279 resultptr
= new wxRect((wxRect
&)(result
));
26280 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26288 static PyObject
*_wrap_Window_GetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26289 PyObject
*resultobj
;
26290 wxWindow
*arg1
= (wxWindow
*) 0 ;
26292 PyObject
* obj0
= 0 ;
26293 char *kwnames
[] = {
26294 (char *) "self", NULL
26297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
26298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26299 if (SWIG_arg_fail(1)) SWIG_fail
;
26301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26302 result
= ((wxWindow
const *)arg1
)->GetClientSize();
26304 wxPyEndAllowThreads(__tstate
);
26305 if (PyErr_Occurred()) SWIG_fail
;
26308 wxSize
* resultptr
;
26309 resultptr
= new wxSize((wxSize
&)(result
));
26310 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26318 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26319 PyObject
*resultobj
;
26320 wxWindow
*arg1
= (wxWindow
*) 0 ;
26321 int *arg2
= (int *) 0 ;
26322 int *arg3
= (int *) 0 ;
26327 PyObject
* obj0
= 0 ;
26328 char *kwnames
[] = {
26329 (char *) "self", NULL
26332 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26333 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
26335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26336 if (SWIG_arg_fail(1)) SWIG_fail
;
26338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26339 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
26341 wxPyEndAllowThreads(__tstate
);
26342 if (PyErr_Occurred()) SWIG_fail
;
26344 Py_INCREF(Py_None
); resultobj
= Py_None
;
26345 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26346 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26347 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26348 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26355 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26356 PyObject
*resultobj
;
26357 wxWindow
*arg1
= (wxWindow
*) 0 ;
26359 PyObject
* obj0
= 0 ;
26360 char *kwnames
[] = {
26361 (char *) "self", NULL
26364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
26365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26366 if (SWIG_arg_fail(1)) SWIG_fail
;
26368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26369 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
26371 wxPyEndAllowThreads(__tstate
);
26372 if (PyErr_Occurred()) SWIG_fail
;
26375 wxPoint
* resultptr
;
26376 resultptr
= new wxPoint((wxPoint
&)(result
));
26377 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26385 static PyObject
*_wrap_Window_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26386 PyObject
*resultobj
;
26387 wxWindow
*arg1
= (wxWindow
*) 0 ;
26389 PyObject
* obj0
= 0 ;
26390 char *kwnames
[] = {
26391 (char *) "self", NULL
26394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
26395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26396 if (SWIG_arg_fail(1)) SWIG_fail
;
26398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26399 result
= ((wxWindow
const *)arg1
)->GetClientRect();
26401 wxPyEndAllowThreads(__tstate
);
26402 if (PyErr_Occurred()) SWIG_fail
;
26405 wxRect
* resultptr
;
26406 resultptr
= new wxRect((wxRect
&)(result
));
26407 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26415 static PyObject
*_wrap_Window_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26416 PyObject
*resultobj
;
26417 wxWindow
*arg1
= (wxWindow
*) 0 ;
26419 PyObject
* obj0
= 0 ;
26420 char *kwnames
[] = {
26421 (char *) "self", NULL
26424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
26425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26426 if (SWIG_arg_fail(1)) SWIG_fail
;
26428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26429 result
= ((wxWindow
const *)arg1
)->GetBestSize();
26431 wxPyEndAllowThreads(__tstate
);
26432 if (PyErr_Occurred()) SWIG_fail
;
26435 wxSize
* resultptr
;
26436 resultptr
= new wxSize((wxSize
&)(result
));
26437 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26445 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26446 PyObject
*resultobj
;
26447 wxWindow
*arg1
= (wxWindow
*) 0 ;
26448 int *arg2
= (int *) 0 ;
26449 int *arg3
= (int *) 0 ;
26454 PyObject
* obj0
= 0 ;
26455 char *kwnames
[] = {
26456 (char *) "self", NULL
26459 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26460 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
26462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26463 if (SWIG_arg_fail(1)) SWIG_fail
;
26465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26466 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
26468 wxPyEndAllowThreads(__tstate
);
26469 if (PyErr_Occurred()) SWIG_fail
;
26471 Py_INCREF(Py_None
); resultobj
= Py_None
;
26472 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26473 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26474 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26475 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26482 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26483 PyObject
*resultobj
;
26484 wxWindow
*arg1
= (wxWindow
*) 0 ;
26485 PyObject
* obj0
= 0 ;
26486 char *kwnames
[] = {
26487 (char *) "self", NULL
26490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
26491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26492 if (SWIG_arg_fail(1)) SWIG_fail
;
26494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26495 (arg1
)->InvalidateBestSize();
26497 wxPyEndAllowThreads(__tstate
);
26498 if (PyErr_Occurred()) SWIG_fail
;
26500 Py_INCREF(Py_None
); resultobj
= Py_None
;
26507 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26508 PyObject
*resultobj
;
26509 wxWindow
*arg1
= (wxWindow
*) 0 ;
26511 PyObject
* obj0
= 0 ;
26512 char *kwnames
[] = {
26513 (char *) "self", NULL
26516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
26517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26518 if (SWIG_arg_fail(1)) SWIG_fail
;
26520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26521 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
26523 wxPyEndAllowThreads(__tstate
);
26524 if (PyErr_Occurred()) SWIG_fail
;
26527 wxSize
* resultptr
;
26528 resultptr
= new wxSize((wxSize
&)(result
));
26529 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26537 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26538 PyObject
*resultobj
;
26539 wxWindow
*arg1
= (wxWindow
*) 0 ;
26541 PyObject
* obj0
= 0 ;
26542 char *kwnames
[] = {
26543 (char *) "self", NULL
26546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
26547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26548 if (SWIG_arg_fail(1)) SWIG_fail
;
26550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26551 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
26553 wxPyEndAllowThreads(__tstate
);
26554 if (PyErr_Occurred()) SWIG_fail
;
26557 wxSize
* resultptr
;
26558 resultptr
= new wxSize((wxSize
&)(result
));
26559 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26567 static PyObject
*_wrap_Window_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26568 PyObject
*resultobj
;
26569 wxWindow
*arg1
= (wxWindow
*) 0 ;
26570 int arg2
= (int) wxBOTH
;
26571 PyObject
* obj0
= 0 ;
26572 PyObject
* obj1
= 0 ;
26573 char *kwnames
[] = {
26574 (char *) "self",(char *) "direction", NULL
26577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
26578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26579 if (SWIG_arg_fail(1)) SWIG_fail
;
26582 arg2
= (int)(SWIG_As_int(obj1
));
26583 if (SWIG_arg_fail(2)) SWIG_fail
;
26587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26588 (arg1
)->Center(arg2
);
26590 wxPyEndAllowThreads(__tstate
);
26591 if (PyErr_Occurred()) SWIG_fail
;
26593 Py_INCREF(Py_None
); resultobj
= Py_None
;
26600 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26601 PyObject
*resultobj
;
26602 wxWindow
*arg1
= (wxWindow
*) 0 ;
26603 int arg2
= (int) wxBOTH
;
26604 PyObject
* obj0
= 0 ;
26605 PyObject
* obj1
= 0 ;
26606 char *kwnames
[] = {
26607 (char *) "self",(char *) "dir", NULL
26610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
26611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26612 if (SWIG_arg_fail(1)) SWIG_fail
;
26615 arg2
= (int)(SWIG_As_int(obj1
));
26616 if (SWIG_arg_fail(2)) SWIG_fail
;
26620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26621 (arg1
)->CenterOnScreen(arg2
);
26623 wxPyEndAllowThreads(__tstate
);
26624 if (PyErr_Occurred()) SWIG_fail
;
26626 Py_INCREF(Py_None
); resultobj
= Py_None
;
26633 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26634 PyObject
*resultobj
;
26635 wxWindow
*arg1
= (wxWindow
*) 0 ;
26636 int arg2
= (int) wxBOTH
;
26637 PyObject
* obj0
= 0 ;
26638 PyObject
* obj1
= 0 ;
26639 char *kwnames
[] = {
26640 (char *) "self",(char *) "dir", NULL
26643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26645 if (SWIG_arg_fail(1)) SWIG_fail
;
26648 arg2
= (int)(SWIG_As_int(obj1
));
26649 if (SWIG_arg_fail(2)) SWIG_fail
;
26653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26654 (arg1
)->CenterOnParent(arg2
);
26656 wxPyEndAllowThreads(__tstate
);
26657 if (PyErr_Occurred()) SWIG_fail
;
26659 Py_INCREF(Py_None
); resultobj
= Py_None
;
26666 static PyObject
*_wrap_Window_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26667 PyObject
*resultobj
;
26668 wxWindow
*arg1
= (wxWindow
*) 0 ;
26669 PyObject
* obj0
= 0 ;
26670 char *kwnames
[] = {
26671 (char *) "self", NULL
26674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
26675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26676 if (SWIG_arg_fail(1)) SWIG_fail
;
26678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26681 wxPyEndAllowThreads(__tstate
);
26682 if (PyErr_Occurred()) SWIG_fail
;
26684 Py_INCREF(Py_None
); resultobj
= Py_None
;
26691 static PyObject
*_wrap_Window_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26692 PyObject
*resultobj
;
26693 wxWindow
*arg1
= (wxWindow
*) 0 ;
26694 PyObject
* obj0
= 0 ;
26695 char *kwnames
[] = {
26696 (char *) "self", NULL
26699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
26700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26701 if (SWIG_arg_fail(1)) SWIG_fail
;
26703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26704 (arg1
)->FitInside();
26706 wxPyEndAllowThreads(__tstate
);
26707 if (PyErr_Occurred()) SWIG_fail
;
26709 Py_INCREF(Py_None
); resultobj
= Py_None
;
26716 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26717 PyObject
*resultobj
;
26718 wxWindow
*arg1
= (wxWindow
*) 0 ;
26721 int arg4
= (int) -1 ;
26722 int arg5
= (int) -1 ;
26723 int arg6
= (int) -1 ;
26724 int arg7
= (int) -1 ;
26725 PyObject
* obj0
= 0 ;
26726 PyObject
* obj1
= 0 ;
26727 PyObject
* obj2
= 0 ;
26728 PyObject
* obj3
= 0 ;
26729 PyObject
* obj4
= 0 ;
26730 PyObject
* obj5
= 0 ;
26731 PyObject
* obj6
= 0 ;
26732 char *kwnames
[] = {
26733 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
26736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26738 if (SWIG_arg_fail(1)) SWIG_fail
;
26740 arg2
= (int)(SWIG_As_int(obj1
));
26741 if (SWIG_arg_fail(2)) SWIG_fail
;
26744 arg3
= (int)(SWIG_As_int(obj2
));
26745 if (SWIG_arg_fail(3)) SWIG_fail
;
26749 arg4
= (int)(SWIG_As_int(obj3
));
26750 if (SWIG_arg_fail(4)) SWIG_fail
;
26755 arg5
= (int)(SWIG_As_int(obj4
));
26756 if (SWIG_arg_fail(5)) SWIG_fail
;
26761 arg6
= (int)(SWIG_As_int(obj5
));
26762 if (SWIG_arg_fail(6)) SWIG_fail
;
26767 arg7
= (int)(SWIG_As_int(obj6
));
26768 if (SWIG_arg_fail(7)) SWIG_fail
;
26772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26773 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26775 wxPyEndAllowThreads(__tstate
);
26776 if (PyErr_Occurred()) SWIG_fail
;
26778 Py_INCREF(Py_None
); resultobj
= Py_None
;
26785 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26786 PyObject
*resultobj
;
26787 wxWindow
*arg1
= (wxWindow
*) 0 ;
26789 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26790 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26791 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26792 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26796 PyObject
* obj0
= 0 ;
26797 PyObject
* obj1
= 0 ;
26798 PyObject
* obj2
= 0 ;
26799 PyObject
* obj3
= 0 ;
26800 char *kwnames
[] = {
26801 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
26804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26806 if (SWIG_arg_fail(1)) SWIG_fail
;
26809 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26814 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26820 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26825 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
26827 wxPyEndAllowThreads(__tstate
);
26828 if (PyErr_Occurred()) SWIG_fail
;
26830 Py_INCREF(Py_None
); resultobj
= Py_None
;
26837 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26838 PyObject
*resultobj
;
26839 wxWindow
*arg1
= (wxWindow
*) 0 ;
26842 int arg4
= (int) -1 ;
26843 int arg5
= (int) -1 ;
26844 PyObject
* obj0
= 0 ;
26845 PyObject
* obj1
= 0 ;
26846 PyObject
* obj2
= 0 ;
26847 PyObject
* obj3
= 0 ;
26848 PyObject
* obj4
= 0 ;
26849 char *kwnames
[] = {
26850 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
26853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26855 if (SWIG_arg_fail(1)) SWIG_fail
;
26857 arg2
= (int)(SWIG_As_int(obj1
));
26858 if (SWIG_arg_fail(2)) SWIG_fail
;
26861 arg3
= (int)(SWIG_As_int(obj2
));
26862 if (SWIG_arg_fail(3)) SWIG_fail
;
26866 arg4
= (int)(SWIG_As_int(obj3
));
26867 if (SWIG_arg_fail(4)) SWIG_fail
;
26872 arg5
= (int)(SWIG_As_int(obj4
));
26873 if (SWIG_arg_fail(5)) SWIG_fail
;
26877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26878 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
26880 wxPyEndAllowThreads(__tstate
);
26881 if (PyErr_Occurred()) SWIG_fail
;
26883 Py_INCREF(Py_None
); resultobj
= Py_None
;
26890 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26891 PyObject
*resultobj
;
26892 wxWindow
*arg1
= (wxWindow
*) 0 ;
26894 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26895 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26898 PyObject
* obj0
= 0 ;
26899 PyObject
* obj1
= 0 ;
26900 PyObject
* obj2
= 0 ;
26901 char *kwnames
[] = {
26902 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
26905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26907 if (SWIG_arg_fail(1)) SWIG_fail
;
26910 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26915 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26920 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
26922 wxPyEndAllowThreads(__tstate
);
26923 if (PyErr_Occurred()) SWIG_fail
;
26925 Py_INCREF(Py_None
); resultobj
= Py_None
;
26932 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26933 PyObject
*resultobj
;
26934 wxWindow
*arg1
= (wxWindow
*) 0 ;
26936 PyObject
* obj0
= 0 ;
26937 char *kwnames
[] = {
26938 (char *) "self", NULL
26941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
26942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26943 if (SWIG_arg_fail(1)) SWIG_fail
;
26945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26946 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
26948 wxPyEndAllowThreads(__tstate
);
26949 if (PyErr_Occurred()) SWIG_fail
;
26952 wxSize
* resultptr
;
26953 resultptr
= new wxSize((wxSize
&)(result
));
26954 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26962 static PyObject
*_wrap_Window_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26963 PyObject
*resultobj
;
26964 wxWindow
*arg1
= (wxWindow
*) 0 ;
26966 PyObject
* obj0
= 0 ;
26967 char *kwnames
[] = {
26968 (char *) "self", NULL
26971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
26972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26973 if (SWIG_arg_fail(1)) SWIG_fail
;
26975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26976 result
= ((wxWindow
const *)arg1
)->GetMinSize();
26978 wxPyEndAllowThreads(__tstate
);
26979 if (PyErr_Occurred()) SWIG_fail
;
26982 wxSize
* resultptr
;
26983 resultptr
= new wxSize((wxSize
&)(result
));
26984 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26992 static PyObject
*_wrap_Window_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26993 PyObject
*resultobj
;
26994 wxWindow
*arg1
= (wxWindow
*) 0 ;
26997 PyObject
* obj0
= 0 ;
26998 PyObject
* obj1
= 0 ;
26999 char *kwnames
[] = {
27000 (char *) "self",(char *) "minSize", NULL
27003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27005 if (SWIG_arg_fail(1)) SWIG_fail
;
27008 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27012 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
27014 wxPyEndAllowThreads(__tstate
);
27015 if (PyErr_Occurred()) SWIG_fail
;
27017 Py_INCREF(Py_None
); resultobj
= Py_None
;
27024 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27025 PyObject
*resultobj
;
27026 wxWindow
*arg1
= (wxWindow
*) 0 ;
27029 PyObject
* obj0
= 0 ;
27030 PyObject
* obj1
= 0 ;
27031 char *kwnames
[] = {
27032 (char *) "self",(char *) "maxSize", NULL
27035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27037 if (SWIG_arg_fail(1)) SWIG_fail
;
27040 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27044 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
27046 wxPyEndAllowThreads(__tstate
);
27047 if (PyErr_Occurred()) SWIG_fail
;
27049 Py_INCREF(Py_None
); resultobj
= Py_None
;
27056 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27057 PyObject
*resultobj
;
27058 wxWindow
*arg1
= (wxWindow
*) 0 ;
27060 PyObject
* obj0
= 0 ;
27061 char *kwnames
[] = {
27062 (char *) "self", NULL
27065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
27066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27067 if (SWIG_arg_fail(1)) SWIG_fail
;
27069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27070 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
27072 wxPyEndAllowThreads(__tstate
);
27073 if (PyErr_Occurred()) SWIG_fail
;
27076 resultobj
= SWIG_From_int((int)(result
));
27084 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27085 PyObject
*resultobj
;
27086 wxWindow
*arg1
= (wxWindow
*) 0 ;
27088 PyObject
* obj0
= 0 ;
27089 char *kwnames
[] = {
27090 (char *) "self", NULL
27093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
27094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27095 if (SWIG_arg_fail(1)) SWIG_fail
;
27097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27098 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
27100 wxPyEndAllowThreads(__tstate
);
27101 if (PyErr_Occurred()) SWIG_fail
;
27104 resultobj
= SWIG_From_int((int)(result
));
27112 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27113 PyObject
*resultobj
;
27114 wxWindow
*arg1
= (wxWindow
*) 0 ;
27116 PyObject
* obj0
= 0 ;
27117 char *kwnames
[] = {
27118 (char *) "self", NULL
27121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
27122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27123 if (SWIG_arg_fail(1)) SWIG_fail
;
27125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27126 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
27128 wxPyEndAllowThreads(__tstate
);
27129 if (PyErr_Occurred()) SWIG_fail
;
27132 resultobj
= SWIG_From_int((int)(result
));
27140 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27141 PyObject
*resultobj
;
27142 wxWindow
*arg1
= (wxWindow
*) 0 ;
27144 PyObject
* obj0
= 0 ;
27145 char *kwnames
[] = {
27146 (char *) "self", NULL
27149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
27150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27151 if (SWIG_arg_fail(1)) SWIG_fail
;
27153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27154 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
27156 wxPyEndAllowThreads(__tstate
);
27157 if (PyErr_Occurred()) SWIG_fail
;
27160 resultobj
= SWIG_From_int((int)(result
));
27168 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27169 PyObject
*resultobj
;
27170 wxWindow
*arg1
= (wxWindow
*) 0 ;
27173 PyObject
* obj0
= 0 ;
27174 PyObject
* obj1
= 0 ;
27175 char *kwnames
[] = {
27176 (char *) "self",(char *) "size", NULL
27179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27181 if (SWIG_arg_fail(1)) SWIG_fail
;
27184 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27188 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
27190 wxPyEndAllowThreads(__tstate
);
27191 if (PyErr_Occurred()) SWIG_fail
;
27193 Py_INCREF(Py_None
); resultobj
= Py_None
;
27200 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27201 PyObject
*resultobj
;
27202 wxWindow
*arg1
= (wxWindow
*) 0 ;
27205 PyObject
* obj0
= 0 ;
27206 PyObject
* obj1
= 0 ;
27207 PyObject
* obj2
= 0 ;
27208 char *kwnames
[] = {
27209 (char *) "self",(char *) "w",(char *) "h", NULL
27212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27214 if (SWIG_arg_fail(1)) SWIG_fail
;
27216 arg2
= (int)(SWIG_As_int(obj1
));
27217 if (SWIG_arg_fail(2)) SWIG_fail
;
27220 arg3
= (int)(SWIG_As_int(obj2
));
27221 if (SWIG_arg_fail(3)) SWIG_fail
;
27224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27225 (arg1
)->SetVirtualSize(arg2
,arg3
);
27227 wxPyEndAllowThreads(__tstate
);
27228 if (PyErr_Occurred()) SWIG_fail
;
27230 Py_INCREF(Py_None
); resultobj
= Py_None
;
27237 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27238 PyObject
*resultobj
;
27239 wxWindow
*arg1
= (wxWindow
*) 0 ;
27241 PyObject
* obj0
= 0 ;
27242 char *kwnames
[] = {
27243 (char *) "self", NULL
27246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
27247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27248 if (SWIG_arg_fail(1)) SWIG_fail
;
27250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27251 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
27253 wxPyEndAllowThreads(__tstate
);
27254 if (PyErr_Occurred()) SWIG_fail
;
27257 wxSize
* resultptr
;
27258 resultptr
= new wxSize((wxSize
&)(result
));
27259 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27267 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27268 PyObject
*resultobj
;
27269 wxWindow
*arg1
= (wxWindow
*) 0 ;
27270 int *arg2
= (int *) 0 ;
27271 int *arg3
= (int *) 0 ;
27276 PyObject
* obj0
= 0 ;
27277 char *kwnames
[] = {
27278 (char *) "self", NULL
27281 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
27282 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
27284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27285 if (SWIG_arg_fail(1)) SWIG_fail
;
27287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27288 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
27290 wxPyEndAllowThreads(__tstate
);
27291 if (PyErr_Occurred()) SWIG_fail
;
27293 Py_INCREF(Py_None
); resultobj
= Py_None
;
27294 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27295 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27296 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27297 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27304 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27305 PyObject
*resultobj
;
27306 wxWindow
*arg1
= (wxWindow
*) 0 ;
27308 PyObject
* obj0
= 0 ;
27309 char *kwnames
[] = {
27310 (char *) "self", NULL
27313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
27314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27315 if (SWIG_arg_fail(1)) SWIG_fail
;
27317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27318 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
27320 wxPyEndAllowThreads(__tstate
);
27321 if (PyErr_Occurred()) SWIG_fail
;
27324 wxSize
* resultptr
;
27325 resultptr
= new wxSize((wxSize
&)(result
));
27326 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27334 static PyObject
*_wrap_Window_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27335 PyObject
*resultobj
;
27336 wxWindow
*arg1
= (wxWindow
*) 0 ;
27337 bool arg2
= (bool) true ;
27339 PyObject
* obj0
= 0 ;
27340 PyObject
* obj1
= 0 ;
27341 char *kwnames
[] = {
27342 (char *) "self",(char *) "show", NULL
27345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
27346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27347 if (SWIG_arg_fail(1)) SWIG_fail
;
27350 arg2
= (bool)(SWIG_As_bool(obj1
));
27351 if (SWIG_arg_fail(2)) SWIG_fail
;
27355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27356 result
= (bool)(arg1
)->Show(arg2
);
27358 wxPyEndAllowThreads(__tstate
);
27359 if (PyErr_Occurred()) SWIG_fail
;
27362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27370 static PyObject
*_wrap_Window_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27371 PyObject
*resultobj
;
27372 wxWindow
*arg1
= (wxWindow
*) 0 ;
27374 PyObject
* obj0
= 0 ;
27375 char *kwnames
[] = {
27376 (char *) "self", NULL
27379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
27380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27381 if (SWIG_arg_fail(1)) SWIG_fail
;
27383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27384 result
= (bool)(arg1
)->Hide();
27386 wxPyEndAllowThreads(__tstate
);
27387 if (PyErr_Occurred()) SWIG_fail
;
27390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27398 static PyObject
*_wrap_Window_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27399 PyObject
*resultobj
;
27400 wxWindow
*arg1
= (wxWindow
*) 0 ;
27401 bool arg2
= (bool) true ;
27403 PyObject
* obj0
= 0 ;
27404 PyObject
* obj1
= 0 ;
27405 char *kwnames
[] = {
27406 (char *) "self",(char *) "enable", NULL
27409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
27410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27411 if (SWIG_arg_fail(1)) SWIG_fail
;
27414 arg2
= (bool)(SWIG_As_bool(obj1
));
27415 if (SWIG_arg_fail(2)) SWIG_fail
;
27419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27420 result
= (bool)(arg1
)->Enable(arg2
);
27422 wxPyEndAllowThreads(__tstate
);
27423 if (PyErr_Occurred()) SWIG_fail
;
27426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27434 static PyObject
*_wrap_Window_Disable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27435 PyObject
*resultobj
;
27436 wxWindow
*arg1
= (wxWindow
*) 0 ;
27438 PyObject
* obj0
= 0 ;
27439 char *kwnames
[] = {
27440 (char *) "self", NULL
27443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
27444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27445 if (SWIG_arg_fail(1)) SWIG_fail
;
27447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27448 result
= (bool)(arg1
)->Disable();
27450 wxPyEndAllowThreads(__tstate
);
27451 if (PyErr_Occurred()) SWIG_fail
;
27454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27462 static PyObject
*_wrap_Window_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27463 PyObject
*resultobj
;
27464 wxWindow
*arg1
= (wxWindow
*) 0 ;
27466 PyObject
* obj0
= 0 ;
27467 char *kwnames
[] = {
27468 (char *) "self", NULL
27471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
27472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27473 if (SWIG_arg_fail(1)) SWIG_fail
;
27475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27476 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
27478 wxPyEndAllowThreads(__tstate
);
27479 if (PyErr_Occurred()) SWIG_fail
;
27482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27490 static PyObject
*_wrap_Window_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27491 PyObject
*resultobj
;
27492 wxWindow
*arg1
= (wxWindow
*) 0 ;
27494 PyObject
* obj0
= 0 ;
27495 char *kwnames
[] = {
27496 (char *) "self", NULL
27499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
27500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27501 if (SWIG_arg_fail(1)) SWIG_fail
;
27503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27504 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
27506 wxPyEndAllowThreads(__tstate
);
27507 if (PyErr_Occurred()) SWIG_fail
;
27510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27518 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27519 PyObject
*resultobj
;
27520 wxWindow
*arg1
= (wxWindow
*) 0 ;
27522 PyObject
* obj0
= 0 ;
27523 PyObject
* obj1
= 0 ;
27524 char *kwnames
[] = {
27525 (char *) "self",(char *) "style", NULL
27528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
27529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27530 if (SWIG_arg_fail(1)) SWIG_fail
;
27532 arg2
= (long)(SWIG_As_long(obj1
));
27533 if (SWIG_arg_fail(2)) SWIG_fail
;
27536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27537 (arg1
)->SetWindowStyleFlag(arg2
);
27539 wxPyEndAllowThreads(__tstate
);
27540 if (PyErr_Occurred()) SWIG_fail
;
27542 Py_INCREF(Py_None
); resultobj
= Py_None
;
27549 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27550 PyObject
*resultobj
;
27551 wxWindow
*arg1
= (wxWindow
*) 0 ;
27553 PyObject
* obj0
= 0 ;
27554 char *kwnames
[] = {
27555 (char *) "self", NULL
27558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
27559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27560 if (SWIG_arg_fail(1)) SWIG_fail
;
27562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27563 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
27565 wxPyEndAllowThreads(__tstate
);
27566 if (PyErr_Occurred()) SWIG_fail
;
27569 resultobj
= SWIG_From_long((long)(result
));
27577 static PyObject
*_wrap_Window_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27578 PyObject
*resultobj
;
27579 wxWindow
*arg1
= (wxWindow
*) 0 ;
27582 PyObject
* obj0
= 0 ;
27583 PyObject
* obj1
= 0 ;
27584 char *kwnames
[] = {
27585 (char *) "self",(char *) "flag", NULL
27588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
27589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27590 if (SWIG_arg_fail(1)) SWIG_fail
;
27592 arg2
= (int)(SWIG_As_int(obj1
));
27593 if (SWIG_arg_fail(2)) SWIG_fail
;
27596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27597 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
27599 wxPyEndAllowThreads(__tstate
);
27600 if (PyErr_Occurred()) SWIG_fail
;
27603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27611 static PyObject
*_wrap_Window_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27612 PyObject
*resultobj
;
27613 wxWindow
*arg1
= (wxWindow
*) 0 ;
27615 PyObject
* obj0
= 0 ;
27616 char *kwnames
[] = {
27617 (char *) "self", NULL
27620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
27621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27622 if (SWIG_arg_fail(1)) SWIG_fail
;
27624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27625 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
27627 wxPyEndAllowThreads(__tstate
);
27628 if (PyErr_Occurred()) SWIG_fail
;
27631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27639 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27640 PyObject
*resultobj
;
27641 wxWindow
*arg1
= (wxWindow
*) 0 ;
27643 PyObject
* obj0
= 0 ;
27644 PyObject
* obj1
= 0 ;
27645 char *kwnames
[] = {
27646 (char *) "self",(char *) "exStyle", NULL
27649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
27650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27651 if (SWIG_arg_fail(1)) SWIG_fail
;
27653 arg2
= (long)(SWIG_As_long(obj1
));
27654 if (SWIG_arg_fail(2)) SWIG_fail
;
27657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27658 (arg1
)->SetExtraStyle(arg2
);
27660 wxPyEndAllowThreads(__tstate
);
27661 if (PyErr_Occurred()) SWIG_fail
;
27663 Py_INCREF(Py_None
); resultobj
= Py_None
;
27670 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27671 PyObject
*resultobj
;
27672 wxWindow
*arg1
= (wxWindow
*) 0 ;
27674 PyObject
* obj0
= 0 ;
27675 char *kwnames
[] = {
27676 (char *) "self", NULL
27679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
27680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27681 if (SWIG_arg_fail(1)) SWIG_fail
;
27683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27684 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
27686 wxPyEndAllowThreads(__tstate
);
27687 if (PyErr_Occurred()) SWIG_fail
;
27690 resultobj
= SWIG_From_long((long)(result
));
27698 static PyObject
*_wrap_Window_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27699 PyObject
*resultobj
;
27700 wxWindow
*arg1
= (wxWindow
*) 0 ;
27701 bool arg2
= (bool) true ;
27702 PyObject
* obj0
= 0 ;
27703 PyObject
* obj1
= 0 ;
27704 char *kwnames
[] = {
27705 (char *) "self",(char *) "modal", NULL
27708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
27709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27710 if (SWIG_arg_fail(1)) SWIG_fail
;
27713 arg2
= (bool)(SWIG_As_bool(obj1
));
27714 if (SWIG_arg_fail(2)) SWIG_fail
;
27718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27719 (arg1
)->MakeModal(arg2
);
27721 wxPyEndAllowThreads(__tstate
);
27722 if (PyErr_Occurred()) SWIG_fail
;
27724 Py_INCREF(Py_None
); resultobj
= Py_None
;
27731 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27732 PyObject
*resultobj
;
27733 wxWindow
*arg1
= (wxWindow
*) 0 ;
27735 PyObject
* obj0
= 0 ;
27736 PyObject
* obj1
= 0 ;
27737 char *kwnames
[] = {
27738 (char *) "self",(char *) "enableTheme", NULL
27741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
27742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27743 if (SWIG_arg_fail(1)) SWIG_fail
;
27745 arg2
= (bool)(SWIG_As_bool(obj1
));
27746 if (SWIG_arg_fail(2)) SWIG_fail
;
27749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27750 (arg1
)->SetThemeEnabled(arg2
);
27752 wxPyEndAllowThreads(__tstate
);
27753 if (PyErr_Occurred()) SWIG_fail
;
27755 Py_INCREF(Py_None
); resultobj
= Py_None
;
27762 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27763 PyObject
*resultobj
;
27764 wxWindow
*arg1
= (wxWindow
*) 0 ;
27766 PyObject
* obj0
= 0 ;
27767 char *kwnames
[] = {
27768 (char *) "self", NULL
27771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
27772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27773 if (SWIG_arg_fail(1)) SWIG_fail
;
27775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27776 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
27778 wxPyEndAllowThreads(__tstate
);
27779 if (PyErr_Occurred()) SWIG_fail
;
27782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27790 static PyObject
*_wrap_Window_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27791 PyObject
*resultobj
;
27792 wxWindow
*arg1
= (wxWindow
*) 0 ;
27793 PyObject
* obj0
= 0 ;
27794 char *kwnames
[] = {
27795 (char *) "self", NULL
27798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
27799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27800 if (SWIG_arg_fail(1)) SWIG_fail
;
27802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27803 (arg1
)->SetFocus();
27805 wxPyEndAllowThreads(__tstate
);
27806 if (PyErr_Occurred()) SWIG_fail
;
27808 Py_INCREF(Py_None
); resultobj
= Py_None
;
27815 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27816 PyObject
*resultobj
;
27817 wxWindow
*arg1
= (wxWindow
*) 0 ;
27818 PyObject
* obj0
= 0 ;
27819 char *kwnames
[] = {
27820 (char *) "self", NULL
27823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
27824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27825 if (SWIG_arg_fail(1)) SWIG_fail
;
27827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27828 (arg1
)->SetFocusFromKbd();
27830 wxPyEndAllowThreads(__tstate
);
27831 if (PyErr_Occurred()) SWIG_fail
;
27833 Py_INCREF(Py_None
); resultobj
= Py_None
;
27840 static PyObject
*_wrap_Window_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27841 PyObject
*resultobj
;
27843 char *kwnames
[] = {
27847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
27849 if (!wxPyCheckForApp()) SWIG_fail
;
27850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27851 result
= (wxWindow
*)wxWindow::FindFocus();
27853 wxPyEndAllowThreads(__tstate
);
27854 if (PyErr_Occurred()) SWIG_fail
;
27857 resultobj
= wxPyMake_wxObject(result
, 0);
27865 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27866 PyObject
*resultobj
;
27867 wxWindow
*arg1
= (wxWindow
*) 0 ;
27869 PyObject
* obj0
= 0 ;
27870 char *kwnames
[] = {
27871 (char *) "self", NULL
27874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
27875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27876 if (SWIG_arg_fail(1)) SWIG_fail
;
27878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27879 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
27881 wxPyEndAllowThreads(__tstate
);
27882 if (PyErr_Occurred()) SWIG_fail
;
27885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27893 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27894 PyObject
*resultobj
;
27895 wxWindow
*arg1
= (wxWindow
*) 0 ;
27897 PyObject
* obj0
= 0 ;
27898 char *kwnames
[] = {
27899 (char *) "self", NULL
27902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
27903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27904 if (SWIG_arg_fail(1)) SWIG_fail
;
27906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27907 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
27909 wxPyEndAllowThreads(__tstate
);
27910 if (PyErr_Occurred()) SWIG_fail
;
27913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27921 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27922 PyObject
*resultobj
;
27923 wxWindow
*arg1
= (wxWindow
*) 0 ;
27925 PyObject
* obj0
= 0 ;
27926 char *kwnames
[] = {
27927 (char *) "self", NULL
27930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
27931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27932 if (SWIG_arg_fail(1)) SWIG_fail
;
27934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27935 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
27937 wxPyEndAllowThreads(__tstate
);
27938 if (PyErr_Occurred()) SWIG_fail
;
27941 resultobj
= wxPyMake_wxObject(result
, 0);
27949 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27950 PyObject
*resultobj
;
27951 wxWindow
*arg1
= (wxWindow
*) 0 ;
27952 wxWindow
*arg2
= (wxWindow
*) 0 ;
27954 PyObject
* obj0
= 0 ;
27955 PyObject
* obj1
= 0 ;
27956 char *kwnames
[] = {
27957 (char *) "self",(char *) "child", NULL
27960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27962 if (SWIG_arg_fail(1)) SWIG_fail
;
27963 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27964 if (SWIG_arg_fail(2)) SWIG_fail
;
27966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27967 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
27969 wxPyEndAllowThreads(__tstate
);
27970 if (PyErr_Occurred()) SWIG_fail
;
27973 resultobj
= wxPyMake_wxObject(result
, 0);
27981 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27982 PyObject
*resultobj
;
27983 wxWindow
*arg1
= (wxWindow
*) 0 ;
27984 wxWindow
*arg2
= (wxWindow
*) 0 ;
27985 PyObject
* obj0
= 0 ;
27986 PyObject
* obj1
= 0 ;
27987 char *kwnames
[] = {
27988 (char *) "self",(char *) "win", NULL
27991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27993 if (SWIG_arg_fail(1)) SWIG_fail
;
27994 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27995 if (SWIG_arg_fail(2)) SWIG_fail
;
27997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27998 (arg1
)->SetTmpDefaultItem(arg2
);
28000 wxPyEndAllowThreads(__tstate
);
28001 if (PyErr_Occurred()) SWIG_fail
;
28003 Py_INCREF(Py_None
); resultobj
= Py_None
;
28010 static PyObject
*_wrap_Window_Navigate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28011 PyObject
*resultobj
;
28012 wxWindow
*arg1
= (wxWindow
*) 0 ;
28013 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
28015 PyObject
* obj0
= 0 ;
28016 PyObject
* obj1
= 0 ;
28017 char *kwnames
[] = {
28018 (char *) "self",(char *) "flags", NULL
28021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
28022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28023 if (SWIG_arg_fail(1)) SWIG_fail
;
28026 arg2
= (int)(SWIG_As_int(obj1
));
28027 if (SWIG_arg_fail(2)) SWIG_fail
;
28031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28032 result
= (bool)(arg1
)->Navigate(arg2
);
28034 wxPyEndAllowThreads(__tstate
);
28035 if (PyErr_Occurred()) SWIG_fail
;
28038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28046 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28047 PyObject
*resultobj
;
28048 wxWindow
*arg1
= (wxWindow
*) 0 ;
28049 wxWindow
*arg2
= (wxWindow
*) 0 ;
28050 PyObject
* obj0
= 0 ;
28051 PyObject
* obj1
= 0 ;
28052 char *kwnames
[] = {
28053 (char *) "self",(char *) "win", NULL
28056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
28057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28058 if (SWIG_arg_fail(1)) SWIG_fail
;
28059 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28060 if (SWIG_arg_fail(2)) SWIG_fail
;
28062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28063 (arg1
)->MoveAfterInTabOrder(arg2
);
28065 wxPyEndAllowThreads(__tstate
);
28066 if (PyErr_Occurred()) SWIG_fail
;
28068 Py_INCREF(Py_None
); resultobj
= Py_None
;
28075 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28076 PyObject
*resultobj
;
28077 wxWindow
*arg1
= (wxWindow
*) 0 ;
28078 wxWindow
*arg2
= (wxWindow
*) 0 ;
28079 PyObject
* obj0
= 0 ;
28080 PyObject
* obj1
= 0 ;
28081 char *kwnames
[] = {
28082 (char *) "self",(char *) "win", NULL
28085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
28086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28087 if (SWIG_arg_fail(1)) SWIG_fail
;
28088 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28089 if (SWIG_arg_fail(2)) SWIG_fail
;
28091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28092 (arg1
)->MoveBeforeInTabOrder(arg2
);
28094 wxPyEndAllowThreads(__tstate
);
28095 if (PyErr_Occurred()) SWIG_fail
;
28097 Py_INCREF(Py_None
); resultobj
= Py_None
;
28104 static PyObject
*_wrap_Window_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28105 PyObject
*resultobj
;
28106 wxWindow
*arg1
= (wxWindow
*) 0 ;
28108 PyObject
* obj0
= 0 ;
28109 char *kwnames
[] = {
28110 (char *) "self", NULL
28113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
28114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28115 if (SWIG_arg_fail(1)) SWIG_fail
;
28117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28118 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
28120 wxPyEndAllowThreads(__tstate
);
28121 if (PyErr_Occurred()) SWIG_fail
;
28123 resultobj
= result
;
28130 static PyObject
*_wrap_Window_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28131 PyObject
*resultobj
;
28132 wxWindow
*arg1
= (wxWindow
*) 0 ;
28134 PyObject
* obj0
= 0 ;
28135 char *kwnames
[] = {
28136 (char *) "self", NULL
28139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
28140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28141 if (SWIG_arg_fail(1)) SWIG_fail
;
28143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28144 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
28146 wxPyEndAllowThreads(__tstate
);
28147 if (PyErr_Occurred()) SWIG_fail
;
28150 resultobj
= wxPyMake_wxObject(result
, 0);
28158 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28159 PyObject
*resultobj
;
28160 wxWindow
*arg1
= (wxWindow
*) 0 ;
28162 PyObject
* obj0
= 0 ;
28163 char *kwnames
[] = {
28164 (char *) "self", NULL
28167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
28168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28169 if (SWIG_arg_fail(1)) SWIG_fail
;
28171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28172 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
28174 wxPyEndAllowThreads(__tstate
);
28175 if (PyErr_Occurred()) SWIG_fail
;
28178 resultobj
= wxPyMake_wxObject(result
, 0);
28186 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28187 PyObject
*resultobj
;
28188 wxWindow
*arg1
= (wxWindow
*) 0 ;
28190 PyObject
* obj0
= 0 ;
28191 char *kwnames
[] = {
28192 (char *) "self", NULL
28195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
28196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28197 if (SWIG_arg_fail(1)) SWIG_fail
;
28199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28200 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
28202 wxPyEndAllowThreads(__tstate
);
28203 if (PyErr_Occurred()) SWIG_fail
;
28206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28214 static PyObject
*_wrap_Window_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28215 PyObject
*resultobj
;
28216 wxWindow
*arg1
= (wxWindow
*) 0 ;
28217 wxWindow
*arg2
= (wxWindow
*) 0 ;
28219 PyObject
* obj0
= 0 ;
28220 PyObject
* obj1
= 0 ;
28221 char *kwnames
[] = {
28222 (char *) "self",(char *) "newParent", NULL
28225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
28226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28227 if (SWIG_arg_fail(1)) SWIG_fail
;
28228 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28229 if (SWIG_arg_fail(2)) SWIG_fail
;
28231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28232 result
= (bool)(arg1
)->Reparent(arg2
);
28234 wxPyEndAllowThreads(__tstate
);
28235 if (PyErr_Occurred()) SWIG_fail
;
28238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28246 static PyObject
*_wrap_Window_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28247 PyObject
*resultobj
;
28248 wxWindow
*arg1
= (wxWindow
*) 0 ;
28249 wxWindow
*arg2
= (wxWindow
*) 0 ;
28250 PyObject
* obj0
= 0 ;
28251 PyObject
* obj1
= 0 ;
28252 char *kwnames
[] = {
28253 (char *) "self",(char *) "child", NULL
28256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28258 if (SWIG_arg_fail(1)) SWIG_fail
;
28259 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28260 if (SWIG_arg_fail(2)) SWIG_fail
;
28262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28263 (arg1
)->AddChild(arg2
);
28265 wxPyEndAllowThreads(__tstate
);
28266 if (PyErr_Occurred()) SWIG_fail
;
28268 Py_INCREF(Py_None
); resultobj
= Py_None
;
28275 static PyObject
*_wrap_Window_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28276 PyObject
*resultobj
;
28277 wxWindow
*arg1
= (wxWindow
*) 0 ;
28278 wxWindow
*arg2
= (wxWindow
*) 0 ;
28279 PyObject
* obj0
= 0 ;
28280 PyObject
* obj1
= 0 ;
28281 char *kwnames
[] = {
28282 (char *) "self",(char *) "child", NULL
28285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28287 if (SWIG_arg_fail(1)) SWIG_fail
;
28288 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28289 if (SWIG_arg_fail(2)) SWIG_fail
;
28291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28292 (arg1
)->RemoveChild(arg2
);
28294 wxPyEndAllowThreads(__tstate
);
28295 if (PyErr_Occurred()) SWIG_fail
;
28297 Py_INCREF(Py_None
); resultobj
= Py_None
;
28304 static PyObject
*_wrap_Window_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28305 PyObject
*resultobj
;
28306 wxWindow
*arg1
= (wxWindow
*) 0 ;
28309 PyObject
* obj0
= 0 ;
28310 PyObject
* obj1
= 0 ;
28311 char *kwnames
[] = {
28312 (char *) "self",(char *) "winid", NULL
28315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
28316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28317 if (SWIG_arg_fail(1)) SWIG_fail
;
28319 arg2
= (long)(SWIG_As_long(obj1
));
28320 if (SWIG_arg_fail(2)) SWIG_fail
;
28323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28324 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
28326 wxPyEndAllowThreads(__tstate
);
28327 if (PyErr_Occurred()) SWIG_fail
;
28330 resultobj
= wxPyMake_wxObject(result
, 0);
28338 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28339 PyObject
*resultobj
;
28340 wxWindow
*arg1
= (wxWindow
*) 0 ;
28341 wxString
*arg2
= 0 ;
28343 bool temp2
= false ;
28344 PyObject
* obj0
= 0 ;
28345 PyObject
* obj1
= 0 ;
28346 char *kwnames
[] = {
28347 (char *) "self",(char *) "name", NULL
28350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
28351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28352 if (SWIG_arg_fail(1)) SWIG_fail
;
28354 arg2
= wxString_in_helper(obj1
);
28355 if (arg2
== NULL
) SWIG_fail
;
28359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28360 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
28362 wxPyEndAllowThreads(__tstate
);
28363 if (PyErr_Occurred()) SWIG_fail
;
28366 resultobj
= wxPyMake_wxObject(result
, 0);
28382 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28383 PyObject
*resultobj
;
28384 wxWindow
*arg1
= (wxWindow
*) 0 ;
28385 wxEvtHandler
*result
;
28386 PyObject
* obj0
= 0 ;
28387 char *kwnames
[] = {
28388 (char *) "self", NULL
28391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
28392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28393 if (SWIG_arg_fail(1)) SWIG_fail
;
28395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28396 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
28398 wxPyEndAllowThreads(__tstate
);
28399 if (PyErr_Occurred()) SWIG_fail
;
28402 resultobj
= wxPyMake_wxObject(result
, 0);
28410 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28411 PyObject
*resultobj
;
28412 wxWindow
*arg1
= (wxWindow
*) 0 ;
28413 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28414 PyObject
* obj0
= 0 ;
28415 PyObject
* obj1
= 0 ;
28416 char *kwnames
[] = {
28417 (char *) "self",(char *) "handler", NULL
28420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28422 if (SWIG_arg_fail(1)) SWIG_fail
;
28423 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28424 if (SWIG_arg_fail(2)) SWIG_fail
;
28426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28427 (arg1
)->SetEventHandler(arg2
);
28429 wxPyEndAllowThreads(__tstate
);
28430 if (PyErr_Occurred()) SWIG_fail
;
28432 Py_INCREF(Py_None
); resultobj
= Py_None
;
28439 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28440 PyObject
*resultobj
;
28441 wxWindow
*arg1
= (wxWindow
*) 0 ;
28442 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28443 PyObject
* obj0
= 0 ;
28444 PyObject
* obj1
= 0 ;
28445 char *kwnames
[] = {
28446 (char *) "self",(char *) "handler", NULL
28449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28451 if (SWIG_arg_fail(1)) SWIG_fail
;
28452 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28453 if (SWIG_arg_fail(2)) SWIG_fail
;
28455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28456 (arg1
)->PushEventHandler(arg2
);
28458 wxPyEndAllowThreads(__tstate
);
28459 if (PyErr_Occurred()) SWIG_fail
;
28461 Py_INCREF(Py_None
); resultobj
= Py_None
;
28468 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28469 PyObject
*resultobj
;
28470 wxWindow
*arg1
= (wxWindow
*) 0 ;
28471 bool arg2
= (bool) false ;
28472 wxEvtHandler
*result
;
28473 PyObject
* obj0
= 0 ;
28474 PyObject
* obj1
= 0 ;
28475 char *kwnames
[] = {
28476 (char *) "self",(char *) "deleteHandler", NULL
28479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28481 if (SWIG_arg_fail(1)) SWIG_fail
;
28484 arg2
= (bool)(SWIG_As_bool(obj1
));
28485 if (SWIG_arg_fail(2)) SWIG_fail
;
28489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28490 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
28492 wxPyEndAllowThreads(__tstate
);
28493 if (PyErr_Occurred()) SWIG_fail
;
28496 resultobj
= wxPyMake_wxObject(result
, 0);
28504 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28505 PyObject
*resultobj
;
28506 wxWindow
*arg1
= (wxWindow
*) 0 ;
28507 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28509 PyObject
* obj0
= 0 ;
28510 PyObject
* obj1
= 0 ;
28511 char *kwnames
[] = {
28512 (char *) "self",(char *) "handler", NULL
28515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28517 if (SWIG_arg_fail(1)) SWIG_fail
;
28518 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28519 if (SWIG_arg_fail(2)) SWIG_fail
;
28521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28522 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
28524 wxPyEndAllowThreads(__tstate
);
28525 if (PyErr_Occurred()) SWIG_fail
;
28528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28536 static PyObject
*_wrap_Window_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28537 PyObject
*resultobj
;
28538 wxWindow
*arg1
= (wxWindow
*) 0 ;
28539 wxValidator
*arg2
= 0 ;
28540 PyObject
* obj0
= 0 ;
28541 PyObject
* obj1
= 0 ;
28542 char *kwnames
[] = {
28543 (char *) "self",(char *) "validator", NULL
28546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
28547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28548 if (SWIG_arg_fail(1)) SWIG_fail
;
28550 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28551 if (SWIG_arg_fail(2)) SWIG_fail
;
28552 if (arg2
== NULL
) {
28553 SWIG_null_ref("wxValidator");
28555 if (SWIG_arg_fail(2)) SWIG_fail
;
28558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28559 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
28561 wxPyEndAllowThreads(__tstate
);
28562 if (PyErr_Occurred()) SWIG_fail
;
28564 Py_INCREF(Py_None
); resultobj
= Py_None
;
28571 static PyObject
*_wrap_Window_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28572 PyObject
*resultobj
;
28573 wxWindow
*arg1
= (wxWindow
*) 0 ;
28574 wxValidator
*result
;
28575 PyObject
* obj0
= 0 ;
28576 char *kwnames
[] = {
28577 (char *) "self", NULL
28580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
28581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28582 if (SWIG_arg_fail(1)) SWIG_fail
;
28584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28585 result
= (wxValidator
*)(arg1
)->GetValidator();
28587 wxPyEndAllowThreads(__tstate
);
28588 if (PyErr_Occurred()) SWIG_fail
;
28591 resultobj
= wxPyMake_wxObject(result
, 0);
28599 static PyObject
*_wrap_Window_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28600 PyObject
*resultobj
;
28601 wxWindow
*arg1
= (wxWindow
*) 0 ;
28603 PyObject
* obj0
= 0 ;
28604 char *kwnames
[] = {
28605 (char *) "self", NULL
28608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
28609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28610 if (SWIG_arg_fail(1)) SWIG_fail
;
28612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28613 result
= (bool)(arg1
)->Validate();
28615 wxPyEndAllowThreads(__tstate
);
28616 if (PyErr_Occurred()) SWIG_fail
;
28619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28627 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28628 PyObject
*resultobj
;
28629 wxWindow
*arg1
= (wxWindow
*) 0 ;
28631 PyObject
* obj0
= 0 ;
28632 char *kwnames
[] = {
28633 (char *) "self", NULL
28636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
28637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28638 if (SWIG_arg_fail(1)) SWIG_fail
;
28640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28641 result
= (bool)(arg1
)->TransferDataToWindow();
28643 wxPyEndAllowThreads(__tstate
);
28644 if (PyErr_Occurred()) SWIG_fail
;
28647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28655 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28656 PyObject
*resultobj
;
28657 wxWindow
*arg1
= (wxWindow
*) 0 ;
28659 PyObject
* obj0
= 0 ;
28660 char *kwnames
[] = {
28661 (char *) "self", NULL
28664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
28665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28666 if (SWIG_arg_fail(1)) SWIG_fail
;
28668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28669 result
= (bool)(arg1
)->TransferDataFromWindow();
28671 wxPyEndAllowThreads(__tstate
);
28672 if (PyErr_Occurred()) SWIG_fail
;
28675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28683 static PyObject
*_wrap_Window_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28684 PyObject
*resultobj
;
28685 wxWindow
*arg1
= (wxWindow
*) 0 ;
28686 PyObject
* obj0
= 0 ;
28687 char *kwnames
[] = {
28688 (char *) "self", NULL
28691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
28692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28693 if (SWIG_arg_fail(1)) SWIG_fail
;
28695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28696 (arg1
)->InitDialog();
28698 wxPyEndAllowThreads(__tstate
);
28699 if (PyErr_Occurred()) SWIG_fail
;
28701 Py_INCREF(Py_None
); resultobj
= Py_None
;
28708 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28709 PyObject
*resultobj
;
28710 wxWindow
*arg1
= (wxWindow
*) 0 ;
28711 wxAcceleratorTable
*arg2
= 0 ;
28712 PyObject
* obj0
= 0 ;
28713 PyObject
* obj1
= 0 ;
28714 char *kwnames
[] = {
28715 (char *) "self",(char *) "accel", NULL
28718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
28719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28720 if (SWIG_arg_fail(1)) SWIG_fail
;
28722 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
28723 if (SWIG_arg_fail(2)) SWIG_fail
;
28724 if (arg2
== NULL
) {
28725 SWIG_null_ref("wxAcceleratorTable");
28727 if (SWIG_arg_fail(2)) SWIG_fail
;
28730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28731 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
28733 wxPyEndAllowThreads(__tstate
);
28734 if (PyErr_Occurred()) SWIG_fail
;
28736 Py_INCREF(Py_None
); resultobj
= Py_None
;
28743 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28744 PyObject
*resultobj
;
28745 wxWindow
*arg1
= (wxWindow
*) 0 ;
28746 wxAcceleratorTable
*result
;
28747 PyObject
* obj0
= 0 ;
28748 char *kwnames
[] = {
28749 (char *) "self", NULL
28752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
28753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28754 if (SWIG_arg_fail(1)) SWIG_fail
;
28756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28757 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
28759 wxPyEndAllowThreads(__tstate
);
28760 if (PyErr_Occurred()) SWIG_fail
;
28762 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
28769 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28770 PyObject
*resultobj
;
28771 wxWindow
*arg1
= (wxWindow
*) 0 ;
28776 PyObject
* obj0
= 0 ;
28777 PyObject
* obj1
= 0 ;
28778 PyObject
* obj2
= 0 ;
28779 PyObject
* obj3
= 0 ;
28780 char *kwnames
[] = {
28781 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
28784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28786 if (SWIG_arg_fail(1)) SWIG_fail
;
28788 arg2
= (int)(SWIG_As_int(obj1
));
28789 if (SWIG_arg_fail(2)) SWIG_fail
;
28792 arg3
= (int)(SWIG_As_int(obj2
));
28793 if (SWIG_arg_fail(3)) SWIG_fail
;
28796 arg4
= (int)(SWIG_As_int(obj3
));
28797 if (SWIG_arg_fail(4)) SWIG_fail
;
28800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28801 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
28803 wxPyEndAllowThreads(__tstate
);
28804 if (PyErr_Occurred()) SWIG_fail
;
28807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28815 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28816 PyObject
*resultobj
;
28817 wxWindow
*arg1
= (wxWindow
*) 0 ;
28820 PyObject
* obj0
= 0 ;
28821 PyObject
* obj1
= 0 ;
28822 char *kwnames
[] = {
28823 (char *) "self",(char *) "hotkeyId", NULL
28826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
28827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28828 if (SWIG_arg_fail(1)) SWIG_fail
;
28830 arg2
= (int)(SWIG_As_int(obj1
));
28831 if (SWIG_arg_fail(2)) SWIG_fail
;
28834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28835 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
28837 wxPyEndAllowThreads(__tstate
);
28838 if (PyErr_Occurred()) SWIG_fail
;
28841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28849 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28850 PyObject
*resultobj
;
28851 wxWindow
*arg1
= (wxWindow
*) 0 ;
28852 wxPoint
*arg2
= 0 ;
28855 PyObject
* obj0
= 0 ;
28856 PyObject
* obj1
= 0 ;
28857 char *kwnames
[] = {
28858 (char *) "self",(char *) "pt", NULL
28861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28863 if (SWIG_arg_fail(1)) SWIG_fail
;
28866 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28870 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28872 wxPyEndAllowThreads(__tstate
);
28873 if (PyErr_Occurred()) SWIG_fail
;
28876 wxPoint
* resultptr
;
28877 resultptr
= new wxPoint((wxPoint
&)(result
));
28878 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28886 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28887 PyObject
*resultobj
;
28888 wxWindow
*arg1
= (wxWindow
*) 0 ;
28892 PyObject
* obj0
= 0 ;
28893 PyObject
* obj1
= 0 ;
28894 char *kwnames
[] = {
28895 (char *) "self",(char *) "sz", NULL
28898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28900 if (SWIG_arg_fail(1)) SWIG_fail
;
28903 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28907 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
28909 wxPyEndAllowThreads(__tstate
);
28910 if (PyErr_Occurred()) SWIG_fail
;
28913 wxSize
* resultptr
;
28914 resultptr
= new wxSize((wxSize
&)(result
));
28915 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28923 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28924 PyObject
*resultobj
;
28925 wxWindow
*arg1
= (wxWindow
*) 0 ;
28926 wxPoint
*arg2
= 0 ;
28929 PyObject
* obj0
= 0 ;
28930 PyObject
* obj1
= 0 ;
28931 char *kwnames
[] = {
28932 (char *) "self",(char *) "pt", NULL
28935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
28936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28937 if (SWIG_arg_fail(1)) SWIG_fail
;
28940 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28944 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28946 wxPyEndAllowThreads(__tstate
);
28947 if (PyErr_Occurred()) SWIG_fail
;
28950 wxPoint
* resultptr
;
28951 resultptr
= new wxPoint((wxPoint
&)(result
));
28952 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28960 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28961 PyObject
*resultobj
;
28962 wxWindow
*arg1
= (wxWindow
*) 0 ;
28966 PyObject
* obj0
= 0 ;
28967 PyObject
* obj1
= 0 ;
28968 char *kwnames
[] = {
28969 (char *) "self",(char *) "sz", NULL
28972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
28973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28974 if (SWIG_arg_fail(1)) SWIG_fail
;
28977 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28981 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
28983 wxPyEndAllowThreads(__tstate
);
28984 if (PyErr_Occurred()) SWIG_fail
;
28987 wxSize
* resultptr
;
28988 resultptr
= new wxSize((wxSize
&)(result
));
28989 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28997 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28998 PyObject
*resultobj
;
28999 wxWindow
*arg1
= (wxWindow
*) 0 ;
29000 wxPoint
*arg2
= 0 ;
29003 PyObject
* obj0
= 0 ;
29004 PyObject
* obj1
= 0 ;
29005 char *kwnames
[] = {
29006 (char *) "self",(char *) "pt", NULL
29009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
29010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29011 if (SWIG_arg_fail(1)) SWIG_fail
;
29014 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29018 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
29020 wxPyEndAllowThreads(__tstate
);
29021 if (PyErr_Occurred()) SWIG_fail
;
29024 wxPoint
* resultptr
;
29025 resultptr
= new wxPoint((wxPoint
&)(result
));
29026 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29034 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29035 PyObject
*resultobj
;
29036 wxWindow
*arg1
= (wxWindow
*) 0 ;
29040 PyObject
* obj0
= 0 ;
29041 PyObject
* obj1
= 0 ;
29042 char *kwnames
[] = {
29043 (char *) "self",(char *) "sz", NULL
29046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
29047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29048 if (SWIG_arg_fail(1)) SWIG_fail
;
29051 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29055 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
29057 wxPyEndAllowThreads(__tstate
);
29058 if (PyErr_Occurred()) SWIG_fail
;
29061 wxSize
* resultptr
;
29062 resultptr
= new wxSize((wxSize
&)(result
));
29063 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29071 static PyObject
*_wrap_Window_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29072 PyObject
*resultobj
;
29073 wxWindow
*arg1
= (wxWindow
*) 0 ;
29076 PyObject
* obj0
= 0 ;
29077 PyObject
* obj1
= 0 ;
29078 PyObject
* obj2
= 0 ;
29079 char *kwnames
[] = {
29080 (char *) "self",(char *) "x",(char *) "y", NULL
29083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29085 if (SWIG_arg_fail(1)) SWIG_fail
;
29087 arg2
= (int)(SWIG_As_int(obj1
));
29088 if (SWIG_arg_fail(2)) SWIG_fail
;
29091 arg3
= (int)(SWIG_As_int(obj2
));
29092 if (SWIG_arg_fail(3)) SWIG_fail
;
29095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29096 (arg1
)->WarpPointer(arg2
,arg3
);
29098 wxPyEndAllowThreads(__tstate
);
29099 if (PyErr_Occurred()) SWIG_fail
;
29101 Py_INCREF(Py_None
); resultobj
= Py_None
;
29108 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29109 PyObject
*resultobj
;
29110 wxWindow
*arg1
= (wxWindow
*) 0 ;
29111 PyObject
* obj0
= 0 ;
29112 char *kwnames
[] = {
29113 (char *) "self", NULL
29116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
29117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29118 if (SWIG_arg_fail(1)) SWIG_fail
;
29120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29121 (arg1
)->CaptureMouse();
29123 wxPyEndAllowThreads(__tstate
);
29124 if (PyErr_Occurred()) SWIG_fail
;
29126 Py_INCREF(Py_None
); resultobj
= Py_None
;
29133 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29134 PyObject
*resultobj
;
29135 wxWindow
*arg1
= (wxWindow
*) 0 ;
29136 PyObject
* obj0
= 0 ;
29137 char *kwnames
[] = {
29138 (char *) "self", NULL
29141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
29142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29143 if (SWIG_arg_fail(1)) SWIG_fail
;
29145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29146 (arg1
)->ReleaseMouse();
29148 wxPyEndAllowThreads(__tstate
);
29149 if (PyErr_Occurred()) SWIG_fail
;
29151 Py_INCREF(Py_None
); resultobj
= Py_None
;
29158 static PyObject
*_wrap_Window_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29159 PyObject
*resultobj
;
29161 char *kwnames
[] = {
29165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
29167 if (!wxPyCheckForApp()) SWIG_fail
;
29168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29169 result
= (wxWindow
*)wxWindow::GetCapture();
29171 wxPyEndAllowThreads(__tstate
);
29172 if (PyErr_Occurred()) SWIG_fail
;
29175 resultobj
= wxPyMake_wxObject(result
, 0);
29183 static PyObject
*_wrap_Window_HasCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29184 PyObject
*resultobj
;
29185 wxWindow
*arg1
= (wxWindow
*) 0 ;
29187 PyObject
* obj0
= 0 ;
29188 char *kwnames
[] = {
29189 (char *) "self", NULL
29192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
29193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29194 if (SWIG_arg_fail(1)) SWIG_fail
;
29196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29197 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
29199 wxPyEndAllowThreads(__tstate
);
29200 if (PyErr_Occurred()) SWIG_fail
;
29203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29211 static PyObject
*_wrap_Window_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29212 PyObject
*resultobj
;
29213 wxWindow
*arg1
= (wxWindow
*) 0 ;
29214 bool arg2
= (bool) true ;
29215 wxRect
*arg3
= (wxRect
*) NULL
;
29216 PyObject
* obj0
= 0 ;
29217 PyObject
* obj1
= 0 ;
29218 PyObject
* obj2
= 0 ;
29219 char *kwnames
[] = {
29220 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
29223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29225 if (SWIG_arg_fail(1)) SWIG_fail
;
29228 arg2
= (bool)(SWIG_As_bool(obj1
));
29229 if (SWIG_arg_fail(2)) SWIG_fail
;
29233 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
29234 if (SWIG_arg_fail(3)) SWIG_fail
;
29237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29238 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
29240 wxPyEndAllowThreads(__tstate
);
29241 if (PyErr_Occurred()) SWIG_fail
;
29243 Py_INCREF(Py_None
); resultobj
= Py_None
;
29250 static PyObject
*_wrap_Window_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29251 PyObject
*resultobj
;
29252 wxWindow
*arg1
= (wxWindow
*) 0 ;
29254 bool arg3
= (bool) true ;
29256 PyObject
* obj0
= 0 ;
29257 PyObject
* obj1
= 0 ;
29258 PyObject
* obj2
= 0 ;
29259 char *kwnames
[] = {
29260 (char *) "self",(char *) "rect",(char *) "eraseBackground", NULL
29263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_RefreshRect",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 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29272 arg3
= (bool)(SWIG_As_bool(obj2
));
29273 if (SWIG_arg_fail(3)) SWIG_fail
;
29277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29278 (arg1
)->RefreshRect((wxRect
const &)*arg2
,arg3
);
29280 wxPyEndAllowThreads(__tstate
);
29281 if (PyErr_Occurred()) SWIG_fail
;
29283 Py_INCREF(Py_None
); resultobj
= Py_None
;
29290 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29291 PyObject
*resultobj
;
29292 wxWindow
*arg1
= (wxWindow
*) 0 ;
29293 PyObject
* obj0
= 0 ;
29294 char *kwnames
[] = {
29295 (char *) "self", NULL
29298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
29299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29300 if (SWIG_arg_fail(1)) SWIG_fail
;
29302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29305 wxPyEndAllowThreads(__tstate
);
29306 if (PyErr_Occurred()) SWIG_fail
;
29308 Py_INCREF(Py_None
); resultobj
= Py_None
;
29315 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29316 PyObject
*resultobj
;
29317 wxWindow
*arg1
= (wxWindow
*) 0 ;
29318 PyObject
* obj0
= 0 ;
29319 char *kwnames
[] = {
29320 (char *) "self", NULL
29323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
29324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29325 if (SWIG_arg_fail(1)) SWIG_fail
;
29327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29328 (arg1
)->ClearBackground();
29330 wxPyEndAllowThreads(__tstate
);
29331 if (PyErr_Occurred()) SWIG_fail
;
29333 Py_INCREF(Py_None
); resultobj
= Py_None
;
29340 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29341 PyObject
*resultobj
;
29342 wxWindow
*arg1
= (wxWindow
*) 0 ;
29343 PyObject
* obj0
= 0 ;
29344 char *kwnames
[] = {
29345 (char *) "self", NULL
29348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
29349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29350 if (SWIG_arg_fail(1)) SWIG_fail
;
29352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29355 wxPyEndAllowThreads(__tstate
);
29356 if (PyErr_Occurred()) SWIG_fail
;
29358 Py_INCREF(Py_None
); resultobj
= Py_None
;
29365 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29366 PyObject
*resultobj
;
29367 wxWindow
*arg1
= (wxWindow
*) 0 ;
29368 PyObject
* obj0
= 0 ;
29369 char *kwnames
[] = {
29370 (char *) "self", NULL
29373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
29374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29375 if (SWIG_arg_fail(1)) SWIG_fail
;
29377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29380 wxPyEndAllowThreads(__tstate
);
29381 if (PyErr_Occurred()) SWIG_fail
;
29383 Py_INCREF(Py_None
); resultobj
= Py_None
;
29390 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29391 PyObject
*resultobj
;
29392 wxWindow
*arg1
= (wxWindow
*) 0 ;
29394 PyObject
* obj0
= 0 ;
29395 PyObject
* obj1
= 0 ;
29396 char *kwnames
[] = {
29397 (char *) "self",(char *) "dc", NULL
29400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
29401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29402 if (SWIG_arg_fail(1)) SWIG_fail
;
29404 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
29405 if (SWIG_arg_fail(2)) SWIG_fail
;
29406 if (arg2
== NULL
) {
29407 SWIG_null_ref("wxDC");
29409 if (SWIG_arg_fail(2)) SWIG_fail
;
29412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29413 (arg1
)->PrepareDC(*arg2
);
29415 wxPyEndAllowThreads(__tstate
);
29416 if (PyErr_Occurred()) SWIG_fail
;
29418 Py_INCREF(Py_None
); resultobj
= Py_None
;
29425 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29426 PyObject
*resultobj
;
29427 wxWindow
*arg1
= (wxWindow
*) 0 ;
29429 PyObject
* obj0
= 0 ;
29430 char *kwnames
[] = {
29431 (char *) "self", NULL
29434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
29435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29436 if (SWIG_arg_fail(1)) SWIG_fail
;
29438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29440 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
29441 result
= (wxRegion
*) &_result_ref
;
29444 wxPyEndAllowThreads(__tstate
);
29445 if (PyErr_Occurred()) SWIG_fail
;
29447 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
29454 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29455 PyObject
*resultobj
;
29456 wxWindow
*arg1
= (wxWindow
*) 0 ;
29458 PyObject
* obj0
= 0 ;
29459 char *kwnames
[] = {
29460 (char *) "self", NULL
29463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
29464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29465 if (SWIG_arg_fail(1)) SWIG_fail
;
29467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29468 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
29470 wxPyEndAllowThreads(__tstate
);
29471 if (PyErr_Occurred()) SWIG_fail
;
29474 wxRect
* resultptr
;
29475 resultptr
= new wxRect((wxRect
&)(result
));
29476 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
29484 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29485 PyObject
*resultobj
;
29486 wxWindow
*arg1
= (wxWindow
*) 0 ;
29489 int arg4
= (int) 1 ;
29490 int arg5
= (int) 1 ;
29492 PyObject
* obj0
= 0 ;
29493 PyObject
* obj1
= 0 ;
29494 PyObject
* obj2
= 0 ;
29495 PyObject
* obj3
= 0 ;
29496 PyObject
* obj4
= 0 ;
29497 char *kwnames
[] = {
29498 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29503 if (SWIG_arg_fail(1)) SWIG_fail
;
29505 arg2
= (int)(SWIG_As_int(obj1
));
29506 if (SWIG_arg_fail(2)) SWIG_fail
;
29509 arg3
= (int)(SWIG_As_int(obj2
));
29510 if (SWIG_arg_fail(3)) SWIG_fail
;
29514 arg4
= (int)(SWIG_As_int(obj3
));
29515 if (SWIG_arg_fail(4)) SWIG_fail
;
29520 arg5
= (int)(SWIG_As_int(obj4
));
29521 if (SWIG_arg_fail(5)) SWIG_fail
;
29525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29526 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
29528 wxPyEndAllowThreads(__tstate
);
29529 if (PyErr_Occurred()) SWIG_fail
;
29532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29540 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29541 PyObject
*resultobj
;
29542 wxWindow
*arg1
= (wxWindow
*) 0 ;
29543 wxPoint
*arg2
= 0 ;
29546 PyObject
* obj0
= 0 ;
29547 PyObject
* obj1
= 0 ;
29548 char *kwnames
[] = {
29549 (char *) "self",(char *) "pt", NULL
29552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
29553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29554 if (SWIG_arg_fail(1)) SWIG_fail
;
29557 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29561 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
29563 wxPyEndAllowThreads(__tstate
);
29564 if (PyErr_Occurred()) SWIG_fail
;
29567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29575 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29576 PyObject
*resultobj
;
29577 wxWindow
*arg1
= (wxWindow
*) 0 ;
29581 PyObject
* obj0
= 0 ;
29582 PyObject
* obj1
= 0 ;
29583 char *kwnames
[] = {
29584 (char *) "self",(char *) "rect", NULL
29587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
29588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29589 if (SWIG_arg_fail(1)) SWIG_fail
;
29592 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29596 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
29598 wxPyEndAllowThreads(__tstate
);
29599 if (PyErr_Occurred()) SWIG_fail
;
29602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29610 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29611 PyObject
*resultobj
;
29612 wxWindow
*arg1
= (wxWindow
*) 0 ;
29613 wxVisualAttributes result
;
29614 PyObject
* obj0
= 0 ;
29615 char *kwnames
[] = {
29616 (char *) "self", NULL
29619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29621 if (SWIG_arg_fail(1)) SWIG_fail
;
29623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29624 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
29626 wxPyEndAllowThreads(__tstate
);
29627 if (PyErr_Occurred()) SWIG_fail
;
29630 wxVisualAttributes
* resultptr
;
29631 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
29632 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29640 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29641 PyObject
*resultobj
;
29642 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
29643 wxVisualAttributes result
;
29644 PyObject
* obj0
= 0 ;
29645 char *kwnames
[] = {
29646 (char *) "variant", NULL
29649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29652 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
29653 if (SWIG_arg_fail(1)) SWIG_fail
;
29657 if (!wxPyCheckForApp()) SWIG_fail
;
29658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29659 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
29661 wxPyEndAllowThreads(__tstate
);
29662 if (PyErr_Occurred()) SWIG_fail
;
29665 wxVisualAttributes
* resultptr
;
29666 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
29667 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29675 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29676 PyObject
*resultobj
;
29677 wxWindow
*arg1
= (wxWindow
*) 0 ;
29678 wxColour
*arg2
= 0 ;
29681 PyObject
* obj0
= 0 ;
29682 PyObject
* obj1
= 0 ;
29683 char *kwnames
[] = {
29684 (char *) "self",(char *) "colour", NULL
29687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29689 if (SWIG_arg_fail(1)) SWIG_fail
;
29692 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29696 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
29698 wxPyEndAllowThreads(__tstate
);
29699 if (PyErr_Occurred()) SWIG_fail
;
29702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29710 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29711 PyObject
*resultobj
;
29712 wxWindow
*arg1
= (wxWindow
*) 0 ;
29713 wxColour
*arg2
= 0 ;
29715 PyObject
* obj0
= 0 ;
29716 PyObject
* obj1
= 0 ;
29717 char *kwnames
[] = {
29718 (char *) "self",(char *) "colour", NULL
29721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29723 if (SWIG_arg_fail(1)) SWIG_fail
;
29726 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29730 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
29732 wxPyEndAllowThreads(__tstate
);
29733 if (PyErr_Occurred()) SWIG_fail
;
29735 Py_INCREF(Py_None
); resultobj
= Py_None
;
29742 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29743 PyObject
*resultobj
;
29744 wxWindow
*arg1
= (wxWindow
*) 0 ;
29745 wxColour
*arg2
= 0 ;
29748 PyObject
* obj0
= 0 ;
29749 PyObject
* obj1
= 0 ;
29750 char *kwnames
[] = {
29751 (char *) "self",(char *) "colour", NULL
29754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29756 if (SWIG_arg_fail(1)) SWIG_fail
;
29759 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29763 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
29765 wxPyEndAllowThreads(__tstate
);
29766 if (PyErr_Occurred()) SWIG_fail
;
29769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29777 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29778 PyObject
*resultobj
;
29779 wxWindow
*arg1
= (wxWindow
*) 0 ;
29780 wxColour
*arg2
= 0 ;
29782 PyObject
* obj0
= 0 ;
29783 PyObject
* obj1
= 0 ;
29784 char *kwnames
[] = {
29785 (char *) "self",(char *) "colour", NULL
29788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29790 if (SWIG_arg_fail(1)) SWIG_fail
;
29793 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29797 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
29799 wxPyEndAllowThreads(__tstate
);
29800 if (PyErr_Occurred()) SWIG_fail
;
29802 Py_INCREF(Py_None
); resultobj
= Py_None
;
29809 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29810 PyObject
*resultobj
;
29811 wxWindow
*arg1
= (wxWindow
*) 0 ;
29813 PyObject
* obj0
= 0 ;
29814 char *kwnames
[] = {
29815 (char *) "self", NULL
29818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
29819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29820 if (SWIG_arg_fail(1)) SWIG_fail
;
29822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29823 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
29825 wxPyEndAllowThreads(__tstate
);
29826 if (PyErr_Occurred()) SWIG_fail
;
29829 wxColour
* resultptr
;
29830 resultptr
= new wxColour((wxColour
&)(result
));
29831 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29839 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29840 PyObject
*resultobj
;
29841 wxWindow
*arg1
= (wxWindow
*) 0 ;
29843 PyObject
* obj0
= 0 ;
29844 char *kwnames
[] = {
29845 (char *) "self", NULL
29848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
29849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29850 if (SWIG_arg_fail(1)) SWIG_fail
;
29852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29853 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
29855 wxPyEndAllowThreads(__tstate
);
29856 if (PyErr_Occurred()) SWIG_fail
;
29859 wxColour
* resultptr
;
29860 resultptr
= new wxColour((wxColour
&)(result
));
29861 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29869 static PyObject
*_wrap_Window_InheritsBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29870 PyObject
*resultobj
;
29871 wxWindow
*arg1
= (wxWindow
*) 0 ;
29873 PyObject
* obj0
= 0 ;
29874 char *kwnames
[] = {
29875 (char *) "self", NULL
29878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritsBackgroundColour",kwnames
,&obj0
)) goto fail
;
29879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29880 if (SWIG_arg_fail(1)) SWIG_fail
;
29882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29883 result
= (bool)((wxWindow
const *)arg1
)->InheritsBackgroundColour();
29885 wxPyEndAllowThreads(__tstate
);
29886 if (PyErr_Occurred()) SWIG_fail
;
29889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29897 static PyObject
*_wrap_Window_UseBgCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29898 PyObject
*resultobj
;
29899 wxWindow
*arg1
= (wxWindow
*) 0 ;
29901 PyObject
* obj0
= 0 ;
29902 char *kwnames
[] = {
29903 (char *) "self", NULL
29906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_UseBgCol",kwnames
,&obj0
)) goto fail
;
29907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29908 if (SWIG_arg_fail(1)) SWIG_fail
;
29910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29911 result
= (bool)((wxWindow
const *)arg1
)->UseBgCol();
29913 wxPyEndAllowThreads(__tstate
);
29914 if (PyErr_Occurred()) SWIG_fail
;
29917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29925 static PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29926 PyObject
*resultobj
;
29927 wxWindow
*arg1
= (wxWindow
*) 0 ;
29928 wxBackgroundStyle arg2
;
29930 PyObject
* obj0
= 0 ;
29931 PyObject
* obj1
= 0 ;
29932 char *kwnames
[] = {
29933 (char *) "self",(char *) "style", NULL
29936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
29937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29938 if (SWIG_arg_fail(1)) SWIG_fail
;
29940 arg2
= (wxBackgroundStyle
)(SWIG_As_int(obj1
));
29941 if (SWIG_arg_fail(2)) SWIG_fail
;
29944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29945 result
= (bool)(arg1
)->SetBackgroundStyle((wxBackgroundStyle
)arg2
);
29947 wxPyEndAllowThreads(__tstate
);
29948 if (PyErr_Occurred()) SWIG_fail
;
29951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29959 static PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29960 PyObject
*resultobj
;
29961 wxWindow
*arg1
= (wxWindow
*) 0 ;
29962 wxBackgroundStyle result
;
29963 PyObject
* obj0
= 0 ;
29964 char *kwnames
[] = {
29965 (char *) "self", NULL
29968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundStyle",kwnames
,&obj0
)) goto fail
;
29969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29970 if (SWIG_arg_fail(1)) SWIG_fail
;
29972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29973 result
= (wxBackgroundStyle
)((wxWindow
const *)arg1
)->GetBackgroundStyle();
29975 wxPyEndAllowThreads(__tstate
);
29976 if (PyErr_Occurred()) SWIG_fail
;
29978 resultobj
= SWIG_From_int((result
));
29985 static PyObject
*_wrap_Window_HasTransparentBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29986 PyObject
*resultobj
;
29987 wxWindow
*arg1
= (wxWindow
*) 0 ;
29989 PyObject
* obj0
= 0 ;
29990 char *kwnames
[] = {
29991 (char *) "self", NULL
29994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasTransparentBackground",kwnames
,&obj0
)) goto fail
;
29995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29996 if (SWIG_arg_fail(1)) SWIG_fail
;
29998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29999 result
= (bool)(arg1
)->HasTransparentBackground();
30001 wxPyEndAllowThreads(__tstate
);
30002 if (PyErr_Occurred()) SWIG_fail
;
30005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30013 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30014 PyObject
*resultobj
;
30015 wxWindow
*arg1
= (wxWindow
*) 0 ;
30016 wxCursor
*arg2
= 0 ;
30018 PyObject
* obj0
= 0 ;
30019 PyObject
* obj1
= 0 ;
30020 char *kwnames
[] = {
30021 (char *) "self",(char *) "cursor", NULL
30024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
30025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30026 if (SWIG_arg_fail(1)) SWIG_fail
;
30028 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
30029 if (SWIG_arg_fail(2)) SWIG_fail
;
30030 if (arg2
== NULL
) {
30031 SWIG_null_ref("wxCursor");
30033 if (SWIG_arg_fail(2)) SWIG_fail
;
30036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30037 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
30039 wxPyEndAllowThreads(__tstate
);
30040 if (PyErr_Occurred()) SWIG_fail
;
30043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30051 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30052 PyObject
*resultobj
;
30053 wxWindow
*arg1
= (wxWindow
*) 0 ;
30055 PyObject
* obj0
= 0 ;
30056 char *kwnames
[] = {
30057 (char *) "self", NULL
30060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
30061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30062 if (SWIG_arg_fail(1)) SWIG_fail
;
30064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30065 result
= (arg1
)->GetCursor();
30067 wxPyEndAllowThreads(__tstate
);
30068 if (PyErr_Occurred()) SWIG_fail
;
30071 wxCursor
* resultptr
;
30072 resultptr
= new wxCursor((wxCursor
&)(result
));
30073 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
30081 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30082 PyObject
*resultobj
;
30083 wxWindow
*arg1
= (wxWindow
*) 0 ;
30086 PyObject
* obj0
= 0 ;
30087 PyObject
* obj1
= 0 ;
30088 char *kwnames
[] = {
30089 (char *) "self",(char *) "font", NULL
30092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
30093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30094 if (SWIG_arg_fail(1)) SWIG_fail
;
30096 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30097 if (SWIG_arg_fail(2)) SWIG_fail
;
30098 if (arg2
== NULL
) {
30099 SWIG_null_ref("wxFont");
30101 if (SWIG_arg_fail(2)) SWIG_fail
;
30104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30105 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
30107 wxPyEndAllowThreads(__tstate
);
30108 if (PyErr_Occurred()) SWIG_fail
;
30111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30119 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30120 PyObject
*resultobj
;
30121 wxWindow
*arg1
= (wxWindow
*) 0 ;
30123 PyObject
* obj0
= 0 ;
30124 PyObject
* obj1
= 0 ;
30125 char *kwnames
[] = {
30126 (char *) "self",(char *) "font", NULL
30129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
30130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30131 if (SWIG_arg_fail(1)) SWIG_fail
;
30133 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30134 if (SWIG_arg_fail(2)) SWIG_fail
;
30135 if (arg2
== NULL
) {
30136 SWIG_null_ref("wxFont");
30138 if (SWIG_arg_fail(2)) SWIG_fail
;
30141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30142 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
30144 wxPyEndAllowThreads(__tstate
);
30145 if (PyErr_Occurred()) SWIG_fail
;
30147 Py_INCREF(Py_None
); resultobj
= Py_None
;
30154 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30155 PyObject
*resultobj
;
30156 wxWindow
*arg1
= (wxWindow
*) 0 ;
30158 PyObject
* obj0
= 0 ;
30159 char *kwnames
[] = {
30160 (char *) "self", NULL
30163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
30164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30165 if (SWIG_arg_fail(1)) SWIG_fail
;
30167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30168 result
= (arg1
)->GetFont();
30170 wxPyEndAllowThreads(__tstate
);
30171 if (PyErr_Occurred()) SWIG_fail
;
30174 wxFont
* resultptr
;
30175 resultptr
= new wxFont((wxFont
&)(result
));
30176 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
30184 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30185 PyObject
*resultobj
;
30186 wxWindow
*arg1
= (wxWindow
*) 0 ;
30187 wxCaret
*arg2
= (wxCaret
*) 0 ;
30188 PyObject
* obj0
= 0 ;
30189 PyObject
* obj1
= 0 ;
30190 char *kwnames
[] = {
30191 (char *) "self",(char *) "caret", NULL
30194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
30195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30196 if (SWIG_arg_fail(1)) SWIG_fail
;
30197 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
30198 if (SWIG_arg_fail(2)) SWIG_fail
;
30200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30201 (arg1
)->SetCaret(arg2
);
30203 wxPyEndAllowThreads(__tstate
);
30204 if (PyErr_Occurred()) SWIG_fail
;
30206 Py_INCREF(Py_None
); resultobj
= Py_None
;
30213 static PyObject
*_wrap_Window_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30214 PyObject
*resultobj
;
30215 wxWindow
*arg1
= (wxWindow
*) 0 ;
30217 PyObject
* obj0
= 0 ;
30218 char *kwnames
[] = {
30219 (char *) "self", NULL
30222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
30223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30224 if (SWIG_arg_fail(1)) SWIG_fail
;
30226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30227 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
30229 wxPyEndAllowThreads(__tstate
);
30230 if (PyErr_Occurred()) SWIG_fail
;
30232 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
30239 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30240 PyObject
*resultobj
;
30241 wxWindow
*arg1
= (wxWindow
*) 0 ;
30243 PyObject
* obj0
= 0 ;
30244 char *kwnames
[] = {
30245 (char *) "self", NULL
30248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
30249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30250 if (SWIG_arg_fail(1)) SWIG_fail
;
30252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30253 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
30255 wxPyEndAllowThreads(__tstate
);
30256 if (PyErr_Occurred()) SWIG_fail
;
30259 resultobj
= SWIG_From_int((int)(result
));
30267 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30268 PyObject
*resultobj
;
30269 wxWindow
*arg1
= (wxWindow
*) 0 ;
30271 PyObject
* obj0
= 0 ;
30272 char *kwnames
[] = {
30273 (char *) "self", NULL
30276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
30277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30278 if (SWIG_arg_fail(1)) SWIG_fail
;
30280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30281 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
30283 wxPyEndAllowThreads(__tstate
);
30284 if (PyErr_Occurred()) SWIG_fail
;
30287 resultobj
= SWIG_From_int((int)(result
));
30295 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30296 PyObject
*resultobj
;
30297 wxWindow
*arg1
= (wxWindow
*) 0 ;
30298 wxString
*arg2
= 0 ;
30299 int *arg3
= (int *) 0 ;
30300 int *arg4
= (int *) 0 ;
30301 bool temp2
= false ;
30306 PyObject
* obj0
= 0 ;
30307 PyObject
* obj1
= 0 ;
30308 char *kwnames
[] = {
30309 (char *) "self",(char *) "string", NULL
30312 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30313 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
30314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
30315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30316 if (SWIG_arg_fail(1)) SWIG_fail
;
30318 arg2
= wxString_in_helper(obj1
);
30319 if (arg2
== NULL
) SWIG_fail
;
30323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30324 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
30326 wxPyEndAllowThreads(__tstate
);
30327 if (PyErr_Occurred()) SWIG_fail
;
30329 Py_INCREF(Py_None
); resultobj
= Py_None
;
30330 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30331 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30332 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
30333 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
30348 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30349 PyObject
*resultobj
;
30350 wxWindow
*arg1
= (wxWindow
*) 0 ;
30351 wxString
*arg2
= 0 ;
30352 int *arg3
= (int *) 0 ;
30353 int *arg4
= (int *) 0 ;
30354 int *arg5
= (int *) 0 ;
30355 int *arg6
= (int *) 0 ;
30356 wxFont
*arg7
= (wxFont
*) NULL
;
30357 bool temp2
= false ;
30366 PyObject
* obj0
= 0 ;
30367 PyObject
* obj1
= 0 ;
30368 PyObject
* obj2
= 0 ;
30369 char *kwnames
[] = {
30370 (char *) "self",(char *) "string",(char *) "font", NULL
30373 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30374 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
30375 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
30376 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
30377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30379 if (SWIG_arg_fail(1)) SWIG_fail
;
30381 arg2
= wxString_in_helper(obj1
);
30382 if (arg2
== NULL
) SWIG_fail
;
30386 SWIG_Python_ConvertPtr(obj2
, (void **)&arg7
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30387 if (SWIG_arg_fail(7)) SWIG_fail
;
30390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30391 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
30393 wxPyEndAllowThreads(__tstate
);
30394 if (PyErr_Occurred()) SWIG_fail
;
30396 Py_INCREF(Py_None
); resultobj
= Py_None
;
30397 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30398 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30399 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
30400 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
30401 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
30402 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
30403 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
30404 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
30419 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30420 PyObject
*resultobj
;
30421 wxWindow
*arg1
= (wxWindow
*) 0 ;
30422 int *arg2
= (int *) 0 ;
30423 int *arg3
= (int *) 0 ;
30428 PyObject
* obj0
= 0 ;
30429 PyObject
* obj1
= 0 ;
30430 PyObject
* obj2
= 0 ;
30431 char *kwnames
[] = {
30432 (char *) "self",(char *) "x",(char *) "y", NULL
30435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30437 if (SWIG_arg_fail(1)) SWIG_fail
;
30439 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
30440 temp2
= SWIG_As_int(obj1
);
30441 if (SWIG_arg_fail(2)) SWIG_fail
;
30443 res2
= SWIG_NEWOBJ
;
30447 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
30448 temp3
= SWIG_As_int(obj2
);
30449 if (SWIG_arg_fail(3)) SWIG_fail
;
30451 res3
= SWIG_NEWOBJ
;
30455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30456 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
30458 wxPyEndAllowThreads(__tstate
);
30459 if (PyErr_Occurred()) SWIG_fail
;
30461 Py_INCREF(Py_None
); resultobj
= Py_None
;
30462 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30463 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30464 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30465 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30472 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30473 PyObject
*resultobj
;
30474 wxWindow
*arg1
= (wxWindow
*) 0 ;
30475 int *arg2
= (int *) 0 ;
30476 int *arg3
= (int *) 0 ;
30481 PyObject
* obj0
= 0 ;
30482 PyObject
* obj1
= 0 ;
30483 PyObject
* obj2
= 0 ;
30484 char *kwnames
[] = {
30485 (char *) "self",(char *) "x",(char *) "y", NULL
30488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30490 if (SWIG_arg_fail(1)) SWIG_fail
;
30492 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
30493 temp2
= SWIG_As_int(obj1
);
30494 if (SWIG_arg_fail(2)) SWIG_fail
;
30496 res2
= SWIG_NEWOBJ
;
30500 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
30501 temp3
= SWIG_As_int(obj2
);
30502 if (SWIG_arg_fail(3)) SWIG_fail
;
30504 res3
= SWIG_NEWOBJ
;
30508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30509 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
30511 wxPyEndAllowThreads(__tstate
);
30512 if (PyErr_Occurred()) SWIG_fail
;
30514 Py_INCREF(Py_None
); resultobj
= Py_None
;
30515 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30516 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30517 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30518 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30525 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30526 PyObject
*resultobj
;
30527 wxWindow
*arg1
= (wxWindow
*) 0 ;
30528 wxPoint
*arg2
= 0 ;
30531 PyObject
* obj0
= 0 ;
30532 PyObject
* obj1
= 0 ;
30533 char *kwnames
[] = {
30534 (char *) "self",(char *) "pt", NULL
30537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
30538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30539 if (SWIG_arg_fail(1)) SWIG_fail
;
30542 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30546 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
30548 wxPyEndAllowThreads(__tstate
);
30549 if (PyErr_Occurred()) SWIG_fail
;
30552 wxPoint
* resultptr
;
30553 resultptr
= new wxPoint((wxPoint
&)(result
));
30554 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30562 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30563 PyObject
*resultobj
;
30564 wxWindow
*arg1
= (wxWindow
*) 0 ;
30565 wxPoint
*arg2
= 0 ;
30568 PyObject
* obj0
= 0 ;
30569 PyObject
* obj1
= 0 ;
30570 char *kwnames
[] = {
30571 (char *) "self",(char *) "pt", NULL
30574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
30575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30576 if (SWIG_arg_fail(1)) SWIG_fail
;
30579 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30583 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
30585 wxPyEndAllowThreads(__tstate
);
30586 if (PyErr_Occurred()) SWIG_fail
;
30589 wxPoint
* resultptr
;
30590 resultptr
= new wxPoint((wxPoint
&)(result
));
30591 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30599 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30600 PyObject
*resultobj
;
30601 wxWindow
*arg1
= (wxWindow
*) 0 ;
30605 PyObject
* obj0
= 0 ;
30606 PyObject
* obj1
= 0 ;
30607 PyObject
* obj2
= 0 ;
30608 char *kwnames
[] = {
30609 (char *) "self",(char *) "x",(char *) "y", NULL
30612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30614 if (SWIG_arg_fail(1)) SWIG_fail
;
30616 arg2
= (int)(SWIG_As_int(obj1
));
30617 if (SWIG_arg_fail(2)) SWIG_fail
;
30620 arg3
= (int)(SWIG_As_int(obj2
));
30621 if (SWIG_arg_fail(3)) SWIG_fail
;
30624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30625 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
30627 wxPyEndAllowThreads(__tstate
);
30628 if (PyErr_Occurred()) SWIG_fail
;
30630 resultobj
= SWIG_From_int((result
));
30637 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30638 PyObject
*resultobj
;
30639 wxWindow
*arg1
= (wxWindow
*) 0 ;
30640 wxPoint
*arg2
= 0 ;
30643 PyObject
* obj0
= 0 ;
30644 PyObject
* obj1
= 0 ;
30645 char *kwnames
[] = {
30646 (char *) "self",(char *) "pt", NULL
30649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
30650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30651 if (SWIG_arg_fail(1)) SWIG_fail
;
30654 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30658 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
30660 wxPyEndAllowThreads(__tstate
);
30661 if (PyErr_Occurred()) SWIG_fail
;
30663 resultobj
= SWIG_From_int((result
));
30670 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
30671 PyObject
*resultobj
;
30672 wxWindow
*arg1
= (wxWindow
*) 0 ;
30675 PyObject
* obj0
= 0 ;
30676 PyObject
* obj1
= 0 ;
30678 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
30679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30680 if (SWIG_arg_fail(1)) SWIG_fail
;
30682 arg2
= (long)(SWIG_As_long(obj1
));
30683 if (SWIG_arg_fail(2)) SWIG_fail
;
30686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30687 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder(arg2
);
30689 wxPyEndAllowThreads(__tstate
);
30690 if (PyErr_Occurred()) SWIG_fail
;
30692 resultobj
= SWIG_From_int((result
));
30699 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
30700 PyObject
*resultobj
;
30701 wxWindow
*arg1
= (wxWindow
*) 0 ;
30703 PyObject
* obj0
= 0 ;
30705 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
30706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30707 if (SWIG_arg_fail(1)) SWIG_fail
;
30709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30710 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder();
30712 wxPyEndAllowThreads(__tstate
);
30713 if (PyErr_Occurred()) SWIG_fail
;
30715 resultobj
= SWIG_From_int((result
));
30722 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
30727 argc
= PyObject_Length(args
);
30728 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
30729 argv
[ii
] = PyTuple_GetItem(args
,ii
);
30735 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
30743 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
30750 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
30758 _v
= SWIG_Check_long(argv
[1]);
30760 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
30765 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'Window_GetBorder'");
30770 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30771 PyObject
*resultobj
;
30772 wxWindow
*arg1
= (wxWindow
*) 0 ;
30773 long arg2
= (long) wxUPDATE_UI_NONE
;
30774 PyObject
* obj0
= 0 ;
30775 PyObject
* obj1
= 0 ;
30776 char *kwnames
[] = {
30777 (char *) "self",(char *) "flags", NULL
30780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
30781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30782 if (SWIG_arg_fail(1)) SWIG_fail
;
30785 arg2
= (long)(SWIG_As_long(obj1
));
30786 if (SWIG_arg_fail(2)) SWIG_fail
;
30790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30791 (arg1
)->UpdateWindowUI(arg2
);
30793 wxPyEndAllowThreads(__tstate
);
30794 if (PyErr_Occurred()) SWIG_fail
;
30796 Py_INCREF(Py_None
); resultobj
= Py_None
;
30803 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30804 PyObject
*resultobj
;
30805 wxWindow
*arg1
= (wxWindow
*) 0 ;
30806 wxMenu
*arg2
= (wxMenu
*) 0 ;
30807 int arg3
= (int) -1 ;
30808 int arg4
= (int) -1 ;
30810 PyObject
* obj0
= 0 ;
30811 PyObject
* obj1
= 0 ;
30812 PyObject
* obj2
= 0 ;
30813 PyObject
* obj3
= 0 ;
30814 char *kwnames
[] = {
30815 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
30818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30820 if (SWIG_arg_fail(1)) SWIG_fail
;
30821 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30822 if (SWIG_arg_fail(2)) SWIG_fail
;
30825 arg3
= (int)(SWIG_As_int(obj2
));
30826 if (SWIG_arg_fail(3)) SWIG_fail
;
30831 arg4
= (int)(SWIG_As_int(obj3
));
30832 if (SWIG_arg_fail(4)) SWIG_fail
;
30836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30837 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
30839 wxPyEndAllowThreads(__tstate
);
30840 if (PyErr_Occurred()) SWIG_fail
;
30843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30851 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30852 PyObject
*resultobj
;
30853 wxWindow
*arg1
= (wxWindow
*) 0 ;
30854 wxMenu
*arg2
= (wxMenu
*) 0 ;
30855 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30856 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30859 PyObject
* obj0
= 0 ;
30860 PyObject
* obj1
= 0 ;
30861 PyObject
* obj2
= 0 ;
30862 char *kwnames
[] = {
30863 (char *) "self",(char *) "menu",(char *) "pos", NULL
30866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30868 if (SWIG_arg_fail(1)) SWIG_fail
;
30869 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30870 if (SWIG_arg_fail(2)) SWIG_fail
;
30874 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30879 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
30881 wxPyEndAllowThreads(__tstate
);
30882 if (PyErr_Occurred()) SWIG_fail
;
30885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30893 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30894 PyObject
*resultobj
;
30895 wxWindow
*arg1
= (wxWindow
*) 0 ;
30897 PyObject
* obj0
= 0 ;
30898 char *kwnames
[] = {
30899 (char *) "self", NULL
30902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
30903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30904 if (SWIG_arg_fail(1)) SWIG_fail
;
30906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30907 result
= (long)wxWindow_GetHandle(arg1
);
30909 wxPyEndAllowThreads(__tstate
);
30910 if (PyErr_Occurred()) SWIG_fail
;
30913 resultobj
= SWIG_From_long((long)(result
));
30921 static PyObject
*_wrap_Window_AssociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30922 PyObject
*resultobj
;
30923 wxWindow
*arg1
= (wxWindow
*) 0 ;
30925 PyObject
* obj0
= 0 ;
30926 PyObject
* obj1
= 0 ;
30927 char *kwnames
[] = {
30928 (char *) "self",(char *) "handle", NULL
30931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
30932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30933 if (SWIG_arg_fail(1)) SWIG_fail
;
30935 arg2
= (long)(SWIG_As_long(obj1
));
30936 if (SWIG_arg_fail(2)) SWIG_fail
;
30939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30940 wxWindow_AssociateHandle(arg1
,arg2
);
30942 wxPyEndAllowThreads(__tstate
);
30943 if (PyErr_Occurred()) SWIG_fail
;
30945 Py_INCREF(Py_None
); resultobj
= Py_None
;
30952 static PyObject
*_wrap_Window_DissociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30953 PyObject
*resultobj
;
30954 wxWindow
*arg1
= (wxWindow
*) 0 ;
30955 PyObject
* obj0
= 0 ;
30956 char *kwnames
[] = {
30957 (char *) "self", NULL
30960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DissociateHandle",kwnames
,&obj0
)) goto fail
;
30961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30962 if (SWIG_arg_fail(1)) SWIG_fail
;
30964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30965 (arg1
)->DissociateHandle();
30967 wxPyEndAllowThreads(__tstate
);
30968 if (PyErr_Occurred()) SWIG_fail
;
30970 Py_INCREF(Py_None
); resultobj
= Py_None
;
30977 static PyObject
*_wrap_Window_OnPaint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30978 PyObject
*resultobj
;
30979 wxWindow
*arg1
= (wxWindow
*) 0 ;
30980 wxPaintEvent
*arg2
= 0 ;
30981 PyObject
* obj0
= 0 ;
30982 PyObject
* obj1
= 0 ;
30983 char *kwnames
[] = {
30984 (char *) "self",(char *) "event", NULL
30987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_OnPaint",kwnames
,&obj0
,&obj1
)) goto fail
;
30988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30989 if (SWIG_arg_fail(1)) SWIG_fail
;
30991 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPaintEvent
, SWIG_POINTER_EXCEPTION
| 0);
30992 if (SWIG_arg_fail(2)) SWIG_fail
;
30993 if (arg2
== NULL
) {
30994 SWIG_null_ref("wxPaintEvent");
30996 if (SWIG_arg_fail(2)) SWIG_fail
;
30999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31000 (arg1
)->OnPaint(*arg2
);
31002 wxPyEndAllowThreads(__tstate
);
31003 if (PyErr_Occurred()) SWIG_fail
;
31005 Py_INCREF(Py_None
); resultobj
= Py_None
;
31012 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31013 PyObject
*resultobj
;
31014 wxWindow
*arg1
= (wxWindow
*) 0 ;
31017 PyObject
* obj0
= 0 ;
31018 PyObject
* obj1
= 0 ;
31019 char *kwnames
[] = {
31020 (char *) "self",(char *) "orient", NULL
31023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
31024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31025 if (SWIG_arg_fail(1)) SWIG_fail
;
31027 arg2
= (int)(SWIG_As_int(obj1
));
31028 if (SWIG_arg_fail(2)) SWIG_fail
;
31031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31032 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
31034 wxPyEndAllowThreads(__tstate
);
31035 if (PyErr_Occurred()) SWIG_fail
;
31038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31046 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31047 PyObject
*resultobj
;
31048 wxWindow
*arg1
= (wxWindow
*) 0 ;
31053 bool arg6
= (bool) true ;
31054 PyObject
* obj0
= 0 ;
31055 PyObject
* obj1
= 0 ;
31056 PyObject
* obj2
= 0 ;
31057 PyObject
* obj3
= 0 ;
31058 PyObject
* obj4
= 0 ;
31059 PyObject
* obj5
= 0 ;
31060 char *kwnames
[] = {
31061 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
31064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31066 if (SWIG_arg_fail(1)) SWIG_fail
;
31068 arg2
= (int)(SWIG_As_int(obj1
));
31069 if (SWIG_arg_fail(2)) SWIG_fail
;
31072 arg3
= (int)(SWIG_As_int(obj2
));
31073 if (SWIG_arg_fail(3)) SWIG_fail
;
31076 arg4
= (int)(SWIG_As_int(obj3
));
31077 if (SWIG_arg_fail(4)) SWIG_fail
;
31080 arg5
= (int)(SWIG_As_int(obj4
));
31081 if (SWIG_arg_fail(5)) SWIG_fail
;
31085 arg6
= (bool)(SWIG_As_bool(obj5
));
31086 if (SWIG_arg_fail(6)) SWIG_fail
;
31090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31091 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
31093 wxPyEndAllowThreads(__tstate
);
31094 if (PyErr_Occurred()) SWIG_fail
;
31096 Py_INCREF(Py_None
); resultobj
= Py_None
;
31103 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31104 PyObject
*resultobj
;
31105 wxWindow
*arg1
= (wxWindow
*) 0 ;
31108 bool arg4
= (bool) true ;
31109 PyObject
* obj0
= 0 ;
31110 PyObject
* obj1
= 0 ;
31111 PyObject
* obj2
= 0 ;
31112 PyObject
* obj3
= 0 ;
31113 char *kwnames
[] = {
31114 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
31117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31119 if (SWIG_arg_fail(1)) SWIG_fail
;
31121 arg2
= (int)(SWIG_As_int(obj1
));
31122 if (SWIG_arg_fail(2)) SWIG_fail
;
31125 arg3
= (int)(SWIG_As_int(obj2
));
31126 if (SWIG_arg_fail(3)) SWIG_fail
;
31130 arg4
= (bool)(SWIG_As_bool(obj3
));
31131 if (SWIG_arg_fail(4)) SWIG_fail
;
31135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31136 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
31138 wxPyEndAllowThreads(__tstate
);
31139 if (PyErr_Occurred()) SWIG_fail
;
31141 Py_INCREF(Py_None
); resultobj
= Py_None
;
31148 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31149 PyObject
*resultobj
;
31150 wxWindow
*arg1
= (wxWindow
*) 0 ;
31153 PyObject
* obj0
= 0 ;
31154 PyObject
* obj1
= 0 ;
31155 char *kwnames
[] = {
31156 (char *) "self",(char *) "orientation", NULL
31159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
31160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31161 if (SWIG_arg_fail(1)) SWIG_fail
;
31163 arg2
= (int)(SWIG_As_int(obj1
));
31164 if (SWIG_arg_fail(2)) SWIG_fail
;
31167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31168 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
31170 wxPyEndAllowThreads(__tstate
);
31171 if (PyErr_Occurred()) SWIG_fail
;
31174 resultobj
= SWIG_From_int((int)(result
));
31182 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31183 PyObject
*resultobj
;
31184 wxWindow
*arg1
= (wxWindow
*) 0 ;
31187 PyObject
* obj0
= 0 ;
31188 PyObject
* obj1
= 0 ;
31189 char *kwnames
[] = {
31190 (char *) "self",(char *) "orientation", NULL
31193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
31194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31195 if (SWIG_arg_fail(1)) SWIG_fail
;
31197 arg2
= (int)(SWIG_As_int(obj1
));
31198 if (SWIG_arg_fail(2)) SWIG_fail
;
31201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31202 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
31204 wxPyEndAllowThreads(__tstate
);
31205 if (PyErr_Occurred()) SWIG_fail
;
31208 resultobj
= SWIG_From_int((int)(result
));
31216 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31217 PyObject
*resultobj
;
31218 wxWindow
*arg1
= (wxWindow
*) 0 ;
31221 PyObject
* obj0
= 0 ;
31222 PyObject
* obj1
= 0 ;
31223 char *kwnames
[] = {
31224 (char *) "self",(char *) "orientation", NULL
31227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
31228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31229 if (SWIG_arg_fail(1)) SWIG_fail
;
31231 arg2
= (int)(SWIG_As_int(obj1
));
31232 if (SWIG_arg_fail(2)) SWIG_fail
;
31235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31236 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
31238 wxPyEndAllowThreads(__tstate
);
31239 if (PyErr_Occurred()) SWIG_fail
;
31242 resultobj
= SWIG_From_int((int)(result
));
31250 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31251 PyObject
*resultobj
;
31252 wxWindow
*arg1
= (wxWindow
*) 0 ;
31255 wxRect
*arg4
= (wxRect
*) NULL
;
31256 PyObject
* obj0
= 0 ;
31257 PyObject
* obj1
= 0 ;
31258 PyObject
* obj2
= 0 ;
31259 PyObject
* obj3
= 0 ;
31260 char *kwnames
[] = {
31261 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
31264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31266 if (SWIG_arg_fail(1)) SWIG_fail
;
31268 arg2
= (int)(SWIG_As_int(obj1
));
31269 if (SWIG_arg_fail(2)) SWIG_fail
;
31272 arg3
= (int)(SWIG_As_int(obj2
));
31273 if (SWIG_arg_fail(3)) SWIG_fail
;
31276 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
31277 if (SWIG_arg_fail(4)) SWIG_fail
;
31280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31281 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
31283 wxPyEndAllowThreads(__tstate
);
31284 if (PyErr_Occurred()) SWIG_fail
;
31286 Py_INCREF(Py_None
); resultobj
= Py_None
;
31293 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31294 PyObject
*resultobj
;
31295 wxWindow
*arg1
= (wxWindow
*) 0 ;
31298 PyObject
* obj0
= 0 ;
31299 PyObject
* obj1
= 0 ;
31300 char *kwnames
[] = {
31301 (char *) "self",(char *) "lines", NULL
31304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
31305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31306 if (SWIG_arg_fail(1)) SWIG_fail
;
31308 arg2
= (int)(SWIG_As_int(obj1
));
31309 if (SWIG_arg_fail(2)) SWIG_fail
;
31312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31313 result
= (bool)(arg1
)->ScrollLines(arg2
);
31315 wxPyEndAllowThreads(__tstate
);
31316 if (PyErr_Occurred()) SWIG_fail
;
31319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31327 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31328 PyObject
*resultobj
;
31329 wxWindow
*arg1
= (wxWindow
*) 0 ;
31332 PyObject
* obj0
= 0 ;
31333 PyObject
* obj1
= 0 ;
31334 char *kwnames
[] = {
31335 (char *) "self",(char *) "pages", NULL
31338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
31339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31340 if (SWIG_arg_fail(1)) SWIG_fail
;
31342 arg2
= (int)(SWIG_As_int(obj1
));
31343 if (SWIG_arg_fail(2)) SWIG_fail
;
31346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31347 result
= (bool)(arg1
)->ScrollPages(arg2
);
31349 wxPyEndAllowThreads(__tstate
);
31350 if (PyErr_Occurred()) SWIG_fail
;
31353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31361 static PyObject
*_wrap_Window_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31362 PyObject
*resultobj
;
31363 wxWindow
*arg1
= (wxWindow
*) 0 ;
31365 PyObject
* obj0
= 0 ;
31366 char *kwnames
[] = {
31367 (char *) "self", NULL
31370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
31371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31372 if (SWIG_arg_fail(1)) SWIG_fail
;
31374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31375 result
= (bool)(arg1
)->LineUp();
31377 wxPyEndAllowThreads(__tstate
);
31378 if (PyErr_Occurred()) SWIG_fail
;
31381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31389 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31390 PyObject
*resultobj
;
31391 wxWindow
*arg1
= (wxWindow
*) 0 ;
31393 PyObject
* obj0
= 0 ;
31394 char *kwnames
[] = {
31395 (char *) "self", NULL
31398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
31399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31400 if (SWIG_arg_fail(1)) SWIG_fail
;
31402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31403 result
= (bool)(arg1
)->LineDown();
31405 wxPyEndAllowThreads(__tstate
);
31406 if (PyErr_Occurred()) SWIG_fail
;
31409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31417 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31418 PyObject
*resultobj
;
31419 wxWindow
*arg1
= (wxWindow
*) 0 ;
31421 PyObject
* obj0
= 0 ;
31422 char *kwnames
[] = {
31423 (char *) "self", NULL
31426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
31427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31428 if (SWIG_arg_fail(1)) SWIG_fail
;
31430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31431 result
= (bool)(arg1
)->PageUp();
31433 wxPyEndAllowThreads(__tstate
);
31434 if (PyErr_Occurred()) SWIG_fail
;
31437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31445 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31446 PyObject
*resultobj
;
31447 wxWindow
*arg1
= (wxWindow
*) 0 ;
31449 PyObject
* obj0
= 0 ;
31450 char *kwnames
[] = {
31451 (char *) "self", NULL
31454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
31455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31456 if (SWIG_arg_fail(1)) SWIG_fail
;
31458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31459 result
= (bool)(arg1
)->PageDown();
31461 wxPyEndAllowThreads(__tstate
);
31462 if (PyErr_Occurred()) SWIG_fail
;
31465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31473 static PyObject
*_wrap_Window_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31474 PyObject
*resultobj
;
31475 wxWindow
*arg1
= (wxWindow
*) 0 ;
31476 wxString
*arg2
= 0 ;
31477 bool temp2
= false ;
31478 PyObject
* obj0
= 0 ;
31479 PyObject
* obj1
= 0 ;
31480 char *kwnames
[] = {
31481 (char *) "self",(char *) "text", NULL
31484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
31485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31486 if (SWIG_arg_fail(1)) SWIG_fail
;
31488 arg2
= wxString_in_helper(obj1
);
31489 if (arg2
== NULL
) SWIG_fail
;
31493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31494 (arg1
)->SetHelpText((wxString
const &)*arg2
);
31496 wxPyEndAllowThreads(__tstate
);
31497 if (PyErr_Occurred()) SWIG_fail
;
31499 Py_INCREF(Py_None
); resultobj
= Py_None
;
31514 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31515 PyObject
*resultobj
;
31516 wxWindow
*arg1
= (wxWindow
*) 0 ;
31517 wxString
*arg2
= 0 ;
31518 bool temp2
= false ;
31519 PyObject
* obj0
= 0 ;
31520 PyObject
* obj1
= 0 ;
31521 char *kwnames
[] = {
31522 (char *) "self",(char *) "text", NULL
31525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
31526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31527 if (SWIG_arg_fail(1)) SWIG_fail
;
31529 arg2
= wxString_in_helper(obj1
);
31530 if (arg2
== NULL
) SWIG_fail
;
31534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31535 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
31537 wxPyEndAllowThreads(__tstate
);
31538 if (PyErr_Occurred()) SWIG_fail
;
31540 Py_INCREF(Py_None
); resultobj
= Py_None
;
31555 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31556 PyObject
*resultobj
;
31557 wxWindow
*arg1
= (wxWindow
*) 0 ;
31559 PyObject
* obj0
= 0 ;
31560 char *kwnames
[] = {
31561 (char *) "self", NULL
31564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
31565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31566 if (SWIG_arg_fail(1)) SWIG_fail
;
31568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31569 result
= ((wxWindow
const *)arg1
)->GetHelpText();
31571 wxPyEndAllowThreads(__tstate
);
31572 if (PyErr_Occurred()) SWIG_fail
;
31576 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31578 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31587 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31588 PyObject
*resultobj
;
31589 wxWindow
*arg1
= (wxWindow
*) 0 ;
31590 wxString
*arg2
= 0 ;
31591 bool temp2
= false ;
31592 PyObject
* obj0
= 0 ;
31593 PyObject
* obj1
= 0 ;
31594 char *kwnames
[] = {
31595 (char *) "self",(char *) "tip", NULL
31598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
31599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31600 if (SWIG_arg_fail(1)) SWIG_fail
;
31602 arg2
= wxString_in_helper(obj1
);
31603 if (arg2
== NULL
) SWIG_fail
;
31607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31608 (arg1
)->SetToolTip((wxString
const &)*arg2
);
31610 wxPyEndAllowThreads(__tstate
);
31611 if (PyErr_Occurred()) SWIG_fail
;
31613 Py_INCREF(Py_None
); resultobj
= Py_None
;
31628 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31629 PyObject
*resultobj
;
31630 wxWindow
*arg1
= (wxWindow
*) 0 ;
31631 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
31632 PyObject
* obj0
= 0 ;
31633 PyObject
* obj1
= 0 ;
31634 char *kwnames
[] = {
31635 (char *) "self",(char *) "tip", NULL
31638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
31639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31640 if (SWIG_arg_fail(1)) SWIG_fail
;
31641 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
31642 if (SWIG_arg_fail(2)) SWIG_fail
;
31644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31645 (arg1
)->SetToolTip(arg2
);
31647 wxPyEndAllowThreads(__tstate
);
31648 if (PyErr_Occurred()) SWIG_fail
;
31650 Py_INCREF(Py_None
); resultobj
= Py_None
;
31657 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31658 PyObject
*resultobj
;
31659 wxWindow
*arg1
= (wxWindow
*) 0 ;
31661 PyObject
* obj0
= 0 ;
31662 char *kwnames
[] = {
31663 (char *) "self", NULL
31666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
31667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31668 if (SWIG_arg_fail(1)) SWIG_fail
;
31670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31671 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
31673 wxPyEndAllowThreads(__tstate
);
31674 if (PyErr_Occurred()) SWIG_fail
;
31677 resultobj
= wxPyMake_wxObject(result
, 0);
31685 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31686 PyObject
*resultobj
;
31687 wxWindow
*arg1
= (wxWindow
*) 0 ;
31688 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
31689 PyObject
* obj0
= 0 ;
31690 PyObject
* obj1
= 0 ;
31691 char *kwnames
[] = {
31692 (char *) "self",(char *) "dropTarget", NULL
31695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
31696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31697 if (SWIG_arg_fail(1)) SWIG_fail
;
31698 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31699 if (SWIG_arg_fail(2)) SWIG_fail
;
31701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31702 (arg1
)->SetDropTarget(arg2
);
31704 wxPyEndAllowThreads(__tstate
);
31705 if (PyErr_Occurred()) SWIG_fail
;
31707 Py_INCREF(Py_None
); resultobj
= Py_None
;
31714 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31715 PyObject
*resultobj
;
31716 wxWindow
*arg1
= (wxWindow
*) 0 ;
31717 wxPyDropTarget
*result
;
31718 PyObject
* obj0
= 0 ;
31719 char *kwnames
[] = {
31720 (char *) "self", NULL
31723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
31724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31725 if (SWIG_arg_fail(1)) SWIG_fail
;
31727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31728 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
31730 wxPyEndAllowThreads(__tstate
);
31731 if (PyErr_Occurred()) SWIG_fail
;
31733 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
31740 static PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31741 PyObject
*resultobj
;
31742 wxWindow
*arg1
= (wxWindow
*) 0 ;
31744 PyObject
* obj0
= 0 ;
31745 PyObject
* obj1
= 0 ;
31746 char *kwnames
[] = {
31747 (char *) "self",(char *) "accept", NULL
31750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) goto fail
;
31751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31752 if (SWIG_arg_fail(1)) SWIG_fail
;
31754 arg2
= (bool)(SWIG_As_bool(obj1
));
31755 if (SWIG_arg_fail(2)) SWIG_fail
;
31758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31759 (arg1
)->DragAcceptFiles(arg2
);
31761 wxPyEndAllowThreads(__tstate
);
31762 if (PyErr_Occurred()) SWIG_fail
;
31764 Py_INCREF(Py_None
); resultobj
= Py_None
;
31771 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31772 PyObject
*resultobj
;
31773 wxWindow
*arg1
= (wxWindow
*) 0 ;
31774 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
31775 PyObject
* obj0
= 0 ;
31776 PyObject
* obj1
= 0 ;
31777 char *kwnames
[] = {
31778 (char *) "self",(char *) "constraints", NULL
31781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
31782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31783 if (SWIG_arg_fail(1)) SWIG_fail
;
31784 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
31785 if (SWIG_arg_fail(2)) SWIG_fail
;
31787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31788 (arg1
)->SetConstraints(arg2
);
31790 wxPyEndAllowThreads(__tstate
);
31791 if (PyErr_Occurred()) SWIG_fail
;
31793 Py_INCREF(Py_None
); resultobj
= Py_None
;
31800 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31801 PyObject
*resultobj
;
31802 wxWindow
*arg1
= (wxWindow
*) 0 ;
31803 wxLayoutConstraints
*result
;
31804 PyObject
* obj0
= 0 ;
31805 char *kwnames
[] = {
31806 (char *) "self", NULL
31809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
31810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31811 if (SWIG_arg_fail(1)) SWIG_fail
;
31813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31814 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
31816 wxPyEndAllowThreads(__tstate
);
31817 if (PyErr_Occurred()) SWIG_fail
;
31819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
31826 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31827 PyObject
*resultobj
;
31828 wxWindow
*arg1
= (wxWindow
*) 0 ;
31830 PyObject
* obj0
= 0 ;
31831 PyObject
* obj1
= 0 ;
31832 char *kwnames
[] = {
31833 (char *) "self",(char *) "autoLayout", NULL
31836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
31837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31838 if (SWIG_arg_fail(1)) SWIG_fail
;
31840 arg2
= (bool)(SWIG_As_bool(obj1
));
31841 if (SWIG_arg_fail(2)) SWIG_fail
;
31844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31845 (arg1
)->SetAutoLayout(arg2
);
31847 wxPyEndAllowThreads(__tstate
);
31848 if (PyErr_Occurred()) SWIG_fail
;
31850 Py_INCREF(Py_None
); resultobj
= Py_None
;
31857 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31858 PyObject
*resultobj
;
31859 wxWindow
*arg1
= (wxWindow
*) 0 ;
31861 PyObject
* obj0
= 0 ;
31862 char *kwnames
[] = {
31863 (char *) "self", NULL
31866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
31867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31868 if (SWIG_arg_fail(1)) SWIG_fail
;
31870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31871 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
31873 wxPyEndAllowThreads(__tstate
);
31874 if (PyErr_Occurred()) SWIG_fail
;
31877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31885 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31886 PyObject
*resultobj
;
31887 wxWindow
*arg1
= (wxWindow
*) 0 ;
31889 PyObject
* obj0
= 0 ;
31890 char *kwnames
[] = {
31891 (char *) "self", NULL
31894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
31895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31896 if (SWIG_arg_fail(1)) SWIG_fail
;
31898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31899 result
= (bool)(arg1
)->Layout();
31901 wxPyEndAllowThreads(__tstate
);
31902 if (PyErr_Occurred()) SWIG_fail
;
31905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31913 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31914 PyObject
*resultobj
;
31915 wxWindow
*arg1
= (wxWindow
*) 0 ;
31916 wxSizer
*arg2
= (wxSizer
*) 0 ;
31917 bool arg3
= (bool) true ;
31918 PyObject
* obj0
= 0 ;
31919 PyObject
* obj1
= 0 ;
31920 PyObject
* obj2
= 0 ;
31921 char *kwnames
[] = {
31922 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31927 if (SWIG_arg_fail(1)) SWIG_fail
;
31928 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31929 if (SWIG_arg_fail(2)) SWIG_fail
;
31932 arg3
= (bool)(SWIG_As_bool(obj2
));
31933 if (SWIG_arg_fail(3)) SWIG_fail
;
31937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31938 (arg1
)->SetSizer(arg2
,arg3
);
31940 wxPyEndAllowThreads(__tstate
);
31941 if (PyErr_Occurred()) SWIG_fail
;
31943 Py_INCREF(Py_None
); resultobj
= Py_None
;
31950 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31951 PyObject
*resultobj
;
31952 wxWindow
*arg1
= (wxWindow
*) 0 ;
31953 wxSizer
*arg2
= (wxSizer
*) 0 ;
31954 bool arg3
= (bool) true ;
31955 PyObject
* obj0
= 0 ;
31956 PyObject
* obj1
= 0 ;
31957 PyObject
* obj2
= 0 ;
31958 char *kwnames
[] = {
31959 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31964 if (SWIG_arg_fail(1)) SWIG_fail
;
31965 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31966 if (SWIG_arg_fail(2)) SWIG_fail
;
31969 arg3
= (bool)(SWIG_As_bool(obj2
));
31970 if (SWIG_arg_fail(3)) SWIG_fail
;
31974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31975 (arg1
)->SetSizerAndFit(arg2
,arg3
);
31977 wxPyEndAllowThreads(__tstate
);
31978 if (PyErr_Occurred()) SWIG_fail
;
31980 Py_INCREF(Py_None
); resultobj
= Py_None
;
31987 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31988 PyObject
*resultobj
;
31989 wxWindow
*arg1
= (wxWindow
*) 0 ;
31991 PyObject
* obj0
= 0 ;
31992 char *kwnames
[] = {
31993 (char *) "self", NULL
31996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
31997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31998 if (SWIG_arg_fail(1)) SWIG_fail
;
32000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32001 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
32003 wxPyEndAllowThreads(__tstate
);
32004 if (PyErr_Occurred()) SWIG_fail
;
32007 resultobj
= wxPyMake_wxSizer(result
, 0);
32015 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32016 PyObject
*resultobj
;
32017 wxWindow
*arg1
= (wxWindow
*) 0 ;
32018 wxSizer
*arg2
= (wxSizer
*) 0 ;
32019 PyObject
* obj0
= 0 ;
32020 PyObject
* obj1
= 0 ;
32021 char *kwnames
[] = {
32022 (char *) "self",(char *) "sizer", NULL
32025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
32026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32027 if (SWIG_arg_fail(1)) SWIG_fail
;
32028 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
32029 if (SWIG_arg_fail(2)) SWIG_fail
;
32031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32032 (arg1
)->SetContainingSizer(arg2
);
32034 wxPyEndAllowThreads(__tstate
);
32035 if (PyErr_Occurred()) SWIG_fail
;
32037 Py_INCREF(Py_None
); resultobj
= Py_None
;
32044 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32045 PyObject
*resultobj
;
32046 wxWindow
*arg1
= (wxWindow
*) 0 ;
32048 PyObject
* obj0
= 0 ;
32049 char *kwnames
[] = {
32050 (char *) "self", NULL
32053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
32054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32055 if (SWIG_arg_fail(1)) SWIG_fail
;
32057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32058 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
32060 wxPyEndAllowThreads(__tstate
);
32061 if (PyErr_Occurred()) SWIG_fail
;
32064 resultobj
= wxPyMake_wxSizer(result
, 0);
32072 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32073 PyObject
*resultobj
;
32074 wxWindow
*arg1
= (wxWindow
*) 0 ;
32075 PyObject
* obj0
= 0 ;
32076 char *kwnames
[] = {
32077 (char *) "self", NULL
32080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
32081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32082 if (SWIG_arg_fail(1)) SWIG_fail
;
32084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32085 (arg1
)->InheritAttributes();
32087 wxPyEndAllowThreads(__tstate
);
32088 if (PyErr_Occurred()) SWIG_fail
;
32090 Py_INCREF(Py_None
); resultobj
= Py_None
;
32097 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32098 PyObject
*resultobj
;
32099 wxWindow
*arg1
= (wxWindow
*) 0 ;
32101 PyObject
* obj0
= 0 ;
32102 char *kwnames
[] = {
32103 (char *) "self", NULL
32106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
32107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32108 if (SWIG_arg_fail(1)) SWIG_fail
;
32110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32111 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
32113 wxPyEndAllowThreads(__tstate
);
32114 if (PyErr_Occurred()) SWIG_fail
;
32117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32125 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
32127 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32128 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
32130 return Py_BuildValue((char *)"");
32132 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32133 PyObject
*resultobj
;
32135 wxWindow
*arg2
= (wxWindow
*) NULL
;
32137 PyObject
* obj0
= 0 ;
32138 PyObject
* obj1
= 0 ;
32139 char *kwnames
[] = {
32140 (char *) "id",(char *) "parent", NULL
32143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
32145 arg1
= (long)(SWIG_As_long(obj0
));
32146 if (SWIG_arg_fail(1)) SWIG_fail
;
32149 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32150 if (SWIG_arg_fail(2)) SWIG_fail
;
32153 if (!wxPyCheckForApp()) SWIG_fail
;
32154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32155 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
32157 wxPyEndAllowThreads(__tstate
);
32158 if (PyErr_Occurred()) SWIG_fail
;
32161 resultobj
= wxPyMake_wxObject(result
, 0);
32169 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32170 PyObject
*resultobj
;
32171 wxString
*arg1
= 0 ;
32172 wxWindow
*arg2
= (wxWindow
*) NULL
;
32174 bool temp1
= false ;
32175 PyObject
* obj0
= 0 ;
32176 PyObject
* obj1
= 0 ;
32177 char *kwnames
[] = {
32178 (char *) "name",(char *) "parent", NULL
32181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
32183 arg1
= wxString_in_helper(obj0
);
32184 if (arg1
== NULL
) SWIG_fail
;
32188 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32189 if (SWIG_arg_fail(2)) SWIG_fail
;
32192 if (!wxPyCheckForApp()) SWIG_fail
;
32193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32194 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
32196 wxPyEndAllowThreads(__tstate
);
32197 if (PyErr_Occurred()) SWIG_fail
;
32200 resultobj
= wxPyMake_wxObject(result
, 0);
32216 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32217 PyObject
*resultobj
;
32218 wxString
*arg1
= 0 ;
32219 wxWindow
*arg2
= (wxWindow
*) NULL
;
32221 bool temp1
= false ;
32222 PyObject
* obj0
= 0 ;
32223 PyObject
* obj1
= 0 ;
32224 char *kwnames
[] = {
32225 (char *) "label",(char *) "parent", NULL
32228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
32230 arg1
= wxString_in_helper(obj0
);
32231 if (arg1
== NULL
) SWIG_fail
;
32235 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32236 if (SWIG_arg_fail(2)) SWIG_fail
;
32239 if (!wxPyCheckForApp()) SWIG_fail
;
32240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32241 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
32243 wxPyEndAllowThreads(__tstate
);
32244 if (PyErr_Occurred()) SWIG_fail
;
32247 resultobj
= wxPyMake_wxObject(result
, 0);
32263 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32264 PyObject
*resultobj
;
32265 wxWindow
*arg1
= (wxWindow
*) 0 ;
32266 unsigned long arg2
;
32268 PyObject
* obj0
= 0 ;
32269 PyObject
* obj1
= 0 ;
32270 char *kwnames
[] = {
32271 (char *) "parent",(char *) "_hWnd", NULL
32274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
32275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32276 if (SWIG_arg_fail(1)) SWIG_fail
;
32278 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
32279 if (SWIG_arg_fail(2)) SWIG_fail
;
32282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32283 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
32285 wxPyEndAllowThreads(__tstate
);
32286 if (PyErr_Occurred()) SWIG_fail
;
32289 resultobj
= wxPyMake_wxObject(result
, 0);
32297 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32298 PyObject
*resultobj
;
32299 wxValidator
*result
;
32300 char *kwnames
[] = {
32304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
32306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32307 result
= (wxValidator
*)new wxValidator();
32309 wxPyEndAllowThreads(__tstate
);
32310 if (PyErr_Occurred()) SWIG_fail
;
32312 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
32319 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32320 PyObject
*resultobj
;
32321 wxValidator
*arg1
= (wxValidator
*) 0 ;
32322 wxValidator
*result
;
32323 PyObject
* obj0
= 0 ;
32324 char *kwnames
[] = {
32325 (char *) "self", NULL
32328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
32329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32330 if (SWIG_arg_fail(1)) SWIG_fail
;
32332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32333 result
= (wxValidator
*)(arg1
)->Clone();
32335 wxPyEndAllowThreads(__tstate
);
32336 if (PyErr_Occurred()) SWIG_fail
;
32339 resultobj
= wxPyMake_wxObject(result
, 0);
32347 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32348 PyObject
*resultobj
;
32349 wxValidator
*arg1
= (wxValidator
*) 0 ;
32350 wxWindow
*arg2
= (wxWindow
*) 0 ;
32352 PyObject
* obj0
= 0 ;
32353 PyObject
* obj1
= 0 ;
32354 char *kwnames
[] = {
32355 (char *) "self",(char *) "parent", NULL
32358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
32359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32360 if (SWIG_arg_fail(1)) SWIG_fail
;
32361 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32362 if (SWIG_arg_fail(2)) SWIG_fail
;
32364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32365 result
= (bool)(arg1
)->Validate(arg2
);
32367 wxPyEndAllowThreads(__tstate
);
32368 if (PyErr_Occurred()) SWIG_fail
;
32371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32379 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32380 PyObject
*resultobj
;
32381 wxValidator
*arg1
= (wxValidator
*) 0 ;
32383 PyObject
* obj0
= 0 ;
32384 char *kwnames
[] = {
32385 (char *) "self", NULL
32388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
32389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32390 if (SWIG_arg_fail(1)) SWIG_fail
;
32392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32393 result
= (bool)(arg1
)->TransferToWindow();
32395 wxPyEndAllowThreads(__tstate
);
32396 if (PyErr_Occurred()) SWIG_fail
;
32399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32407 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32408 PyObject
*resultobj
;
32409 wxValidator
*arg1
= (wxValidator
*) 0 ;
32411 PyObject
* obj0
= 0 ;
32412 char *kwnames
[] = {
32413 (char *) "self", NULL
32416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
32417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32418 if (SWIG_arg_fail(1)) SWIG_fail
;
32420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32421 result
= (bool)(arg1
)->TransferFromWindow();
32423 wxPyEndAllowThreads(__tstate
);
32424 if (PyErr_Occurred()) SWIG_fail
;
32427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32435 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32436 PyObject
*resultobj
;
32437 wxValidator
*arg1
= (wxValidator
*) 0 ;
32439 PyObject
* obj0
= 0 ;
32440 char *kwnames
[] = {
32441 (char *) "self", NULL
32444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
32445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32446 if (SWIG_arg_fail(1)) SWIG_fail
;
32448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32449 result
= (wxWindow
*)(arg1
)->GetWindow();
32451 wxPyEndAllowThreads(__tstate
);
32452 if (PyErr_Occurred()) SWIG_fail
;
32455 resultobj
= wxPyMake_wxObject(result
, 0);
32463 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32464 PyObject
*resultobj
;
32465 wxValidator
*arg1
= (wxValidator
*) 0 ;
32466 wxWindow
*arg2
= (wxWindow
*) 0 ;
32467 PyObject
* obj0
= 0 ;
32468 PyObject
* obj1
= 0 ;
32469 char *kwnames
[] = {
32470 (char *) "self",(char *) "window", NULL
32473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
32474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32475 if (SWIG_arg_fail(1)) SWIG_fail
;
32476 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32477 if (SWIG_arg_fail(2)) SWIG_fail
;
32479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32480 (arg1
)->SetWindow(arg2
);
32482 wxPyEndAllowThreads(__tstate
);
32483 if (PyErr_Occurred()) SWIG_fail
;
32485 Py_INCREF(Py_None
); resultobj
= Py_None
;
32492 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32493 PyObject
*resultobj
;
32495 char *kwnames
[] = {
32499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
32501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32502 result
= (bool)wxValidator::IsSilent();
32504 wxPyEndAllowThreads(__tstate
);
32505 if (PyErr_Occurred()) SWIG_fail
;
32508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32516 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32517 PyObject
*resultobj
;
32518 int arg1
= (int) true ;
32519 PyObject
* obj0
= 0 ;
32520 char *kwnames
[] = {
32521 (char *) "doIt", NULL
32524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
32527 arg1
= (int)(SWIG_As_int(obj0
));
32528 if (SWIG_arg_fail(1)) SWIG_fail
;
32532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32533 wxValidator::SetBellOnError(arg1
);
32535 wxPyEndAllowThreads(__tstate
);
32536 if (PyErr_Occurred()) SWIG_fail
;
32538 Py_INCREF(Py_None
); resultobj
= Py_None
;
32545 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
32547 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32548 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
32550 return Py_BuildValue((char *)"");
32552 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32553 PyObject
*resultobj
;
32554 wxPyValidator
*result
;
32555 char *kwnames
[] = {
32559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
32561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32562 result
= (wxPyValidator
*)new wxPyValidator();
32564 wxPyEndAllowThreads(__tstate
);
32565 if (PyErr_Occurred()) SWIG_fail
;
32567 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
32574 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32575 PyObject
*resultobj
;
32576 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
32577 PyObject
*arg2
= (PyObject
*) 0 ;
32578 PyObject
*arg3
= (PyObject
*) 0 ;
32579 int arg4
= (int) true ;
32580 PyObject
* obj0
= 0 ;
32581 PyObject
* obj1
= 0 ;
32582 PyObject
* obj2
= 0 ;
32583 PyObject
* obj3
= 0 ;
32584 char *kwnames
[] = {
32585 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
32588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyValidator
, SWIG_POINTER_EXCEPTION
| 0);
32590 if (SWIG_arg_fail(1)) SWIG_fail
;
32595 arg4
= (int)(SWIG_As_int(obj3
));
32596 if (SWIG_arg_fail(4)) SWIG_fail
;
32600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32601 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
32603 wxPyEndAllowThreads(__tstate
);
32604 if (PyErr_Occurred()) SWIG_fail
;
32606 Py_INCREF(Py_None
); resultobj
= Py_None
;
32613 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
32615 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32616 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
32618 return Py_BuildValue((char *)"");
32620 static int _wrap_DefaultValidator_set(PyObject
*) {
32621 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
32626 static PyObject
*_wrap_DefaultValidator_get(void) {
32629 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
32634 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32635 PyObject
*resultobj
;
32636 wxString
const &arg1_defvalue
= wxPyEmptyString
;
32637 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
32638 long arg2
= (long) 0 ;
32640 bool temp1
= false ;
32641 PyObject
* obj0
= 0 ;
32642 PyObject
* obj1
= 0 ;
32643 char *kwnames
[] = {
32644 (char *) "title",(char *) "style", NULL
32647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
32650 arg1
= wxString_in_helper(obj0
);
32651 if (arg1
== NULL
) SWIG_fail
;
32657 arg2
= (long)(SWIG_As_long(obj1
));
32658 if (SWIG_arg_fail(2)) SWIG_fail
;
32662 if (!wxPyCheckForApp()) SWIG_fail
;
32663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32664 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
32666 wxPyEndAllowThreads(__tstate
);
32667 if (PyErr_Occurred()) SWIG_fail
;
32669 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
32684 static PyObject
*_wrap_Menu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32685 PyObject
*resultobj
;
32686 wxMenu
*arg1
= (wxMenu
*) 0 ;
32688 wxString
*arg3
= 0 ;
32689 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32690 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32691 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
32692 wxMenuItem
*result
;
32693 bool temp3
= false ;
32694 bool temp4
= false ;
32695 PyObject
* obj0
= 0 ;
32696 PyObject
* obj1
= 0 ;
32697 PyObject
* obj2
= 0 ;
32698 PyObject
* obj3
= 0 ;
32699 PyObject
* obj4
= 0 ;
32700 char *kwnames
[] = {
32701 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32706 if (SWIG_arg_fail(1)) SWIG_fail
;
32708 arg2
= (int)(SWIG_As_int(obj1
));
32709 if (SWIG_arg_fail(2)) SWIG_fail
;
32712 arg3
= wxString_in_helper(obj2
);
32713 if (arg3
== NULL
) SWIG_fail
;
32718 arg4
= wxString_in_helper(obj3
);
32719 if (arg4
== NULL
) SWIG_fail
;
32725 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
32726 if (SWIG_arg_fail(5)) SWIG_fail
;
32730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32731 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
32733 wxPyEndAllowThreads(__tstate
);
32734 if (PyErr_Occurred()) SWIG_fail
;
32737 resultobj
= wxPyMake_wxObject(result
, 0);
32761 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32762 PyObject
*resultobj
;
32763 wxMenu
*arg1
= (wxMenu
*) 0 ;
32764 wxMenuItem
*result
;
32765 PyObject
* obj0
= 0 ;
32766 char *kwnames
[] = {
32767 (char *) "self", NULL
32770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
32771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32772 if (SWIG_arg_fail(1)) SWIG_fail
;
32774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32775 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
32777 wxPyEndAllowThreads(__tstate
);
32778 if (PyErr_Occurred()) SWIG_fail
;
32781 resultobj
= wxPyMake_wxObject(result
, 0);
32789 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32790 PyObject
*resultobj
;
32791 wxMenu
*arg1
= (wxMenu
*) 0 ;
32793 wxString
*arg3
= 0 ;
32794 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32795 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32796 wxMenuItem
*result
;
32797 bool temp3
= false ;
32798 bool temp4
= false ;
32799 PyObject
* obj0
= 0 ;
32800 PyObject
* obj1
= 0 ;
32801 PyObject
* obj2
= 0 ;
32802 PyObject
* obj3
= 0 ;
32803 char *kwnames
[] = {
32804 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32809 if (SWIG_arg_fail(1)) SWIG_fail
;
32811 arg2
= (int)(SWIG_As_int(obj1
));
32812 if (SWIG_arg_fail(2)) SWIG_fail
;
32815 arg3
= wxString_in_helper(obj2
);
32816 if (arg3
== NULL
) SWIG_fail
;
32821 arg4
= wxString_in_helper(obj3
);
32822 if (arg4
== NULL
) SWIG_fail
;
32827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32828 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32830 wxPyEndAllowThreads(__tstate
);
32831 if (PyErr_Occurred()) SWIG_fail
;
32834 resultobj
= wxPyMake_wxObject(result
, 0);
32858 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32859 PyObject
*resultobj
;
32860 wxMenu
*arg1
= (wxMenu
*) 0 ;
32862 wxString
*arg3
= 0 ;
32863 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32864 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32865 wxMenuItem
*result
;
32866 bool temp3
= false ;
32867 bool temp4
= false ;
32868 PyObject
* obj0
= 0 ;
32869 PyObject
* obj1
= 0 ;
32870 PyObject
* obj2
= 0 ;
32871 PyObject
* obj3
= 0 ;
32872 char *kwnames
[] = {
32873 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32878 if (SWIG_arg_fail(1)) SWIG_fail
;
32880 arg2
= (int)(SWIG_As_int(obj1
));
32881 if (SWIG_arg_fail(2)) SWIG_fail
;
32884 arg3
= wxString_in_helper(obj2
);
32885 if (arg3
== NULL
) SWIG_fail
;
32890 arg4
= wxString_in_helper(obj3
);
32891 if (arg4
== NULL
) SWIG_fail
;
32896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32897 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32899 wxPyEndAllowThreads(__tstate
);
32900 if (PyErr_Occurred()) SWIG_fail
;
32903 resultobj
= wxPyMake_wxObject(result
, 0);
32927 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32928 PyObject
*resultobj
;
32929 wxMenu
*arg1
= (wxMenu
*) 0 ;
32931 wxString
*arg3
= 0 ;
32932 wxMenu
*arg4
= (wxMenu
*) 0 ;
32933 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32934 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32935 wxMenuItem
*result
;
32936 bool temp3
= false ;
32937 bool temp5
= false ;
32938 PyObject
* obj0
= 0 ;
32939 PyObject
* obj1
= 0 ;
32940 PyObject
* obj2
= 0 ;
32941 PyObject
* obj3
= 0 ;
32942 PyObject
* obj4
= 0 ;
32943 char *kwnames
[] = {
32944 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
32947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32949 if (SWIG_arg_fail(1)) SWIG_fail
;
32951 arg2
= (int)(SWIG_As_int(obj1
));
32952 if (SWIG_arg_fail(2)) SWIG_fail
;
32955 arg3
= wxString_in_helper(obj2
);
32956 if (arg3
== NULL
) SWIG_fail
;
32959 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32960 if (SWIG_arg_fail(4)) SWIG_fail
;
32963 arg5
= wxString_in_helper(obj4
);
32964 if (arg5
== NULL
) SWIG_fail
;
32969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32970 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
32972 wxPyEndAllowThreads(__tstate
);
32973 if (PyErr_Occurred()) SWIG_fail
;
32976 resultobj
= wxPyMake_wxObject(result
, 0);
33000 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33001 PyObject
*resultobj
;
33002 wxMenu
*arg1
= (wxMenu
*) 0 ;
33003 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33004 wxMenuItem
*result
;
33005 PyObject
* obj0
= 0 ;
33006 PyObject
* obj1
= 0 ;
33007 char *kwnames
[] = {
33008 (char *) "self",(char *) "item", NULL
33011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33013 if (SWIG_arg_fail(1)) SWIG_fail
;
33014 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33015 if (SWIG_arg_fail(2)) SWIG_fail
;
33017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33018 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
33020 wxPyEndAllowThreads(__tstate
);
33021 if (PyErr_Occurred()) SWIG_fail
;
33024 resultobj
= wxPyMake_wxObject(result
, 0);
33032 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33033 PyObject
*resultobj
;
33034 wxMenu
*arg1
= (wxMenu
*) 0 ;
33035 PyObject
* obj0
= 0 ;
33036 char *kwnames
[] = {
33037 (char *) "self", NULL
33040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
33041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33042 if (SWIG_arg_fail(1)) SWIG_fail
;
33044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33047 wxPyEndAllowThreads(__tstate
);
33048 if (PyErr_Occurred()) SWIG_fail
;
33050 Py_INCREF(Py_None
); resultobj
= Py_None
;
33057 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33058 PyObject
*resultobj
;
33059 wxMenu
*arg1
= (wxMenu
*) 0 ;
33061 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
33062 wxMenuItem
*result
;
33063 PyObject
* obj0
= 0 ;
33064 PyObject
* obj1
= 0 ;
33065 PyObject
* obj2
= 0 ;
33066 char *kwnames
[] = {
33067 (char *) "self",(char *) "pos",(char *) "item", NULL
33070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33072 if (SWIG_arg_fail(1)) SWIG_fail
;
33074 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33075 if (SWIG_arg_fail(2)) SWIG_fail
;
33077 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33078 if (SWIG_arg_fail(3)) SWIG_fail
;
33080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33081 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
33083 wxPyEndAllowThreads(__tstate
);
33084 if (PyErr_Occurred()) SWIG_fail
;
33087 resultobj
= wxPyMake_wxObject(result
, 0);
33095 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33096 PyObject
*resultobj
;
33097 wxMenu
*arg1
= (wxMenu
*) 0 ;
33100 wxString
*arg4
= 0 ;
33101 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33102 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33103 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
33104 wxMenuItem
*result
;
33105 bool temp4
= false ;
33106 bool temp5
= false ;
33107 PyObject
* obj0
= 0 ;
33108 PyObject
* obj1
= 0 ;
33109 PyObject
* obj2
= 0 ;
33110 PyObject
* obj3
= 0 ;
33111 PyObject
* obj4
= 0 ;
33112 PyObject
* obj5
= 0 ;
33113 char *kwnames
[] = {
33114 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
33117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33119 if (SWIG_arg_fail(1)) SWIG_fail
;
33121 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33122 if (SWIG_arg_fail(2)) SWIG_fail
;
33125 arg3
= (int)(SWIG_As_int(obj2
));
33126 if (SWIG_arg_fail(3)) SWIG_fail
;
33129 arg4
= wxString_in_helper(obj3
);
33130 if (arg4
== NULL
) SWIG_fail
;
33135 arg5
= wxString_in_helper(obj4
);
33136 if (arg5
== NULL
) SWIG_fail
;
33142 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
33143 if (SWIG_arg_fail(6)) SWIG_fail
;
33147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33148 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
33150 wxPyEndAllowThreads(__tstate
);
33151 if (PyErr_Occurred()) SWIG_fail
;
33154 resultobj
= wxPyMake_wxObject(result
, 0);
33178 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33179 PyObject
*resultobj
;
33180 wxMenu
*arg1
= (wxMenu
*) 0 ;
33182 wxMenuItem
*result
;
33183 PyObject
* obj0
= 0 ;
33184 PyObject
* obj1
= 0 ;
33185 char *kwnames
[] = {
33186 (char *) "self",(char *) "pos", NULL
33189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
33190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33191 if (SWIG_arg_fail(1)) SWIG_fail
;
33193 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33194 if (SWIG_arg_fail(2)) SWIG_fail
;
33197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33198 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
33200 wxPyEndAllowThreads(__tstate
);
33201 if (PyErr_Occurred()) SWIG_fail
;
33204 resultobj
= wxPyMake_wxObject(result
, 0);
33212 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33213 PyObject
*resultobj
;
33214 wxMenu
*arg1
= (wxMenu
*) 0 ;
33217 wxString
*arg4
= 0 ;
33218 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33219 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33220 wxMenuItem
*result
;
33221 bool temp4
= false ;
33222 bool temp5
= false ;
33223 PyObject
* obj0
= 0 ;
33224 PyObject
* obj1
= 0 ;
33225 PyObject
* obj2
= 0 ;
33226 PyObject
* obj3
= 0 ;
33227 PyObject
* obj4
= 0 ;
33228 char *kwnames
[] = {
33229 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
33232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33234 if (SWIG_arg_fail(1)) SWIG_fail
;
33236 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33237 if (SWIG_arg_fail(2)) SWIG_fail
;
33240 arg3
= (int)(SWIG_As_int(obj2
));
33241 if (SWIG_arg_fail(3)) SWIG_fail
;
33244 arg4
= wxString_in_helper(obj3
);
33245 if (arg4
== NULL
) SWIG_fail
;
33250 arg5
= wxString_in_helper(obj4
);
33251 if (arg5
== NULL
) SWIG_fail
;
33256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33257 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
33259 wxPyEndAllowThreads(__tstate
);
33260 if (PyErr_Occurred()) SWIG_fail
;
33263 resultobj
= wxPyMake_wxObject(result
, 0);
33287 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33288 PyObject
*resultobj
;
33289 wxMenu
*arg1
= (wxMenu
*) 0 ;
33292 wxString
*arg4
= 0 ;
33293 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33294 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33295 wxMenuItem
*result
;
33296 bool temp4
= false ;
33297 bool temp5
= false ;
33298 PyObject
* obj0
= 0 ;
33299 PyObject
* obj1
= 0 ;
33300 PyObject
* obj2
= 0 ;
33301 PyObject
* obj3
= 0 ;
33302 PyObject
* obj4
= 0 ;
33303 char *kwnames
[] = {
33304 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
33307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33309 if (SWIG_arg_fail(1)) SWIG_fail
;
33311 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33312 if (SWIG_arg_fail(2)) SWIG_fail
;
33315 arg3
= (int)(SWIG_As_int(obj2
));
33316 if (SWIG_arg_fail(3)) SWIG_fail
;
33319 arg4
= wxString_in_helper(obj3
);
33320 if (arg4
== NULL
) SWIG_fail
;
33325 arg5
= wxString_in_helper(obj4
);
33326 if (arg5
== NULL
) SWIG_fail
;
33331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33332 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
33334 wxPyEndAllowThreads(__tstate
);
33335 if (PyErr_Occurred()) SWIG_fail
;
33338 resultobj
= wxPyMake_wxObject(result
, 0);
33362 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33363 PyObject
*resultobj
;
33364 wxMenu
*arg1
= (wxMenu
*) 0 ;
33367 wxString
*arg4
= 0 ;
33368 wxMenu
*arg5
= (wxMenu
*) 0 ;
33369 wxString
const &arg6_defvalue
= wxPyEmptyString
;
33370 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
33371 wxMenuItem
*result
;
33372 bool temp4
= false ;
33373 bool temp6
= false ;
33374 PyObject
* obj0
= 0 ;
33375 PyObject
* obj1
= 0 ;
33376 PyObject
* obj2
= 0 ;
33377 PyObject
* obj3
= 0 ;
33378 PyObject
* obj4
= 0 ;
33379 PyObject
* obj5
= 0 ;
33380 char *kwnames
[] = {
33381 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33386 if (SWIG_arg_fail(1)) SWIG_fail
;
33388 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33389 if (SWIG_arg_fail(2)) SWIG_fail
;
33392 arg3
= (int)(SWIG_As_int(obj2
));
33393 if (SWIG_arg_fail(3)) SWIG_fail
;
33396 arg4
= wxString_in_helper(obj3
);
33397 if (arg4
== NULL
) SWIG_fail
;
33400 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33401 if (SWIG_arg_fail(5)) SWIG_fail
;
33404 arg6
= wxString_in_helper(obj5
);
33405 if (arg6
== NULL
) SWIG_fail
;
33410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33411 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
33413 wxPyEndAllowThreads(__tstate
);
33414 if (PyErr_Occurred()) SWIG_fail
;
33417 resultobj
= wxPyMake_wxObject(result
, 0);
33441 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33442 PyObject
*resultobj
;
33443 wxMenu
*arg1
= (wxMenu
*) 0 ;
33444 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33445 wxMenuItem
*result
;
33446 PyObject
* obj0
= 0 ;
33447 PyObject
* obj1
= 0 ;
33448 char *kwnames
[] = {
33449 (char *) "self",(char *) "item", NULL
33452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33454 if (SWIG_arg_fail(1)) SWIG_fail
;
33455 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33456 if (SWIG_arg_fail(2)) SWIG_fail
;
33458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33459 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
33461 wxPyEndAllowThreads(__tstate
);
33462 if (PyErr_Occurred()) SWIG_fail
;
33465 resultobj
= wxPyMake_wxObject(result
, 0);
33473 static PyObject
*_wrap_Menu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33474 PyObject
*resultobj
;
33475 wxMenu
*arg1
= (wxMenu
*) 0 ;
33477 wxString
*arg3
= 0 ;
33478 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33479 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33480 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
33481 wxMenuItem
*result
;
33482 bool temp3
= false ;
33483 bool temp4
= false ;
33484 PyObject
* obj0
= 0 ;
33485 PyObject
* obj1
= 0 ;
33486 PyObject
* obj2
= 0 ;
33487 PyObject
* obj3
= 0 ;
33488 PyObject
* obj4
= 0 ;
33489 char *kwnames
[] = {
33490 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
33493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33495 if (SWIG_arg_fail(1)) SWIG_fail
;
33497 arg2
= (int)(SWIG_As_int(obj1
));
33498 if (SWIG_arg_fail(2)) SWIG_fail
;
33501 arg3
= wxString_in_helper(obj2
);
33502 if (arg3
== NULL
) SWIG_fail
;
33507 arg4
= wxString_in_helper(obj3
);
33508 if (arg4
== NULL
) SWIG_fail
;
33514 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
33515 if (SWIG_arg_fail(5)) SWIG_fail
;
33519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33520 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
33522 wxPyEndAllowThreads(__tstate
);
33523 if (PyErr_Occurred()) SWIG_fail
;
33526 resultobj
= wxPyMake_wxObject(result
, 0);
33550 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33551 PyObject
*resultobj
;
33552 wxMenu
*arg1
= (wxMenu
*) 0 ;
33553 wxMenuItem
*result
;
33554 PyObject
* obj0
= 0 ;
33555 char *kwnames
[] = {
33556 (char *) "self", NULL
33559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
33560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33561 if (SWIG_arg_fail(1)) SWIG_fail
;
33563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33564 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
33566 wxPyEndAllowThreads(__tstate
);
33567 if (PyErr_Occurred()) SWIG_fail
;
33570 resultobj
= wxPyMake_wxObject(result
, 0);
33578 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33579 PyObject
*resultobj
;
33580 wxMenu
*arg1
= (wxMenu
*) 0 ;
33582 wxString
*arg3
= 0 ;
33583 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33584 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33585 wxMenuItem
*result
;
33586 bool temp3
= false ;
33587 bool temp4
= false ;
33588 PyObject
* obj0
= 0 ;
33589 PyObject
* obj1
= 0 ;
33590 PyObject
* obj2
= 0 ;
33591 PyObject
* obj3
= 0 ;
33592 char *kwnames
[] = {
33593 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33598 if (SWIG_arg_fail(1)) SWIG_fail
;
33600 arg2
= (int)(SWIG_As_int(obj1
));
33601 if (SWIG_arg_fail(2)) SWIG_fail
;
33604 arg3
= wxString_in_helper(obj2
);
33605 if (arg3
== NULL
) SWIG_fail
;
33610 arg4
= wxString_in_helper(obj3
);
33611 if (arg4
== NULL
) SWIG_fail
;
33616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33617 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33619 wxPyEndAllowThreads(__tstate
);
33620 if (PyErr_Occurred()) SWIG_fail
;
33623 resultobj
= wxPyMake_wxObject(result
, 0);
33647 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33648 PyObject
*resultobj
;
33649 wxMenu
*arg1
= (wxMenu
*) 0 ;
33651 wxString
*arg3
= 0 ;
33652 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33653 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33654 wxMenuItem
*result
;
33655 bool temp3
= false ;
33656 bool temp4
= false ;
33657 PyObject
* obj0
= 0 ;
33658 PyObject
* obj1
= 0 ;
33659 PyObject
* obj2
= 0 ;
33660 PyObject
* obj3
= 0 ;
33661 char *kwnames
[] = {
33662 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33667 if (SWIG_arg_fail(1)) SWIG_fail
;
33669 arg2
= (int)(SWIG_As_int(obj1
));
33670 if (SWIG_arg_fail(2)) SWIG_fail
;
33673 arg3
= wxString_in_helper(obj2
);
33674 if (arg3
== NULL
) SWIG_fail
;
33679 arg4
= wxString_in_helper(obj3
);
33680 if (arg4
== NULL
) SWIG_fail
;
33685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33686 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33688 wxPyEndAllowThreads(__tstate
);
33689 if (PyErr_Occurred()) SWIG_fail
;
33692 resultobj
= wxPyMake_wxObject(result
, 0);
33716 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33717 PyObject
*resultobj
;
33718 wxMenu
*arg1
= (wxMenu
*) 0 ;
33720 wxString
*arg3
= 0 ;
33721 wxMenu
*arg4
= (wxMenu
*) 0 ;
33722 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33723 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33724 wxMenuItem
*result
;
33725 bool temp3
= false ;
33726 bool temp5
= false ;
33727 PyObject
* obj0
= 0 ;
33728 PyObject
* obj1
= 0 ;
33729 PyObject
* obj2
= 0 ;
33730 PyObject
* obj3
= 0 ;
33731 PyObject
* obj4
= 0 ;
33732 char *kwnames
[] = {
33733 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33738 if (SWIG_arg_fail(1)) SWIG_fail
;
33740 arg2
= (int)(SWIG_As_int(obj1
));
33741 if (SWIG_arg_fail(2)) SWIG_fail
;
33744 arg3
= wxString_in_helper(obj2
);
33745 if (arg3
== NULL
) SWIG_fail
;
33748 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33749 if (SWIG_arg_fail(4)) SWIG_fail
;
33752 arg5
= wxString_in_helper(obj4
);
33753 if (arg5
== NULL
) SWIG_fail
;
33758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33759 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
33761 wxPyEndAllowThreads(__tstate
);
33762 if (PyErr_Occurred()) SWIG_fail
;
33765 resultobj
= wxPyMake_wxObject(result
, 0);
33789 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33790 PyObject
*resultobj
;
33791 wxMenu
*arg1
= (wxMenu
*) 0 ;
33793 wxMenuItem
*result
;
33794 PyObject
* obj0
= 0 ;
33795 PyObject
* obj1
= 0 ;
33796 char *kwnames
[] = {
33797 (char *) "self",(char *) "id", NULL
33800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
33801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33802 if (SWIG_arg_fail(1)) SWIG_fail
;
33804 arg2
= (int)(SWIG_As_int(obj1
));
33805 if (SWIG_arg_fail(2)) SWIG_fail
;
33808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33809 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
33811 wxPyEndAllowThreads(__tstate
);
33812 if (PyErr_Occurred()) SWIG_fail
;
33815 resultobj
= wxPyMake_wxObject(result
, 0);
33823 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33824 PyObject
*resultobj
;
33825 wxMenu
*arg1
= (wxMenu
*) 0 ;
33826 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33827 wxMenuItem
*result
;
33828 PyObject
* obj0
= 0 ;
33829 PyObject
* obj1
= 0 ;
33830 char *kwnames
[] = {
33831 (char *) "self",(char *) "item", NULL
33834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33836 if (SWIG_arg_fail(1)) SWIG_fail
;
33837 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33838 if (SWIG_arg_fail(2)) SWIG_fail
;
33840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33841 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
33843 wxPyEndAllowThreads(__tstate
);
33844 if (PyErr_Occurred()) SWIG_fail
;
33847 resultobj
= wxPyMake_wxObject(result
, 0);
33855 static PyObject
*_wrap_Menu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33856 PyObject
*resultobj
;
33857 wxMenu
*arg1
= (wxMenu
*) 0 ;
33860 PyObject
* obj0
= 0 ;
33861 PyObject
* obj1
= 0 ;
33862 char *kwnames
[] = {
33863 (char *) "self",(char *) "id", NULL
33866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
33867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33868 if (SWIG_arg_fail(1)) SWIG_fail
;
33870 arg2
= (int)(SWIG_As_int(obj1
));
33871 if (SWIG_arg_fail(2)) SWIG_fail
;
33874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33875 result
= (bool)(arg1
)->Delete(arg2
);
33877 wxPyEndAllowThreads(__tstate
);
33878 if (PyErr_Occurred()) SWIG_fail
;
33881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33889 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33890 PyObject
*resultobj
;
33891 wxMenu
*arg1
= (wxMenu
*) 0 ;
33892 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33894 PyObject
* obj0
= 0 ;
33895 PyObject
* obj1
= 0 ;
33896 char *kwnames
[] = {
33897 (char *) "self",(char *) "item", NULL
33900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33902 if (SWIG_arg_fail(1)) SWIG_fail
;
33903 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33904 if (SWIG_arg_fail(2)) SWIG_fail
;
33906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33907 result
= (bool)(arg1
)->Delete(arg2
);
33909 wxPyEndAllowThreads(__tstate
);
33910 if (PyErr_Occurred()) SWIG_fail
;
33913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33921 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33922 PyObject
*resultobj
;
33923 wxMenu
*arg1
= (wxMenu
*) 0 ;
33924 PyObject
* obj0
= 0 ;
33925 char *kwnames
[] = {
33926 (char *) "self", NULL
33929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
33930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33931 if (SWIG_arg_fail(1)) SWIG_fail
;
33933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33934 wxMenu_Destroy(arg1
);
33936 wxPyEndAllowThreads(__tstate
);
33937 if (PyErr_Occurred()) SWIG_fail
;
33939 Py_INCREF(Py_None
); resultobj
= Py_None
;
33946 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33947 PyObject
*resultobj
;
33948 wxMenu
*arg1
= (wxMenu
*) 0 ;
33951 PyObject
* obj0
= 0 ;
33952 PyObject
* obj1
= 0 ;
33953 char *kwnames
[] = {
33954 (char *) "self",(char *) "id", NULL
33957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
33958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33959 if (SWIG_arg_fail(1)) SWIG_fail
;
33961 arg2
= (int)(SWIG_As_int(obj1
));
33962 if (SWIG_arg_fail(2)) SWIG_fail
;
33965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33966 result
= (bool)(arg1
)->Destroy(arg2
);
33968 wxPyEndAllowThreads(__tstate
);
33969 if (PyErr_Occurred()) SWIG_fail
;
33972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33980 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33981 PyObject
*resultobj
;
33982 wxMenu
*arg1
= (wxMenu
*) 0 ;
33983 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33985 PyObject
* obj0
= 0 ;
33986 PyObject
* obj1
= 0 ;
33987 char *kwnames
[] = {
33988 (char *) "self",(char *) "item", NULL
33991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33993 if (SWIG_arg_fail(1)) SWIG_fail
;
33994 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33995 if (SWIG_arg_fail(2)) SWIG_fail
;
33997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33998 result
= (bool)(arg1
)->Destroy(arg2
);
34000 wxPyEndAllowThreads(__tstate
);
34001 if (PyErr_Occurred()) SWIG_fail
;
34004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34012 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34013 PyObject
*resultobj
;
34014 wxMenu
*arg1
= (wxMenu
*) 0 ;
34016 PyObject
* obj0
= 0 ;
34017 char *kwnames
[] = {
34018 (char *) "self", NULL
34021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
34022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34023 if (SWIG_arg_fail(1)) SWIG_fail
;
34025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34026 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
34028 wxPyEndAllowThreads(__tstate
);
34029 if (PyErr_Occurred()) SWIG_fail
;
34032 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
34040 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34041 PyObject
*resultobj
;
34042 wxMenu
*arg1
= (wxMenu
*) 0 ;
34044 PyObject
* obj0
= 0 ;
34045 char *kwnames
[] = {
34046 (char *) "self", NULL
34049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
34050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34051 if (SWIG_arg_fail(1)) SWIG_fail
;
34053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34054 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
34056 wxPyEndAllowThreads(__tstate
);
34057 if (PyErr_Occurred()) SWIG_fail
;
34059 resultobj
= result
;
34066 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34067 PyObject
*resultobj
;
34068 wxMenu
*arg1
= (wxMenu
*) 0 ;
34069 wxString
*arg2
= 0 ;
34071 bool temp2
= false ;
34072 PyObject
* obj0
= 0 ;
34073 PyObject
* obj1
= 0 ;
34074 char *kwnames
[] = {
34075 (char *) "self",(char *) "item", NULL
34078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34080 if (SWIG_arg_fail(1)) SWIG_fail
;
34082 arg2
= wxString_in_helper(obj1
);
34083 if (arg2
== NULL
) SWIG_fail
;
34087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34088 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
34090 wxPyEndAllowThreads(__tstate
);
34091 if (PyErr_Occurred()) SWIG_fail
;
34094 resultobj
= SWIG_From_int((int)(result
));
34110 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34111 PyObject
*resultobj
;
34112 wxMenu
*arg1
= (wxMenu
*) 0 ;
34114 wxMenuItem
*result
;
34115 PyObject
* obj0
= 0 ;
34116 PyObject
* obj1
= 0 ;
34117 char *kwnames
[] = {
34118 (char *) "self",(char *) "id", NULL
34121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
34122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34123 if (SWIG_arg_fail(1)) SWIG_fail
;
34125 arg2
= (int)(SWIG_As_int(obj1
));
34126 if (SWIG_arg_fail(2)) SWIG_fail
;
34129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34130 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
34132 wxPyEndAllowThreads(__tstate
);
34133 if (PyErr_Occurred()) SWIG_fail
;
34136 resultobj
= wxPyMake_wxObject(result
, 0);
34144 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34145 PyObject
*resultobj
;
34146 wxMenu
*arg1
= (wxMenu
*) 0 ;
34148 wxMenuItem
*result
;
34149 PyObject
* obj0
= 0 ;
34150 PyObject
* obj1
= 0 ;
34151 char *kwnames
[] = {
34152 (char *) "self",(char *) "position", NULL
34155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
34156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34157 if (SWIG_arg_fail(1)) SWIG_fail
;
34159 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34160 if (SWIG_arg_fail(2)) SWIG_fail
;
34163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34164 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
34166 wxPyEndAllowThreads(__tstate
);
34167 if (PyErr_Occurred()) SWIG_fail
;
34170 resultobj
= wxPyMake_wxObject(result
, 0);
34178 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34179 PyObject
*resultobj
;
34180 wxMenu
*arg1
= (wxMenu
*) 0 ;
34183 PyObject
* obj0
= 0 ;
34184 PyObject
* obj1
= 0 ;
34185 PyObject
* obj2
= 0 ;
34186 char *kwnames
[] = {
34187 (char *) "self",(char *) "id",(char *) "enable", NULL
34190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34192 if (SWIG_arg_fail(1)) SWIG_fail
;
34194 arg2
= (int)(SWIG_As_int(obj1
));
34195 if (SWIG_arg_fail(2)) SWIG_fail
;
34198 arg3
= (bool)(SWIG_As_bool(obj2
));
34199 if (SWIG_arg_fail(3)) SWIG_fail
;
34202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34203 (arg1
)->Enable(arg2
,arg3
);
34205 wxPyEndAllowThreads(__tstate
);
34206 if (PyErr_Occurred()) SWIG_fail
;
34208 Py_INCREF(Py_None
); resultobj
= Py_None
;
34215 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34216 PyObject
*resultobj
;
34217 wxMenu
*arg1
= (wxMenu
*) 0 ;
34220 PyObject
* obj0
= 0 ;
34221 PyObject
* obj1
= 0 ;
34222 char *kwnames
[] = {
34223 (char *) "self",(char *) "id", NULL
34226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
34227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34228 if (SWIG_arg_fail(1)) SWIG_fail
;
34230 arg2
= (int)(SWIG_As_int(obj1
));
34231 if (SWIG_arg_fail(2)) SWIG_fail
;
34234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34235 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
34237 wxPyEndAllowThreads(__tstate
);
34238 if (PyErr_Occurred()) SWIG_fail
;
34241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34249 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34250 PyObject
*resultobj
;
34251 wxMenu
*arg1
= (wxMenu
*) 0 ;
34254 PyObject
* obj0
= 0 ;
34255 PyObject
* obj1
= 0 ;
34256 PyObject
* obj2
= 0 ;
34257 char *kwnames
[] = {
34258 (char *) "self",(char *) "id",(char *) "check", NULL
34261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34263 if (SWIG_arg_fail(1)) SWIG_fail
;
34265 arg2
= (int)(SWIG_As_int(obj1
));
34266 if (SWIG_arg_fail(2)) SWIG_fail
;
34269 arg3
= (bool)(SWIG_As_bool(obj2
));
34270 if (SWIG_arg_fail(3)) SWIG_fail
;
34273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34274 (arg1
)->Check(arg2
,arg3
);
34276 wxPyEndAllowThreads(__tstate
);
34277 if (PyErr_Occurred()) SWIG_fail
;
34279 Py_INCREF(Py_None
); resultobj
= Py_None
;
34286 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34287 PyObject
*resultobj
;
34288 wxMenu
*arg1
= (wxMenu
*) 0 ;
34291 PyObject
* obj0
= 0 ;
34292 PyObject
* obj1
= 0 ;
34293 char *kwnames
[] = {
34294 (char *) "self",(char *) "id", NULL
34297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
34298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34299 if (SWIG_arg_fail(1)) SWIG_fail
;
34301 arg2
= (int)(SWIG_As_int(obj1
));
34302 if (SWIG_arg_fail(2)) SWIG_fail
;
34305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34306 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
34308 wxPyEndAllowThreads(__tstate
);
34309 if (PyErr_Occurred()) SWIG_fail
;
34312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34320 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34321 PyObject
*resultobj
;
34322 wxMenu
*arg1
= (wxMenu
*) 0 ;
34324 wxString
*arg3
= 0 ;
34325 bool temp3
= false ;
34326 PyObject
* obj0
= 0 ;
34327 PyObject
* obj1
= 0 ;
34328 PyObject
* obj2
= 0 ;
34329 char *kwnames
[] = {
34330 (char *) "self",(char *) "id",(char *) "label", NULL
34333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34335 if (SWIG_arg_fail(1)) SWIG_fail
;
34337 arg2
= (int)(SWIG_As_int(obj1
));
34338 if (SWIG_arg_fail(2)) SWIG_fail
;
34341 arg3
= wxString_in_helper(obj2
);
34342 if (arg3
== NULL
) SWIG_fail
;
34346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34347 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
34349 wxPyEndAllowThreads(__tstate
);
34350 if (PyErr_Occurred()) SWIG_fail
;
34352 Py_INCREF(Py_None
); resultobj
= Py_None
;
34367 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34368 PyObject
*resultobj
;
34369 wxMenu
*arg1
= (wxMenu
*) 0 ;
34372 PyObject
* obj0
= 0 ;
34373 PyObject
* obj1
= 0 ;
34374 char *kwnames
[] = {
34375 (char *) "self",(char *) "id", NULL
34378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
34379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34380 if (SWIG_arg_fail(1)) SWIG_fail
;
34382 arg2
= (int)(SWIG_As_int(obj1
));
34383 if (SWIG_arg_fail(2)) SWIG_fail
;
34386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34387 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
34389 wxPyEndAllowThreads(__tstate
);
34390 if (PyErr_Occurred()) SWIG_fail
;
34394 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34396 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34405 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34406 PyObject
*resultobj
;
34407 wxMenu
*arg1
= (wxMenu
*) 0 ;
34409 wxString
*arg3
= 0 ;
34410 bool temp3
= false ;
34411 PyObject
* obj0
= 0 ;
34412 PyObject
* obj1
= 0 ;
34413 PyObject
* obj2
= 0 ;
34414 char *kwnames
[] = {
34415 (char *) "self",(char *) "id",(char *) "helpString", NULL
34418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34420 if (SWIG_arg_fail(1)) SWIG_fail
;
34422 arg2
= (int)(SWIG_As_int(obj1
));
34423 if (SWIG_arg_fail(2)) SWIG_fail
;
34426 arg3
= wxString_in_helper(obj2
);
34427 if (arg3
== NULL
) SWIG_fail
;
34431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34432 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
34434 wxPyEndAllowThreads(__tstate
);
34435 if (PyErr_Occurred()) SWIG_fail
;
34437 Py_INCREF(Py_None
); resultobj
= Py_None
;
34452 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34453 PyObject
*resultobj
;
34454 wxMenu
*arg1
= (wxMenu
*) 0 ;
34457 PyObject
* obj0
= 0 ;
34458 PyObject
* obj1
= 0 ;
34459 char *kwnames
[] = {
34460 (char *) "self",(char *) "id", NULL
34463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
34464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34465 if (SWIG_arg_fail(1)) SWIG_fail
;
34467 arg2
= (int)(SWIG_As_int(obj1
));
34468 if (SWIG_arg_fail(2)) SWIG_fail
;
34471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34472 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
34474 wxPyEndAllowThreads(__tstate
);
34475 if (PyErr_Occurred()) SWIG_fail
;
34479 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34481 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34490 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34491 PyObject
*resultobj
;
34492 wxMenu
*arg1
= (wxMenu
*) 0 ;
34493 wxString
*arg2
= 0 ;
34494 bool temp2
= false ;
34495 PyObject
* obj0
= 0 ;
34496 PyObject
* obj1
= 0 ;
34497 char *kwnames
[] = {
34498 (char *) "self",(char *) "title", NULL
34501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
34502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34503 if (SWIG_arg_fail(1)) SWIG_fail
;
34505 arg2
= wxString_in_helper(obj1
);
34506 if (arg2
== NULL
) SWIG_fail
;
34510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34511 (arg1
)->SetTitle((wxString
const &)*arg2
);
34513 wxPyEndAllowThreads(__tstate
);
34514 if (PyErr_Occurred()) SWIG_fail
;
34516 Py_INCREF(Py_None
); resultobj
= Py_None
;
34531 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34532 PyObject
*resultobj
;
34533 wxMenu
*arg1
= (wxMenu
*) 0 ;
34535 PyObject
* obj0
= 0 ;
34536 char *kwnames
[] = {
34537 (char *) "self", NULL
34540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
34541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34542 if (SWIG_arg_fail(1)) SWIG_fail
;
34544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34545 result
= ((wxMenu
const *)arg1
)->GetTitle();
34547 wxPyEndAllowThreads(__tstate
);
34548 if (PyErr_Occurred()) SWIG_fail
;
34552 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34554 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34563 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34564 PyObject
*resultobj
;
34565 wxMenu
*arg1
= (wxMenu
*) 0 ;
34566 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
34567 PyObject
* obj0
= 0 ;
34568 PyObject
* obj1
= 0 ;
34569 char *kwnames
[] = {
34570 (char *) "self",(char *) "handler", NULL
34573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
34574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34575 if (SWIG_arg_fail(1)) SWIG_fail
;
34576 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
34577 if (SWIG_arg_fail(2)) SWIG_fail
;
34579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34580 (arg1
)->SetEventHandler(arg2
);
34582 wxPyEndAllowThreads(__tstate
);
34583 if (PyErr_Occurred()) SWIG_fail
;
34585 Py_INCREF(Py_None
); resultobj
= Py_None
;
34592 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34593 PyObject
*resultobj
;
34594 wxMenu
*arg1
= (wxMenu
*) 0 ;
34595 wxEvtHandler
*result
;
34596 PyObject
* obj0
= 0 ;
34597 char *kwnames
[] = {
34598 (char *) "self", NULL
34601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
34602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34603 if (SWIG_arg_fail(1)) SWIG_fail
;
34605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34606 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
34608 wxPyEndAllowThreads(__tstate
);
34609 if (PyErr_Occurred()) SWIG_fail
;
34612 resultobj
= wxPyMake_wxObject(result
, 0);
34620 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34621 PyObject
*resultobj
;
34622 wxMenu
*arg1
= (wxMenu
*) 0 ;
34623 wxWindow
*arg2
= (wxWindow
*) 0 ;
34624 PyObject
* obj0
= 0 ;
34625 PyObject
* obj1
= 0 ;
34626 char *kwnames
[] = {
34627 (char *) "self",(char *) "win", NULL
34630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
34631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34632 if (SWIG_arg_fail(1)) SWIG_fail
;
34633 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34634 if (SWIG_arg_fail(2)) SWIG_fail
;
34636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34637 (arg1
)->SetInvokingWindow(arg2
);
34639 wxPyEndAllowThreads(__tstate
);
34640 if (PyErr_Occurred()) SWIG_fail
;
34642 Py_INCREF(Py_None
); resultobj
= Py_None
;
34649 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34650 PyObject
*resultobj
;
34651 wxMenu
*arg1
= (wxMenu
*) 0 ;
34653 PyObject
* obj0
= 0 ;
34654 char *kwnames
[] = {
34655 (char *) "self", NULL
34658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
34659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34660 if (SWIG_arg_fail(1)) SWIG_fail
;
34662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34663 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
34665 wxPyEndAllowThreads(__tstate
);
34666 if (PyErr_Occurred()) SWIG_fail
;
34669 resultobj
= wxPyMake_wxObject(result
, 0);
34677 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34678 PyObject
*resultobj
;
34679 wxMenu
*arg1
= (wxMenu
*) 0 ;
34681 PyObject
* obj0
= 0 ;
34682 char *kwnames
[] = {
34683 (char *) "self", NULL
34686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
34687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34688 if (SWIG_arg_fail(1)) SWIG_fail
;
34690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34691 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
34693 wxPyEndAllowThreads(__tstate
);
34694 if (PyErr_Occurred()) SWIG_fail
;
34697 resultobj
= SWIG_From_long((long)(result
));
34705 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34706 PyObject
*resultobj
;
34707 wxMenu
*arg1
= (wxMenu
*) 0 ;
34708 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
34709 PyObject
* obj0
= 0 ;
34710 PyObject
* obj1
= 0 ;
34711 char *kwnames
[] = {
34712 (char *) "self",(char *) "source", NULL
34715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
34716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34717 if (SWIG_arg_fail(1)) SWIG_fail
;
34719 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
34720 if (SWIG_arg_fail(2)) SWIG_fail
;
34723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34724 (arg1
)->UpdateUI(arg2
);
34726 wxPyEndAllowThreads(__tstate
);
34727 if (PyErr_Occurred()) SWIG_fail
;
34729 Py_INCREF(Py_None
); resultobj
= Py_None
;
34736 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34737 PyObject
*resultobj
;
34738 wxMenu
*arg1
= (wxMenu
*) 0 ;
34740 PyObject
* obj0
= 0 ;
34741 char *kwnames
[] = {
34742 (char *) "self", NULL
34745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
34746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34747 if (SWIG_arg_fail(1)) SWIG_fail
;
34749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34750 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
34752 wxPyEndAllowThreads(__tstate
);
34753 if (PyErr_Occurred()) SWIG_fail
;
34756 resultobj
= wxPyMake_wxObject(result
, 0);
34764 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34765 PyObject
*resultobj
;
34766 wxMenu
*arg1
= (wxMenu
*) 0 ;
34767 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
34768 PyObject
* obj0
= 0 ;
34769 PyObject
* obj1
= 0 ;
34770 char *kwnames
[] = {
34771 (char *) "self",(char *) "menubar", NULL
34774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
34775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34776 if (SWIG_arg_fail(1)) SWIG_fail
;
34777 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBarBase
, SWIG_POINTER_EXCEPTION
| 0);
34778 if (SWIG_arg_fail(2)) SWIG_fail
;
34780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34781 (arg1
)->Attach(arg2
);
34783 wxPyEndAllowThreads(__tstate
);
34784 if (PyErr_Occurred()) SWIG_fail
;
34786 Py_INCREF(Py_None
); resultobj
= Py_None
;
34793 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34794 PyObject
*resultobj
;
34795 wxMenu
*arg1
= (wxMenu
*) 0 ;
34796 PyObject
* obj0
= 0 ;
34797 char *kwnames
[] = {
34798 (char *) "self", NULL
34801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
34802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34803 if (SWIG_arg_fail(1)) SWIG_fail
;
34805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34808 wxPyEndAllowThreads(__tstate
);
34809 if (PyErr_Occurred()) SWIG_fail
;
34811 Py_INCREF(Py_None
); resultobj
= Py_None
;
34818 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34819 PyObject
*resultobj
;
34820 wxMenu
*arg1
= (wxMenu
*) 0 ;
34822 PyObject
* obj0
= 0 ;
34823 char *kwnames
[] = {
34824 (char *) "self", NULL
34827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
34828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34829 if (SWIG_arg_fail(1)) SWIG_fail
;
34831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34832 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
34834 wxPyEndAllowThreads(__tstate
);
34835 if (PyErr_Occurred()) SWIG_fail
;
34838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34846 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34847 PyObject
*resultobj
;
34848 wxMenu
*arg1
= (wxMenu
*) 0 ;
34849 wxMenu
*arg2
= (wxMenu
*) 0 ;
34850 PyObject
* obj0
= 0 ;
34851 PyObject
* obj1
= 0 ;
34852 char *kwnames
[] = {
34853 (char *) "self",(char *) "parent", NULL
34856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
34857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34858 if (SWIG_arg_fail(1)) SWIG_fail
;
34859 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34860 if (SWIG_arg_fail(2)) SWIG_fail
;
34862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34863 (arg1
)->SetParent(arg2
);
34865 wxPyEndAllowThreads(__tstate
);
34866 if (PyErr_Occurred()) SWIG_fail
;
34868 Py_INCREF(Py_None
); resultobj
= Py_None
;
34875 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34876 PyObject
*resultobj
;
34877 wxMenu
*arg1
= (wxMenu
*) 0 ;
34879 PyObject
* obj0
= 0 ;
34880 char *kwnames
[] = {
34881 (char *) "self", NULL
34884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
34885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34886 if (SWIG_arg_fail(1)) SWIG_fail
;
34888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34889 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
34891 wxPyEndAllowThreads(__tstate
);
34892 if (PyErr_Occurred()) SWIG_fail
;
34895 resultobj
= wxPyMake_wxObject(result
, 0);
34903 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
34905 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34906 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
34908 return Py_BuildValue((char *)"");
34910 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34911 PyObject
*resultobj
;
34912 long arg1
= (long) 0 ;
34914 PyObject
* obj0
= 0 ;
34915 char *kwnames
[] = {
34916 (char *) "style", NULL
34919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
34922 arg1
= (long)(SWIG_As_long(obj0
));
34923 if (SWIG_arg_fail(1)) SWIG_fail
;
34927 if (!wxPyCheckForApp()) SWIG_fail
;
34928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34929 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
34931 wxPyEndAllowThreads(__tstate
);
34932 if (PyErr_Occurred()) SWIG_fail
;
34934 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
34941 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34942 PyObject
*resultobj
;
34943 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34944 wxMenu
*arg2
= (wxMenu
*) 0 ;
34945 wxString
*arg3
= 0 ;
34947 bool temp3
= false ;
34948 PyObject
* obj0
= 0 ;
34949 PyObject
* obj1
= 0 ;
34950 PyObject
* obj2
= 0 ;
34951 char *kwnames
[] = {
34952 (char *) "self",(char *) "menu",(char *) "title", NULL
34955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34957 if (SWIG_arg_fail(1)) SWIG_fail
;
34958 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34959 if (SWIG_arg_fail(2)) SWIG_fail
;
34961 arg3
= wxString_in_helper(obj2
);
34962 if (arg3
== NULL
) SWIG_fail
;
34966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34967 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
34969 wxPyEndAllowThreads(__tstate
);
34970 if (PyErr_Occurred()) SWIG_fail
;
34973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34989 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34990 PyObject
*resultobj
;
34991 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34993 wxMenu
*arg3
= (wxMenu
*) 0 ;
34994 wxString
*arg4
= 0 ;
34996 bool temp4
= false ;
34997 PyObject
* obj0
= 0 ;
34998 PyObject
* obj1
= 0 ;
34999 PyObject
* obj2
= 0 ;
35000 PyObject
* obj3
= 0 ;
35001 char *kwnames
[] = {
35002 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
35005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
35006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35007 if (SWIG_arg_fail(1)) SWIG_fail
;
35009 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35010 if (SWIG_arg_fail(2)) SWIG_fail
;
35012 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35013 if (SWIG_arg_fail(3)) SWIG_fail
;
35015 arg4
= wxString_in_helper(obj3
);
35016 if (arg4
== NULL
) SWIG_fail
;
35020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35021 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
35023 wxPyEndAllowThreads(__tstate
);
35024 if (PyErr_Occurred()) SWIG_fail
;
35027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35043 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35044 PyObject
*resultobj
;
35045 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35047 PyObject
* obj0
= 0 ;
35048 char *kwnames
[] = {
35049 (char *) "self", NULL
35052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
35053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35054 if (SWIG_arg_fail(1)) SWIG_fail
;
35056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35057 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
35059 wxPyEndAllowThreads(__tstate
);
35060 if (PyErr_Occurred()) SWIG_fail
;
35063 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
35071 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35072 PyObject
*resultobj
;
35073 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35076 PyObject
* obj0
= 0 ;
35077 PyObject
* obj1
= 0 ;
35078 char *kwnames
[] = {
35079 (char *) "self",(char *) "pos", NULL
35082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35084 if (SWIG_arg_fail(1)) SWIG_fail
;
35086 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35087 if (SWIG_arg_fail(2)) SWIG_fail
;
35090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35091 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
35093 wxPyEndAllowThreads(__tstate
);
35094 if (PyErr_Occurred()) SWIG_fail
;
35097 resultobj
= wxPyMake_wxObject(result
, 0);
35105 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35106 PyObject
*resultobj
;
35107 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35109 wxMenu
*arg3
= (wxMenu
*) 0 ;
35110 wxString
*arg4
= 0 ;
35112 bool temp4
= false ;
35113 PyObject
* obj0
= 0 ;
35114 PyObject
* obj1
= 0 ;
35115 PyObject
* obj2
= 0 ;
35116 PyObject
* obj3
= 0 ;
35117 char *kwnames
[] = {
35118 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
35121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
35122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35123 if (SWIG_arg_fail(1)) SWIG_fail
;
35125 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35126 if (SWIG_arg_fail(2)) SWIG_fail
;
35128 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35129 if (SWIG_arg_fail(3)) SWIG_fail
;
35131 arg4
= wxString_in_helper(obj3
);
35132 if (arg4
== NULL
) SWIG_fail
;
35136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35137 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
35139 wxPyEndAllowThreads(__tstate
);
35140 if (PyErr_Occurred()) SWIG_fail
;
35143 resultobj
= wxPyMake_wxObject(result
, 0);
35159 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35160 PyObject
*resultobj
;
35161 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35164 PyObject
* obj0
= 0 ;
35165 PyObject
* obj1
= 0 ;
35166 char *kwnames
[] = {
35167 (char *) "self",(char *) "pos", NULL
35170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
35171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35172 if (SWIG_arg_fail(1)) SWIG_fail
;
35174 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35175 if (SWIG_arg_fail(2)) SWIG_fail
;
35178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35179 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
35181 wxPyEndAllowThreads(__tstate
);
35182 if (PyErr_Occurred()) SWIG_fail
;
35185 resultobj
= wxPyMake_wxObject(result
, 0);
35193 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35194 PyObject
*resultobj
;
35195 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35198 PyObject
* obj0
= 0 ;
35199 PyObject
* obj1
= 0 ;
35200 PyObject
* obj2
= 0 ;
35201 char *kwnames
[] = {
35202 (char *) "self",(char *) "pos",(char *) "enable", NULL
35205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35207 if (SWIG_arg_fail(1)) SWIG_fail
;
35209 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35210 if (SWIG_arg_fail(2)) SWIG_fail
;
35213 arg3
= (bool)(SWIG_As_bool(obj2
));
35214 if (SWIG_arg_fail(3)) SWIG_fail
;
35217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35218 (arg1
)->EnableTop(arg2
,arg3
);
35220 wxPyEndAllowThreads(__tstate
);
35221 if (PyErr_Occurred()) SWIG_fail
;
35223 Py_INCREF(Py_None
); resultobj
= Py_None
;
35230 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35231 PyObject
*resultobj
;
35232 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35235 PyObject
* obj0
= 0 ;
35236 PyObject
* obj1
= 0 ;
35237 char *kwnames
[] = {
35238 (char *) "self",(char *) "pos", NULL
35241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
35242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35243 if (SWIG_arg_fail(1)) SWIG_fail
;
35245 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35246 if (SWIG_arg_fail(2)) SWIG_fail
;
35249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35250 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
35252 wxPyEndAllowThreads(__tstate
);
35253 if (PyErr_Occurred()) SWIG_fail
;
35256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35264 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35265 PyObject
*resultobj
;
35266 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35268 wxString
*arg3
= 0 ;
35269 bool temp3
= false ;
35270 PyObject
* obj0
= 0 ;
35271 PyObject
* obj1
= 0 ;
35272 PyObject
* obj2
= 0 ;
35273 char *kwnames
[] = {
35274 (char *) "self",(char *) "pos",(char *) "label", NULL
35277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35279 if (SWIG_arg_fail(1)) SWIG_fail
;
35281 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35282 if (SWIG_arg_fail(2)) SWIG_fail
;
35285 arg3
= wxString_in_helper(obj2
);
35286 if (arg3
== NULL
) SWIG_fail
;
35290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35291 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
35293 wxPyEndAllowThreads(__tstate
);
35294 if (PyErr_Occurred()) SWIG_fail
;
35296 Py_INCREF(Py_None
); resultobj
= Py_None
;
35311 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35312 PyObject
*resultobj
;
35313 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35316 PyObject
* obj0
= 0 ;
35317 PyObject
* obj1
= 0 ;
35318 char *kwnames
[] = {
35319 (char *) "self",(char *) "pos", NULL
35322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
35323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35324 if (SWIG_arg_fail(1)) SWIG_fail
;
35326 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35327 if (SWIG_arg_fail(2)) SWIG_fail
;
35330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35331 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
35333 wxPyEndAllowThreads(__tstate
);
35334 if (PyErr_Occurred()) SWIG_fail
;
35338 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35340 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35349 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35350 PyObject
*resultobj
;
35351 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35352 wxString
*arg2
= 0 ;
35353 wxString
*arg3
= 0 ;
35355 bool temp2
= false ;
35356 bool temp3
= false ;
35357 PyObject
* obj0
= 0 ;
35358 PyObject
* obj1
= 0 ;
35359 PyObject
* obj2
= 0 ;
35360 char *kwnames
[] = {
35361 (char *) "self",(char *) "menu",(char *) "item", NULL
35364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35366 if (SWIG_arg_fail(1)) SWIG_fail
;
35368 arg2
= wxString_in_helper(obj1
);
35369 if (arg2
== NULL
) SWIG_fail
;
35373 arg3
= wxString_in_helper(obj2
);
35374 if (arg3
== NULL
) SWIG_fail
;
35378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35379 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
35381 wxPyEndAllowThreads(__tstate
);
35382 if (PyErr_Occurred()) SWIG_fail
;
35385 resultobj
= SWIG_From_int((int)(result
));
35409 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35410 PyObject
*resultobj
;
35411 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35413 wxMenuItem
*result
;
35414 PyObject
* obj0
= 0 ;
35415 PyObject
* obj1
= 0 ;
35416 char *kwnames
[] = {
35417 (char *) "self",(char *) "id", NULL
35420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
35421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35422 if (SWIG_arg_fail(1)) SWIG_fail
;
35424 arg2
= (int)(SWIG_As_int(obj1
));
35425 if (SWIG_arg_fail(2)) SWIG_fail
;
35428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35429 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
35431 wxPyEndAllowThreads(__tstate
);
35432 if (PyErr_Occurred()) SWIG_fail
;
35435 resultobj
= wxPyMake_wxObject(result
, 0);
35443 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35444 PyObject
*resultobj
;
35445 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35446 wxString
*arg2
= 0 ;
35448 bool temp2
= false ;
35449 PyObject
* obj0
= 0 ;
35450 PyObject
* obj1
= 0 ;
35451 char *kwnames
[] = {
35452 (char *) "self",(char *) "title", NULL
35455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35457 if (SWIG_arg_fail(1)) SWIG_fail
;
35459 arg2
= wxString_in_helper(obj1
);
35460 if (arg2
== NULL
) SWIG_fail
;
35464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35465 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
35467 wxPyEndAllowThreads(__tstate
);
35468 if (PyErr_Occurred()) SWIG_fail
;
35471 resultobj
= SWIG_From_int((int)(result
));
35487 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35488 PyObject
*resultobj
;
35489 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35492 PyObject
* obj0
= 0 ;
35493 PyObject
* obj1
= 0 ;
35494 PyObject
* obj2
= 0 ;
35495 char *kwnames
[] = {
35496 (char *) "self",(char *) "id",(char *) "enable", NULL
35499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35501 if (SWIG_arg_fail(1)) SWIG_fail
;
35503 arg2
= (int)(SWIG_As_int(obj1
));
35504 if (SWIG_arg_fail(2)) SWIG_fail
;
35507 arg3
= (bool)(SWIG_As_bool(obj2
));
35508 if (SWIG_arg_fail(3)) SWIG_fail
;
35511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35512 (arg1
)->Enable(arg2
,arg3
);
35514 wxPyEndAllowThreads(__tstate
);
35515 if (PyErr_Occurred()) SWIG_fail
;
35517 Py_INCREF(Py_None
); resultobj
= Py_None
;
35524 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35525 PyObject
*resultobj
;
35526 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35529 PyObject
* obj0
= 0 ;
35530 PyObject
* obj1
= 0 ;
35531 PyObject
* obj2
= 0 ;
35532 char *kwnames
[] = {
35533 (char *) "self",(char *) "id",(char *) "check", NULL
35536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35538 if (SWIG_arg_fail(1)) SWIG_fail
;
35540 arg2
= (int)(SWIG_As_int(obj1
));
35541 if (SWIG_arg_fail(2)) SWIG_fail
;
35544 arg3
= (bool)(SWIG_As_bool(obj2
));
35545 if (SWIG_arg_fail(3)) SWIG_fail
;
35548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35549 (arg1
)->Check(arg2
,arg3
);
35551 wxPyEndAllowThreads(__tstate
);
35552 if (PyErr_Occurred()) SWIG_fail
;
35554 Py_INCREF(Py_None
); resultobj
= Py_None
;
35561 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35562 PyObject
*resultobj
;
35563 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35566 PyObject
* obj0
= 0 ;
35567 PyObject
* obj1
= 0 ;
35568 char *kwnames
[] = {
35569 (char *) "self",(char *) "id", NULL
35572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
35573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35574 if (SWIG_arg_fail(1)) SWIG_fail
;
35576 arg2
= (int)(SWIG_As_int(obj1
));
35577 if (SWIG_arg_fail(2)) SWIG_fail
;
35580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35581 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
35583 wxPyEndAllowThreads(__tstate
);
35584 if (PyErr_Occurred()) SWIG_fail
;
35587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35595 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35596 PyObject
*resultobj
;
35597 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35600 PyObject
* obj0
= 0 ;
35601 PyObject
* obj1
= 0 ;
35602 char *kwnames
[] = {
35603 (char *) "self",(char *) "id", NULL
35606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
35607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35608 if (SWIG_arg_fail(1)) SWIG_fail
;
35610 arg2
= (int)(SWIG_As_int(obj1
));
35611 if (SWIG_arg_fail(2)) SWIG_fail
;
35614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35615 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
35617 wxPyEndAllowThreads(__tstate
);
35618 if (PyErr_Occurred()) SWIG_fail
;
35621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35629 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35630 PyObject
*resultobj
;
35631 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35633 wxString
*arg3
= 0 ;
35634 bool temp3
= false ;
35635 PyObject
* obj0
= 0 ;
35636 PyObject
* obj1
= 0 ;
35637 PyObject
* obj2
= 0 ;
35638 char *kwnames
[] = {
35639 (char *) "self",(char *) "id",(char *) "label", NULL
35642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35644 if (SWIG_arg_fail(1)) SWIG_fail
;
35646 arg2
= (int)(SWIG_As_int(obj1
));
35647 if (SWIG_arg_fail(2)) SWIG_fail
;
35650 arg3
= wxString_in_helper(obj2
);
35651 if (arg3
== NULL
) SWIG_fail
;
35655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35656 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
35658 wxPyEndAllowThreads(__tstate
);
35659 if (PyErr_Occurred()) SWIG_fail
;
35661 Py_INCREF(Py_None
); resultobj
= Py_None
;
35676 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35677 PyObject
*resultobj
;
35678 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35681 PyObject
* obj0
= 0 ;
35682 PyObject
* obj1
= 0 ;
35683 char *kwnames
[] = {
35684 (char *) "self",(char *) "id", NULL
35687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
35688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35689 if (SWIG_arg_fail(1)) SWIG_fail
;
35691 arg2
= (int)(SWIG_As_int(obj1
));
35692 if (SWIG_arg_fail(2)) SWIG_fail
;
35695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35696 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
35698 wxPyEndAllowThreads(__tstate
);
35699 if (PyErr_Occurred()) SWIG_fail
;
35703 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35705 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35714 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35715 PyObject
*resultobj
;
35716 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35718 wxString
*arg3
= 0 ;
35719 bool temp3
= false ;
35720 PyObject
* obj0
= 0 ;
35721 PyObject
* obj1
= 0 ;
35722 PyObject
* obj2
= 0 ;
35723 char *kwnames
[] = {
35724 (char *) "self",(char *) "id",(char *) "helpString", NULL
35727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35729 if (SWIG_arg_fail(1)) SWIG_fail
;
35731 arg2
= (int)(SWIG_As_int(obj1
));
35732 if (SWIG_arg_fail(2)) SWIG_fail
;
35735 arg3
= wxString_in_helper(obj2
);
35736 if (arg3
== NULL
) SWIG_fail
;
35740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35741 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
35743 wxPyEndAllowThreads(__tstate
);
35744 if (PyErr_Occurred()) SWIG_fail
;
35746 Py_INCREF(Py_None
); resultobj
= Py_None
;
35761 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35762 PyObject
*resultobj
;
35763 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35766 PyObject
* obj0
= 0 ;
35767 PyObject
* obj1
= 0 ;
35768 char *kwnames
[] = {
35769 (char *) "self",(char *) "id", NULL
35772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
35773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35774 if (SWIG_arg_fail(1)) SWIG_fail
;
35776 arg2
= (int)(SWIG_As_int(obj1
));
35777 if (SWIG_arg_fail(2)) SWIG_fail
;
35780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35781 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
35783 wxPyEndAllowThreads(__tstate
);
35784 if (PyErr_Occurred()) SWIG_fail
;
35788 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35790 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35799 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35800 PyObject
*resultobj
;
35801 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35803 PyObject
* obj0
= 0 ;
35804 char *kwnames
[] = {
35805 (char *) "self", NULL
35808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
35809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35810 if (SWIG_arg_fail(1)) SWIG_fail
;
35812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35813 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
35815 wxPyEndAllowThreads(__tstate
);
35816 if (PyErr_Occurred()) SWIG_fail
;
35819 resultobj
= wxPyMake_wxObject(result
, 0);
35827 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35828 PyObject
*resultobj
;
35829 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35831 PyObject
* obj0
= 0 ;
35832 char *kwnames
[] = {
35833 (char *) "self", NULL
35836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
35837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35838 if (SWIG_arg_fail(1)) SWIG_fail
;
35840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35841 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
35843 wxPyEndAllowThreads(__tstate
);
35844 if (PyErr_Occurred()) SWIG_fail
;
35847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35855 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35856 PyObject
*resultobj
;
35857 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35858 wxFrame
*arg2
= (wxFrame
*) 0 ;
35859 PyObject
* obj0
= 0 ;
35860 PyObject
* obj1
= 0 ;
35861 char *kwnames
[] = {
35862 (char *) "self",(char *) "frame", NULL
35865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
35866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35867 if (SWIG_arg_fail(1)) SWIG_fail
;
35868 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
35869 if (SWIG_arg_fail(2)) SWIG_fail
;
35871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35872 (arg1
)->Attach(arg2
);
35874 wxPyEndAllowThreads(__tstate
);
35875 if (PyErr_Occurred()) SWIG_fail
;
35877 Py_INCREF(Py_None
); resultobj
= Py_None
;
35884 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35885 PyObject
*resultobj
;
35886 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35887 PyObject
* obj0
= 0 ;
35888 char *kwnames
[] = {
35889 (char *) "self", NULL
35892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
35893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35894 if (SWIG_arg_fail(1)) SWIG_fail
;
35896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35899 wxPyEndAllowThreads(__tstate
);
35900 if (PyErr_Occurred()) SWIG_fail
;
35902 Py_INCREF(Py_None
); resultobj
= Py_None
;
35909 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
35911 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35912 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
35914 return Py_BuildValue((char *)"");
35916 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35917 PyObject
*resultobj
;
35918 wxMenu
*arg1
= (wxMenu
*) NULL
;
35919 int arg2
= (int) wxID_ANY
;
35920 wxString
const &arg3_defvalue
= wxPyEmptyString
;
35921 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
35922 wxString
const &arg4_defvalue
= wxPyEmptyString
;
35923 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
35924 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
35925 wxMenu
*arg6
= (wxMenu
*) NULL
;
35926 wxMenuItem
*result
;
35927 bool temp3
= false ;
35928 bool temp4
= false ;
35929 PyObject
* obj0
= 0 ;
35930 PyObject
* obj1
= 0 ;
35931 PyObject
* obj2
= 0 ;
35932 PyObject
* obj3
= 0 ;
35933 PyObject
* obj4
= 0 ;
35934 PyObject
* obj5
= 0 ;
35935 char *kwnames
[] = {
35936 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
35939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35942 if (SWIG_arg_fail(1)) SWIG_fail
;
35946 arg2
= (int)(SWIG_As_int(obj1
));
35947 if (SWIG_arg_fail(2)) SWIG_fail
;
35952 arg3
= wxString_in_helper(obj2
);
35953 if (arg3
== NULL
) SWIG_fail
;
35959 arg4
= wxString_in_helper(obj3
);
35960 if (arg4
== NULL
) SWIG_fail
;
35966 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
35967 if (SWIG_arg_fail(5)) SWIG_fail
;
35971 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35972 if (SWIG_arg_fail(6)) SWIG_fail
;
35975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35976 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
35978 wxPyEndAllowThreads(__tstate
);
35979 if (PyErr_Occurred()) SWIG_fail
;
35982 resultobj
= wxPyMake_wxObject(result
, 1);
36006 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36007 PyObject
*resultobj
;
36008 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36010 PyObject
* obj0
= 0 ;
36011 char *kwnames
[] = {
36012 (char *) "self", NULL
36015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
36016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36017 if (SWIG_arg_fail(1)) SWIG_fail
;
36019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36020 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
36022 wxPyEndAllowThreads(__tstate
);
36023 if (PyErr_Occurred()) SWIG_fail
;
36026 resultobj
= wxPyMake_wxObject(result
, 0);
36034 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36035 PyObject
*resultobj
;
36036 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36037 wxMenu
*arg2
= (wxMenu
*) 0 ;
36038 PyObject
* obj0
= 0 ;
36039 PyObject
* obj1
= 0 ;
36040 char *kwnames
[] = {
36041 (char *) "self",(char *) "menu", NULL
36044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
36045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36046 if (SWIG_arg_fail(1)) SWIG_fail
;
36047 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
36048 if (SWIG_arg_fail(2)) SWIG_fail
;
36050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36051 (arg1
)->SetMenu(arg2
);
36053 wxPyEndAllowThreads(__tstate
);
36054 if (PyErr_Occurred()) SWIG_fail
;
36056 Py_INCREF(Py_None
); resultobj
= Py_None
;
36063 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36064 PyObject
*resultobj
;
36065 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36067 PyObject
* obj0
= 0 ;
36068 PyObject
* obj1
= 0 ;
36069 char *kwnames
[] = {
36070 (char *) "self",(char *) "id", NULL
36073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
36074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36075 if (SWIG_arg_fail(1)) SWIG_fail
;
36077 arg2
= (int)(SWIG_As_int(obj1
));
36078 if (SWIG_arg_fail(2)) SWIG_fail
;
36081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36082 (arg1
)->SetId(arg2
);
36084 wxPyEndAllowThreads(__tstate
);
36085 if (PyErr_Occurred()) SWIG_fail
;
36087 Py_INCREF(Py_None
); resultobj
= Py_None
;
36094 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36095 PyObject
*resultobj
;
36096 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36098 PyObject
* obj0
= 0 ;
36099 char *kwnames
[] = {
36100 (char *) "self", NULL
36103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
36104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36105 if (SWIG_arg_fail(1)) SWIG_fail
;
36107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36108 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
36110 wxPyEndAllowThreads(__tstate
);
36111 if (PyErr_Occurred()) SWIG_fail
;
36114 resultobj
= SWIG_From_int((int)(result
));
36122 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36123 PyObject
*resultobj
;
36124 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36126 PyObject
* obj0
= 0 ;
36127 char *kwnames
[] = {
36128 (char *) "self", NULL
36131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
36132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36133 if (SWIG_arg_fail(1)) SWIG_fail
;
36135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36136 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
36138 wxPyEndAllowThreads(__tstate
);
36139 if (PyErr_Occurred()) SWIG_fail
;
36142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36150 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36151 PyObject
*resultobj
;
36152 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36153 wxString
*arg2
= 0 ;
36154 bool temp2
= false ;
36155 PyObject
* obj0
= 0 ;
36156 PyObject
* obj1
= 0 ;
36157 char *kwnames
[] = {
36158 (char *) "self",(char *) "str", NULL
36161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
36162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36163 if (SWIG_arg_fail(1)) SWIG_fail
;
36165 arg2
= wxString_in_helper(obj1
);
36166 if (arg2
== NULL
) SWIG_fail
;
36170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36171 (arg1
)->SetText((wxString
const &)*arg2
);
36173 wxPyEndAllowThreads(__tstate
);
36174 if (PyErr_Occurred()) SWIG_fail
;
36176 Py_INCREF(Py_None
); resultobj
= Py_None
;
36191 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36192 PyObject
*resultobj
;
36193 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36195 PyObject
* obj0
= 0 ;
36196 char *kwnames
[] = {
36197 (char *) "self", NULL
36200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
36201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36202 if (SWIG_arg_fail(1)) SWIG_fail
;
36204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36205 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
36207 wxPyEndAllowThreads(__tstate
);
36208 if (PyErr_Occurred()) SWIG_fail
;
36212 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36214 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36223 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36224 PyObject
*resultobj
;
36225 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36227 PyObject
* obj0
= 0 ;
36228 char *kwnames
[] = {
36229 (char *) "self", NULL
36232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
36233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36234 if (SWIG_arg_fail(1)) SWIG_fail
;
36236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36238 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
36239 result
= (wxString
*) &_result_ref
;
36242 wxPyEndAllowThreads(__tstate
);
36243 if (PyErr_Occurred()) SWIG_fail
;
36247 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
36249 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
36258 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36259 PyObject
*resultobj
;
36260 wxString
*arg1
= 0 ;
36262 bool temp1
= false ;
36263 PyObject
* obj0
= 0 ;
36264 char *kwnames
[] = {
36265 (char *) "text", NULL
36268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
36270 arg1
= wxString_in_helper(obj0
);
36271 if (arg1
== NULL
) SWIG_fail
;
36275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36276 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
36278 wxPyEndAllowThreads(__tstate
);
36279 if (PyErr_Occurred()) SWIG_fail
;
36283 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36285 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36302 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36303 PyObject
*resultobj
;
36304 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36306 PyObject
* obj0
= 0 ;
36307 char *kwnames
[] = {
36308 (char *) "self", NULL
36311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
36312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36313 if (SWIG_arg_fail(1)) SWIG_fail
;
36315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36316 result
= (wxItemKind
)((wxMenuItem
const *)arg1
)->GetKind();
36318 wxPyEndAllowThreads(__tstate
);
36319 if (PyErr_Occurred()) SWIG_fail
;
36321 resultobj
= SWIG_From_int((result
));
36328 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36329 PyObject
*resultobj
;
36330 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36332 PyObject
* obj0
= 0 ;
36333 PyObject
* obj1
= 0 ;
36334 char *kwnames
[] = {
36335 (char *) "self",(char *) "kind", NULL
36338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) 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 arg2
= (wxItemKind
)(SWIG_As_int(obj1
));
36343 if (SWIG_arg_fail(2)) SWIG_fail
;
36346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36347 (arg1
)->SetKind((wxItemKind
)arg2
);
36349 wxPyEndAllowThreads(__tstate
);
36350 if (PyErr_Occurred()) SWIG_fail
;
36352 Py_INCREF(Py_None
); resultobj
= Py_None
;
36359 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36360 PyObject
*resultobj
;
36361 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36363 PyObject
* obj0
= 0 ;
36364 PyObject
* obj1
= 0 ;
36365 char *kwnames
[] = {
36366 (char *) "self",(char *) "checkable", NULL
36369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
36370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36371 if (SWIG_arg_fail(1)) SWIG_fail
;
36373 arg2
= (bool)(SWIG_As_bool(obj1
));
36374 if (SWIG_arg_fail(2)) SWIG_fail
;
36377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36378 (arg1
)->SetCheckable(arg2
);
36380 wxPyEndAllowThreads(__tstate
);
36381 if (PyErr_Occurred()) SWIG_fail
;
36383 Py_INCREF(Py_None
); resultobj
= Py_None
;
36390 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36391 PyObject
*resultobj
;
36392 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36394 PyObject
* obj0
= 0 ;
36395 char *kwnames
[] = {
36396 (char *) "self", NULL
36399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
36400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36401 if (SWIG_arg_fail(1)) SWIG_fail
;
36403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36404 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
36406 wxPyEndAllowThreads(__tstate
);
36407 if (PyErr_Occurred()) SWIG_fail
;
36410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36418 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36419 PyObject
*resultobj
;
36420 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36422 PyObject
* obj0
= 0 ;
36423 char *kwnames
[] = {
36424 (char *) "self", NULL
36427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
36428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36429 if (SWIG_arg_fail(1)) SWIG_fail
;
36431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36432 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
36434 wxPyEndAllowThreads(__tstate
);
36435 if (PyErr_Occurred()) SWIG_fail
;
36438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36446 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36447 PyObject
*resultobj
;
36448 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36449 wxMenu
*arg2
= (wxMenu
*) 0 ;
36450 PyObject
* obj0
= 0 ;
36451 PyObject
* obj1
= 0 ;
36452 char *kwnames
[] = {
36453 (char *) "self",(char *) "menu", NULL
36456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
36457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36458 if (SWIG_arg_fail(1)) SWIG_fail
;
36459 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
36460 if (SWIG_arg_fail(2)) SWIG_fail
;
36462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36463 (arg1
)->SetSubMenu(arg2
);
36465 wxPyEndAllowThreads(__tstate
);
36466 if (PyErr_Occurred()) SWIG_fail
;
36468 Py_INCREF(Py_None
); resultobj
= Py_None
;
36475 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36476 PyObject
*resultobj
;
36477 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36479 PyObject
* obj0
= 0 ;
36480 char *kwnames
[] = {
36481 (char *) "self", NULL
36484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
36485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36486 if (SWIG_arg_fail(1)) SWIG_fail
;
36488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36489 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
36491 wxPyEndAllowThreads(__tstate
);
36492 if (PyErr_Occurred()) SWIG_fail
;
36495 resultobj
= wxPyMake_wxObject(result
, 0);
36503 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36504 PyObject
*resultobj
;
36505 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36506 bool arg2
= (bool) true ;
36507 PyObject
* obj0
= 0 ;
36508 PyObject
* obj1
= 0 ;
36509 char *kwnames
[] = {
36510 (char *) "self",(char *) "enable", NULL
36513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
36514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36515 if (SWIG_arg_fail(1)) SWIG_fail
;
36518 arg2
= (bool)(SWIG_As_bool(obj1
));
36519 if (SWIG_arg_fail(2)) SWIG_fail
;
36523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36524 (arg1
)->Enable(arg2
);
36526 wxPyEndAllowThreads(__tstate
);
36527 if (PyErr_Occurred()) SWIG_fail
;
36529 Py_INCREF(Py_None
); resultobj
= Py_None
;
36536 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36537 PyObject
*resultobj
;
36538 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36540 PyObject
* obj0
= 0 ;
36541 char *kwnames
[] = {
36542 (char *) "self", NULL
36545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
36546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36547 if (SWIG_arg_fail(1)) SWIG_fail
;
36549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36550 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
36552 wxPyEndAllowThreads(__tstate
);
36553 if (PyErr_Occurred()) SWIG_fail
;
36556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36564 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36565 PyObject
*resultobj
;
36566 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36567 bool arg2
= (bool) true ;
36568 PyObject
* obj0
= 0 ;
36569 PyObject
* obj1
= 0 ;
36570 char *kwnames
[] = {
36571 (char *) "self",(char *) "check", NULL
36574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
36575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36576 if (SWIG_arg_fail(1)) SWIG_fail
;
36579 arg2
= (bool)(SWIG_As_bool(obj1
));
36580 if (SWIG_arg_fail(2)) SWIG_fail
;
36584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36585 (arg1
)->Check(arg2
);
36587 wxPyEndAllowThreads(__tstate
);
36588 if (PyErr_Occurred()) SWIG_fail
;
36590 Py_INCREF(Py_None
); resultobj
= Py_None
;
36597 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36598 PyObject
*resultobj
;
36599 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36601 PyObject
* obj0
= 0 ;
36602 char *kwnames
[] = {
36603 (char *) "self", NULL
36606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
36607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36608 if (SWIG_arg_fail(1)) SWIG_fail
;
36610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36611 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
36613 wxPyEndAllowThreads(__tstate
);
36614 if (PyErr_Occurred()) SWIG_fail
;
36617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36625 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36626 PyObject
*resultobj
;
36627 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36628 PyObject
* obj0
= 0 ;
36629 char *kwnames
[] = {
36630 (char *) "self", NULL
36633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",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();
36640 wxPyEndAllowThreads(__tstate
);
36641 if (PyErr_Occurred()) SWIG_fail
;
36643 Py_INCREF(Py_None
); resultobj
= Py_None
;
36650 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36651 PyObject
*resultobj
;
36652 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36653 wxString
*arg2
= 0 ;
36654 bool temp2
= false ;
36655 PyObject
* obj0
= 0 ;
36656 PyObject
* obj1
= 0 ;
36657 char *kwnames
[] = {
36658 (char *) "self",(char *) "str", NULL
36661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
36662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36663 if (SWIG_arg_fail(1)) SWIG_fail
;
36665 arg2
= wxString_in_helper(obj1
);
36666 if (arg2
== NULL
) SWIG_fail
;
36670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36671 (arg1
)->SetHelp((wxString
const &)*arg2
);
36673 wxPyEndAllowThreads(__tstate
);
36674 if (PyErr_Occurred()) SWIG_fail
;
36676 Py_INCREF(Py_None
); resultobj
= Py_None
;
36691 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36692 PyObject
*resultobj
;
36693 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36695 PyObject
* obj0
= 0 ;
36696 char *kwnames
[] = {
36697 (char *) "self", NULL
36700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
36701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36702 if (SWIG_arg_fail(1)) SWIG_fail
;
36704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36706 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
36707 result
= (wxString
*) &_result_ref
;
36710 wxPyEndAllowThreads(__tstate
);
36711 if (PyErr_Occurred()) SWIG_fail
;
36715 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
36717 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
36726 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36727 PyObject
*resultobj
;
36728 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36729 wxAcceleratorEntry
*result
;
36730 PyObject
* obj0
= 0 ;
36731 char *kwnames
[] = {
36732 (char *) "self", NULL
36735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
36736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36737 if (SWIG_arg_fail(1)) SWIG_fail
;
36739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36740 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
36742 wxPyEndAllowThreads(__tstate
);
36743 if (PyErr_Occurred()) SWIG_fail
;
36745 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
36752 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36753 PyObject
*resultobj
;
36754 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36755 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
36756 PyObject
* obj0
= 0 ;
36757 PyObject
* obj1
= 0 ;
36758 char *kwnames
[] = {
36759 (char *) "self",(char *) "accel", NULL
36762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
36763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36764 if (SWIG_arg_fail(1)) SWIG_fail
;
36765 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
36766 if (SWIG_arg_fail(2)) SWIG_fail
;
36768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36769 (arg1
)->SetAccel(arg2
);
36771 wxPyEndAllowThreads(__tstate
);
36772 if (PyErr_Occurred()) SWIG_fail
;
36774 Py_INCREF(Py_None
); resultobj
= Py_None
;
36781 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36782 PyObject
*resultobj
;
36783 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36785 PyObject
* obj0
= 0 ;
36786 PyObject
* obj1
= 0 ;
36787 char *kwnames
[] = {
36788 (char *) "self",(char *) "font", NULL
36791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
36792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36793 if (SWIG_arg_fail(1)) SWIG_fail
;
36795 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
36796 if (SWIG_arg_fail(2)) SWIG_fail
;
36797 if (arg2
== NULL
) {
36798 SWIG_null_ref("wxFont");
36800 if (SWIG_arg_fail(2)) SWIG_fail
;
36803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36804 (arg1
)->SetFont((wxFont
const &)*arg2
);
36806 wxPyEndAllowThreads(__tstate
);
36807 if (PyErr_Occurred()) SWIG_fail
;
36809 Py_INCREF(Py_None
); resultobj
= Py_None
;
36816 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36817 PyObject
*resultobj
;
36818 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36820 PyObject
* obj0
= 0 ;
36821 char *kwnames
[] = {
36822 (char *) "self", NULL
36825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
36826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36827 if (SWIG_arg_fail(1)) SWIG_fail
;
36829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36830 result
= (arg1
)->GetFont();
36832 wxPyEndAllowThreads(__tstate
);
36833 if (PyErr_Occurred()) SWIG_fail
;
36836 wxFont
* resultptr
;
36837 resultptr
= new wxFont((wxFont
&)(result
));
36838 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
36846 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36847 PyObject
*resultobj
;
36848 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36849 wxColour
*arg2
= 0 ;
36851 PyObject
* obj0
= 0 ;
36852 PyObject
* obj1
= 0 ;
36853 char *kwnames
[] = {
36854 (char *) "self",(char *) "colText", NULL
36857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
36858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36859 if (SWIG_arg_fail(1)) SWIG_fail
;
36862 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36866 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
36868 wxPyEndAllowThreads(__tstate
);
36869 if (PyErr_Occurred()) SWIG_fail
;
36871 Py_INCREF(Py_None
); resultobj
= Py_None
;
36878 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36879 PyObject
*resultobj
;
36880 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36882 PyObject
* obj0
= 0 ;
36883 char *kwnames
[] = {
36884 (char *) "self", NULL
36887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
36888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36889 if (SWIG_arg_fail(1)) SWIG_fail
;
36891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36892 result
= (arg1
)->GetTextColour();
36894 wxPyEndAllowThreads(__tstate
);
36895 if (PyErr_Occurred()) SWIG_fail
;
36898 wxColour
* resultptr
;
36899 resultptr
= new wxColour((wxColour
&)(result
));
36900 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
36908 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36909 PyObject
*resultobj
;
36910 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36911 wxColour
*arg2
= 0 ;
36913 PyObject
* obj0
= 0 ;
36914 PyObject
* obj1
= 0 ;
36915 char *kwnames
[] = {
36916 (char *) "self",(char *) "colBack", NULL
36919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
36920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36921 if (SWIG_arg_fail(1)) SWIG_fail
;
36924 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36928 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
36930 wxPyEndAllowThreads(__tstate
);
36931 if (PyErr_Occurred()) SWIG_fail
;
36933 Py_INCREF(Py_None
); resultobj
= Py_None
;
36940 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36941 PyObject
*resultobj
;
36942 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36944 PyObject
* obj0
= 0 ;
36945 char *kwnames
[] = {
36946 (char *) "self", NULL
36949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
36950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36951 if (SWIG_arg_fail(1)) SWIG_fail
;
36953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36954 result
= (arg1
)->GetBackgroundColour();
36956 wxPyEndAllowThreads(__tstate
);
36957 if (PyErr_Occurred()) SWIG_fail
;
36960 wxColour
* resultptr
;
36961 resultptr
= new wxColour((wxColour
&)(result
));
36962 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
36970 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36971 PyObject
*resultobj
;
36972 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36973 wxBitmap
*arg2
= 0 ;
36974 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
36975 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
36976 PyObject
* obj0
= 0 ;
36977 PyObject
* obj1
= 0 ;
36978 PyObject
* obj2
= 0 ;
36979 char *kwnames
[] = {
36980 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
36983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36985 if (SWIG_arg_fail(1)) SWIG_fail
;
36987 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36988 if (SWIG_arg_fail(2)) SWIG_fail
;
36989 if (arg2
== NULL
) {
36990 SWIG_null_ref("wxBitmap");
36992 if (SWIG_arg_fail(2)) SWIG_fail
;
36996 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36997 if (SWIG_arg_fail(3)) SWIG_fail
;
36998 if (arg3
== NULL
) {
36999 SWIG_null_ref("wxBitmap");
37001 if (SWIG_arg_fail(3)) SWIG_fail
;
37005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37006 (arg1
)->SetBitmaps((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
37008 wxPyEndAllowThreads(__tstate
);
37009 if (PyErr_Occurred()) SWIG_fail
;
37011 Py_INCREF(Py_None
); resultobj
= Py_None
;
37018 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37019 PyObject
*resultobj
;
37020 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37021 wxBitmap
*arg2
= 0 ;
37022 PyObject
* obj0
= 0 ;
37023 PyObject
* obj1
= 0 ;
37024 char *kwnames
[] = {
37025 (char *) "self",(char *) "bmpDisabled", NULL
37028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
37029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37030 if (SWIG_arg_fail(1)) SWIG_fail
;
37032 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37033 if (SWIG_arg_fail(2)) SWIG_fail
;
37034 if (arg2
== NULL
) {
37035 SWIG_null_ref("wxBitmap");
37037 if (SWIG_arg_fail(2)) SWIG_fail
;
37040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37041 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
37043 wxPyEndAllowThreads(__tstate
);
37044 if (PyErr_Occurred()) SWIG_fail
;
37046 Py_INCREF(Py_None
); resultobj
= Py_None
;
37053 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37054 PyObject
*resultobj
;
37055 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37057 PyObject
* obj0
= 0 ;
37058 char *kwnames
[] = {
37059 (char *) "self", NULL
37062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
37063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37064 if (SWIG_arg_fail(1)) SWIG_fail
;
37066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37068 wxBitmap
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetDisabledBitmap();
37069 result
= (wxBitmap
*) &_result_ref
;
37072 wxPyEndAllowThreads(__tstate
);
37073 if (PyErr_Occurred()) SWIG_fail
;
37076 wxBitmap
* resultptr
= new wxBitmap(*result
);
37077 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
37085 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37086 PyObject
*resultobj
;
37087 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37089 PyObject
* obj0
= 0 ;
37090 PyObject
* obj1
= 0 ;
37091 char *kwnames
[] = {
37092 (char *) "self",(char *) "nWidth", NULL
37095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
37096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37097 if (SWIG_arg_fail(1)) SWIG_fail
;
37099 arg2
= (int)(SWIG_As_int(obj1
));
37100 if (SWIG_arg_fail(2)) SWIG_fail
;
37103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37104 (arg1
)->SetMarginWidth(arg2
);
37106 wxPyEndAllowThreads(__tstate
);
37107 if (PyErr_Occurred()) SWIG_fail
;
37109 Py_INCREF(Py_None
); resultobj
= Py_None
;
37116 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37117 PyObject
*resultobj
;
37118 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37120 PyObject
* obj0
= 0 ;
37121 char *kwnames
[] = {
37122 (char *) "self", NULL
37125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
37126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37127 if (SWIG_arg_fail(1)) SWIG_fail
;
37129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37130 result
= (int)(arg1
)->GetMarginWidth();
37132 wxPyEndAllowThreads(__tstate
);
37133 if (PyErr_Occurred()) SWIG_fail
;
37136 resultobj
= SWIG_From_int((int)(result
));
37144 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37145 PyObject
*resultobj
;
37147 char *kwnames
[] = {
37151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
37153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37154 result
= (int)wxMenuItem::GetDefaultMarginWidth();
37156 wxPyEndAllowThreads(__tstate
);
37157 if (PyErr_Occurred()) SWIG_fail
;
37160 resultobj
= SWIG_From_int((int)(result
));
37168 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37169 PyObject
*resultobj
;
37170 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37172 PyObject
* obj0
= 0 ;
37173 char *kwnames
[] = {
37174 (char *) "self", NULL
37177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
37178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37179 if (SWIG_arg_fail(1)) SWIG_fail
;
37181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37182 result
= (bool)(arg1
)->IsOwnerDrawn();
37184 wxPyEndAllowThreads(__tstate
);
37185 if (PyErr_Occurred()) SWIG_fail
;
37188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37196 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37197 PyObject
*resultobj
;
37198 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37199 bool arg2
= (bool) true ;
37200 PyObject
* obj0
= 0 ;
37201 PyObject
* obj1
= 0 ;
37202 char *kwnames
[] = {
37203 (char *) "self",(char *) "ownerDrawn", NULL
37206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
37207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37208 if (SWIG_arg_fail(1)) SWIG_fail
;
37211 arg2
= (bool)(SWIG_As_bool(obj1
));
37212 if (SWIG_arg_fail(2)) SWIG_fail
;
37216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37217 (arg1
)->SetOwnerDrawn(arg2
);
37219 wxPyEndAllowThreads(__tstate
);
37220 if (PyErr_Occurred()) SWIG_fail
;
37222 Py_INCREF(Py_None
); resultobj
= Py_None
;
37229 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37230 PyObject
*resultobj
;
37231 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37232 PyObject
* obj0
= 0 ;
37233 char *kwnames
[] = {
37234 (char *) "self", NULL
37237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
37238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37239 if (SWIG_arg_fail(1)) SWIG_fail
;
37241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37242 (arg1
)->ResetOwnerDrawn();
37244 wxPyEndAllowThreads(__tstate
);
37245 if (PyErr_Occurred()) SWIG_fail
;
37247 Py_INCREF(Py_None
); resultobj
= Py_None
;
37254 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37255 PyObject
*resultobj
;
37256 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37257 wxBitmap
*arg2
= 0 ;
37258 PyObject
* obj0
= 0 ;
37259 PyObject
* obj1
= 0 ;
37260 char *kwnames
[] = {
37261 (char *) "self",(char *) "bitmap", NULL
37264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) 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 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37269 if (SWIG_arg_fail(2)) SWIG_fail
;
37270 if (arg2
== NULL
) {
37271 SWIG_null_ref("wxBitmap");
37273 if (SWIG_arg_fail(2)) SWIG_fail
;
37276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37277 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
37279 wxPyEndAllowThreads(__tstate
);
37280 if (PyErr_Occurred()) SWIG_fail
;
37282 Py_INCREF(Py_None
); resultobj
= Py_None
;
37289 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37290 PyObject
*resultobj
;
37291 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37293 PyObject
* obj0
= 0 ;
37294 char *kwnames
[] = {
37295 (char *) "self", NULL
37298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
37299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37300 if (SWIG_arg_fail(1)) SWIG_fail
;
37302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37304 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
37305 result
= (wxBitmap
*) &_result_ref
;
37308 wxPyEndAllowThreads(__tstate
);
37309 if (PyErr_Occurred()) SWIG_fail
;
37312 wxBitmap
* resultptr
= new wxBitmap(*result
);
37313 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
37321 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
37323 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37324 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
37326 return Py_BuildValue((char *)"");
37328 static int _wrap_ControlNameStr_set(PyObject
*) {
37329 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
37334 static PyObject
*_wrap_ControlNameStr_get(void) {
37339 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
37341 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
37348 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37349 PyObject
*resultobj
;
37350 wxWindow
*arg1
= (wxWindow
*) 0 ;
37351 int arg2
= (int) -1 ;
37352 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
37353 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
37354 wxSize
const &arg4_defvalue
= wxDefaultSize
;
37355 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
37356 long arg5
= (long) 0 ;
37357 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
37358 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
37359 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
37360 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37364 bool temp7
= false ;
37365 PyObject
* obj0
= 0 ;
37366 PyObject
* obj1
= 0 ;
37367 PyObject
* obj2
= 0 ;
37368 PyObject
* obj3
= 0 ;
37369 PyObject
* obj4
= 0 ;
37370 PyObject
* obj5
= 0 ;
37371 PyObject
* obj6
= 0 ;
37372 char *kwnames
[] = {
37373 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
37376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
37378 if (SWIG_arg_fail(1)) SWIG_fail
;
37381 arg2
= (int)(SWIG_As_int(obj1
));
37382 if (SWIG_arg_fail(2)) SWIG_fail
;
37388 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37394 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
37399 arg5
= (long)(SWIG_As_long(obj4
));
37400 if (SWIG_arg_fail(5)) SWIG_fail
;
37405 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
37406 if (SWIG_arg_fail(6)) SWIG_fail
;
37407 if (arg6
== NULL
) {
37408 SWIG_null_ref("wxValidator");
37410 if (SWIG_arg_fail(6)) SWIG_fail
;
37415 arg7
= wxString_in_helper(obj6
);
37416 if (arg7
== NULL
) SWIG_fail
;
37421 if (!wxPyCheckForApp()) SWIG_fail
;
37422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37423 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
37425 wxPyEndAllowThreads(__tstate
);
37426 if (PyErr_Occurred()) SWIG_fail
;
37428 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
37443 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37444 PyObject
*resultobj
;
37446 char *kwnames
[] = {
37450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
37452 if (!wxPyCheckForApp()) SWIG_fail
;
37453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37454 result
= (wxControl
*)new wxControl();
37456 wxPyEndAllowThreads(__tstate
);
37457 if (PyErr_Occurred()) SWIG_fail
;
37459 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
37466 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37467 PyObject
*resultobj
;
37468 wxControl
*arg1
= (wxControl
*) 0 ;
37469 wxWindow
*arg2
= (wxWindow
*) 0 ;
37470 int arg3
= (int) -1 ;
37471 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37472 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37473 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37474 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37475 long arg6
= (long) 0 ;
37476 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
37477 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
37478 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
37479 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37483 bool temp8
= false ;
37484 PyObject
* obj0
= 0 ;
37485 PyObject
* obj1
= 0 ;
37486 PyObject
* obj2
= 0 ;
37487 PyObject
* obj3
= 0 ;
37488 PyObject
* obj4
= 0 ;
37489 PyObject
* obj5
= 0 ;
37490 PyObject
* obj6
= 0 ;
37491 PyObject
* obj7
= 0 ;
37492 char *kwnames
[] = {
37493 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
37496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
37497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37498 if (SWIG_arg_fail(1)) SWIG_fail
;
37499 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
37500 if (SWIG_arg_fail(2)) SWIG_fail
;
37503 arg3
= (int)(SWIG_As_int(obj2
));
37504 if (SWIG_arg_fail(3)) SWIG_fail
;
37510 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37516 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37521 arg6
= (long)(SWIG_As_long(obj5
));
37522 if (SWIG_arg_fail(6)) SWIG_fail
;
37527 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
37528 if (SWIG_arg_fail(7)) SWIG_fail
;
37529 if (arg7
== NULL
) {
37530 SWIG_null_ref("wxValidator");
37532 if (SWIG_arg_fail(7)) SWIG_fail
;
37537 arg8
= wxString_in_helper(obj7
);
37538 if (arg8
== NULL
) SWIG_fail
;
37543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37544 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
37546 wxPyEndAllowThreads(__tstate
);
37547 if (PyErr_Occurred()) SWIG_fail
;
37550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37566 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37567 PyObject
*resultobj
;
37568 wxControl
*arg1
= (wxControl
*) 0 ;
37569 wxCommandEvent
*arg2
= 0 ;
37570 PyObject
* obj0
= 0 ;
37571 PyObject
* obj1
= 0 ;
37572 char *kwnames
[] = {
37573 (char *) "self",(char *) "event", NULL
37576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
37577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37578 if (SWIG_arg_fail(1)) SWIG_fail
;
37580 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
37581 if (SWIG_arg_fail(2)) SWIG_fail
;
37582 if (arg2
== NULL
) {
37583 SWIG_null_ref("wxCommandEvent");
37585 if (SWIG_arg_fail(2)) SWIG_fail
;
37588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37589 (arg1
)->Command(*arg2
);
37591 wxPyEndAllowThreads(__tstate
);
37592 if (PyErr_Occurred()) SWIG_fail
;
37594 Py_INCREF(Py_None
); resultobj
= Py_None
;
37601 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37602 PyObject
*resultobj
;
37603 wxControl
*arg1
= (wxControl
*) 0 ;
37605 PyObject
* obj0
= 0 ;
37606 char *kwnames
[] = {
37607 (char *) "self", NULL
37610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
37611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37612 if (SWIG_arg_fail(1)) SWIG_fail
;
37614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37615 result
= (arg1
)->GetLabel();
37617 wxPyEndAllowThreads(__tstate
);
37618 if (PyErr_Occurred()) SWIG_fail
;
37622 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37624 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37633 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37634 PyObject
*resultobj
;
37635 wxControl
*arg1
= (wxControl
*) 0 ;
37636 wxString
*arg2
= 0 ;
37637 bool temp2
= false ;
37638 PyObject
* obj0
= 0 ;
37639 PyObject
* obj1
= 0 ;
37640 char *kwnames
[] = {
37641 (char *) "self",(char *) "label", NULL
37644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
37645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37646 if (SWIG_arg_fail(1)) SWIG_fail
;
37648 arg2
= wxString_in_helper(obj1
);
37649 if (arg2
== NULL
) SWIG_fail
;
37653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37654 (arg1
)->SetLabel((wxString
const &)*arg2
);
37656 wxPyEndAllowThreads(__tstate
);
37657 if (PyErr_Occurred()) SWIG_fail
;
37659 Py_INCREF(Py_None
); resultobj
= Py_None
;
37674 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37675 PyObject
*resultobj
;
37676 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37677 wxVisualAttributes result
;
37678 PyObject
* obj0
= 0 ;
37679 char *kwnames
[] = {
37680 (char *) "variant", NULL
37683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
37686 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
37687 if (SWIG_arg_fail(1)) SWIG_fail
;
37691 if (!wxPyCheckForApp()) SWIG_fail
;
37692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37693 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
37695 wxPyEndAllowThreads(__tstate
);
37696 if (PyErr_Occurred()) SWIG_fail
;
37699 wxVisualAttributes
* resultptr
;
37700 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
37701 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
37709 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
37711 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37712 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
37714 return Py_BuildValue((char *)"");
37716 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37717 PyObject
*resultobj
;
37718 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37719 wxString
*arg2
= 0 ;
37720 PyObject
*arg3
= (PyObject
*) NULL
;
37722 bool temp2
= false ;
37723 PyObject
* obj0
= 0 ;
37724 PyObject
* obj1
= 0 ;
37725 PyObject
* obj2
= 0 ;
37726 char *kwnames
[] = {
37727 (char *) "self",(char *) "item",(char *) "clientData", NULL
37730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37732 if (SWIG_arg_fail(1)) SWIG_fail
;
37734 arg2
= wxString_in_helper(obj1
);
37735 if (arg2
== NULL
) SWIG_fail
;
37742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37743 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
37745 wxPyEndAllowThreads(__tstate
);
37746 if (PyErr_Occurred()) SWIG_fail
;
37749 resultobj
= SWIG_From_int((int)(result
));
37765 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37766 PyObject
*resultobj
;
37767 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37768 wxArrayString
*arg2
= 0 ;
37769 bool temp2
= false ;
37770 PyObject
* obj0
= 0 ;
37771 PyObject
* obj1
= 0 ;
37772 char *kwnames
[] = {
37773 (char *) "self",(char *) "strings", NULL
37776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
37777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37778 if (SWIG_arg_fail(1)) SWIG_fail
;
37780 if (! PySequence_Check(obj1
)) {
37781 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
37784 arg2
= new wxArrayString
;
37786 int i
, len
=PySequence_Length(obj1
);
37787 for (i
=0; i
<len
; i
++) {
37788 PyObject
* item
= PySequence_GetItem(obj1
, i
);
37790 PyObject
* str
= PyObject_Unicode(item
);
37792 PyObject
* str
= PyObject_Str(item
);
37794 if (PyErr_Occurred()) SWIG_fail
;
37795 arg2
->Add(Py2wxString(str
));
37801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37802 (arg1
)->Append((wxArrayString
const &)*arg2
);
37804 wxPyEndAllowThreads(__tstate
);
37805 if (PyErr_Occurred()) SWIG_fail
;
37807 Py_INCREF(Py_None
); resultobj
= Py_None
;
37809 if (temp2
) delete arg2
;
37814 if (temp2
) delete arg2
;
37820 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37821 PyObject
*resultobj
;
37822 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37823 wxString
*arg2
= 0 ;
37825 PyObject
*arg4
= (PyObject
*) NULL
;
37827 bool temp2
= false ;
37828 PyObject
* obj0
= 0 ;
37829 PyObject
* obj1
= 0 ;
37830 PyObject
* obj2
= 0 ;
37831 PyObject
* obj3
= 0 ;
37832 char *kwnames
[] = {
37833 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
37836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37838 if (SWIG_arg_fail(1)) SWIG_fail
;
37840 arg2
= wxString_in_helper(obj1
);
37841 if (arg2
== NULL
) SWIG_fail
;
37845 arg3
= (int)(SWIG_As_int(obj2
));
37846 if (SWIG_arg_fail(3)) SWIG_fail
;
37852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37853 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
37855 wxPyEndAllowThreads(__tstate
);
37856 if (PyErr_Occurred()) SWIG_fail
;
37859 resultobj
= SWIG_From_int((int)(result
));
37875 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37876 PyObject
*resultobj
;
37877 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37878 PyObject
* obj0
= 0 ;
37879 char *kwnames
[] = {
37880 (char *) "self", NULL
37883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
37884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37885 if (SWIG_arg_fail(1)) SWIG_fail
;
37887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37890 wxPyEndAllowThreads(__tstate
);
37891 if (PyErr_Occurred()) SWIG_fail
;
37893 Py_INCREF(Py_None
); resultobj
= Py_None
;
37900 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37901 PyObject
*resultobj
;
37902 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37904 PyObject
* obj0
= 0 ;
37905 PyObject
* obj1
= 0 ;
37906 char *kwnames
[] = {
37907 (char *) "self",(char *) "n", NULL
37910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
37915 if (SWIG_arg_fail(2)) SWIG_fail
;
37918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37919 (arg1
)->Delete(arg2
);
37921 wxPyEndAllowThreads(__tstate
);
37922 if (PyErr_Occurred()) SWIG_fail
;
37924 Py_INCREF(Py_None
); resultobj
= Py_None
;
37931 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37932 PyObject
*resultobj
;
37933 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37936 PyObject
* obj0
= 0 ;
37937 PyObject
* obj1
= 0 ;
37938 char *kwnames
[] = {
37939 (char *) "self",(char *) "n", NULL
37942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
37943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37944 if (SWIG_arg_fail(1)) SWIG_fail
;
37946 arg2
= (int)(SWIG_As_int(obj1
));
37947 if (SWIG_arg_fail(2)) SWIG_fail
;
37950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37951 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
37953 wxPyEndAllowThreads(__tstate
);
37954 if (PyErr_Occurred()) SWIG_fail
;
37956 resultobj
= result
;
37963 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37964 PyObject
*resultobj
;
37965 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37967 PyObject
*arg3
= (PyObject
*) 0 ;
37968 PyObject
* obj0
= 0 ;
37969 PyObject
* obj1
= 0 ;
37970 PyObject
* obj2
= 0 ;
37971 char *kwnames
[] = {
37972 (char *) "self",(char *) "n",(char *) "clientData", NULL
37975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37977 if (SWIG_arg_fail(1)) SWIG_fail
;
37979 arg2
= (int)(SWIG_As_int(obj1
));
37980 if (SWIG_arg_fail(2)) SWIG_fail
;
37984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37985 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
37987 wxPyEndAllowThreads(__tstate
);
37988 if (PyErr_Occurred()) SWIG_fail
;
37990 Py_INCREF(Py_None
); resultobj
= Py_None
;
37997 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37998 PyObject
*resultobj
;
37999 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38001 PyObject
* obj0
= 0 ;
38002 char *kwnames
[] = {
38003 (char *) "self", NULL
38006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
38007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38008 if (SWIG_arg_fail(1)) SWIG_fail
;
38010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38011 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
38013 wxPyEndAllowThreads(__tstate
);
38014 if (PyErr_Occurred()) SWIG_fail
;
38017 resultobj
= SWIG_From_int((int)(result
));
38025 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38026 PyObject
*resultobj
;
38027 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38029 PyObject
* obj0
= 0 ;
38030 char *kwnames
[] = {
38031 (char *) "self", NULL
38034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
38035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38036 if (SWIG_arg_fail(1)) SWIG_fail
;
38038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38039 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
38041 wxPyEndAllowThreads(__tstate
);
38042 if (PyErr_Occurred()) SWIG_fail
;
38045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38053 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38054 PyObject
*resultobj
;
38055 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38058 PyObject
* obj0
= 0 ;
38059 PyObject
* obj1
= 0 ;
38060 char *kwnames
[] = {
38061 (char *) "self",(char *) "n", NULL
38064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
38065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38066 if (SWIG_arg_fail(1)) SWIG_fail
;
38068 arg2
= (int)(SWIG_As_int(obj1
));
38069 if (SWIG_arg_fail(2)) SWIG_fail
;
38072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38073 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
38075 wxPyEndAllowThreads(__tstate
);
38076 if (PyErr_Occurred()) SWIG_fail
;
38080 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38082 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38091 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38092 PyObject
*resultobj
;
38093 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38094 wxArrayString result
;
38095 PyObject
* obj0
= 0 ;
38096 char *kwnames
[] = {
38097 (char *) "self", NULL
38100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
38101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38102 if (SWIG_arg_fail(1)) SWIG_fail
;
38104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38105 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
38107 wxPyEndAllowThreads(__tstate
);
38108 if (PyErr_Occurred()) SWIG_fail
;
38111 resultobj
= wxArrayString2PyList_helper(result
);
38119 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38120 PyObject
*resultobj
;
38121 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38123 wxString
*arg3
= 0 ;
38124 bool temp3
= false ;
38125 PyObject
* obj0
= 0 ;
38126 PyObject
* obj1
= 0 ;
38127 PyObject
* obj2
= 0 ;
38128 char *kwnames
[] = {
38129 (char *) "self",(char *) "n",(char *) "s", NULL
38132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38134 if (SWIG_arg_fail(1)) SWIG_fail
;
38136 arg2
= (int)(SWIG_As_int(obj1
));
38137 if (SWIG_arg_fail(2)) SWIG_fail
;
38140 arg3
= wxString_in_helper(obj2
);
38141 if (arg3
== NULL
) SWIG_fail
;
38145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38146 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
38148 wxPyEndAllowThreads(__tstate
);
38149 if (PyErr_Occurred()) SWIG_fail
;
38151 Py_INCREF(Py_None
); resultobj
= Py_None
;
38166 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38167 PyObject
*resultobj
;
38168 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38169 wxString
*arg2
= 0 ;
38171 bool temp2
= false ;
38172 PyObject
* obj0
= 0 ;
38173 PyObject
* obj1
= 0 ;
38174 char *kwnames
[] = {
38175 (char *) "self",(char *) "s", NULL
38178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
38179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38180 if (SWIG_arg_fail(1)) SWIG_fail
;
38182 arg2
= wxString_in_helper(obj1
);
38183 if (arg2
== NULL
) SWIG_fail
;
38187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38188 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
38190 wxPyEndAllowThreads(__tstate
);
38191 if (PyErr_Occurred()) SWIG_fail
;
38194 resultobj
= SWIG_From_int((int)(result
));
38210 static PyObject
*_wrap_ItemContainer_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38211 PyObject
*resultobj
;
38212 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38214 PyObject
* obj0
= 0 ;
38215 PyObject
* obj1
= 0 ;
38216 char *kwnames
[] = {
38217 (char *) "self",(char *) "n", NULL
38220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
38221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38222 if (SWIG_arg_fail(1)) SWIG_fail
;
38224 arg2
= (int)(SWIG_As_int(obj1
));
38225 if (SWIG_arg_fail(2)) SWIG_fail
;
38228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38229 (arg1
)->SetSelection(arg2
);
38231 wxPyEndAllowThreads(__tstate
);
38232 if (PyErr_Occurred()) SWIG_fail
;
38234 Py_INCREF(Py_None
); resultobj
= Py_None
;
38241 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38242 PyObject
*resultobj
;
38243 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38245 PyObject
* obj0
= 0 ;
38246 char *kwnames
[] = {
38247 (char *) "self", NULL
38250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
38251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38252 if (SWIG_arg_fail(1)) SWIG_fail
;
38254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38255 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
38257 wxPyEndAllowThreads(__tstate
);
38258 if (PyErr_Occurred()) SWIG_fail
;
38261 resultobj
= SWIG_From_int((int)(result
));
38269 static PyObject
*_wrap_ItemContainer_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38270 PyObject
*resultobj
;
38271 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38272 wxString
*arg2
= 0 ;
38274 bool temp2
= false ;
38275 PyObject
* obj0
= 0 ;
38276 PyObject
* obj1
= 0 ;
38277 char *kwnames
[] = {
38278 (char *) "self",(char *) "s", NULL
38281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
38282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38283 if (SWIG_arg_fail(1)) SWIG_fail
;
38285 arg2
= wxString_in_helper(obj1
);
38286 if (arg2
== NULL
) SWIG_fail
;
38290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38291 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
38293 wxPyEndAllowThreads(__tstate
);
38294 if (PyErr_Occurred()) SWIG_fail
;
38297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38313 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38314 PyObject
*resultobj
;
38315 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38317 PyObject
* obj0
= 0 ;
38318 char *kwnames
[] = {
38319 (char *) "self", NULL
38322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
38323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38324 if (SWIG_arg_fail(1)) SWIG_fail
;
38326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38327 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
38329 wxPyEndAllowThreads(__tstate
);
38330 if (PyErr_Occurred()) SWIG_fail
;
38334 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38336 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38345 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38346 PyObject
*resultobj
;
38347 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38349 PyObject
* obj0
= 0 ;
38350 PyObject
* obj1
= 0 ;
38351 char *kwnames
[] = {
38352 (char *) "self",(char *) "n", NULL
38355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
38356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38357 if (SWIG_arg_fail(1)) SWIG_fail
;
38359 arg2
= (int)(SWIG_As_int(obj1
));
38360 if (SWIG_arg_fail(2)) SWIG_fail
;
38363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38364 (arg1
)->Select(arg2
);
38366 wxPyEndAllowThreads(__tstate
);
38367 if (PyErr_Occurred()) SWIG_fail
;
38369 Py_INCREF(Py_None
); resultobj
= Py_None
;
38376 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
38378 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38379 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
38381 return Py_BuildValue((char *)"");
38383 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
38385 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38386 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
38388 return Py_BuildValue((char *)"");
38390 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38391 PyObject
*resultobj
;
38392 wxSizerItem
*result
;
38393 char *kwnames
[] = {
38397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
38399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38400 result
= (wxSizerItem
*)new wxSizerItem();
38402 wxPyEndAllowThreads(__tstate
);
38403 if (PyErr_Occurred()) SWIG_fail
;
38405 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38412 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38413 PyObject
*resultobj
;
38414 wxWindow
*arg1
= (wxWindow
*) 0 ;
38418 PyObject
*arg5
= (PyObject
*) NULL
;
38419 wxSizerItem
*result
;
38420 PyObject
* obj0
= 0 ;
38421 PyObject
* obj1
= 0 ;
38422 PyObject
* obj2
= 0 ;
38423 PyObject
* obj3
= 0 ;
38424 PyObject
* obj4
= 0 ;
38425 char *kwnames
[] = {
38426 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
38430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
38431 if (SWIG_arg_fail(1)) SWIG_fail
;
38433 arg2
= (int)(SWIG_As_int(obj1
));
38434 if (SWIG_arg_fail(2)) SWIG_fail
;
38437 arg3
= (int)(SWIG_As_int(obj2
));
38438 if (SWIG_arg_fail(3)) SWIG_fail
;
38441 arg4
= (int)(SWIG_As_int(obj3
));
38442 if (SWIG_arg_fail(4)) SWIG_fail
;
38448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38449 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
38451 wxPyEndAllowThreads(__tstate
);
38452 if (PyErr_Occurred()) SWIG_fail
;
38454 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38461 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38462 PyObject
*resultobj
;
38468 PyObject
*arg6
= (PyObject
*) NULL
;
38469 wxSizerItem
*result
;
38470 PyObject
* obj0
= 0 ;
38471 PyObject
* obj1
= 0 ;
38472 PyObject
* obj2
= 0 ;
38473 PyObject
* obj3
= 0 ;
38474 PyObject
* obj4
= 0 ;
38475 PyObject
* obj5
= 0 ;
38476 char *kwnames
[] = {
38477 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38482 arg1
= (int)(SWIG_As_int(obj0
));
38483 if (SWIG_arg_fail(1)) SWIG_fail
;
38486 arg2
= (int)(SWIG_As_int(obj1
));
38487 if (SWIG_arg_fail(2)) SWIG_fail
;
38490 arg3
= (int)(SWIG_As_int(obj2
));
38491 if (SWIG_arg_fail(3)) SWIG_fail
;
38494 arg4
= (int)(SWIG_As_int(obj3
));
38495 if (SWIG_arg_fail(4)) SWIG_fail
;
38498 arg5
= (int)(SWIG_As_int(obj4
));
38499 if (SWIG_arg_fail(5)) SWIG_fail
;
38505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38506 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
38508 wxPyEndAllowThreads(__tstate
);
38509 if (PyErr_Occurred()) SWIG_fail
;
38511 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38518 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38519 PyObject
*resultobj
;
38520 wxSizer
*arg1
= (wxSizer
*) 0 ;
38524 PyObject
*arg5
= (PyObject
*) NULL
;
38525 wxSizerItem
*result
;
38526 PyObject
* obj0
= 0 ;
38527 PyObject
* obj1
= 0 ;
38528 PyObject
* obj2
= 0 ;
38529 PyObject
* obj3
= 0 ;
38530 PyObject
* obj4
= 0 ;
38531 char *kwnames
[] = {
38532 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
38536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38537 if (SWIG_arg_fail(1)) SWIG_fail
;
38539 arg2
= (int)(SWIG_As_int(obj1
));
38540 if (SWIG_arg_fail(2)) SWIG_fail
;
38543 arg3
= (int)(SWIG_As_int(obj2
));
38544 if (SWIG_arg_fail(3)) SWIG_fail
;
38547 arg4
= (int)(SWIG_As_int(obj3
));
38548 if (SWIG_arg_fail(4)) SWIG_fail
;
38554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38555 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
38557 wxPyEndAllowThreads(__tstate
);
38558 if (PyErr_Occurred()) SWIG_fail
;
38560 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38567 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38568 PyObject
*resultobj
;
38569 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38570 PyObject
* obj0
= 0 ;
38571 char *kwnames
[] = {
38572 (char *) "self", NULL
38575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
38576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38577 if (SWIG_arg_fail(1)) SWIG_fail
;
38579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38580 (arg1
)->DeleteWindows();
38582 wxPyEndAllowThreads(__tstate
);
38583 if (PyErr_Occurred()) SWIG_fail
;
38585 Py_INCREF(Py_None
); resultobj
= Py_None
;
38592 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38593 PyObject
*resultobj
;
38594 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38595 PyObject
* obj0
= 0 ;
38596 char *kwnames
[] = {
38597 (char *) "self", NULL
38600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
38601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38602 if (SWIG_arg_fail(1)) SWIG_fail
;
38604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38605 (arg1
)->DetachSizer();
38607 wxPyEndAllowThreads(__tstate
);
38608 if (PyErr_Occurred()) SWIG_fail
;
38610 Py_INCREF(Py_None
); resultobj
= Py_None
;
38617 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38618 PyObject
*resultobj
;
38619 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38621 PyObject
* obj0
= 0 ;
38622 char *kwnames
[] = {
38623 (char *) "self", NULL
38626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
38627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38628 if (SWIG_arg_fail(1)) SWIG_fail
;
38630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38631 result
= (arg1
)->GetSize();
38633 wxPyEndAllowThreads(__tstate
);
38634 if (PyErr_Occurred()) SWIG_fail
;
38637 wxSize
* resultptr
;
38638 resultptr
= new wxSize((wxSize
&)(result
));
38639 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38647 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38648 PyObject
*resultobj
;
38649 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38651 PyObject
* obj0
= 0 ;
38652 char *kwnames
[] = {
38653 (char *) "self", NULL
38656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
38657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38658 if (SWIG_arg_fail(1)) SWIG_fail
;
38660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38661 result
= (arg1
)->CalcMin();
38663 wxPyEndAllowThreads(__tstate
);
38664 if (PyErr_Occurred()) SWIG_fail
;
38667 wxSize
* resultptr
;
38668 resultptr
= new wxSize((wxSize
&)(result
));
38669 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38677 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38678 PyObject
*resultobj
;
38679 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38682 PyObject
* obj0
= 0 ;
38683 PyObject
* obj1
= 0 ;
38684 PyObject
* obj2
= 0 ;
38685 char *kwnames
[] = {
38686 (char *) "self",(char *) "pos",(char *) "size", NULL
38689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38691 if (SWIG_arg_fail(1)) SWIG_fail
;
38694 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
);
38695 if (SWIG_arg_fail(2)) SWIG_fail
;
38696 if (argp
== NULL
) {
38697 SWIG_null_ref("wxPoint");
38699 if (SWIG_arg_fail(2)) SWIG_fail
;
38704 SWIG_Python_ConvertPtr(obj2
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
38705 if (SWIG_arg_fail(3)) SWIG_fail
;
38706 if (argp
== NULL
) {
38707 SWIG_null_ref("wxSize");
38709 if (SWIG_arg_fail(3)) SWIG_fail
;
38713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38714 (arg1
)->SetDimension(arg2
,arg3
);
38716 wxPyEndAllowThreads(__tstate
);
38717 if (PyErr_Occurred()) SWIG_fail
;
38719 Py_INCREF(Py_None
); resultobj
= Py_None
;
38726 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38727 PyObject
*resultobj
;
38728 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38730 PyObject
* obj0
= 0 ;
38731 char *kwnames
[] = {
38732 (char *) "self", NULL
38735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
38736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38737 if (SWIG_arg_fail(1)) SWIG_fail
;
38739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38740 result
= (arg1
)->GetMinSize();
38742 wxPyEndAllowThreads(__tstate
);
38743 if (PyErr_Occurred()) SWIG_fail
;
38746 wxSize
* resultptr
;
38747 resultptr
= new wxSize((wxSize
&)(result
));
38748 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38756 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38757 PyObject
*resultobj
;
38758 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38760 PyObject
* obj0
= 0 ;
38761 char *kwnames
[] = {
38762 (char *) "self", NULL
38765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
38766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38767 if (SWIG_arg_fail(1)) SWIG_fail
;
38769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38770 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
38772 wxPyEndAllowThreads(__tstate
);
38773 if (PyErr_Occurred()) SWIG_fail
;
38776 wxSize
* resultptr
;
38777 resultptr
= new wxSize((wxSize
&)(result
));
38778 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38786 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38787 PyObject
*resultobj
;
38788 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38791 PyObject
* obj0
= 0 ;
38792 PyObject
* obj1
= 0 ;
38793 PyObject
* obj2
= 0 ;
38794 char *kwnames
[] = {
38795 (char *) "self",(char *) "x",(char *) "y", NULL
38798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38800 if (SWIG_arg_fail(1)) SWIG_fail
;
38802 arg2
= (int)(SWIG_As_int(obj1
));
38803 if (SWIG_arg_fail(2)) SWIG_fail
;
38806 arg3
= (int)(SWIG_As_int(obj2
));
38807 if (SWIG_arg_fail(3)) SWIG_fail
;
38810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38811 (arg1
)->SetInitSize(arg2
,arg3
);
38813 wxPyEndAllowThreads(__tstate
);
38814 if (PyErr_Occurred()) SWIG_fail
;
38816 Py_INCREF(Py_None
); resultobj
= Py_None
;
38823 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38824 PyObject
*resultobj
;
38825 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38828 PyObject
* obj0
= 0 ;
38829 PyObject
* obj1
= 0 ;
38830 PyObject
* obj2
= 0 ;
38831 char *kwnames
[] = {
38832 (char *) "self",(char *) "width",(char *) "height", NULL
38835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38837 if (SWIG_arg_fail(1)) SWIG_fail
;
38839 arg2
= (int)(SWIG_As_int(obj1
));
38840 if (SWIG_arg_fail(2)) SWIG_fail
;
38843 arg3
= (int)(SWIG_As_int(obj2
));
38844 if (SWIG_arg_fail(3)) SWIG_fail
;
38847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38848 (arg1
)->SetRatio(arg2
,arg3
);
38850 wxPyEndAllowThreads(__tstate
);
38851 if (PyErr_Occurred()) SWIG_fail
;
38853 Py_INCREF(Py_None
); resultobj
= Py_None
;
38860 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38861 PyObject
*resultobj
;
38862 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38865 PyObject
* obj0
= 0 ;
38866 PyObject
* obj1
= 0 ;
38867 char *kwnames
[] = {
38868 (char *) "self",(char *) "size", NULL
38871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38873 if (SWIG_arg_fail(1)) SWIG_fail
;
38876 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38880 (arg1
)->SetRatio((wxSize
const &)*arg2
);
38882 wxPyEndAllowThreads(__tstate
);
38883 if (PyErr_Occurred()) SWIG_fail
;
38885 Py_INCREF(Py_None
); resultobj
= Py_None
;
38892 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38893 PyObject
*resultobj
;
38894 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38896 PyObject
* obj0
= 0 ;
38897 PyObject
* obj1
= 0 ;
38898 char *kwnames
[] = {
38899 (char *) "self",(char *) "ratio", NULL
38902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
38903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38904 if (SWIG_arg_fail(1)) SWIG_fail
;
38906 arg2
= (float)(SWIG_As_float(obj1
));
38907 if (SWIG_arg_fail(2)) SWIG_fail
;
38910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38911 (arg1
)->SetRatio(arg2
);
38913 wxPyEndAllowThreads(__tstate
);
38914 if (PyErr_Occurred()) SWIG_fail
;
38916 Py_INCREF(Py_None
); resultobj
= Py_None
;
38923 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38924 PyObject
*resultobj
;
38925 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38927 PyObject
* obj0
= 0 ;
38928 char *kwnames
[] = {
38929 (char *) "self", NULL
38932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
38933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38934 if (SWIG_arg_fail(1)) SWIG_fail
;
38936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38937 result
= (float)(arg1
)->GetRatio();
38939 wxPyEndAllowThreads(__tstate
);
38940 if (PyErr_Occurred()) SWIG_fail
;
38943 resultobj
= SWIG_From_float((float)(result
));
38951 static PyObject
*_wrap_SizerItem_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38952 PyObject
*resultobj
;
38953 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38955 PyObject
* obj0
= 0 ;
38956 char *kwnames
[] = {
38957 (char *) "self", NULL
38960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRect",kwnames
,&obj0
)) goto fail
;
38961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38962 if (SWIG_arg_fail(1)) SWIG_fail
;
38964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38965 result
= (arg1
)->GetRect();
38967 wxPyEndAllowThreads(__tstate
);
38968 if (PyErr_Occurred()) SWIG_fail
;
38971 wxRect
* resultptr
;
38972 resultptr
= new wxRect((wxRect
&)(result
));
38973 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
38981 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38982 PyObject
*resultobj
;
38983 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38985 PyObject
* obj0
= 0 ;
38986 char *kwnames
[] = {
38987 (char *) "self", NULL
38990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
38991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38992 if (SWIG_arg_fail(1)) SWIG_fail
;
38994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38995 result
= (bool)(arg1
)->IsWindow();
38997 wxPyEndAllowThreads(__tstate
);
38998 if (PyErr_Occurred()) SWIG_fail
;
39001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39009 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39010 PyObject
*resultobj
;
39011 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39013 PyObject
* obj0
= 0 ;
39014 char *kwnames
[] = {
39015 (char *) "self", NULL
39018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
39019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39020 if (SWIG_arg_fail(1)) SWIG_fail
;
39022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39023 result
= (bool)(arg1
)->IsSizer();
39025 wxPyEndAllowThreads(__tstate
);
39026 if (PyErr_Occurred()) SWIG_fail
;
39029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39037 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39038 PyObject
*resultobj
;
39039 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39041 PyObject
* obj0
= 0 ;
39042 char *kwnames
[] = {
39043 (char *) "self", NULL
39046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
39047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39048 if (SWIG_arg_fail(1)) SWIG_fail
;
39050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39051 result
= (bool)(arg1
)->IsSpacer();
39053 wxPyEndAllowThreads(__tstate
);
39054 if (PyErr_Occurred()) SWIG_fail
;
39057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39065 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39066 PyObject
*resultobj
;
39067 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39069 PyObject
* obj0
= 0 ;
39070 PyObject
* obj1
= 0 ;
39071 char *kwnames
[] = {
39072 (char *) "self",(char *) "proportion", NULL
39075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
39076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39077 if (SWIG_arg_fail(1)) SWIG_fail
;
39079 arg2
= (int)(SWIG_As_int(obj1
));
39080 if (SWIG_arg_fail(2)) SWIG_fail
;
39083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39084 (arg1
)->SetProportion(arg2
);
39086 wxPyEndAllowThreads(__tstate
);
39087 if (PyErr_Occurred()) SWIG_fail
;
39089 Py_INCREF(Py_None
); resultobj
= Py_None
;
39096 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39097 PyObject
*resultobj
;
39098 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39100 PyObject
* obj0
= 0 ;
39101 char *kwnames
[] = {
39102 (char *) "self", NULL
39105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
39106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39107 if (SWIG_arg_fail(1)) SWIG_fail
;
39109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39110 result
= (int)(arg1
)->GetProportion();
39112 wxPyEndAllowThreads(__tstate
);
39113 if (PyErr_Occurred()) SWIG_fail
;
39116 resultobj
= SWIG_From_int((int)(result
));
39124 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39125 PyObject
*resultobj
;
39126 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39128 PyObject
* obj0
= 0 ;
39129 PyObject
* obj1
= 0 ;
39130 char *kwnames
[] = {
39131 (char *) "self",(char *) "flag", NULL
39134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
39135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39136 if (SWIG_arg_fail(1)) SWIG_fail
;
39138 arg2
= (int)(SWIG_As_int(obj1
));
39139 if (SWIG_arg_fail(2)) SWIG_fail
;
39142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39143 (arg1
)->SetFlag(arg2
);
39145 wxPyEndAllowThreads(__tstate
);
39146 if (PyErr_Occurred()) SWIG_fail
;
39148 Py_INCREF(Py_None
); resultobj
= Py_None
;
39155 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39156 PyObject
*resultobj
;
39157 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39159 PyObject
* obj0
= 0 ;
39160 char *kwnames
[] = {
39161 (char *) "self", NULL
39164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
39165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39166 if (SWIG_arg_fail(1)) SWIG_fail
;
39168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39169 result
= (int)(arg1
)->GetFlag();
39171 wxPyEndAllowThreads(__tstate
);
39172 if (PyErr_Occurred()) SWIG_fail
;
39175 resultobj
= SWIG_From_int((int)(result
));
39183 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39184 PyObject
*resultobj
;
39185 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39187 PyObject
* obj0
= 0 ;
39188 PyObject
* obj1
= 0 ;
39189 char *kwnames
[] = {
39190 (char *) "self",(char *) "border", NULL
39193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
39194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39195 if (SWIG_arg_fail(1)) SWIG_fail
;
39197 arg2
= (int)(SWIG_As_int(obj1
));
39198 if (SWIG_arg_fail(2)) SWIG_fail
;
39201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39202 (arg1
)->SetBorder(arg2
);
39204 wxPyEndAllowThreads(__tstate
);
39205 if (PyErr_Occurred()) SWIG_fail
;
39207 Py_INCREF(Py_None
); resultobj
= Py_None
;
39214 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39215 PyObject
*resultobj
;
39216 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39218 PyObject
* obj0
= 0 ;
39219 char *kwnames
[] = {
39220 (char *) "self", NULL
39223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
39224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39225 if (SWIG_arg_fail(1)) SWIG_fail
;
39227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39228 result
= (int)(arg1
)->GetBorder();
39230 wxPyEndAllowThreads(__tstate
);
39231 if (PyErr_Occurred()) SWIG_fail
;
39234 resultobj
= SWIG_From_int((int)(result
));
39242 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39243 PyObject
*resultobj
;
39244 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39246 PyObject
* obj0
= 0 ;
39247 char *kwnames
[] = {
39248 (char *) "self", NULL
39251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
39252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39253 if (SWIG_arg_fail(1)) SWIG_fail
;
39255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39256 result
= (wxWindow
*)(arg1
)->GetWindow();
39258 wxPyEndAllowThreads(__tstate
);
39259 if (PyErr_Occurred()) SWIG_fail
;
39262 resultobj
= wxPyMake_wxObject(result
, 0);
39270 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39271 PyObject
*resultobj
;
39272 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39273 wxWindow
*arg2
= (wxWindow
*) 0 ;
39274 PyObject
* obj0
= 0 ;
39275 PyObject
* obj1
= 0 ;
39276 char *kwnames
[] = {
39277 (char *) "self",(char *) "window", NULL
39280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
39281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39282 if (SWIG_arg_fail(1)) SWIG_fail
;
39283 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39284 if (SWIG_arg_fail(2)) SWIG_fail
;
39286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39287 (arg1
)->SetWindow(arg2
);
39289 wxPyEndAllowThreads(__tstate
);
39290 if (PyErr_Occurred()) SWIG_fail
;
39292 Py_INCREF(Py_None
); resultobj
= Py_None
;
39299 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39300 PyObject
*resultobj
;
39301 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39303 PyObject
* obj0
= 0 ;
39304 char *kwnames
[] = {
39305 (char *) "self", NULL
39308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
39309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39310 if (SWIG_arg_fail(1)) SWIG_fail
;
39312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39313 result
= (wxSizer
*)(arg1
)->GetSizer();
39315 wxPyEndAllowThreads(__tstate
);
39316 if (PyErr_Occurred()) SWIG_fail
;
39319 resultobj
= wxPyMake_wxSizer(result
, 0);
39327 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39328 PyObject
*resultobj
;
39329 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39330 wxSizer
*arg2
= (wxSizer
*) 0 ;
39331 PyObject
* obj0
= 0 ;
39332 PyObject
* obj1
= 0 ;
39333 char *kwnames
[] = {
39334 (char *) "self",(char *) "sizer", NULL
39337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
39338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39339 if (SWIG_arg_fail(1)) SWIG_fail
;
39340 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39341 if (SWIG_arg_fail(2)) SWIG_fail
;
39343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39344 (arg1
)->SetSizer(arg2
);
39346 wxPyEndAllowThreads(__tstate
);
39347 if (PyErr_Occurred()) SWIG_fail
;
39349 Py_INCREF(Py_None
); resultobj
= Py_None
;
39356 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39357 PyObject
*resultobj
;
39358 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39360 PyObject
* obj0
= 0 ;
39361 char *kwnames
[] = {
39362 (char *) "self", NULL
39365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
39366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39367 if (SWIG_arg_fail(1)) SWIG_fail
;
39369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39371 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
39372 result
= (wxSize
*) &_result_ref
;
39375 wxPyEndAllowThreads(__tstate
);
39376 if (PyErr_Occurred()) SWIG_fail
;
39378 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
39385 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39386 PyObject
*resultobj
;
39387 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39390 PyObject
* obj0
= 0 ;
39391 PyObject
* obj1
= 0 ;
39392 char *kwnames
[] = {
39393 (char *) "self",(char *) "size", NULL
39396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
39397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39398 if (SWIG_arg_fail(1)) SWIG_fail
;
39401 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
39404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39405 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
39407 wxPyEndAllowThreads(__tstate
);
39408 if (PyErr_Occurred()) SWIG_fail
;
39410 Py_INCREF(Py_None
); resultobj
= Py_None
;
39417 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39418 PyObject
*resultobj
;
39419 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39421 PyObject
* obj0
= 0 ;
39422 PyObject
* obj1
= 0 ;
39423 char *kwnames
[] = {
39424 (char *) "self",(char *) "show", NULL
39427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
39428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39429 if (SWIG_arg_fail(1)) SWIG_fail
;
39431 arg2
= (bool)(SWIG_As_bool(obj1
));
39432 if (SWIG_arg_fail(2)) SWIG_fail
;
39435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39436 (arg1
)->Show(arg2
);
39438 wxPyEndAllowThreads(__tstate
);
39439 if (PyErr_Occurred()) SWIG_fail
;
39441 Py_INCREF(Py_None
); resultobj
= Py_None
;
39448 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39449 PyObject
*resultobj
;
39450 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39452 PyObject
* obj0
= 0 ;
39453 char *kwnames
[] = {
39454 (char *) "self", NULL
39457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
39458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39459 if (SWIG_arg_fail(1)) SWIG_fail
;
39461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39462 result
= (bool)(arg1
)->IsShown();
39464 wxPyEndAllowThreads(__tstate
);
39465 if (PyErr_Occurred()) SWIG_fail
;
39468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39476 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39477 PyObject
*resultobj
;
39478 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39480 PyObject
* obj0
= 0 ;
39481 char *kwnames
[] = {
39482 (char *) "self", NULL
39485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
39486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39487 if (SWIG_arg_fail(1)) SWIG_fail
;
39489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39490 result
= (arg1
)->GetPosition();
39492 wxPyEndAllowThreads(__tstate
);
39493 if (PyErr_Occurred()) SWIG_fail
;
39496 wxPoint
* resultptr
;
39497 resultptr
= new wxPoint((wxPoint
&)(result
));
39498 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
39506 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39507 PyObject
*resultobj
;
39508 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39510 PyObject
* obj0
= 0 ;
39511 char *kwnames
[] = {
39512 (char *) "self", NULL
39515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
39516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39517 if (SWIG_arg_fail(1)) SWIG_fail
;
39519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39520 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
39522 wxPyEndAllowThreads(__tstate
);
39523 if (PyErr_Occurred()) SWIG_fail
;
39525 resultobj
= result
;
39532 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
39534 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39535 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
39537 return Py_BuildValue((char *)"");
39539 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39540 PyObject
*resultobj
;
39541 wxSizer
*arg1
= (wxSizer
*) 0 ;
39542 PyObject
*arg2
= (PyObject
*) 0 ;
39543 PyObject
* obj0
= 0 ;
39544 PyObject
* obj1
= 0 ;
39545 char *kwnames
[] = {
39546 (char *) "self",(char *) "_self", NULL
39549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
39550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39551 if (SWIG_arg_fail(1)) SWIG_fail
;
39554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39555 wxSizer__setOORInfo(arg1
,arg2
);
39557 wxPyEndAllowThreads(__tstate
);
39558 if (PyErr_Occurred()) SWIG_fail
;
39560 Py_INCREF(Py_None
); resultobj
= Py_None
;
39567 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39568 PyObject
*resultobj
;
39569 wxSizer
*arg1
= (wxSizer
*) 0 ;
39570 PyObject
*arg2
= (PyObject
*) 0 ;
39571 int arg3
= (int) 0 ;
39572 int arg4
= (int) 0 ;
39573 int arg5
= (int) 0 ;
39574 PyObject
*arg6
= (PyObject
*) NULL
;
39575 wxSizerItem
*result
;
39576 PyObject
* obj0
= 0 ;
39577 PyObject
* obj1
= 0 ;
39578 PyObject
* obj2
= 0 ;
39579 PyObject
* obj3
= 0 ;
39580 PyObject
* obj4
= 0 ;
39581 PyObject
* obj5
= 0 ;
39582 char *kwnames
[] = {
39583 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39588 if (SWIG_arg_fail(1)) SWIG_fail
;
39592 arg3
= (int)(SWIG_As_int(obj2
));
39593 if (SWIG_arg_fail(3)) SWIG_fail
;
39598 arg4
= (int)(SWIG_As_int(obj3
));
39599 if (SWIG_arg_fail(4)) SWIG_fail
;
39604 arg5
= (int)(SWIG_As_int(obj4
));
39605 if (SWIG_arg_fail(5)) SWIG_fail
;
39612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39613 result
= (wxSizerItem
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
39615 wxPyEndAllowThreads(__tstate
);
39616 if (PyErr_Occurred()) SWIG_fail
;
39618 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39625 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39626 PyObject
*resultobj
;
39627 wxSizer
*arg1
= (wxSizer
*) 0 ;
39629 PyObject
*arg3
= (PyObject
*) 0 ;
39630 int arg4
= (int) 0 ;
39631 int arg5
= (int) 0 ;
39632 int arg6
= (int) 0 ;
39633 PyObject
*arg7
= (PyObject
*) NULL
;
39634 wxSizerItem
*result
;
39635 PyObject
* obj0
= 0 ;
39636 PyObject
* obj1
= 0 ;
39637 PyObject
* obj2
= 0 ;
39638 PyObject
* obj3
= 0 ;
39639 PyObject
* obj4
= 0 ;
39640 PyObject
* obj5
= 0 ;
39641 PyObject
* obj6
= 0 ;
39642 char *kwnames
[] = {
39643 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
39647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39648 if (SWIG_arg_fail(1)) SWIG_fail
;
39650 arg2
= (int)(SWIG_As_int(obj1
));
39651 if (SWIG_arg_fail(2)) SWIG_fail
;
39656 arg4
= (int)(SWIG_As_int(obj3
));
39657 if (SWIG_arg_fail(4)) SWIG_fail
;
39662 arg5
= (int)(SWIG_As_int(obj4
));
39663 if (SWIG_arg_fail(5)) SWIG_fail
;
39668 arg6
= (int)(SWIG_As_int(obj5
));
39669 if (SWIG_arg_fail(6)) SWIG_fail
;
39676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39677 result
= (wxSizerItem
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
39679 wxPyEndAllowThreads(__tstate
);
39680 if (PyErr_Occurred()) SWIG_fail
;
39682 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39689 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39690 PyObject
*resultobj
;
39691 wxSizer
*arg1
= (wxSizer
*) 0 ;
39692 PyObject
*arg2
= (PyObject
*) 0 ;
39693 int arg3
= (int) 0 ;
39694 int arg4
= (int) 0 ;
39695 int arg5
= (int) 0 ;
39696 PyObject
*arg6
= (PyObject
*) NULL
;
39697 wxSizerItem
*result
;
39698 PyObject
* obj0
= 0 ;
39699 PyObject
* obj1
= 0 ;
39700 PyObject
* obj2
= 0 ;
39701 PyObject
* obj3
= 0 ;
39702 PyObject
* obj4
= 0 ;
39703 PyObject
* obj5
= 0 ;
39704 char *kwnames
[] = {
39705 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39710 if (SWIG_arg_fail(1)) SWIG_fail
;
39714 arg3
= (int)(SWIG_As_int(obj2
));
39715 if (SWIG_arg_fail(3)) SWIG_fail
;
39720 arg4
= (int)(SWIG_As_int(obj3
));
39721 if (SWIG_arg_fail(4)) SWIG_fail
;
39726 arg5
= (int)(SWIG_As_int(obj4
));
39727 if (SWIG_arg_fail(5)) SWIG_fail
;
39734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39735 result
= (wxSizerItem
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
39737 wxPyEndAllowThreads(__tstate
);
39738 if (PyErr_Occurred()) SWIG_fail
;
39740 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39747 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39748 PyObject
*resultobj
;
39749 wxSizer
*arg1
= (wxSizer
*) 0 ;
39750 PyObject
*arg2
= (PyObject
*) 0 ;
39752 PyObject
* obj0
= 0 ;
39753 PyObject
* obj1
= 0 ;
39754 char *kwnames
[] = {
39755 (char *) "self",(char *) "item", NULL
39758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
39759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39760 if (SWIG_arg_fail(1)) SWIG_fail
;
39763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39764 result
= (bool)wxSizer_Remove(arg1
,arg2
);
39766 wxPyEndAllowThreads(__tstate
);
39767 if (PyErr_Occurred()) SWIG_fail
;
39770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39778 static PyObject
*_wrap_Sizer_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39779 PyObject
*resultobj
;
39780 wxSizer
*arg1
= (wxSizer
*) 0 ;
39781 PyObject
*arg2
= (PyObject
*) 0 ;
39783 PyObject
* obj0
= 0 ;
39784 PyObject
* obj1
= 0 ;
39785 char *kwnames
[] = {
39786 (char *) "self",(char *) "item", NULL
39789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
39790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39791 if (SWIG_arg_fail(1)) SWIG_fail
;
39794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39795 result
= (bool)wxSizer_Detach(arg1
,arg2
);
39797 wxPyEndAllowThreads(__tstate
);
39798 if (PyErr_Occurred()) SWIG_fail
;
39801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39809 static PyObject
*_wrap_Sizer_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39810 PyObject
*resultobj
;
39811 wxSizer
*arg1
= (wxSizer
*) 0 ;
39812 PyObject
*arg2
= (PyObject
*) 0 ;
39813 wxSizerItem
*result
;
39814 PyObject
* obj0
= 0 ;
39815 PyObject
* obj1
= 0 ;
39816 char *kwnames
[] = {
39817 (char *) "self",(char *) "item", NULL
39820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_GetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39822 if (SWIG_arg_fail(1)) SWIG_fail
;
39825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39826 result
= (wxSizerItem
*)wxSizer_GetItem(arg1
,arg2
);
39828 wxPyEndAllowThreads(__tstate
);
39829 if (PyErr_Occurred()) SWIG_fail
;
39831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39838 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39839 PyObject
*resultobj
;
39840 wxSizer
*arg1
= (wxSizer
*) 0 ;
39841 PyObject
*arg2
= (PyObject
*) 0 ;
39844 PyObject
* obj0
= 0 ;
39845 PyObject
* obj1
= 0 ;
39846 PyObject
* obj2
= 0 ;
39847 char *kwnames
[] = {
39848 (char *) "self",(char *) "item",(char *) "size", NULL
39851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39853 if (SWIG_arg_fail(1)) SWIG_fail
;
39857 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
39860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39861 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
39863 wxPyEndAllowThreads(__tstate
);
39864 if (PyErr_Occurred()) SWIG_fail
;
39866 Py_INCREF(Py_None
); resultobj
= Py_None
;
39873 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39874 PyObject
*resultobj
;
39875 wxSizer
*arg1
= (wxSizer
*) 0 ;
39876 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
39877 wxSizerItem
*result
;
39878 PyObject
* obj0
= 0 ;
39879 PyObject
* obj1
= 0 ;
39880 char *kwnames
[] = {
39881 (char *) "self",(char *) "item", NULL
39884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39886 if (SWIG_arg_fail(1)) SWIG_fail
;
39887 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39888 if (SWIG_arg_fail(2)) SWIG_fail
;
39890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39891 result
= (wxSizerItem
*)(arg1
)->Add(arg2
);
39893 wxPyEndAllowThreads(__tstate
);
39894 if (PyErr_Occurred()) SWIG_fail
;
39896 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39903 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39904 PyObject
*resultobj
;
39905 wxSizer
*arg1
= (wxSizer
*) 0 ;
39907 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
39908 wxSizerItem
*result
;
39909 PyObject
* obj0
= 0 ;
39910 PyObject
* obj1
= 0 ;
39911 PyObject
* obj2
= 0 ;
39912 char *kwnames
[] = {
39913 (char *) "self",(char *) "index",(char *) "item", NULL
39916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39918 if (SWIG_arg_fail(1)) SWIG_fail
;
39920 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
39921 if (SWIG_arg_fail(2)) SWIG_fail
;
39923 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39924 if (SWIG_arg_fail(3)) SWIG_fail
;
39926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39927 result
= (wxSizerItem
*)(arg1
)->Insert(arg2
,arg3
);
39929 wxPyEndAllowThreads(__tstate
);
39930 if (PyErr_Occurred()) SWIG_fail
;
39932 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39939 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39940 PyObject
*resultobj
;
39941 wxSizer
*arg1
= (wxSizer
*) 0 ;
39942 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
39943 wxSizerItem
*result
;
39944 PyObject
* obj0
= 0 ;
39945 PyObject
* obj1
= 0 ;
39946 char *kwnames
[] = {
39947 (char *) "self",(char *) "item", NULL
39950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39952 if (SWIG_arg_fail(1)) SWIG_fail
;
39953 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39954 if (SWIG_arg_fail(2)) SWIG_fail
;
39956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39957 result
= (wxSizerItem
*)(arg1
)->Prepend(arg2
);
39959 wxPyEndAllowThreads(__tstate
);
39960 if (PyErr_Occurred()) SWIG_fail
;
39962 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39969 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39970 PyObject
*resultobj
;
39971 wxSizer
*arg1
= (wxSizer
*) 0 ;
39976 PyObject
* obj0
= 0 ;
39977 PyObject
* obj1
= 0 ;
39978 PyObject
* obj2
= 0 ;
39979 PyObject
* obj3
= 0 ;
39980 PyObject
* obj4
= 0 ;
39981 char *kwnames
[] = {
39982 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
39985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
39986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39987 if (SWIG_arg_fail(1)) SWIG_fail
;
39989 arg2
= (int)(SWIG_As_int(obj1
));
39990 if (SWIG_arg_fail(2)) SWIG_fail
;
39993 arg3
= (int)(SWIG_As_int(obj2
));
39994 if (SWIG_arg_fail(3)) SWIG_fail
;
39997 arg4
= (int)(SWIG_As_int(obj3
));
39998 if (SWIG_arg_fail(4)) SWIG_fail
;
40001 arg5
= (int)(SWIG_As_int(obj4
));
40002 if (SWIG_arg_fail(5)) SWIG_fail
;
40005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40006 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
40008 wxPyEndAllowThreads(__tstate
);
40009 if (PyErr_Occurred()) SWIG_fail
;
40011 Py_INCREF(Py_None
); resultobj
= Py_None
;
40018 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40019 PyObject
*resultobj
;
40020 wxSizer
*arg1
= (wxSizer
*) 0 ;
40023 PyObject
* obj0
= 0 ;
40024 PyObject
* obj1
= 0 ;
40025 char *kwnames
[] = {
40026 (char *) "self",(char *) "size", NULL
40029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
40030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40031 if (SWIG_arg_fail(1)) SWIG_fail
;
40034 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
40037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40038 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
40040 wxPyEndAllowThreads(__tstate
);
40041 if (PyErr_Occurred()) SWIG_fail
;
40043 Py_INCREF(Py_None
); resultobj
= Py_None
;
40050 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40051 PyObject
*resultobj
;
40052 wxSizer
*arg1
= (wxSizer
*) 0 ;
40054 PyObject
* obj0
= 0 ;
40055 char *kwnames
[] = {
40056 (char *) "self", NULL
40059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
40060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40061 if (SWIG_arg_fail(1)) SWIG_fail
;
40063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40064 result
= (arg1
)->GetSize();
40066 wxPyEndAllowThreads(__tstate
);
40067 if (PyErr_Occurred()) SWIG_fail
;
40070 wxSize
* resultptr
;
40071 resultptr
= new wxSize((wxSize
&)(result
));
40072 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40080 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40081 PyObject
*resultobj
;
40082 wxSizer
*arg1
= (wxSizer
*) 0 ;
40084 PyObject
* obj0
= 0 ;
40085 char *kwnames
[] = {
40086 (char *) "self", NULL
40089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
40090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40091 if (SWIG_arg_fail(1)) SWIG_fail
;
40093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40094 result
= (arg1
)->GetPosition();
40096 wxPyEndAllowThreads(__tstate
);
40097 if (PyErr_Occurred()) SWIG_fail
;
40100 wxPoint
* resultptr
;
40101 resultptr
= new wxPoint((wxPoint
&)(result
));
40102 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
40110 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40111 PyObject
*resultobj
;
40112 wxSizer
*arg1
= (wxSizer
*) 0 ;
40114 PyObject
* obj0
= 0 ;
40115 char *kwnames
[] = {
40116 (char *) "self", NULL
40119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
40120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40121 if (SWIG_arg_fail(1)) SWIG_fail
;
40123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40124 result
= (arg1
)->GetMinSize();
40126 wxPyEndAllowThreads(__tstate
);
40127 if (PyErr_Occurred()) SWIG_fail
;
40130 wxSize
* resultptr
;
40131 resultptr
= new wxSize((wxSize
&)(result
));
40132 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40140 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40141 PyObject
*resultobj
;
40142 wxSizer
*arg1
= (wxSizer
*) 0 ;
40143 PyObject
* obj0
= 0 ;
40144 char *kwnames
[] = {
40145 (char *) "self", NULL
40148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
40149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40150 if (SWIG_arg_fail(1)) SWIG_fail
;
40152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40153 (arg1
)->RecalcSizes();
40155 wxPyEndAllowThreads(__tstate
);
40156 if (PyErr_Occurred()) SWIG_fail
;
40158 Py_INCREF(Py_None
); resultobj
= Py_None
;
40165 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40166 PyObject
*resultobj
;
40167 wxSizer
*arg1
= (wxSizer
*) 0 ;
40169 PyObject
* obj0
= 0 ;
40170 char *kwnames
[] = {
40171 (char *) "self", NULL
40174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
40175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40176 if (SWIG_arg_fail(1)) SWIG_fail
;
40178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40179 result
= (arg1
)->CalcMin();
40181 wxPyEndAllowThreads(__tstate
);
40182 if (PyErr_Occurred()) SWIG_fail
;
40185 wxSize
* resultptr
;
40186 resultptr
= new wxSize((wxSize
&)(result
));
40187 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40195 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40196 PyObject
*resultobj
;
40197 wxSizer
*arg1
= (wxSizer
*) 0 ;
40198 PyObject
* obj0
= 0 ;
40199 char *kwnames
[] = {
40200 (char *) "self", NULL
40203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
40204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40205 if (SWIG_arg_fail(1)) SWIG_fail
;
40207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40210 wxPyEndAllowThreads(__tstate
);
40211 if (PyErr_Occurred()) SWIG_fail
;
40213 Py_INCREF(Py_None
); resultobj
= Py_None
;
40220 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40221 PyObject
*resultobj
;
40222 wxSizer
*arg1
= (wxSizer
*) 0 ;
40223 wxWindow
*arg2
= (wxWindow
*) 0 ;
40225 PyObject
* obj0
= 0 ;
40226 PyObject
* obj1
= 0 ;
40227 char *kwnames
[] = {
40228 (char *) "self",(char *) "window", NULL
40231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
40232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40233 if (SWIG_arg_fail(1)) SWIG_fail
;
40234 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40235 if (SWIG_arg_fail(2)) SWIG_fail
;
40237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40238 result
= (arg1
)->Fit(arg2
);
40240 wxPyEndAllowThreads(__tstate
);
40241 if (PyErr_Occurred()) SWIG_fail
;
40244 wxSize
* resultptr
;
40245 resultptr
= new wxSize((wxSize
&)(result
));
40246 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40254 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40255 PyObject
*resultobj
;
40256 wxSizer
*arg1
= (wxSizer
*) 0 ;
40257 wxWindow
*arg2
= (wxWindow
*) 0 ;
40258 PyObject
* obj0
= 0 ;
40259 PyObject
* obj1
= 0 ;
40260 char *kwnames
[] = {
40261 (char *) "self",(char *) "window", NULL
40264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
40265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40266 if (SWIG_arg_fail(1)) SWIG_fail
;
40267 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40268 if (SWIG_arg_fail(2)) SWIG_fail
;
40270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40271 (arg1
)->FitInside(arg2
);
40273 wxPyEndAllowThreads(__tstate
);
40274 if (PyErr_Occurred()) SWIG_fail
;
40276 Py_INCREF(Py_None
); resultobj
= Py_None
;
40283 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40284 PyObject
*resultobj
;
40285 wxSizer
*arg1
= (wxSizer
*) 0 ;
40286 wxWindow
*arg2
= (wxWindow
*) 0 ;
40287 PyObject
* obj0
= 0 ;
40288 PyObject
* obj1
= 0 ;
40289 char *kwnames
[] = {
40290 (char *) "self",(char *) "window", NULL
40293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
40294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40295 if (SWIG_arg_fail(1)) SWIG_fail
;
40296 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40297 if (SWIG_arg_fail(2)) SWIG_fail
;
40299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40300 (arg1
)->SetSizeHints(arg2
);
40302 wxPyEndAllowThreads(__tstate
);
40303 if (PyErr_Occurred()) SWIG_fail
;
40305 Py_INCREF(Py_None
); resultobj
= Py_None
;
40312 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40313 PyObject
*resultobj
;
40314 wxSizer
*arg1
= (wxSizer
*) 0 ;
40315 wxWindow
*arg2
= (wxWindow
*) 0 ;
40316 PyObject
* obj0
= 0 ;
40317 PyObject
* obj1
= 0 ;
40318 char *kwnames
[] = {
40319 (char *) "self",(char *) "window", NULL
40322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
40323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40324 if (SWIG_arg_fail(1)) SWIG_fail
;
40325 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40326 if (SWIG_arg_fail(2)) SWIG_fail
;
40328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40329 (arg1
)->SetVirtualSizeHints(arg2
);
40331 wxPyEndAllowThreads(__tstate
);
40332 if (PyErr_Occurred()) SWIG_fail
;
40334 Py_INCREF(Py_None
); resultobj
= Py_None
;
40341 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40342 PyObject
*resultobj
;
40343 wxSizer
*arg1
= (wxSizer
*) 0 ;
40344 bool arg2
= (bool) false ;
40345 PyObject
* obj0
= 0 ;
40346 PyObject
* obj1
= 0 ;
40347 char *kwnames
[] = {
40348 (char *) "self",(char *) "deleteWindows", NULL
40351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
40352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40353 if (SWIG_arg_fail(1)) SWIG_fail
;
40356 arg2
= (bool)(SWIG_As_bool(obj1
));
40357 if (SWIG_arg_fail(2)) SWIG_fail
;
40361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40362 (arg1
)->Clear(arg2
);
40364 wxPyEndAllowThreads(__tstate
);
40365 if (PyErr_Occurred()) SWIG_fail
;
40367 Py_INCREF(Py_None
); resultobj
= Py_None
;
40374 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40375 PyObject
*resultobj
;
40376 wxSizer
*arg1
= (wxSizer
*) 0 ;
40377 PyObject
* obj0
= 0 ;
40378 char *kwnames
[] = {
40379 (char *) "self", NULL
40382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
40383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40384 if (SWIG_arg_fail(1)) SWIG_fail
;
40386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40387 (arg1
)->DeleteWindows();
40389 wxPyEndAllowThreads(__tstate
);
40390 if (PyErr_Occurred()) SWIG_fail
;
40392 Py_INCREF(Py_None
); resultobj
= Py_None
;
40399 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40400 PyObject
*resultobj
;
40401 wxSizer
*arg1
= (wxSizer
*) 0 ;
40403 PyObject
* obj0
= 0 ;
40404 char *kwnames
[] = {
40405 (char *) "self", NULL
40408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
40409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40410 if (SWIG_arg_fail(1)) SWIG_fail
;
40412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40413 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
40415 wxPyEndAllowThreads(__tstate
);
40416 if (PyErr_Occurred()) SWIG_fail
;
40418 resultobj
= result
;
40425 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40426 PyObject
*resultobj
;
40427 wxSizer
*arg1
= (wxSizer
*) 0 ;
40428 PyObject
*arg2
= (PyObject
*) 0 ;
40429 bool arg3
= (bool) true ;
40430 bool arg4
= (bool) false ;
40432 PyObject
* obj0
= 0 ;
40433 PyObject
* obj1
= 0 ;
40434 PyObject
* obj2
= 0 ;
40435 PyObject
* obj3
= 0 ;
40436 char *kwnames
[] = {
40437 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
40440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40442 if (SWIG_arg_fail(1)) SWIG_fail
;
40446 arg3
= (bool)(SWIG_As_bool(obj2
));
40447 if (SWIG_arg_fail(3)) SWIG_fail
;
40452 arg4
= (bool)(SWIG_As_bool(obj3
));
40453 if (SWIG_arg_fail(4)) SWIG_fail
;
40457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40458 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
40460 wxPyEndAllowThreads(__tstate
);
40461 if (PyErr_Occurred()) SWIG_fail
;
40464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40472 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40473 PyObject
*resultobj
;
40474 wxSizer
*arg1
= (wxSizer
*) 0 ;
40475 PyObject
*arg2
= (PyObject
*) 0 ;
40477 PyObject
* obj0
= 0 ;
40478 PyObject
* obj1
= 0 ;
40479 char *kwnames
[] = {
40480 (char *) "self",(char *) "item", NULL
40483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
40484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40485 if (SWIG_arg_fail(1)) SWIG_fail
;
40488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40489 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
40491 wxPyEndAllowThreads(__tstate
);
40492 if (PyErr_Occurred()) SWIG_fail
;
40495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40503 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40504 PyObject
*resultobj
;
40505 wxSizer
*arg1
= (wxSizer
*) 0 ;
40507 PyObject
* obj0
= 0 ;
40508 PyObject
* obj1
= 0 ;
40509 char *kwnames
[] = {
40510 (char *) "self",(char *) "show", NULL
40513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
40514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40515 if (SWIG_arg_fail(1)) SWIG_fail
;
40517 arg2
= (bool)(SWIG_As_bool(obj1
));
40518 if (SWIG_arg_fail(2)) SWIG_fail
;
40521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40522 (arg1
)->ShowItems(arg2
);
40524 wxPyEndAllowThreads(__tstate
);
40525 if (PyErr_Occurred()) SWIG_fail
;
40527 Py_INCREF(Py_None
); resultobj
= Py_None
;
40534 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
40536 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40537 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
40539 return Py_BuildValue((char *)"");
40541 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40542 PyObject
*resultobj
;
40544 char *kwnames
[] = {
40548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
40550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40551 result
= (wxPySizer
*)new wxPySizer();
40553 wxPyEndAllowThreads(__tstate
);
40554 if (PyErr_Occurred()) SWIG_fail
;
40556 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
40563 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40564 PyObject
*resultobj
;
40565 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
40566 PyObject
*arg2
= (PyObject
*) 0 ;
40567 PyObject
*arg3
= (PyObject
*) 0 ;
40568 PyObject
* obj0
= 0 ;
40569 PyObject
* obj1
= 0 ;
40570 PyObject
* obj2
= 0 ;
40571 char *kwnames
[] = {
40572 (char *) "self",(char *) "self",(char *) "_class", NULL
40575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPySizer
, SWIG_POINTER_EXCEPTION
| 0);
40577 if (SWIG_arg_fail(1)) SWIG_fail
;
40581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40582 (arg1
)->_setCallbackInfo(arg2
,arg3
);
40584 wxPyEndAllowThreads(__tstate
);
40585 if (PyErr_Occurred()) SWIG_fail
;
40587 Py_INCREF(Py_None
); resultobj
= Py_None
;
40594 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
40596 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40597 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
40599 return Py_BuildValue((char *)"");
40601 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40602 PyObject
*resultobj
;
40603 int arg1
= (int) wxHORIZONTAL
;
40604 wxBoxSizer
*result
;
40605 PyObject
* obj0
= 0 ;
40606 char *kwnames
[] = {
40607 (char *) "orient", NULL
40610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
40613 arg1
= (int)(SWIG_As_int(obj0
));
40614 if (SWIG_arg_fail(1)) SWIG_fail
;
40618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40619 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
40621 wxPyEndAllowThreads(__tstate
);
40622 if (PyErr_Occurred()) SWIG_fail
;
40624 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
40631 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40632 PyObject
*resultobj
;
40633 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
40635 PyObject
* obj0
= 0 ;
40636 char *kwnames
[] = {
40637 (char *) "self", NULL
40640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
40641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40642 if (SWIG_arg_fail(1)) SWIG_fail
;
40644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40645 result
= (int)(arg1
)->GetOrientation();
40647 wxPyEndAllowThreads(__tstate
);
40648 if (PyErr_Occurred()) SWIG_fail
;
40651 resultobj
= SWIG_From_int((int)(result
));
40659 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40660 PyObject
*resultobj
;
40661 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
40663 PyObject
* obj0
= 0 ;
40664 PyObject
* obj1
= 0 ;
40665 char *kwnames
[] = {
40666 (char *) "self",(char *) "orient", NULL
40669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
40670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40671 if (SWIG_arg_fail(1)) SWIG_fail
;
40673 arg2
= (int)(SWIG_As_int(obj1
));
40674 if (SWIG_arg_fail(2)) SWIG_fail
;
40677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40678 (arg1
)->SetOrientation(arg2
);
40680 wxPyEndAllowThreads(__tstate
);
40681 if (PyErr_Occurred()) SWIG_fail
;
40683 Py_INCREF(Py_None
); resultobj
= Py_None
;
40690 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
40692 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40693 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
40695 return Py_BuildValue((char *)"");
40697 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40698 PyObject
*resultobj
;
40699 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
40700 int arg2
= (int) wxHORIZONTAL
;
40701 wxStaticBoxSizer
*result
;
40702 PyObject
* obj0
= 0 ;
40703 PyObject
* obj1
= 0 ;
40704 char *kwnames
[] = {
40705 (char *) "box",(char *) "orient", NULL
40708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
40709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
40710 if (SWIG_arg_fail(1)) SWIG_fail
;
40713 arg2
= (int)(SWIG_As_int(obj1
));
40714 if (SWIG_arg_fail(2)) SWIG_fail
;
40718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40719 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
40721 wxPyEndAllowThreads(__tstate
);
40722 if (PyErr_Occurred()) SWIG_fail
;
40724 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
40731 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40732 PyObject
*resultobj
;
40733 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
40734 wxStaticBox
*result
;
40735 PyObject
* obj0
= 0 ;
40736 char *kwnames
[] = {
40737 (char *) "self", NULL
40740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
40741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40742 if (SWIG_arg_fail(1)) SWIG_fail
;
40744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40745 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
40747 wxPyEndAllowThreads(__tstate
);
40748 if (PyErr_Occurred()) SWIG_fail
;
40751 resultobj
= wxPyMake_wxObject(result
, 0);
40759 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
40761 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40762 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
40764 return Py_BuildValue((char *)"");
40766 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40767 PyObject
*resultobj
;
40768 int arg1
= (int) 1 ;
40769 int arg2
= (int) 0 ;
40770 int arg3
= (int) 0 ;
40771 int arg4
= (int) 0 ;
40772 wxGridSizer
*result
;
40773 PyObject
* obj0
= 0 ;
40774 PyObject
* obj1
= 0 ;
40775 PyObject
* obj2
= 0 ;
40776 PyObject
* obj3
= 0 ;
40777 char *kwnames
[] = {
40778 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
40781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40784 arg1
= (int)(SWIG_As_int(obj0
));
40785 if (SWIG_arg_fail(1)) SWIG_fail
;
40790 arg2
= (int)(SWIG_As_int(obj1
));
40791 if (SWIG_arg_fail(2)) SWIG_fail
;
40796 arg3
= (int)(SWIG_As_int(obj2
));
40797 if (SWIG_arg_fail(3)) SWIG_fail
;
40802 arg4
= (int)(SWIG_As_int(obj3
));
40803 if (SWIG_arg_fail(4)) SWIG_fail
;
40807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40808 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
40810 wxPyEndAllowThreads(__tstate
);
40811 if (PyErr_Occurred()) SWIG_fail
;
40813 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
40820 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40821 PyObject
*resultobj
;
40822 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40824 PyObject
* obj0
= 0 ;
40825 PyObject
* obj1
= 0 ;
40826 char *kwnames
[] = {
40827 (char *) "self",(char *) "cols", NULL
40830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
40831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40832 if (SWIG_arg_fail(1)) SWIG_fail
;
40834 arg2
= (int)(SWIG_As_int(obj1
));
40835 if (SWIG_arg_fail(2)) SWIG_fail
;
40838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40839 (arg1
)->SetCols(arg2
);
40841 wxPyEndAllowThreads(__tstate
);
40842 if (PyErr_Occurred()) SWIG_fail
;
40844 Py_INCREF(Py_None
); resultobj
= Py_None
;
40851 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40852 PyObject
*resultobj
;
40853 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40855 PyObject
* obj0
= 0 ;
40856 PyObject
* obj1
= 0 ;
40857 char *kwnames
[] = {
40858 (char *) "self",(char *) "rows", NULL
40861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
40862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40863 if (SWIG_arg_fail(1)) SWIG_fail
;
40865 arg2
= (int)(SWIG_As_int(obj1
));
40866 if (SWIG_arg_fail(2)) SWIG_fail
;
40869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40870 (arg1
)->SetRows(arg2
);
40872 wxPyEndAllowThreads(__tstate
);
40873 if (PyErr_Occurred()) SWIG_fail
;
40875 Py_INCREF(Py_None
); resultobj
= Py_None
;
40882 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40883 PyObject
*resultobj
;
40884 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40886 PyObject
* obj0
= 0 ;
40887 PyObject
* obj1
= 0 ;
40888 char *kwnames
[] = {
40889 (char *) "self",(char *) "gap", NULL
40892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
40893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40894 if (SWIG_arg_fail(1)) SWIG_fail
;
40896 arg2
= (int)(SWIG_As_int(obj1
));
40897 if (SWIG_arg_fail(2)) SWIG_fail
;
40900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40901 (arg1
)->SetVGap(arg2
);
40903 wxPyEndAllowThreads(__tstate
);
40904 if (PyErr_Occurred()) SWIG_fail
;
40906 Py_INCREF(Py_None
); resultobj
= Py_None
;
40913 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40914 PyObject
*resultobj
;
40915 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40917 PyObject
* obj0
= 0 ;
40918 PyObject
* obj1
= 0 ;
40919 char *kwnames
[] = {
40920 (char *) "self",(char *) "gap", NULL
40923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
40924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40925 if (SWIG_arg_fail(1)) SWIG_fail
;
40927 arg2
= (int)(SWIG_As_int(obj1
));
40928 if (SWIG_arg_fail(2)) SWIG_fail
;
40931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40932 (arg1
)->SetHGap(arg2
);
40934 wxPyEndAllowThreads(__tstate
);
40935 if (PyErr_Occurred()) SWIG_fail
;
40937 Py_INCREF(Py_None
); resultobj
= Py_None
;
40944 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40945 PyObject
*resultobj
;
40946 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40948 PyObject
* obj0
= 0 ;
40949 char *kwnames
[] = {
40950 (char *) "self", NULL
40953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
40954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40955 if (SWIG_arg_fail(1)) SWIG_fail
;
40957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40958 result
= (int)(arg1
)->GetCols();
40960 wxPyEndAllowThreads(__tstate
);
40961 if (PyErr_Occurred()) SWIG_fail
;
40964 resultobj
= SWIG_From_int((int)(result
));
40972 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40973 PyObject
*resultobj
;
40974 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40976 PyObject
* obj0
= 0 ;
40977 char *kwnames
[] = {
40978 (char *) "self", NULL
40981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
40982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40983 if (SWIG_arg_fail(1)) SWIG_fail
;
40985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40986 result
= (int)(arg1
)->GetRows();
40988 wxPyEndAllowThreads(__tstate
);
40989 if (PyErr_Occurred()) SWIG_fail
;
40992 resultobj
= SWIG_From_int((int)(result
));
41000 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41001 PyObject
*resultobj
;
41002 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41004 PyObject
* obj0
= 0 ;
41005 char *kwnames
[] = {
41006 (char *) "self", NULL
41009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
41010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41011 if (SWIG_arg_fail(1)) SWIG_fail
;
41013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41014 result
= (int)(arg1
)->GetVGap();
41016 wxPyEndAllowThreads(__tstate
);
41017 if (PyErr_Occurred()) SWIG_fail
;
41020 resultobj
= SWIG_From_int((int)(result
));
41028 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41029 PyObject
*resultobj
;
41030 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41032 PyObject
* obj0
= 0 ;
41033 char *kwnames
[] = {
41034 (char *) "self", NULL
41037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
41038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41039 if (SWIG_arg_fail(1)) SWIG_fail
;
41041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41042 result
= (int)(arg1
)->GetHGap();
41044 wxPyEndAllowThreads(__tstate
);
41045 if (PyErr_Occurred()) SWIG_fail
;
41048 resultobj
= SWIG_From_int((int)(result
));
41056 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
41058 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41059 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
41061 return Py_BuildValue((char *)"");
41063 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41064 PyObject
*resultobj
;
41065 int arg1
= (int) 1 ;
41066 int arg2
= (int) 0 ;
41067 int arg3
= (int) 0 ;
41068 int arg4
= (int) 0 ;
41069 wxFlexGridSizer
*result
;
41070 PyObject
* obj0
= 0 ;
41071 PyObject
* obj1
= 0 ;
41072 PyObject
* obj2
= 0 ;
41073 PyObject
* obj3
= 0 ;
41074 char *kwnames
[] = {
41075 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
41078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
41081 arg1
= (int)(SWIG_As_int(obj0
));
41082 if (SWIG_arg_fail(1)) SWIG_fail
;
41087 arg2
= (int)(SWIG_As_int(obj1
));
41088 if (SWIG_arg_fail(2)) SWIG_fail
;
41093 arg3
= (int)(SWIG_As_int(obj2
));
41094 if (SWIG_arg_fail(3)) SWIG_fail
;
41099 arg4
= (int)(SWIG_As_int(obj3
));
41100 if (SWIG_arg_fail(4)) SWIG_fail
;
41104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41105 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
41107 wxPyEndAllowThreads(__tstate
);
41108 if (PyErr_Occurred()) SWIG_fail
;
41110 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
41117 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41118 PyObject
*resultobj
;
41119 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41121 int arg3
= (int) 0 ;
41122 PyObject
* obj0
= 0 ;
41123 PyObject
* obj1
= 0 ;
41124 PyObject
* obj2
= 0 ;
41125 char *kwnames
[] = {
41126 (char *) "self",(char *) "idx",(char *) "proportion", NULL
41129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41131 if (SWIG_arg_fail(1)) SWIG_fail
;
41133 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41134 if (SWIG_arg_fail(2)) SWIG_fail
;
41138 arg3
= (int)(SWIG_As_int(obj2
));
41139 if (SWIG_arg_fail(3)) SWIG_fail
;
41143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41144 (arg1
)->AddGrowableRow(arg2
,arg3
);
41146 wxPyEndAllowThreads(__tstate
);
41147 if (PyErr_Occurred()) SWIG_fail
;
41149 Py_INCREF(Py_None
); resultobj
= Py_None
;
41156 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41157 PyObject
*resultobj
;
41158 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41160 PyObject
* obj0
= 0 ;
41161 PyObject
* obj1
= 0 ;
41162 char *kwnames
[] = {
41163 (char *) "self",(char *) "idx", NULL
41166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
41167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41168 if (SWIG_arg_fail(1)) SWIG_fail
;
41170 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41171 if (SWIG_arg_fail(2)) SWIG_fail
;
41174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41175 (arg1
)->RemoveGrowableRow(arg2
);
41177 wxPyEndAllowThreads(__tstate
);
41178 if (PyErr_Occurred()) SWIG_fail
;
41180 Py_INCREF(Py_None
); resultobj
= Py_None
;
41187 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41188 PyObject
*resultobj
;
41189 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41191 int arg3
= (int) 0 ;
41192 PyObject
* obj0
= 0 ;
41193 PyObject
* obj1
= 0 ;
41194 PyObject
* obj2
= 0 ;
41195 char *kwnames
[] = {
41196 (char *) "self",(char *) "idx",(char *) "proportion", NULL
41199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41201 if (SWIG_arg_fail(1)) SWIG_fail
;
41203 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41204 if (SWIG_arg_fail(2)) SWIG_fail
;
41208 arg3
= (int)(SWIG_As_int(obj2
));
41209 if (SWIG_arg_fail(3)) SWIG_fail
;
41213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41214 (arg1
)->AddGrowableCol(arg2
,arg3
);
41216 wxPyEndAllowThreads(__tstate
);
41217 if (PyErr_Occurred()) SWIG_fail
;
41219 Py_INCREF(Py_None
); resultobj
= Py_None
;
41226 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41227 PyObject
*resultobj
;
41228 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41230 PyObject
* obj0
= 0 ;
41231 PyObject
* obj1
= 0 ;
41232 char *kwnames
[] = {
41233 (char *) "self",(char *) "idx", NULL
41236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
41237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41238 if (SWIG_arg_fail(1)) SWIG_fail
;
41240 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41241 if (SWIG_arg_fail(2)) SWIG_fail
;
41244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41245 (arg1
)->RemoveGrowableCol(arg2
);
41247 wxPyEndAllowThreads(__tstate
);
41248 if (PyErr_Occurred()) SWIG_fail
;
41250 Py_INCREF(Py_None
); resultobj
= Py_None
;
41257 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41258 PyObject
*resultobj
;
41259 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41261 PyObject
* obj0
= 0 ;
41262 PyObject
* obj1
= 0 ;
41263 char *kwnames
[] = {
41264 (char *) "self",(char *) "direction", NULL
41267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
41268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41269 if (SWIG_arg_fail(1)) SWIG_fail
;
41271 arg2
= (int)(SWIG_As_int(obj1
));
41272 if (SWIG_arg_fail(2)) SWIG_fail
;
41275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41276 (arg1
)->SetFlexibleDirection(arg2
);
41278 wxPyEndAllowThreads(__tstate
);
41279 if (PyErr_Occurred()) SWIG_fail
;
41281 Py_INCREF(Py_None
); resultobj
= Py_None
;
41288 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41289 PyObject
*resultobj
;
41290 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41292 PyObject
* obj0
= 0 ;
41293 char *kwnames
[] = {
41294 (char *) "self", NULL
41297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
41298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41299 if (SWIG_arg_fail(1)) SWIG_fail
;
41301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41302 result
= (int)(arg1
)->GetFlexibleDirection();
41304 wxPyEndAllowThreads(__tstate
);
41305 if (PyErr_Occurred()) SWIG_fail
;
41308 resultobj
= SWIG_From_int((int)(result
));
41316 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41317 PyObject
*resultobj
;
41318 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41319 wxFlexSizerGrowMode arg2
;
41320 PyObject
* obj0
= 0 ;
41321 PyObject
* obj1
= 0 ;
41322 char *kwnames
[] = {
41323 (char *) "self",(char *) "mode", NULL
41326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
41327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41328 if (SWIG_arg_fail(1)) SWIG_fail
;
41330 arg2
= (wxFlexSizerGrowMode
)(SWIG_As_int(obj1
));
41331 if (SWIG_arg_fail(2)) SWIG_fail
;
41334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41335 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
41337 wxPyEndAllowThreads(__tstate
);
41338 if (PyErr_Occurred()) SWIG_fail
;
41340 Py_INCREF(Py_None
); resultobj
= Py_None
;
41347 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41348 PyObject
*resultobj
;
41349 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41350 wxFlexSizerGrowMode result
;
41351 PyObject
* obj0
= 0 ;
41352 char *kwnames
[] = {
41353 (char *) "self", NULL
41356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
41357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41358 if (SWIG_arg_fail(1)) SWIG_fail
;
41360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41361 result
= (wxFlexSizerGrowMode
)(arg1
)->GetNonFlexibleGrowMode();
41363 wxPyEndAllowThreads(__tstate
);
41364 if (PyErr_Occurred()) SWIG_fail
;
41366 resultobj
= SWIG_From_int((result
));
41373 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41374 PyObject
*resultobj
;
41375 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41376 wxArrayInt
*result
;
41377 PyObject
* obj0
= 0 ;
41378 char *kwnames
[] = {
41379 (char *) "self", NULL
41382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
41383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41384 if (SWIG_arg_fail(1)) SWIG_fail
;
41386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41388 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
41389 result
= (wxArrayInt
*) &_result_ref
;
41392 wxPyEndAllowThreads(__tstate
);
41393 if (PyErr_Occurred()) SWIG_fail
;
41396 resultobj
= PyList_New(0);
41398 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
41399 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
41400 PyList_Append(resultobj
, val
);
41410 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41411 PyObject
*resultobj
;
41412 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41413 wxArrayInt
*result
;
41414 PyObject
* obj0
= 0 ;
41415 char *kwnames
[] = {
41416 (char *) "self", NULL
41419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
41420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41421 if (SWIG_arg_fail(1)) SWIG_fail
;
41423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41425 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
41426 result
= (wxArrayInt
*) &_result_ref
;
41429 wxPyEndAllowThreads(__tstate
);
41430 if (PyErr_Occurred()) SWIG_fail
;
41433 resultobj
= PyList_New(0);
41435 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
41436 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
41437 PyList_Append(resultobj
, val
);
41447 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
41449 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41450 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
41452 return Py_BuildValue((char *)"");
41454 static PyObject
*_wrap_new_StdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41455 PyObject
*resultobj
;
41456 wxStdDialogButtonSizer
*result
;
41457 char *kwnames
[] = {
41461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StdDialogButtonSizer",kwnames
)) goto fail
;
41463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41464 result
= (wxStdDialogButtonSizer
*)new wxStdDialogButtonSizer();
41466 wxPyEndAllowThreads(__tstate
);
41467 if (PyErr_Occurred()) SWIG_fail
;
41469 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 1);
41476 static PyObject
*_wrap_StdDialogButtonSizer_AddButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41477 PyObject
*resultobj
;
41478 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41479 wxButton
*arg2
= (wxButton
*) 0 ;
41480 PyObject
* obj0
= 0 ;
41481 PyObject
* obj1
= 0 ;
41482 char *kwnames
[] = {
41483 (char *) "self",(char *) "button", NULL
41486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_AddButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41488 if (SWIG_arg_fail(1)) SWIG_fail
;
41489 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41490 if (SWIG_arg_fail(2)) SWIG_fail
;
41492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41493 (arg1
)->AddButton(arg2
);
41495 wxPyEndAllowThreads(__tstate
);
41496 if (PyErr_Occurred()) SWIG_fail
;
41498 Py_INCREF(Py_None
); resultobj
= Py_None
;
41505 static PyObject
*_wrap_StdDialogButtonSizer_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41506 PyObject
*resultobj
;
41507 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41508 PyObject
* obj0
= 0 ;
41509 char *kwnames
[] = {
41510 (char *) "self", NULL
41513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_Realize",kwnames
,&obj0
)) goto fail
;
41514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41515 if (SWIG_arg_fail(1)) SWIG_fail
;
41517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41520 wxPyEndAllowThreads(__tstate
);
41521 if (PyErr_Occurred()) SWIG_fail
;
41523 Py_INCREF(Py_None
); resultobj
= Py_None
;
41530 static PyObject
*_wrap_StdDialogButtonSizer_SetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41531 PyObject
*resultobj
;
41532 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41533 wxButton
*arg2
= (wxButton
*) 0 ;
41534 PyObject
* obj0
= 0 ;
41535 PyObject
* obj1
= 0 ;
41536 char *kwnames
[] = {
41537 (char *) "self",(char *) "button", NULL
41540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetAffirmativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41542 if (SWIG_arg_fail(1)) SWIG_fail
;
41543 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41544 if (SWIG_arg_fail(2)) SWIG_fail
;
41546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41547 (arg1
)->SetAffirmativeButton(arg2
);
41549 wxPyEndAllowThreads(__tstate
);
41550 if (PyErr_Occurred()) SWIG_fail
;
41552 Py_INCREF(Py_None
); resultobj
= Py_None
;
41559 static PyObject
*_wrap_StdDialogButtonSizer_SetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41560 PyObject
*resultobj
;
41561 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41562 wxButton
*arg2
= (wxButton
*) 0 ;
41563 PyObject
* obj0
= 0 ;
41564 PyObject
* obj1
= 0 ;
41565 char *kwnames
[] = {
41566 (char *) "self",(char *) "button", NULL
41569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetNegativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41571 if (SWIG_arg_fail(1)) SWIG_fail
;
41572 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41573 if (SWIG_arg_fail(2)) SWIG_fail
;
41575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41576 (arg1
)->SetNegativeButton(arg2
);
41578 wxPyEndAllowThreads(__tstate
);
41579 if (PyErr_Occurred()) SWIG_fail
;
41581 Py_INCREF(Py_None
); resultobj
= Py_None
;
41588 static PyObject
*_wrap_StdDialogButtonSizer_SetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41589 PyObject
*resultobj
;
41590 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41591 wxButton
*arg2
= (wxButton
*) 0 ;
41592 PyObject
* obj0
= 0 ;
41593 PyObject
* obj1
= 0 ;
41594 char *kwnames
[] = {
41595 (char *) "self",(char *) "button", NULL
41598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetCancelButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41600 if (SWIG_arg_fail(1)) SWIG_fail
;
41601 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41602 if (SWIG_arg_fail(2)) SWIG_fail
;
41604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41605 (arg1
)->SetCancelButton(arg2
);
41607 wxPyEndAllowThreads(__tstate
);
41608 if (PyErr_Occurred()) SWIG_fail
;
41610 Py_INCREF(Py_None
); resultobj
= Py_None
;
41617 static PyObject
*_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41618 PyObject
*resultobj
;
41619 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41621 PyObject
* obj0
= 0 ;
41622 char *kwnames
[] = {
41623 (char *) "self", NULL
41626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetAffirmativeButton",kwnames
,&obj0
)) goto fail
;
41627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41628 if (SWIG_arg_fail(1)) SWIG_fail
;
41630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41631 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetAffirmativeButton();
41633 wxPyEndAllowThreads(__tstate
);
41634 if (PyErr_Occurred()) SWIG_fail
;
41637 resultobj
= wxPyMake_wxObject(result
, 0);
41645 static PyObject
*_wrap_StdDialogButtonSizer_GetApplyButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41646 PyObject
*resultobj
;
41647 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41649 PyObject
* obj0
= 0 ;
41650 char *kwnames
[] = {
41651 (char *) "self", NULL
41654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetApplyButton",kwnames
,&obj0
)) goto fail
;
41655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41656 if (SWIG_arg_fail(1)) SWIG_fail
;
41658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41659 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetApplyButton();
41661 wxPyEndAllowThreads(__tstate
);
41662 if (PyErr_Occurred()) SWIG_fail
;
41665 resultobj
= wxPyMake_wxObject(result
, 0);
41673 static PyObject
*_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41674 PyObject
*resultobj
;
41675 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41677 PyObject
* obj0
= 0 ;
41678 char *kwnames
[] = {
41679 (char *) "self", NULL
41682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetNegativeButton",kwnames
,&obj0
)) goto fail
;
41683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41684 if (SWIG_arg_fail(1)) SWIG_fail
;
41686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41687 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetNegativeButton();
41689 wxPyEndAllowThreads(__tstate
);
41690 if (PyErr_Occurred()) SWIG_fail
;
41693 resultobj
= wxPyMake_wxObject(result
, 0);
41701 static PyObject
*_wrap_StdDialogButtonSizer_GetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41702 PyObject
*resultobj
;
41703 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41705 PyObject
* obj0
= 0 ;
41706 char *kwnames
[] = {
41707 (char *) "self", NULL
41710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetCancelButton",kwnames
,&obj0
)) goto fail
;
41711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41712 if (SWIG_arg_fail(1)) SWIG_fail
;
41714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41715 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetCancelButton();
41717 wxPyEndAllowThreads(__tstate
);
41718 if (PyErr_Occurred()) SWIG_fail
;
41721 resultobj
= wxPyMake_wxObject(result
, 0);
41729 static PyObject
*_wrap_StdDialogButtonSizer_GetHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41730 PyObject
*resultobj
;
41731 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41733 PyObject
* obj0
= 0 ;
41734 char *kwnames
[] = {
41735 (char *) "self", NULL
41738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetHelpButton",kwnames
,&obj0
)) goto fail
;
41739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41740 if (SWIG_arg_fail(1)) SWIG_fail
;
41742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41743 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetHelpButton();
41745 wxPyEndAllowThreads(__tstate
);
41746 if (PyErr_Occurred()) SWIG_fail
;
41749 resultobj
= wxPyMake_wxObject(result
, 0);
41757 static PyObject
* StdDialogButtonSizer_swigregister(PyObject
*, PyObject
*args
) {
41759 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41760 SWIG_TypeClientData(SWIGTYPE_p_wxStdDialogButtonSizer
, obj
);
41762 return Py_BuildValue((char *)"");
41764 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41765 PyObject
*resultobj
;
41766 int arg1
= (int) 0 ;
41767 int arg2
= (int) 0 ;
41768 wxGBPosition
*result
;
41769 PyObject
* obj0
= 0 ;
41770 PyObject
* obj1
= 0 ;
41771 char *kwnames
[] = {
41772 (char *) "row",(char *) "col", NULL
41775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
41778 arg1
= (int)(SWIG_As_int(obj0
));
41779 if (SWIG_arg_fail(1)) SWIG_fail
;
41784 arg2
= (int)(SWIG_As_int(obj1
));
41785 if (SWIG_arg_fail(2)) SWIG_fail
;
41789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41790 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
41792 wxPyEndAllowThreads(__tstate
);
41793 if (PyErr_Occurred()) SWIG_fail
;
41795 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
41802 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41803 PyObject
*resultobj
;
41804 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41806 PyObject
* obj0
= 0 ;
41807 char *kwnames
[] = {
41808 (char *) "self", NULL
41811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
41812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41813 if (SWIG_arg_fail(1)) SWIG_fail
;
41815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41816 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
41818 wxPyEndAllowThreads(__tstate
);
41819 if (PyErr_Occurred()) SWIG_fail
;
41822 resultobj
= SWIG_From_int((int)(result
));
41830 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41831 PyObject
*resultobj
;
41832 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41834 PyObject
* obj0
= 0 ;
41835 char *kwnames
[] = {
41836 (char *) "self", NULL
41839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
41840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41841 if (SWIG_arg_fail(1)) SWIG_fail
;
41843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41844 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
41846 wxPyEndAllowThreads(__tstate
);
41847 if (PyErr_Occurred()) SWIG_fail
;
41850 resultobj
= SWIG_From_int((int)(result
));
41858 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41859 PyObject
*resultobj
;
41860 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41862 PyObject
* obj0
= 0 ;
41863 PyObject
* obj1
= 0 ;
41864 char *kwnames
[] = {
41865 (char *) "self",(char *) "row", NULL
41868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
41869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41870 if (SWIG_arg_fail(1)) SWIG_fail
;
41872 arg2
= (int)(SWIG_As_int(obj1
));
41873 if (SWIG_arg_fail(2)) SWIG_fail
;
41876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41877 (arg1
)->SetRow(arg2
);
41879 wxPyEndAllowThreads(__tstate
);
41880 if (PyErr_Occurred()) SWIG_fail
;
41882 Py_INCREF(Py_None
); resultobj
= Py_None
;
41889 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41890 PyObject
*resultobj
;
41891 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41893 PyObject
* obj0
= 0 ;
41894 PyObject
* obj1
= 0 ;
41895 char *kwnames
[] = {
41896 (char *) "self",(char *) "col", NULL
41899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
41900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41901 if (SWIG_arg_fail(1)) SWIG_fail
;
41903 arg2
= (int)(SWIG_As_int(obj1
));
41904 if (SWIG_arg_fail(2)) SWIG_fail
;
41907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41908 (arg1
)->SetCol(arg2
);
41910 wxPyEndAllowThreads(__tstate
);
41911 if (PyErr_Occurred()) SWIG_fail
;
41913 Py_INCREF(Py_None
); resultobj
= Py_None
;
41920 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41921 PyObject
*resultobj
;
41922 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41923 wxGBPosition
*arg2
= 0 ;
41925 wxGBPosition temp2
;
41926 PyObject
* obj0
= 0 ;
41927 PyObject
* obj1
= 0 ;
41928 char *kwnames
[] = {
41929 (char *) "self",(char *) "other", NULL
41932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
41933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41934 if (SWIG_arg_fail(1)) SWIG_fail
;
41937 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41941 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
41943 wxPyEndAllowThreads(__tstate
);
41944 if (PyErr_Occurred()) SWIG_fail
;
41947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41955 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41956 PyObject
*resultobj
;
41957 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41958 wxGBPosition
*arg2
= 0 ;
41960 wxGBPosition temp2
;
41961 PyObject
* obj0
= 0 ;
41962 PyObject
* obj1
= 0 ;
41963 char *kwnames
[] = {
41964 (char *) "self",(char *) "other", NULL
41967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
41968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41969 if (SWIG_arg_fail(1)) SWIG_fail
;
41972 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41976 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
41978 wxPyEndAllowThreads(__tstate
);
41979 if (PyErr_Occurred()) SWIG_fail
;
41982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41990 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41991 PyObject
*resultobj
;
41992 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41993 int arg2
= (int) 0 ;
41994 int arg3
= (int) 0 ;
41995 PyObject
* obj0
= 0 ;
41996 PyObject
* obj1
= 0 ;
41997 PyObject
* obj2
= 0 ;
41998 char *kwnames
[] = {
41999 (char *) "self",(char *) "row",(char *) "col", NULL
42002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42004 if (SWIG_arg_fail(1)) SWIG_fail
;
42007 arg2
= (int)(SWIG_As_int(obj1
));
42008 if (SWIG_arg_fail(2)) SWIG_fail
;
42013 arg3
= (int)(SWIG_As_int(obj2
));
42014 if (SWIG_arg_fail(3)) SWIG_fail
;
42018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42019 wxGBPosition_Set(arg1
,arg2
,arg3
);
42021 wxPyEndAllowThreads(__tstate
);
42022 if (PyErr_Occurred()) SWIG_fail
;
42024 Py_INCREF(Py_None
); resultobj
= Py_None
;
42031 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42032 PyObject
*resultobj
;
42033 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42035 PyObject
* obj0
= 0 ;
42036 char *kwnames
[] = {
42037 (char *) "self", NULL
42040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
42041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42042 if (SWIG_arg_fail(1)) SWIG_fail
;
42044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42045 result
= (PyObject
*)wxGBPosition_Get(arg1
);
42047 wxPyEndAllowThreads(__tstate
);
42048 if (PyErr_Occurred()) SWIG_fail
;
42050 resultobj
= result
;
42057 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
42059 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42060 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
42062 return Py_BuildValue((char *)"");
42064 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42065 PyObject
*resultobj
;
42066 int arg1
= (int) 1 ;
42067 int arg2
= (int) 1 ;
42069 PyObject
* obj0
= 0 ;
42070 PyObject
* obj1
= 0 ;
42071 char *kwnames
[] = {
42072 (char *) "rowspan",(char *) "colspan", NULL
42075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
42078 arg1
= (int)(SWIG_As_int(obj0
));
42079 if (SWIG_arg_fail(1)) SWIG_fail
;
42084 arg2
= (int)(SWIG_As_int(obj1
));
42085 if (SWIG_arg_fail(2)) SWIG_fail
;
42089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42090 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
42092 wxPyEndAllowThreads(__tstate
);
42093 if (PyErr_Occurred()) SWIG_fail
;
42095 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
42102 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42103 PyObject
*resultobj
;
42104 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42106 PyObject
* obj0
= 0 ;
42107 char *kwnames
[] = {
42108 (char *) "self", NULL
42111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
42112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42113 if (SWIG_arg_fail(1)) SWIG_fail
;
42115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42116 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
42118 wxPyEndAllowThreads(__tstate
);
42119 if (PyErr_Occurred()) SWIG_fail
;
42122 resultobj
= SWIG_From_int((int)(result
));
42130 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42131 PyObject
*resultobj
;
42132 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42134 PyObject
* obj0
= 0 ;
42135 char *kwnames
[] = {
42136 (char *) "self", NULL
42139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
42140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42141 if (SWIG_arg_fail(1)) SWIG_fail
;
42143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42144 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
42146 wxPyEndAllowThreads(__tstate
);
42147 if (PyErr_Occurred()) SWIG_fail
;
42150 resultobj
= SWIG_From_int((int)(result
));
42158 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42159 PyObject
*resultobj
;
42160 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42162 PyObject
* obj0
= 0 ;
42163 PyObject
* obj1
= 0 ;
42164 char *kwnames
[] = {
42165 (char *) "self",(char *) "rowspan", NULL
42168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
42169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42170 if (SWIG_arg_fail(1)) SWIG_fail
;
42172 arg2
= (int)(SWIG_As_int(obj1
));
42173 if (SWIG_arg_fail(2)) SWIG_fail
;
42176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42177 (arg1
)->SetRowspan(arg2
);
42179 wxPyEndAllowThreads(__tstate
);
42180 if (PyErr_Occurred()) SWIG_fail
;
42182 Py_INCREF(Py_None
); resultobj
= Py_None
;
42189 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42190 PyObject
*resultobj
;
42191 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42193 PyObject
* obj0
= 0 ;
42194 PyObject
* obj1
= 0 ;
42195 char *kwnames
[] = {
42196 (char *) "self",(char *) "colspan", NULL
42199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
42200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42201 if (SWIG_arg_fail(1)) SWIG_fail
;
42203 arg2
= (int)(SWIG_As_int(obj1
));
42204 if (SWIG_arg_fail(2)) SWIG_fail
;
42207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42208 (arg1
)->SetColspan(arg2
);
42210 wxPyEndAllowThreads(__tstate
);
42211 if (PyErr_Occurred()) SWIG_fail
;
42213 Py_INCREF(Py_None
); resultobj
= Py_None
;
42220 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42221 PyObject
*resultobj
;
42222 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42223 wxGBSpan
*arg2
= 0 ;
42226 PyObject
* obj0
= 0 ;
42227 PyObject
* obj1
= 0 ;
42228 char *kwnames
[] = {
42229 (char *) "self",(char *) "other", NULL
42232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
42233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42234 if (SWIG_arg_fail(1)) SWIG_fail
;
42237 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42241 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
42243 wxPyEndAllowThreads(__tstate
);
42244 if (PyErr_Occurred()) SWIG_fail
;
42247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42255 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42256 PyObject
*resultobj
;
42257 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42258 wxGBSpan
*arg2
= 0 ;
42261 PyObject
* obj0
= 0 ;
42262 PyObject
* obj1
= 0 ;
42263 char *kwnames
[] = {
42264 (char *) "self",(char *) "other", NULL
42267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
42268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42269 if (SWIG_arg_fail(1)) SWIG_fail
;
42272 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42276 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
42278 wxPyEndAllowThreads(__tstate
);
42279 if (PyErr_Occurred()) SWIG_fail
;
42282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42290 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42291 PyObject
*resultobj
;
42292 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42293 int arg2
= (int) 1 ;
42294 int arg3
= (int) 1 ;
42295 PyObject
* obj0
= 0 ;
42296 PyObject
* obj1
= 0 ;
42297 PyObject
* obj2
= 0 ;
42298 char *kwnames
[] = {
42299 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
42302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42304 if (SWIG_arg_fail(1)) SWIG_fail
;
42307 arg2
= (int)(SWIG_As_int(obj1
));
42308 if (SWIG_arg_fail(2)) SWIG_fail
;
42313 arg3
= (int)(SWIG_As_int(obj2
));
42314 if (SWIG_arg_fail(3)) SWIG_fail
;
42318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42319 wxGBSpan_Set(arg1
,arg2
,arg3
);
42321 wxPyEndAllowThreads(__tstate
);
42322 if (PyErr_Occurred()) SWIG_fail
;
42324 Py_INCREF(Py_None
); resultobj
= Py_None
;
42331 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42332 PyObject
*resultobj
;
42333 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42335 PyObject
* obj0
= 0 ;
42336 char *kwnames
[] = {
42337 (char *) "self", NULL
42340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
42341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42342 if (SWIG_arg_fail(1)) SWIG_fail
;
42344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42345 result
= (PyObject
*)wxGBSpan_Get(arg1
);
42347 wxPyEndAllowThreads(__tstate
);
42348 if (PyErr_Occurred()) SWIG_fail
;
42350 resultobj
= result
;
42357 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
42359 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42360 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
42362 return Py_BuildValue((char *)"");
42364 static int _wrap_DefaultSpan_set(PyObject
*) {
42365 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
42370 static PyObject
*_wrap_DefaultSpan_get(void) {
42373 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
42378 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42379 PyObject
*resultobj
;
42380 wxGBSizerItem
*result
;
42381 char *kwnames
[] = {
42385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
42387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42388 result
= (wxGBSizerItem
*)new wxGBSizerItem();
42390 wxPyEndAllowThreads(__tstate
);
42391 if (PyErr_Occurred()) SWIG_fail
;
42393 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42400 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42401 PyObject
*resultobj
;
42402 wxWindow
*arg1
= (wxWindow
*) 0 ;
42403 wxGBPosition
*arg2
= 0 ;
42404 wxGBSpan
*arg3
= 0 ;
42407 PyObject
*arg6
= (PyObject
*) NULL
;
42408 wxGBSizerItem
*result
;
42409 wxGBPosition temp2
;
42411 PyObject
* obj0
= 0 ;
42412 PyObject
* obj1
= 0 ;
42413 PyObject
* obj2
= 0 ;
42414 PyObject
* obj3
= 0 ;
42415 PyObject
* obj4
= 0 ;
42416 PyObject
* obj5
= 0 ;
42417 char *kwnames
[] = {
42418 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
42422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42423 if (SWIG_arg_fail(1)) SWIG_fail
;
42426 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42430 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42433 arg4
= (int)(SWIG_As_int(obj3
));
42434 if (SWIG_arg_fail(4)) SWIG_fail
;
42437 arg5
= (int)(SWIG_As_int(obj4
));
42438 if (SWIG_arg_fail(5)) SWIG_fail
;
42444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42445 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
42447 wxPyEndAllowThreads(__tstate
);
42448 if (PyErr_Occurred()) SWIG_fail
;
42450 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42457 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42458 PyObject
*resultobj
;
42459 wxSizer
*arg1
= (wxSizer
*) 0 ;
42460 wxGBPosition
*arg2
= 0 ;
42461 wxGBSpan
*arg3
= 0 ;
42464 PyObject
*arg6
= (PyObject
*) NULL
;
42465 wxGBSizerItem
*result
;
42466 wxGBPosition temp2
;
42468 PyObject
* obj0
= 0 ;
42469 PyObject
* obj1
= 0 ;
42470 PyObject
* obj2
= 0 ;
42471 PyObject
* obj3
= 0 ;
42472 PyObject
* obj4
= 0 ;
42473 PyObject
* obj5
= 0 ;
42474 char *kwnames
[] = {
42475 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
42479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42480 if (SWIG_arg_fail(1)) SWIG_fail
;
42483 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42487 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42490 arg4
= (int)(SWIG_As_int(obj3
));
42491 if (SWIG_arg_fail(4)) SWIG_fail
;
42494 arg5
= (int)(SWIG_As_int(obj4
));
42495 if (SWIG_arg_fail(5)) SWIG_fail
;
42501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42502 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
42504 wxPyEndAllowThreads(__tstate
);
42505 if (PyErr_Occurred()) SWIG_fail
;
42507 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42514 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42515 PyObject
*resultobj
;
42518 wxGBPosition
*arg3
= 0 ;
42519 wxGBSpan
*arg4
= 0 ;
42522 PyObject
*arg7
= (PyObject
*) NULL
;
42523 wxGBSizerItem
*result
;
42524 wxGBPosition temp3
;
42526 PyObject
* obj0
= 0 ;
42527 PyObject
* obj1
= 0 ;
42528 PyObject
* obj2
= 0 ;
42529 PyObject
* obj3
= 0 ;
42530 PyObject
* obj4
= 0 ;
42531 PyObject
* obj5
= 0 ;
42532 PyObject
* obj6
= 0 ;
42533 char *kwnames
[] = {
42534 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
42539 arg1
= (int)(SWIG_As_int(obj0
));
42540 if (SWIG_arg_fail(1)) SWIG_fail
;
42543 arg2
= (int)(SWIG_As_int(obj1
));
42544 if (SWIG_arg_fail(2)) SWIG_fail
;
42548 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42552 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
42555 arg5
= (int)(SWIG_As_int(obj4
));
42556 if (SWIG_arg_fail(5)) SWIG_fail
;
42559 arg6
= (int)(SWIG_As_int(obj5
));
42560 if (SWIG_arg_fail(6)) SWIG_fail
;
42566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42567 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
42569 wxPyEndAllowThreads(__tstate
);
42570 if (PyErr_Occurred()) SWIG_fail
;
42572 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42579 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42580 PyObject
*resultobj
;
42581 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42582 wxGBPosition result
;
42583 PyObject
* obj0
= 0 ;
42584 char *kwnames
[] = {
42585 (char *) "self", NULL
42588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
42589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42590 if (SWIG_arg_fail(1)) SWIG_fail
;
42592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42593 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
42595 wxPyEndAllowThreads(__tstate
);
42596 if (PyErr_Occurred()) SWIG_fail
;
42599 wxGBPosition
* resultptr
;
42600 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42601 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42609 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42610 PyObject
*resultobj
;
42611 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42613 PyObject
* obj0
= 0 ;
42614 char *kwnames
[] = {
42615 (char *) "self", NULL
42618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
42619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42620 if (SWIG_arg_fail(1)) SWIG_fail
;
42622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42623 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
42625 wxPyEndAllowThreads(__tstate
);
42626 if (PyErr_Occurred()) SWIG_fail
;
42629 wxGBSpan
* resultptr
;
42630 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
42631 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
42639 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42640 PyObject
*resultobj
;
42641 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42642 wxGBPosition
*arg2
= 0 ;
42644 wxGBPosition temp2
;
42645 PyObject
* obj0
= 0 ;
42646 PyObject
* obj1
= 0 ;
42647 char *kwnames
[] = {
42648 (char *) "self",(char *) "pos", NULL
42651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
42652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42653 if (SWIG_arg_fail(1)) SWIG_fail
;
42656 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42660 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
42662 wxPyEndAllowThreads(__tstate
);
42663 if (PyErr_Occurred()) SWIG_fail
;
42666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42674 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42675 PyObject
*resultobj
;
42676 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42677 wxGBSpan
*arg2
= 0 ;
42680 PyObject
* obj0
= 0 ;
42681 PyObject
* obj1
= 0 ;
42682 char *kwnames
[] = {
42683 (char *) "self",(char *) "span", NULL
42686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
42687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42688 if (SWIG_arg_fail(1)) SWIG_fail
;
42691 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42695 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
42697 wxPyEndAllowThreads(__tstate
);
42698 if (PyErr_Occurred()) SWIG_fail
;
42701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42709 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42710 PyObject
*resultobj
;
42711 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42712 wxGBSizerItem
*arg2
= 0 ;
42714 PyObject
* obj0
= 0 ;
42715 PyObject
* obj1
= 0 ;
42716 char *kwnames
[] = {
42717 (char *) "self",(char *) "other", NULL
42720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
42721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42722 if (SWIG_arg_fail(1)) SWIG_fail
;
42724 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42725 if (SWIG_arg_fail(2)) SWIG_fail
;
42726 if (arg2
== NULL
) {
42727 SWIG_null_ref("wxGBSizerItem");
42729 if (SWIG_arg_fail(2)) SWIG_fail
;
42732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42733 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
42735 wxPyEndAllowThreads(__tstate
);
42736 if (PyErr_Occurred()) SWIG_fail
;
42739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42747 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42748 PyObject
*resultobj
;
42749 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42750 wxGBPosition
*arg2
= 0 ;
42751 wxGBSpan
*arg3
= 0 ;
42753 wxGBPosition temp2
;
42755 PyObject
* obj0
= 0 ;
42756 PyObject
* obj1
= 0 ;
42757 PyObject
* obj2
= 0 ;
42758 char *kwnames
[] = {
42759 (char *) "self",(char *) "pos",(char *) "span", NULL
42762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42764 if (SWIG_arg_fail(1)) SWIG_fail
;
42767 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42771 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42775 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
42777 wxPyEndAllowThreads(__tstate
);
42778 if (PyErr_Occurred()) SWIG_fail
;
42781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42789 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42790 PyObject
*resultobj
;
42791 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42792 wxGBPosition result
;
42793 PyObject
* obj0
= 0 ;
42794 char *kwnames
[] = {
42795 (char *) "self", NULL
42798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
42799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42800 if (SWIG_arg_fail(1)) SWIG_fail
;
42802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42803 result
= wxGBSizerItem_GetEndPos(arg1
);
42805 wxPyEndAllowThreads(__tstate
);
42806 if (PyErr_Occurred()) SWIG_fail
;
42809 wxGBPosition
* resultptr
;
42810 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42811 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42819 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42820 PyObject
*resultobj
;
42821 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42822 wxGridBagSizer
*result
;
42823 PyObject
* obj0
= 0 ;
42824 char *kwnames
[] = {
42825 (char *) "self", NULL
42828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
42829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42830 if (SWIG_arg_fail(1)) SWIG_fail
;
42832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42833 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
42835 wxPyEndAllowThreads(__tstate
);
42836 if (PyErr_Occurred()) SWIG_fail
;
42838 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
42845 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42846 PyObject
*resultobj
;
42847 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42848 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
42849 PyObject
* obj0
= 0 ;
42850 PyObject
* obj1
= 0 ;
42851 char *kwnames
[] = {
42852 (char *) "self",(char *) "sizer", NULL
42855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
42856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42857 if (SWIG_arg_fail(1)) SWIG_fail
;
42858 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42859 if (SWIG_arg_fail(2)) SWIG_fail
;
42861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42862 (arg1
)->SetGBSizer(arg2
);
42864 wxPyEndAllowThreads(__tstate
);
42865 if (PyErr_Occurred()) SWIG_fail
;
42867 Py_INCREF(Py_None
); resultobj
= Py_None
;
42874 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
42876 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42877 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
42879 return Py_BuildValue((char *)"");
42881 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42882 PyObject
*resultobj
;
42883 int arg1
= (int) 0 ;
42884 int arg2
= (int) 0 ;
42885 wxGridBagSizer
*result
;
42886 PyObject
* obj0
= 0 ;
42887 PyObject
* obj1
= 0 ;
42888 char *kwnames
[] = {
42889 (char *) "vgap",(char *) "hgap", NULL
42892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
42895 arg1
= (int)(SWIG_As_int(obj0
));
42896 if (SWIG_arg_fail(1)) SWIG_fail
;
42901 arg2
= (int)(SWIG_As_int(obj1
));
42902 if (SWIG_arg_fail(2)) SWIG_fail
;
42906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42907 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
42909 wxPyEndAllowThreads(__tstate
);
42910 if (PyErr_Occurred()) SWIG_fail
;
42912 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
42919 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42920 PyObject
*resultobj
;
42921 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42922 PyObject
*arg2
= (PyObject
*) 0 ;
42923 wxGBPosition
*arg3
= 0 ;
42924 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
42925 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
42926 int arg5
= (int) 0 ;
42927 int arg6
= (int) 0 ;
42928 PyObject
*arg7
= (PyObject
*) NULL
;
42929 wxGBSizerItem
*result
;
42930 wxGBPosition temp3
;
42932 PyObject
* obj0
= 0 ;
42933 PyObject
* obj1
= 0 ;
42934 PyObject
* obj2
= 0 ;
42935 PyObject
* obj3
= 0 ;
42936 PyObject
* obj4
= 0 ;
42937 PyObject
* obj5
= 0 ;
42938 PyObject
* obj6
= 0 ;
42939 char *kwnames
[] = {
42940 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
42944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42945 if (SWIG_arg_fail(1)) SWIG_fail
;
42949 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42954 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
42959 arg5
= (int)(SWIG_As_int(obj4
));
42960 if (SWIG_arg_fail(5)) SWIG_fail
;
42965 arg6
= (int)(SWIG_As_int(obj5
));
42966 if (SWIG_arg_fail(6)) SWIG_fail
;
42973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42974 result
= (wxGBSizerItem
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
42976 wxPyEndAllowThreads(__tstate
);
42977 if (PyErr_Occurred()) SWIG_fail
;
42979 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42986 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42987 PyObject
*resultobj
;
42988 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42989 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
42990 wxGBSizerItem
*result
;
42991 PyObject
* obj0
= 0 ;
42992 PyObject
* obj1
= 0 ;
42993 char *kwnames
[] = {
42994 (char *) "self",(char *) "item", NULL
42997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
42998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42999 if (SWIG_arg_fail(1)) SWIG_fail
;
43000 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43001 if (SWIG_arg_fail(2)) SWIG_fail
;
43003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43004 result
= (wxGBSizerItem
*)(arg1
)->Add(arg2
);
43006 wxPyEndAllowThreads(__tstate
);
43007 if (PyErr_Occurred()) SWIG_fail
;
43009 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43016 static PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43017 PyObject
*resultobj
;
43018 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43022 PyObject
* obj0
= 0 ;
43023 PyObject
* obj1
= 0 ;
43024 PyObject
* obj2
= 0 ;
43025 char *kwnames
[] = {
43026 (char *) "self",(char *) "row",(char *) "col", NULL
43029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43031 if (SWIG_arg_fail(1)) SWIG_fail
;
43033 arg2
= (int)(SWIG_As_int(obj1
));
43034 if (SWIG_arg_fail(2)) SWIG_fail
;
43037 arg3
= (int)(SWIG_As_int(obj2
));
43038 if (SWIG_arg_fail(3)) SWIG_fail
;
43041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43042 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
43044 wxPyEndAllowThreads(__tstate
);
43045 if (PyErr_Occurred()) SWIG_fail
;
43048 wxSize
* resultptr
;
43049 resultptr
= new wxSize((wxSize
&)(result
));
43050 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
43058 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43059 PyObject
*resultobj
;
43060 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43062 PyObject
* obj0
= 0 ;
43063 char *kwnames
[] = {
43064 (char *) "self", NULL
43067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
43068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43069 if (SWIG_arg_fail(1)) SWIG_fail
;
43071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43072 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
43074 wxPyEndAllowThreads(__tstate
);
43075 if (PyErr_Occurred()) SWIG_fail
;
43078 wxSize
* resultptr
;
43079 resultptr
= new wxSize((wxSize
&)(result
));
43080 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
43088 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43089 PyObject
*resultobj
;
43090 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43093 PyObject
* obj0
= 0 ;
43094 PyObject
* obj1
= 0 ;
43095 char *kwnames
[] = {
43096 (char *) "self",(char *) "sz", NULL
43099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
43100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43101 if (SWIG_arg_fail(1)) SWIG_fail
;
43104 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
43107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43108 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
43110 wxPyEndAllowThreads(__tstate
);
43111 if (PyErr_Occurred()) SWIG_fail
;
43113 Py_INCREF(Py_None
); resultobj
= Py_None
;
43120 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
43121 PyObject
*resultobj
;
43122 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43123 wxWindow
*arg2
= (wxWindow
*) 0 ;
43124 wxGBPosition result
;
43125 PyObject
* obj0
= 0 ;
43126 PyObject
* obj1
= 0 ;
43128 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43130 if (SWIG_arg_fail(1)) SWIG_fail
;
43131 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43132 if (SWIG_arg_fail(2)) SWIG_fail
;
43134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43135 result
= (arg1
)->GetItemPosition(arg2
);
43137 wxPyEndAllowThreads(__tstate
);
43138 if (PyErr_Occurred()) SWIG_fail
;
43141 wxGBPosition
* resultptr
;
43142 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43143 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43151 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
43152 PyObject
*resultobj
;
43153 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43154 wxSizer
*arg2
= (wxSizer
*) 0 ;
43155 wxGBPosition result
;
43156 PyObject
* obj0
= 0 ;
43157 PyObject
* obj1
= 0 ;
43159 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43161 if (SWIG_arg_fail(1)) SWIG_fail
;
43162 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43163 if (SWIG_arg_fail(2)) SWIG_fail
;
43165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43166 result
= (arg1
)->GetItemPosition(arg2
);
43168 wxPyEndAllowThreads(__tstate
);
43169 if (PyErr_Occurred()) SWIG_fail
;
43172 wxGBPosition
* resultptr
;
43173 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43174 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43182 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
43183 PyObject
*resultobj
;
43184 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43186 wxGBPosition result
;
43187 PyObject
* obj0
= 0 ;
43188 PyObject
* obj1
= 0 ;
43190 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43192 if (SWIG_arg_fail(1)) SWIG_fail
;
43194 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43195 if (SWIG_arg_fail(2)) SWIG_fail
;
43198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43199 result
= (arg1
)->GetItemPosition(arg2
);
43201 wxPyEndAllowThreads(__tstate
);
43202 if (PyErr_Occurred()) SWIG_fail
;
43205 wxGBPosition
* resultptr
;
43206 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43207 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43215 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
43220 argc
= PyObject_Length(args
);
43221 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43222 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43228 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43238 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43246 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
43254 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43264 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43272 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
43280 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43288 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43290 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
43295 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
43300 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
43301 PyObject
*resultobj
;
43302 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43303 wxWindow
*arg2
= (wxWindow
*) 0 ;
43304 wxGBPosition
*arg3
= 0 ;
43306 wxGBPosition temp3
;
43307 PyObject
* obj0
= 0 ;
43308 PyObject
* obj1
= 0 ;
43309 PyObject
* obj2
= 0 ;
43311 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43313 if (SWIG_arg_fail(1)) SWIG_fail
;
43314 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43315 if (SWIG_arg_fail(2)) SWIG_fail
;
43318 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43322 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43324 wxPyEndAllowThreads(__tstate
);
43325 if (PyErr_Occurred()) SWIG_fail
;
43328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43336 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
43337 PyObject
*resultobj
;
43338 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43339 wxSizer
*arg2
= (wxSizer
*) 0 ;
43340 wxGBPosition
*arg3
= 0 ;
43342 wxGBPosition temp3
;
43343 PyObject
* obj0
= 0 ;
43344 PyObject
* obj1
= 0 ;
43345 PyObject
* obj2
= 0 ;
43347 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43349 if (SWIG_arg_fail(1)) SWIG_fail
;
43350 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43351 if (SWIG_arg_fail(2)) SWIG_fail
;
43354 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43358 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43360 wxPyEndAllowThreads(__tstate
);
43361 if (PyErr_Occurred()) SWIG_fail
;
43364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43372 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
43373 PyObject
*resultobj
;
43374 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43376 wxGBPosition
*arg3
= 0 ;
43378 wxGBPosition temp3
;
43379 PyObject
* obj0
= 0 ;
43380 PyObject
* obj1
= 0 ;
43381 PyObject
* obj2
= 0 ;
43383 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43385 if (SWIG_arg_fail(1)) SWIG_fail
;
43387 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43388 if (SWIG_arg_fail(2)) SWIG_fail
;
43392 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43396 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43398 wxPyEndAllowThreads(__tstate
);
43399 if (PyErr_Occurred()) SWIG_fail
;
43402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43410 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
43415 argc
= PyObject_Length(args
);
43416 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
43417 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43423 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43433 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43442 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43445 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
43454 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43464 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43473 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43476 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
43485 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43493 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43496 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43499 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
43505 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
43510 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
43511 PyObject
*resultobj
;
43512 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43513 wxWindow
*arg2
= (wxWindow
*) 0 ;
43515 PyObject
* obj0
= 0 ;
43516 PyObject
* obj1
= 0 ;
43518 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43520 if (SWIG_arg_fail(1)) SWIG_fail
;
43521 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43522 if (SWIG_arg_fail(2)) SWIG_fail
;
43524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43525 result
= (arg1
)->GetItemSpan(arg2
);
43527 wxPyEndAllowThreads(__tstate
);
43528 if (PyErr_Occurred()) SWIG_fail
;
43531 wxGBSpan
* resultptr
;
43532 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43533 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43541 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
43542 PyObject
*resultobj
;
43543 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43544 wxSizer
*arg2
= (wxSizer
*) 0 ;
43546 PyObject
* obj0
= 0 ;
43547 PyObject
* obj1
= 0 ;
43549 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43551 if (SWIG_arg_fail(1)) SWIG_fail
;
43552 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43553 if (SWIG_arg_fail(2)) SWIG_fail
;
43555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43556 result
= (arg1
)->GetItemSpan(arg2
);
43558 wxPyEndAllowThreads(__tstate
);
43559 if (PyErr_Occurred()) SWIG_fail
;
43562 wxGBSpan
* resultptr
;
43563 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43564 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43572 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
43573 PyObject
*resultobj
;
43574 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43577 PyObject
* obj0
= 0 ;
43578 PyObject
* obj1
= 0 ;
43580 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43582 if (SWIG_arg_fail(1)) SWIG_fail
;
43584 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43585 if (SWIG_arg_fail(2)) SWIG_fail
;
43588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43589 result
= (arg1
)->GetItemSpan(arg2
);
43591 wxPyEndAllowThreads(__tstate
);
43592 if (PyErr_Occurred()) SWIG_fail
;
43595 wxGBSpan
* resultptr
;
43596 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43597 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43605 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
43610 argc
= PyObject_Length(args
);
43611 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43612 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43618 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43628 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43636 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
43644 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43654 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43662 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
43670 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43678 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43680 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
43685 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
43690 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
43691 PyObject
*resultobj
;
43692 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43693 wxWindow
*arg2
= (wxWindow
*) 0 ;
43694 wxGBSpan
*arg3
= 0 ;
43697 PyObject
* obj0
= 0 ;
43698 PyObject
* obj1
= 0 ;
43699 PyObject
* obj2
= 0 ;
43701 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43703 if (SWIG_arg_fail(1)) SWIG_fail
;
43704 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43705 if (SWIG_arg_fail(2)) SWIG_fail
;
43708 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43712 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43714 wxPyEndAllowThreads(__tstate
);
43715 if (PyErr_Occurred()) SWIG_fail
;
43718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43726 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
43727 PyObject
*resultobj
;
43728 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43729 wxSizer
*arg2
= (wxSizer
*) 0 ;
43730 wxGBSpan
*arg3
= 0 ;
43733 PyObject
* obj0
= 0 ;
43734 PyObject
* obj1
= 0 ;
43735 PyObject
* obj2
= 0 ;
43737 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43739 if (SWIG_arg_fail(1)) SWIG_fail
;
43740 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43741 if (SWIG_arg_fail(2)) SWIG_fail
;
43744 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43748 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43750 wxPyEndAllowThreads(__tstate
);
43751 if (PyErr_Occurred()) SWIG_fail
;
43754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43762 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
43763 PyObject
*resultobj
;
43764 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43766 wxGBSpan
*arg3
= 0 ;
43769 PyObject
* obj0
= 0 ;
43770 PyObject
* obj1
= 0 ;
43771 PyObject
* obj2
= 0 ;
43773 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43775 if (SWIG_arg_fail(1)) SWIG_fail
;
43777 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43778 if (SWIG_arg_fail(2)) SWIG_fail
;
43782 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43786 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43788 wxPyEndAllowThreads(__tstate
);
43789 if (PyErr_Occurred()) SWIG_fail
;
43792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43800 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
43805 argc
= PyObject_Length(args
);
43806 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
43807 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43813 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43823 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43832 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43835 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
43844 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43854 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43863 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43866 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
43875 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43883 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43886 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43889 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
43895 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
43900 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
43901 PyObject
*resultobj
;
43902 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43903 wxWindow
*arg2
= (wxWindow
*) 0 ;
43904 wxGBSizerItem
*result
;
43905 PyObject
* obj0
= 0 ;
43906 PyObject
* obj1
= 0 ;
43908 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
43909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43910 if (SWIG_arg_fail(1)) SWIG_fail
;
43911 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43912 if (SWIG_arg_fail(2)) SWIG_fail
;
43914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43915 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
43917 wxPyEndAllowThreads(__tstate
);
43918 if (PyErr_Occurred()) SWIG_fail
;
43920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43927 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
43928 PyObject
*resultobj
;
43929 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43930 wxSizer
*arg2
= (wxSizer
*) 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_wxSizer
, 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(PyObject
*self
, PyObject
*args
) {
43959 argc
= PyObject_Length(args
);
43960 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43961 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43967 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43977 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43985 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
43993 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44003 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
44011 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
44016 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
44021 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44022 PyObject
*resultobj
;
44023 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44024 wxGBPosition
*arg2
= 0 ;
44025 wxGBSizerItem
*result
;
44026 wxGBPosition temp2
;
44027 PyObject
* obj0
= 0 ;
44028 PyObject
* obj1
= 0 ;
44029 char *kwnames
[] = {
44030 (char *) "self",(char *) "pos", NULL
44033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
44034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44035 if (SWIG_arg_fail(1)) SWIG_fail
;
44038 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
44041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44042 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
44044 wxPyEndAllowThreads(__tstate
);
44045 if (PyErr_Occurred()) SWIG_fail
;
44047 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
44054 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44055 PyObject
*resultobj
;
44056 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44057 wxPoint
*arg2
= 0 ;
44058 wxGBSizerItem
*result
;
44060 PyObject
* obj0
= 0 ;
44061 PyObject
* obj1
= 0 ;
44062 char *kwnames
[] = {
44063 (char *) "self",(char *) "pt", NULL
44066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
44067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44068 if (SWIG_arg_fail(1)) SWIG_fail
;
44071 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
44074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44075 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
44077 wxPyEndAllowThreads(__tstate
);
44078 if (PyErr_Occurred()) SWIG_fail
;
44080 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
44087 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44088 PyObject
*resultobj
;
44089 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44090 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
44091 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
44093 PyObject
* obj0
= 0 ;
44094 PyObject
* obj1
= 0 ;
44095 PyObject
* obj2
= 0 ;
44096 char *kwnames
[] = {
44097 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
44100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44102 if (SWIG_arg_fail(1)) SWIG_fail
;
44103 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44104 if (SWIG_arg_fail(2)) SWIG_fail
;
44106 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44107 if (SWIG_arg_fail(3)) SWIG_fail
;
44110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44111 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
44113 wxPyEndAllowThreads(__tstate
);
44114 if (PyErr_Occurred()) SWIG_fail
;
44117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44125 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44126 PyObject
*resultobj
;
44127 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44128 wxGBPosition
*arg2
= 0 ;
44129 wxGBSpan
*arg3
= 0 ;
44130 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
44132 wxGBPosition temp2
;
44134 PyObject
* obj0
= 0 ;
44135 PyObject
* obj1
= 0 ;
44136 PyObject
* obj2
= 0 ;
44137 PyObject
* obj3
= 0 ;
44138 char *kwnames
[] = {
44139 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
44142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44144 if (SWIG_arg_fail(1)) SWIG_fail
;
44147 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
44151 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
44154 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44155 if (SWIG_arg_fail(4)) SWIG_fail
;
44158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44159 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
44161 wxPyEndAllowThreads(__tstate
);
44162 if (PyErr_Occurred()) SWIG_fail
;
44165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44173 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
44175 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
44176 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
44178 return Py_BuildValue((char *)"");
44180 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44181 PyObject
*resultobj
;
44182 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44183 wxRelationship arg2
;
44184 wxWindow
*arg3
= (wxWindow
*) 0 ;
44186 int arg5
= (int) 0 ;
44187 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
44188 PyObject
* obj0
= 0 ;
44189 PyObject
* obj1
= 0 ;
44190 PyObject
* obj2
= 0 ;
44191 PyObject
* obj3
= 0 ;
44192 PyObject
* obj4
= 0 ;
44193 PyObject
* obj5
= 0 ;
44194 char *kwnames
[] = {
44195 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
44198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
44199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44200 if (SWIG_arg_fail(1)) SWIG_fail
;
44202 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
44203 if (SWIG_arg_fail(2)) SWIG_fail
;
44205 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44206 if (SWIG_arg_fail(3)) SWIG_fail
;
44208 arg4
= (wxEdge
)(SWIG_As_int(obj3
));
44209 if (SWIG_arg_fail(4)) SWIG_fail
;
44213 arg5
= (int)(SWIG_As_int(obj4
));
44214 if (SWIG_arg_fail(5)) SWIG_fail
;
44219 arg6
= (int)(SWIG_As_int(obj5
));
44220 if (SWIG_arg_fail(6)) SWIG_fail
;
44224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44225 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
44227 wxPyEndAllowThreads(__tstate
);
44228 if (PyErr_Occurred()) SWIG_fail
;
44230 Py_INCREF(Py_None
); resultobj
= Py_None
;
44237 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44238 PyObject
*resultobj
;
44239 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44240 wxWindow
*arg2
= (wxWindow
*) 0 ;
44241 int arg3
= (int) 0 ;
44242 PyObject
* obj0
= 0 ;
44243 PyObject
* obj1
= 0 ;
44244 PyObject
* obj2
= 0 ;
44245 char *kwnames
[] = {
44246 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44251 if (SWIG_arg_fail(1)) SWIG_fail
;
44252 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44253 if (SWIG_arg_fail(2)) SWIG_fail
;
44256 arg3
= (int)(SWIG_As_int(obj2
));
44257 if (SWIG_arg_fail(3)) SWIG_fail
;
44261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44262 (arg1
)->LeftOf(arg2
,arg3
);
44264 wxPyEndAllowThreads(__tstate
);
44265 if (PyErr_Occurred()) SWIG_fail
;
44267 Py_INCREF(Py_None
); resultobj
= Py_None
;
44274 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44275 PyObject
*resultobj
;
44276 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44277 wxWindow
*arg2
= (wxWindow
*) 0 ;
44278 int arg3
= (int) 0 ;
44279 PyObject
* obj0
= 0 ;
44280 PyObject
* obj1
= 0 ;
44281 PyObject
* obj2
= 0 ;
44282 char *kwnames
[] = {
44283 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44288 if (SWIG_arg_fail(1)) SWIG_fail
;
44289 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44290 if (SWIG_arg_fail(2)) SWIG_fail
;
44293 arg3
= (int)(SWIG_As_int(obj2
));
44294 if (SWIG_arg_fail(3)) SWIG_fail
;
44298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44299 (arg1
)->RightOf(arg2
,arg3
);
44301 wxPyEndAllowThreads(__tstate
);
44302 if (PyErr_Occurred()) SWIG_fail
;
44304 Py_INCREF(Py_None
); resultobj
= Py_None
;
44311 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44312 PyObject
*resultobj
;
44313 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44314 wxWindow
*arg2
= (wxWindow
*) 0 ;
44315 int arg3
= (int) 0 ;
44316 PyObject
* obj0
= 0 ;
44317 PyObject
* obj1
= 0 ;
44318 PyObject
* obj2
= 0 ;
44319 char *kwnames
[] = {
44320 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44325 if (SWIG_arg_fail(1)) SWIG_fail
;
44326 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44327 if (SWIG_arg_fail(2)) SWIG_fail
;
44330 arg3
= (int)(SWIG_As_int(obj2
));
44331 if (SWIG_arg_fail(3)) SWIG_fail
;
44335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44336 (arg1
)->Above(arg2
,arg3
);
44338 wxPyEndAllowThreads(__tstate
);
44339 if (PyErr_Occurred()) SWIG_fail
;
44341 Py_INCREF(Py_None
); resultobj
= Py_None
;
44348 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44349 PyObject
*resultobj
;
44350 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44351 wxWindow
*arg2
= (wxWindow
*) 0 ;
44352 int arg3
= (int) 0 ;
44353 PyObject
* obj0
= 0 ;
44354 PyObject
* obj1
= 0 ;
44355 PyObject
* obj2
= 0 ;
44356 char *kwnames
[] = {
44357 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44362 if (SWIG_arg_fail(1)) SWIG_fail
;
44363 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44364 if (SWIG_arg_fail(2)) SWIG_fail
;
44367 arg3
= (int)(SWIG_As_int(obj2
));
44368 if (SWIG_arg_fail(3)) SWIG_fail
;
44372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44373 (arg1
)->Below(arg2
,arg3
);
44375 wxPyEndAllowThreads(__tstate
);
44376 if (PyErr_Occurred()) SWIG_fail
;
44378 Py_INCREF(Py_None
); resultobj
= Py_None
;
44385 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44386 PyObject
*resultobj
;
44387 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44388 wxWindow
*arg2
= (wxWindow
*) 0 ;
44390 int arg4
= (int) 0 ;
44391 PyObject
* obj0
= 0 ;
44392 PyObject
* obj1
= 0 ;
44393 PyObject
* obj2
= 0 ;
44394 PyObject
* obj3
= 0 ;
44395 char *kwnames
[] = {
44396 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
44399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44401 if (SWIG_arg_fail(1)) SWIG_fail
;
44402 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44403 if (SWIG_arg_fail(2)) SWIG_fail
;
44405 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
44406 if (SWIG_arg_fail(3)) SWIG_fail
;
44410 arg4
= (int)(SWIG_As_int(obj3
));
44411 if (SWIG_arg_fail(4)) SWIG_fail
;
44415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44416 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
44418 wxPyEndAllowThreads(__tstate
);
44419 if (PyErr_Occurred()) SWIG_fail
;
44421 Py_INCREF(Py_None
); resultobj
= Py_None
;
44428 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44429 PyObject
*resultobj
;
44430 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44431 wxWindow
*arg2
= (wxWindow
*) 0 ;
44434 PyObject
* obj0
= 0 ;
44435 PyObject
* obj1
= 0 ;
44436 PyObject
* obj2
= 0 ;
44437 PyObject
* obj3
= 0 ;
44438 char *kwnames
[] = {
44439 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
44442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44444 if (SWIG_arg_fail(1)) SWIG_fail
;
44445 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44446 if (SWIG_arg_fail(2)) SWIG_fail
;
44448 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
44449 if (SWIG_arg_fail(3)) SWIG_fail
;
44452 arg4
= (int)(SWIG_As_int(obj3
));
44453 if (SWIG_arg_fail(4)) SWIG_fail
;
44456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44457 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
44459 wxPyEndAllowThreads(__tstate
);
44460 if (PyErr_Occurred()) SWIG_fail
;
44462 Py_INCREF(Py_None
); resultobj
= Py_None
;
44469 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44470 PyObject
*resultobj
;
44471 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44473 PyObject
* obj0
= 0 ;
44474 PyObject
* obj1
= 0 ;
44475 char *kwnames
[] = {
44476 (char *) "self",(char *) "val", NULL
44479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
44480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44481 if (SWIG_arg_fail(1)) SWIG_fail
;
44483 arg2
= (int)(SWIG_As_int(obj1
));
44484 if (SWIG_arg_fail(2)) SWIG_fail
;
44487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44488 (arg1
)->Absolute(arg2
);
44490 wxPyEndAllowThreads(__tstate
);
44491 if (PyErr_Occurred()) SWIG_fail
;
44493 Py_INCREF(Py_None
); resultobj
= Py_None
;
44500 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44501 PyObject
*resultobj
;
44502 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44503 PyObject
* obj0
= 0 ;
44504 char *kwnames
[] = {
44505 (char *) "self", NULL
44508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
44509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44510 if (SWIG_arg_fail(1)) SWIG_fail
;
44512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44513 (arg1
)->Unconstrained();
44515 wxPyEndAllowThreads(__tstate
);
44516 if (PyErr_Occurred()) SWIG_fail
;
44518 Py_INCREF(Py_None
); resultobj
= Py_None
;
44525 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44526 PyObject
*resultobj
;
44527 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44528 PyObject
* obj0
= 0 ;
44529 char *kwnames
[] = {
44530 (char *) "self", NULL
44533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
44534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44535 if (SWIG_arg_fail(1)) SWIG_fail
;
44537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44540 wxPyEndAllowThreads(__tstate
);
44541 if (PyErr_Occurred()) SWIG_fail
;
44543 Py_INCREF(Py_None
); resultobj
= Py_None
;
44550 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44551 PyObject
*resultobj
;
44552 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44554 PyObject
* obj0
= 0 ;
44555 char *kwnames
[] = {
44556 (char *) "self", NULL
44559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
44560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44561 if (SWIG_arg_fail(1)) SWIG_fail
;
44563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44564 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
44566 wxPyEndAllowThreads(__tstate
);
44567 if (PyErr_Occurred()) SWIG_fail
;
44570 resultobj
= wxPyMake_wxObject(result
, 0);
44578 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44579 PyObject
*resultobj
;
44580 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44582 PyObject
* obj0
= 0 ;
44583 char *kwnames
[] = {
44584 (char *) "self", NULL
44587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
44588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44589 if (SWIG_arg_fail(1)) SWIG_fail
;
44591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44592 result
= (wxEdge
)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
44594 wxPyEndAllowThreads(__tstate
);
44595 if (PyErr_Occurred()) SWIG_fail
;
44597 resultobj
= SWIG_From_int((result
));
44604 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44605 PyObject
*resultobj
;
44606 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44608 PyObject
* obj0
= 0 ;
44609 PyObject
* obj1
= 0 ;
44610 char *kwnames
[] = {
44611 (char *) "self",(char *) "which", NULL
44614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) 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 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
44619 if (SWIG_arg_fail(2)) SWIG_fail
;
44622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44623 (arg1
)->SetEdge((wxEdge
)arg2
);
44625 wxPyEndAllowThreads(__tstate
);
44626 if (PyErr_Occurred()) SWIG_fail
;
44628 Py_INCREF(Py_None
); resultobj
= Py_None
;
44635 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44636 PyObject
*resultobj
;
44637 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44639 PyObject
* obj0
= 0 ;
44640 PyObject
* obj1
= 0 ;
44641 char *kwnames
[] = {
44642 (char *) "self",(char *) "v", NULL
44645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
44646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44647 if (SWIG_arg_fail(1)) SWIG_fail
;
44649 arg2
= (int)(SWIG_As_int(obj1
));
44650 if (SWIG_arg_fail(2)) SWIG_fail
;
44653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44654 (arg1
)->SetValue(arg2
);
44656 wxPyEndAllowThreads(__tstate
);
44657 if (PyErr_Occurred()) SWIG_fail
;
44659 Py_INCREF(Py_None
); resultobj
= Py_None
;
44666 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44667 PyObject
*resultobj
;
44668 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44670 PyObject
* obj0
= 0 ;
44671 char *kwnames
[] = {
44672 (char *) "self", NULL
44675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
44676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44677 if (SWIG_arg_fail(1)) SWIG_fail
;
44679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44680 result
= (int)(arg1
)->GetMargin();
44682 wxPyEndAllowThreads(__tstate
);
44683 if (PyErr_Occurred()) SWIG_fail
;
44686 resultobj
= SWIG_From_int((int)(result
));
44694 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44695 PyObject
*resultobj
;
44696 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44698 PyObject
* obj0
= 0 ;
44699 PyObject
* obj1
= 0 ;
44700 char *kwnames
[] = {
44701 (char *) "self",(char *) "m", NULL
44704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
44705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44706 if (SWIG_arg_fail(1)) SWIG_fail
;
44708 arg2
= (int)(SWIG_As_int(obj1
));
44709 if (SWIG_arg_fail(2)) SWIG_fail
;
44712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44713 (arg1
)->SetMargin(arg2
);
44715 wxPyEndAllowThreads(__tstate
);
44716 if (PyErr_Occurred()) SWIG_fail
;
44718 Py_INCREF(Py_None
); resultobj
= Py_None
;
44725 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44726 PyObject
*resultobj
;
44727 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44729 PyObject
* obj0
= 0 ;
44730 char *kwnames
[] = {
44731 (char *) "self", NULL
44734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
44735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44736 if (SWIG_arg_fail(1)) SWIG_fail
;
44738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44739 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
44741 wxPyEndAllowThreads(__tstate
);
44742 if (PyErr_Occurred()) SWIG_fail
;
44745 resultobj
= SWIG_From_int((int)(result
));
44753 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44754 PyObject
*resultobj
;
44755 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44757 PyObject
* obj0
= 0 ;
44758 char *kwnames
[] = {
44759 (char *) "self", NULL
44762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
44763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44764 if (SWIG_arg_fail(1)) SWIG_fail
;
44766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44767 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
44769 wxPyEndAllowThreads(__tstate
);
44770 if (PyErr_Occurred()) SWIG_fail
;
44773 resultobj
= SWIG_From_int((int)(result
));
44781 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44782 PyObject
*resultobj
;
44783 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44785 PyObject
* obj0
= 0 ;
44786 char *kwnames
[] = {
44787 (char *) "self", NULL
44790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
44791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44792 if (SWIG_arg_fail(1)) SWIG_fail
;
44794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44795 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
44797 wxPyEndAllowThreads(__tstate
);
44798 if (PyErr_Occurred()) SWIG_fail
;
44801 resultobj
= SWIG_From_int((int)(result
));
44809 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44810 PyObject
*resultobj
;
44811 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44813 PyObject
* obj0
= 0 ;
44814 char *kwnames
[] = {
44815 (char *) "self", NULL
44818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
44819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44820 if (SWIG_arg_fail(1)) SWIG_fail
;
44822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44823 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
44825 wxPyEndAllowThreads(__tstate
);
44826 if (PyErr_Occurred()) SWIG_fail
;
44829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44837 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44838 PyObject
*resultobj
;
44839 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44841 PyObject
* obj0
= 0 ;
44842 PyObject
* obj1
= 0 ;
44843 char *kwnames
[] = {
44844 (char *) "self",(char *) "d", NULL
44847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
44848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44849 if (SWIG_arg_fail(1)) SWIG_fail
;
44851 arg2
= (bool)(SWIG_As_bool(obj1
));
44852 if (SWIG_arg_fail(2)) SWIG_fail
;
44855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44856 (arg1
)->SetDone(arg2
);
44858 wxPyEndAllowThreads(__tstate
);
44859 if (PyErr_Occurred()) SWIG_fail
;
44861 Py_INCREF(Py_None
); resultobj
= Py_None
;
44868 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44869 PyObject
*resultobj
;
44870 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44871 wxRelationship result
;
44872 PyObject
* obj0
= 0 ;
44873 char *kwnames
[] = {
44874 (char *) "self", NULL
44877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
44878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44879 if (SWIG_arg_fail(1)) SWIG_fail
;
44881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44882 result
= (wxRelationship
)(arg1
)->GetRelationship();
44884 wxPyEndAllowThreads(__tstate
);
44885 if (PyErr_Occurred()) SWIG_fail
;
44887 resultobj
= SWIG_From_int((result
));
44894 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44895 PyObject
*resultobj
;
44896 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44897 wxRelationship arg2
;
44898 PyObject
* obj0
= 0 ;
44899 PyObject
* obj1
= 0 ;
44900 char *kwnames
[] = {
44901 (char *) "self",(char *) "r", NULL
44904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) 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 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
44909 if (SWIG_arg_fail(2)) SWIG_fail
;
44912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44913 (arg1
)->SetRelationship((wxRelationship
)arg2
);
44915 wxPyEndAllowThreads(__tstate
);
44916 if (PyErr_Occurred()) SWIG_fail
;
44918 Py_INCREF(Py_None
); resultobj
= Py_None
;
44925 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44926 PyObject
*resultobj
;
44927 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44928 wxWindow
*arg2
= (wxWindow
*) 0 ;
44930 PyObject
* obj0
= 0 ;
44931 PyObject
* obj1
= 0 ;
44932 char *kwnames
[] = {
44933 (char *) "self",(char *) "otherW", NULL
44936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
44937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44938 if (SWIG_arg_fail(1)) SWIG_fail
;
44939 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44940 if (SWIG_arg_fail(2)) SWIG_fail
;
44942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44943 result
= (bool)(arg1
)->ResetIfWin(arg2
);
44945 wxPyEndAllowThreads(__tstate
);
44946 if (PyErr_Occurred()) SWIG_fail
;
44949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44957 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44958 PyObject
*resultobj
;
44959 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44960 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
44961 wxWindow
*arg3
= (wxWindow
*) 0 ;
44963 PyObject
* obj0
= 0 ;
44964 PyObject
* obj1
= 0 ;
44965 PyObject
* obj2
= 0 ;
44966 char *kwnames
[] = {
44967 (char *) "self",(char *) "constraints",(char *) "win", NULL
44970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44972 if (SWIG_arg_fail(1)) SWIG_fail
;
44973 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44974 if (SWIG_arg_fail(2)) SWIG_fail
;
44975 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44976 if (SWIG_arg_fail(3)) SWIG_fail
;
44978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44979 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
44981 wxPyEndAllowThreads(__tstate
);
44982 if (PyErr_Occurred()) SWIG_fail
;
44985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44993 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44994 PyObject
*resultobj
;
44995 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44997 wxWindow
*arg3
= (wxWindow
*) 0 ;
44998 wxWindow
*arg4
= (wxWindow
*) 0 ;
45000 PyObject
* obj0
= 0 ;
45001 PyObject
* obj1
= 0 ;
45002 PyObject
* obj2
= 0 ;
45003 PyObject
* obj3
= 0 ;
45004 char *kwnames
[] = {
45005 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
45008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
45009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45010 if (SWIG_arg_fail(1)) SWIG_fail
;
45012 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
45013 if (SWIG_arg_fail(2)) SWIG_fail
;
45015 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45016 if (SWIG_arg_fail(3)) SWIG_fail
;
45017 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45018 if (SWIG_arg_fail(4)) SWIG_fail
;
45020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45021 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
45023 wxPyEndAllowThreads(__tstate
);
45024 if (PyErr_Occurred()) SWIG_fail
;
45027 resultobj
= SWIG_From_int((int)(result
));
45035 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
45037 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
45038 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
45040 return Py_BuildValue((char *)"");
45042 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45043 PyObject
*resultobj
;
45044 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45045 wxIndividualLayoutConstraint
*result
;
45046 PyObject
* obj0
= 0 ;
45047 char *kwnames
[] = {
45048 (char *) "self", NULL
45051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
45052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45053 if (SWIG_arg_fail(1)) SWIG_fail
;
45054 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
45056 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45063 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45064 PyObject
*resultobj
;
45065 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45066 wxIndividualLayoutConstraint
*result
;
45067 PyObject
* obj0
= 0 ;
45068 char *kwnames
[] = {
45069 (char *) "self", NULL
45072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
45073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45074 if (SWIG_arg_fail(1)) SWIG_fail
;
45075 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
45077 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45084 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45085 PyObject
*resultobj
;
45086 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45087 wxIndividualLayoutConstraint
*result
;
45088 PyObject
* obj0
= 0 ;
45089 char *kwnames
[] = {
45090 (char *) "self", NULL
45093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
45094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45095 if (SWIG_arg_fail(1)) SWIG_fail
;
45096 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
45098 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45105 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45106 PyObject
*resultobj
;
45107 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45108 wxIndividualLayoutConstraint
*result
;
45109 PyObject
* obj0
= 0 ;
45110 char *kwnames
[] = {
45111 (char *) "self", NULL
45114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
45115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45116 if (SWIG_arg_fail(1)) SWIG_fail
;
45117 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
45119 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45126 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45127 PyObject
*resultobj
;
45128 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45129 wxIndividualLayoutConstraint
*result
;
45130 PyObject
* obj0
= 0 ;
45131 char *kwnames
[] = {
45132 (char *) "self", NULL
45135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
45136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45137 if (SWIG_arg_fail(1)) SWIG_fail
;
45138 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
45140 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45147 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45148 PyObject
*resultobj
;
45149 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45150 wxIndividualLayoutConstraint
*result
;
45151 PyObject
* obj0
= 0 ;
45152 char *kwnames
[] = {
45153 (char *) "self", NULL
45156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
45157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45158 if (SWIG_arg_fail(1)) SWIG_fail
;
45159 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
45161 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45168 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45169 PyObject
*resultobj
;
45170 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45171 wxIndividualLayoutConstraint
*result
;
45172 PyObject
* obj0
= 0 ;
45173 char *kwnames
[] = {
45174 (char *) "self", NULL
45177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
45178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45179 if (SWIG_arg_fail(1)) SWIG_fail
;
45180 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
45182 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45189 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45190 PyObject
*resultobj
;
45191 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45192 wxIndividualLayoutConstraint
*result
;
45193 PyObject
* obj0
= 0 ;
45194 char *kwnames
[] = {
45195 (char *) "self", NULL
45198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
45199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45200 if (SWIG_arg_fail(1)) SWIG_fail
;
45201 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
45203 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45210 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45211 PyObject
*resultobj
;
45212 wxLayoutConstraints
*result
;
45213 char *kwnames
[] = {
45217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
45219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45220 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
45222 wxPyEndAllowThreads(__tstate
);
45223 if (PyErr_Occurred()) SWIG_fail
;
45225 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
45232 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45233 PyObject
*resultobj
;
45234 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45235 wxWindow
*arg2
= (wxWindow
*) 0 ;
45236 int *arg3
= (int *) 0 ;
45240 PyObject
* obj0
= 0 ;
45241 PyObject
* obj1
= 0 ;
45242 char *kwnames
[] = {
45243 (char *) "self",(char *) "win", NULL
45246 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
45247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
45248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45249 if (SWIG_arg_fail(1)) SWIG_fail
;
45250 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45251 if (SWIG_arg_fail(2)) SWIG_fail
;
45253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45254 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
45256 wxPyEndAllowThreads(__tstate
);
45257 if (PyErr_Occurred()) SWIG_fail
;
45260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45262 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
45263 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
45270 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45271 PyObject
*resultobj
;
45272 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45274 PyObject
* obj0
= 0 ;
45275 char *kwnames
[] = {
45276 (char *) "self", NULL
45279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
45280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45281 if (SWIG_arg_fail(1)) SWIG_fail
;
45283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45284 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
45286 wxPyEndAllowThreads(__tstate
);
45287 if (PyErr_Occurred()) SWIG_fail
;
45290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45298 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
45300 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
45301 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
45303 return Py_BuildValue((char *)"");
45305 static PyMethodDef SwigMethods
[] = {
45306 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
45307 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
45308 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45309 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45310 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
45311 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45312 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45313 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45314 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45315 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45316 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45317 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45318 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45319 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45320 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45321 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45322 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45323 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45324 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45325 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45326 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45327 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45328 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45329 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45330 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45331 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
45332 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45333 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45334 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45335 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45336 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45337 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45338 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45339 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45340 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45341 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45342 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45343 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45344 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
45345 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45346 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45347 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45348 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45349 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45350 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45351 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45352 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45353 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45354 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45355 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45356 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45357 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45358 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45359 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
45360 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45361 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45362 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45363 { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45364 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45365 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45366 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45367 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45368 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45369 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45370 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45371 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45372 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45373 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45374 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45375 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45376 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45377 { (char *)"Rect_IsEmpty", (PyCFunction
) _wrap_Rect_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45378 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45379 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45380 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45381 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45382 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45383 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45384 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45385 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45386 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45387 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45388 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45389 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45390 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45391 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45392 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45393 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45394 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45395 { (char *)"Rect_Union", (PyCFunction
) _wrap_Rect_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45396 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45397 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45398 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45399 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45400 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45401 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45402 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45403 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45404 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45405 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45406 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45407 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45408 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45409 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45410 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45411 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45412 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45413 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
45414 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45415 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45416 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45417 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45418 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45419 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45420 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45421 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45422 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45423 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45424 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45425 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45426 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45427 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45428 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45429 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45430 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45431 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45432 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45433 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45434 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45435 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45436 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45437 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45438 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45439 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45440 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45441 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
45442 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45443 { (char *)"delete_InputStream", (PyCFunction
) _wrap_delete_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45444 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45445 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45446 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45447 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45448 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45449 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45450 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45451 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45452 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45453 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45454 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45455 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45456 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45457 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45458 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45459 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45460 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
45461 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45462 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
45463 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45464 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45465 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45466 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45467 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45468 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45469 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45470 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
45471 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
45472 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45473 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45474 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45475 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45476 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45477 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45478 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45479 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45480 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45481 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45482 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45483 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
45484 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45485 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45486 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45487 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45488 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45489 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45490 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45491 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45492 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45493 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45494 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45495 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
45496 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45497 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45498 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45499 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
45500 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45501 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45502 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45503 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45504 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45505 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
45506 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45507 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45508 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45509 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45510 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45511 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45512 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45513 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45514 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45515 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
45516 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45517 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45518 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45519 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45520 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45521 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45522 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45523 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45524 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45525 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
45526 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45527 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45528 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45529 { (char *)"ImageHistogram_GetCount", (PyCFunction
) _wrap_ImageHistogram_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45530 { (char *)"ImageHistogram_GetCountRGB", (PyCFunction
) _wrap_ImageHistogram_GetCountRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45531 { (char *)"ImageHistogram_GetCountColour", (PyCFunction
) _wrap_ImageHistogram_GetCountColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45532 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
45533 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45534 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45535 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45536 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45537 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45538 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45539 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45540 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45541 { (char *)"new_ImageFromDataWithAlpha", (PyCFunction
) _wrap_new_ImageFromDataWithAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45542 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45543 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45544 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45545 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45546 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45547 { (char *)"Image_Resize", (PyCFunction
) _wrap_Image_Resize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45548 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45549 { (char *)"Image_SetRGBRect", (PyCFunction
) _wrap_Image_SetRGBRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45550 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45551 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45552 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45553 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45554 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45555 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45556 { (char *)"Image_InitAlpha", (PyCFunction
) _wrap_Image_InitAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45557 { (char *)"Image_IsTransparent", (PyCFunction
) _wrap_Image_IsTransparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45558 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45559 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45560 { (char *)"Image_ConvertColourToAlpha", (PyCFunction
) _wrap_Image_ConvertColourToAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45561 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45562 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45563 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45564 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45565 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45566 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45567 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45568 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45569 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45570 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45571 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45572 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45573 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45574 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45575 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45576 { (char *)"Image_Size", (PyCFunction
) _wrap_Image_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45577 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45578 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45579 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45580 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45581 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45582 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45583 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45584 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45585 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45586 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45587 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45588 { (char *)"Image_GetOrFindMaskColour", (PyCFunction
) _wrap_Image_GetOrFindMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45589 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45590 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45591 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45592 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45593 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45594 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45595 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45596 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45597 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45598 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45599 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45600 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45601 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45602 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45603 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45604 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45605 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45606 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45607 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45608 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45609 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45610 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45611 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45612 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
45613 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45614 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
45615 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45616 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
45617 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45618 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
45619 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45620 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
45621 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45622 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
45623 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45624 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
45625 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45626 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
45627 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45628 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
45629 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45630 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
45631 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45632 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
45633 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45634 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
45635 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45636 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
45637 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45638 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45639 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45640 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45641 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45642 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45643 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45644 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45645 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45646 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45647 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45648 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45649 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45650 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
45651 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45652 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45653 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45654 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45655 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45656 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45657 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45658 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45659 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45660 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45661 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45662 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45663 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45664 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45665 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45666 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45667 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45668 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
45669 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45670 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45671 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
45672 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45673 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45674 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
45675 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45676 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45677 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45678 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45679 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45680 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45681 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45682 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45683 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45684 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45685 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45686 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
45687 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45688 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45689 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45690 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45691 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
45692 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45693 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45694 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45695 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45696 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45697 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
45698 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45699 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45700 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45701 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45702 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45703 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
45704 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45705 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45706 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45707 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45708 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45709 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45710 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45711 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45712 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45713 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45714 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45715 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45716 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45717 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45718 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45719 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45720 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45721 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45722 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45723 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45724 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45725 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45726 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45727 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45728 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45729 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45730 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45731 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45732 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45733 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45734 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45735 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45736 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45737 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45738 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45739 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45740 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45741 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45742 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45743 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45744 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45745 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45746 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45747 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45748 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45749 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45750 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45751 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45752 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45753 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45754 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45755 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45756 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45757 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45758 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45759 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45760 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45761 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45762 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45763 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45764 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45765 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45766 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
45767 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45768 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45769 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45770 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45771 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45772 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45773 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
45774 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45775 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45776 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45777 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45778 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45779 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45780 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45781 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45782 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45783 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45784 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45785 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45786 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45787 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45788 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45789 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45790 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45791 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45792 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45793 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45794 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45795 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45796 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45797 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45798 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45799 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45800 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45801 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45802 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45803 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45804 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45805 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45806 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45807 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45808 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45809 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
45810 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45811 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45812 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45813 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45814 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45815 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45816 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45817 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45818 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45819 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
45820 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45821 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45822 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45823 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45824 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45825 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
45826 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45827 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
45828 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45829 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
45830 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45831 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45832 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
45833 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45834 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45835 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45836 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
45837 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45838 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45839 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
45840 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45841 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45842 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
45843 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45844 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
45845 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45846 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45847 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45848 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45849 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
45850 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45851 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45852 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45853 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45854 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45855 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45856 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45857 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
45858 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45859 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45860 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45861 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
45862 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45863 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45864 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
45865 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45866 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
45867 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45868 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45869 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45870 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
45871 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45872 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45873 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45874 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45875 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45876 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45877 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45878 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45879 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45880 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45881 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45882 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45883 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45884 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45885 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45886 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45887 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
45888 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45889 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45890 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45891 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45892 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45893 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45894 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45895 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45896 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45897 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45898 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45899 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45900 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45901 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45902 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
45903 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45904 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45905 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45906 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45907 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45908 { (char *)"NavigationKeyEvent_IsFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_IsFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45909 { (char *)"NavigationKeyEvent_SetFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_SetFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45910 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45911 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45912 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45913 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
45914 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45915 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45916 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
45917 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45918 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45919 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
45920 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45921 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45922 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45923 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
45924 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45925 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45926 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45927 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45928 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45929 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45930 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
45931 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45932 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45933 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45934 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45935 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
45936 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45937 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45938 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45939 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45940 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
45941 { (char *)"new_DateEvent", (PyCFunction
) _wrap_new_DateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45942 { (char *)"DateEvent_GetDate", (PyCFunction
) _wrap_DateEvent_GetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45943 { (char *)"DateEvent_SetDate", (PyCFunction
) _wrap_DateEvent_SetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45944 { (char *)"DateEvent_swigregister", DateEvent_swigregister
, METH_VARARGS
, NULL
},
45945 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45946 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45947 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45948 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45949 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45950 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45951 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45952 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45953 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45954 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45955 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45956 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45957 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45958 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
) _wrap_PyApp_IsMainLoopRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45959 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45960 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45961 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45962 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45963 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45964 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45965 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45966 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45967 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45968 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45969 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45970 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45971 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45972 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45973 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45974 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45975 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45976 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45977 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45978 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45979 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45980 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45981 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45982 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45983 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45984 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45985 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45986 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45987 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45988 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45989 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
45990 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45991 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45992 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45993 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45994 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45995 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45996 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45997 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45998 { (char *)"SetDefaultPyEncoding", (PyCFunction
) _wrap_SetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45999 { (char *)"GetDefaultPyEncoding", (PyCFunction
) _wrap_GetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46000 { (char *)"new_EventLoop", (PyCFunction
) _wrap_new_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46001 { (char *)"delete_EventLoop", (PyCFunction
) _wrap_delete_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46002 { (char *)"EventLoop_Run", (PyCFunction
) _wrap_EventLoop_Run
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46003 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46004 { (char *)"EventLoop_Pending", (PyCFunction
) _wrap_EventLoop_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46005 { (char *)"EventLoop_Dispatch", (PyCFunction
) _wrap_EventLoop_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46006 { (char *)"EventLoop_IsRunning", (PyCFunction
) _wrap_EventLoop_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46007 { (char *)"EventLoop_GetActive", (PyCFunction
) _wrap_EventLoop_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46008 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46009 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
46010 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46011 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46012 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46013 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46014 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46015 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46016 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
46017 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46018 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46019 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46020 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
46021 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46022 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46023 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46024 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46025 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46026 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46027 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46028 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46029 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46030 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
46031 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46032 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46033 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46034 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46035 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46036 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46037 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46038 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46039 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46040 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46041 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46042 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46043 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46044 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46045 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46046 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46047 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46048 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46049 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46050 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46051 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46052 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46053 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46054 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46055 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46056 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46057 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46058 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46059 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46060 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46061 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46062 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46063 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46064 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46065 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46066 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46067 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46068 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46069 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46070 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46071 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46072 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46073 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46074 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46075 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46076 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46077 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46078 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46079 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46080 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46081 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46082 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46083 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46084 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46085 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46086 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46087 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46088 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46089 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46090 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46091 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46092 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46093 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46094 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46095 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46096 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46097 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46098 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46099 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46100 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46101 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46102 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46103 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46104 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46105 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46106 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46107 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46108 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46109 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46110 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46111 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46112 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46113 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46114 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46115 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46116 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46117 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46118 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46119 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46120 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46121 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46122 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46123 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46124 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46125 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46126 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46127 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46128 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46129 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46130 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46131 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46132 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46133 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46134 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46135 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46136 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46137 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46138 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46139 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46140 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46141 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46142 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46143 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46144 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46145 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46146 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46147 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46148 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46149 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46150 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46151 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46152 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46153 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46154 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46155 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46156 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46157 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46158 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46159 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46160 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46161 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46162 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46163 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46164 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46165 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46166 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46167 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46168 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46169 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46170 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46171 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46172 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46173 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46174 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46175 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46176 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46177 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46178 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46179 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46180 { (char *)"Window_InheritsBackgroundColour", (PyCFunction
) _wrap_Window_InheritsBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46181 { (char *)"Window_UseBgCol", (PyCFunction
) _wrap_Window_UseBgCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46182 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46183 { (char *)"Window_GetBackgroundStyle", (PyCFunction
) _wrap_Window_GetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46184 { (char *)"Window_HasTransparentBackground", (PyCFunction
) _wrap_Window_HasTransparentBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46185 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46186 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46187 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46188 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46189 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46190 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46191 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46192 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46193 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46194 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46195 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46196 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46197 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46198 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46199 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46200 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46201 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46202 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
46203 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46204 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46205 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46206 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46207 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46208 { (char *)"Window_DissociateHandle", (PyCFunction
) _wrap_Window_DissociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46209 { (char *)"Window_OnPaint", (PyCFunction
) _wrap_Window_OnPaint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46210 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46211 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46212 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46213 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46214 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46215 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46216 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46217 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46218 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46219 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46220 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46221 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46222 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46223 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46224 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46225 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46226 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46227 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46228 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46229 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46230 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46231 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46232 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46233 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46234 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46235 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46236 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46237 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46238 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46239 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46240 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46241 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46242 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46243 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46244 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
46245 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46246 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46247 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46248 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46249 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46250 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46251 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46252 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46253 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46254 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46255 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46256 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46257 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46258 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
46259 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46260 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46261 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
46262 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46263 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46264 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46265 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46266 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46267 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46268 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46269 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46270 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46271 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46272 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46273 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46274 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46275 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46276 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46277 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46278 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46279 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46280 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46281 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46282 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46283 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46284 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46285 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46286 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46287 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46288 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46289 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46290 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46291 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46292 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46293 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46294 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46295 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46296 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46297 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46298 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46299 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46300 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46301 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46302 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46303 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46304 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46305 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46306 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46307 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46308 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46309 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46310 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46311 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46312 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46313 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46314 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46315 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46316 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
46317 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46318 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46319 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46320 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46321 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46322 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46323 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46324 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46325 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46326 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46327 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46328 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46329 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46330 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46331 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46332 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46333 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46334 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46335 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46336 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46337 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46338 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46339 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46340 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46341 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46342 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46343 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
46344 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46345 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46346 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46347 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46348 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46349 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46350 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46351 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46352 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46353 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46354 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46355 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46356 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46357 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46358 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46359 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46360 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46361 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46362 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46363 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46364 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46365 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46366 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46367 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46368 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46369 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46370 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46371 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46372 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46373 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46374 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46375 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46376 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46377 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46378 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46379 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46380 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46381 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46382 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46383 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46384 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46385 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46386 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46387 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
46388 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46389 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46390 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46391 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46392 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46393 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46394 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46395 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
46396 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46397 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46398 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46399 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46400 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46401 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46402 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46403 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46404 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46405 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46406 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46407 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46408 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46409 { (char *)"ItemContainer_SetSelection", (PyCFunction
) _wrap_ItemContainer_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46410 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46411 { (char *)"ItemContainer_SetStringSelection", (PyCFunction
) _wrap_ItemContainer_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46412 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46413 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46414 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
46415 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
46416 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46417 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46418 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46419 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46420 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46421 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46422 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46423 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46424 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46425 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46426 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46427 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46428 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46429 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46430 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46431 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46432 { (char *)"SizerItem_GetRect", (PyCFunction
) _wrap_SizerItem_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46433 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46434 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46435 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46436 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46437 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46438 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46439 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46440 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46441 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46442 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46443 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46444 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46445 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46446 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46447 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46448 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46449 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46450 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46451 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46452 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
46453 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46454 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46455 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46456 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46457 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46458 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46459 { (char *)"Sizer_GetItem", (PyCFunction
) _wrap_Sizer_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46460 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46461 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46462 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46463 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46464 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46465 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46466 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46467 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46468 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46469 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46470 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46471 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46472 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46473 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46474 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46475 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46476 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46477 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46478 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46479 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46480 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46481 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46482 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
46483 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46484 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46485 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
46486 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46487 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46488 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46489 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
46490 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46491 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46492 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
46493 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46494 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46495 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46496 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46497 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46498 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46499 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46500 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46501 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46502 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
46503 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46504 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46505 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46506 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46507 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46508 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46509 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46510 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46511 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46512 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46513 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46514 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
46515 { (char *)"new_StdDialogButtonSizer", (PyCFunction
) _wrap_new_StdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46516 { (char *)"StdDialogButtonSizer_AddButton", (PyCFunction
) _wrap_StdDialogButtonSizer_AddButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46517 { (char *)"StdDialogButtonSizer_Realize", (PyCFunction
) _wrap_StdDialogButtonSizer_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46518 { (char *)"StdDialogButtonSizer_SetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46519 { (char *)"StdDialogButtonSizer_SetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46520 { (char *)"StdDialogButtonSizer_SetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46521 { (char *)"StdDialogButtonSizer_GetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46522 { (char *)"StdDialogButtonSizer_GetApplyButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetApplyButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46523 { (char *)"StdDialogButtonSizer_GetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46524 { (char *)"StdDialogButtonSizer_GetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46525 { (char *)"StdDialogButtonSizer_GetHelpButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46526 { (char *)"StdDialogButtonSizer_swigregister", StdDialogButtonSizer_swigregister
, METH_VARARGS
, NULL
},
46527 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46528 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46529 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46530 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46531 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46532 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46533 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46534 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46535 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46536 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
46537 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46538 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46539 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46540 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46541 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46542 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46543 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46544 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46545 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46546 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
46547 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46548 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46549 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46550 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46551 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46552 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46553 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46554 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46555 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46556 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46557 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46558 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46559 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46560 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
46561 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46562 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46563 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46564 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46565 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46566 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46567 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
46568 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
46569 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
46570 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
46571 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
46572 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46573 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46574 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46575 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46576 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
46577 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46578 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46579 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46580 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46581 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46582 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46583 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46584 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46585 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46586 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46587 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46588 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46589 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46590 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46591 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46592 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46593 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46594 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46595 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46596 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46597 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46598 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46599 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46600 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46601 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46602 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46603 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
46604 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46605 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46606 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46607 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46608 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46609 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46610 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46611 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46612 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46613 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46614 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46615 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
46616 { NULL
, NULL
, 0, NULL
}
46620 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
46622 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
46623 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
46625 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
46626 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
46628 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
46629 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46631 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
46632 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46634 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
46635 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46637 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
46638 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
46640 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
46641 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46643 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
46644 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
46646 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
46647 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46649 static void *_p_wxStdDialogButtonSizerTo_p_wxBoxSizer(void *x
) {
46650 return (void *)((wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46652 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
46653 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46655 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
46656 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
46658 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
46659 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
46661 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
46662 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
46664 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
46665 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
46667 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
46668 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
46670 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
46671 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
46673 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
46674 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
46676 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
46677 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
46679 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
46680 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46682 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
46683 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
46685 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
46686 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46688 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
46689 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46691 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
46692 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
46694 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
46695 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
46697 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
46698 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
46700 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
46701 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
46703 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
46704 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
46706 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
46707 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
46709 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
46710 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
46712 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
46713 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
46715 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
46716 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46718 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
46719 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46721 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
46722 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46724 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
46725 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46727 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
46728 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46730 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
46731 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
46733 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
46734 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
46736 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
46737 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46739 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
46740 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
46742 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
46743 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
46745 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
46746 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46748 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
46749 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46751 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
46752 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46754 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
46755 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
46757 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
46758 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
46760 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
46761 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46763 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
46764 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46766 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
46767 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46769 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
46770 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
46772 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
46773 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
46775 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
46776 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
46778 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
46779 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
46781 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
46782 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46784 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
46785 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
46787 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
46788 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
46790 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
46791 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
46793 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
46794 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
46796 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
46797 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
46799 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
46800 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
46802 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
46803 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
46805 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
46806 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
46808 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
46809 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
46811 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
46812 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
46814 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
46815 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46817 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
46818 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
46820 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
46821 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
46823 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
46824 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46826 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
46827 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46829 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
46830 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
46832 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
46833 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
46835 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
46836 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
46838 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
46839 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
46841 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
46842 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
46844 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
46845 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
46847 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
46848 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
46850 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
46851 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
46853 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46854 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
46856 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46857 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
46859 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46860 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
46862 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
46863 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
46865 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
46866 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
46868 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
46869 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
46871 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
46872 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
46874 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
46875 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
46877 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
46878 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46880 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
46881 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
46883 static void *_p_wxSizerTo_p_wxObject(void *x
) {
46884 return (void *)((wxObject
*) ((wxSizer
*) x
));
46886 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
46887 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46889 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
46890 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46892 static void *_p_wxEventTo_p_wxObject(void *x
) {
46893 return (void *)((wxObject
*) ((wxEvent
*) x
));
46895 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
46896 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46898 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
46899 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
46901 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
46902 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
46904 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
46905 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
46907 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
46908 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
46910 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
46911 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46913 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
46914 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46916 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
46917 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46919 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
46920 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46922 static void *_p_wxControlTo_p_wxObject(void *x
) {
46923 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
46925 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
46926 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
46928 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
46929 return (void *)((wxObject
*) ((wxFSFile
*) x
));
46931 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
46932 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
46934 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
46935 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
46937 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
46938 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46940 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
46941 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
46943 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
46944 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
46946 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
46947 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
46949 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
46950 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
46952 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
46953 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46955 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
46956 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46958 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
46959 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
46961 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
46962 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
46964 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
46965 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
46967 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
46968 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
46970 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
46971 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
46973 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
46974 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
46976 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
46977 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
46979 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
46980 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
46982 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
46983 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
46985 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
46986 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
46988 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
46989 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
46991 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
46992 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46994 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
46995 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46997 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
46998 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
47000 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
47001 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
47003 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
47004 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
47006 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
47007 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
47009 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
47010 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
47012 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
47013 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
47015 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
47016 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
47018 static void *_p_wxImageTo_p_wxObject(void *x
) {
47019 return (void *)((wxObject
*) ((wxImage
*) x
));
47021 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
47022 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
47024 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
47025 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47027 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
47028 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
47030 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
47031 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
47033 static void *_p_wxWindowTo_p_wxObject(void *x
) {
47034 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
47036 static void *_p_wxMenuTo_p_wxObject(void *x
) {
47037 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
47039 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
47040 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
47042 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
47043 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
47045 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
47046 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47048 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
47049 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
47051 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
47052 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
47054 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
47055 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
47057 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
47058 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
47060 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
47061 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
47063 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
47064 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47066 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
47067 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
47069 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
47070 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
47072 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
47073 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
47075 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
47076 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47078 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
47079 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
47081 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
47082 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
47084 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
47085 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
47087 static void *_p_wxControlTo_p_wxWindow(void *x
) {
47088 return (void *)((wxWindow
*) ((wxControl
*) x
));
47090 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
47091 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
47093 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
47094 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
47096 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
47097 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47099 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
47100 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
47102 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
47103 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47105 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
47106 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
47108 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
47109 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47111 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
47112 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47114 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
47115 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47117 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
47118 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47120 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
47121 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47123 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
47124 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
47126 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}};
47127 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}};
47128 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}};
47129 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}};
47130 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}};
47131 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}};
47132 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}};
47133 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}};
47134 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}};
47135 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}};
47136 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}};
47137 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}};
47138 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}};
47139 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}};
47140 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}};
47141 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}};
47142 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}};
47143 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}};
47144 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}};
47145 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}};
47146 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}};
47147 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}};
47148 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}};
47149 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}};
47150 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}};
47151 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}};
47152 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}};
47153 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}};
47154 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}};
47155 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}};
47156 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}};
47157 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}};
47158 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}};
47159 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}};
47160 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}};
47161 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}};
47162 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}};
47163 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}};
47164 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}};
47165 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}};
47166 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}};
47167 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}};
47168 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}};
47169 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}};
47170 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}};
47171 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}};
47172 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}};
47173 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}};
47174 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}};
47175 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}};
47176 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}};
47177 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}};
47178 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}};
47179 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}};
47180 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}};
47181 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}};
47182 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}};
47183 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}};
47184 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}};
47185 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}};
47186 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}};
47187 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}};
47188 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}};
47189 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}};
47190 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}};
47191 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}};
47192 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}};
47193 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}};
47194 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}};
47195 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}};
47196 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}};
47197 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}};
47198 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}};
47199 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}};
47200 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}};
47201 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}};
47202 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}};
47203 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}};
47204 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}};
47205 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}};
47206 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}};
47207 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}};
47208 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}};
47209 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}};
47210 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}};
47211 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}};
47212 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}};
47213 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}};
47214 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}};
47215 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}};
47216 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}};
47217 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}};
47218 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}};
47219 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}};
47220 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}};
47221 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}};
47222 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}};
47223 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}};
47224 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}};
47225 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}};
47226 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}};
47227 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}};
47228 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}};
47229 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}};
47230 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}};
47231 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}};
47232 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}};
47233 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}};
47234 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}};
47235 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}};
47236 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}};
47237 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}};
47238 static swig_type_info _swigt__p_unsigned_char
[] = {{"_p_unsigned_char", 0, "unsigned char *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47239 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}};
47240 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}};
47241 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}};
47242 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}};
47243 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}};
47244 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}};
47245 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}};
47246 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}};
47247 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}};
47248 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}};
47249 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}};
47250 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}};
47251 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}};
47252 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}};
47253 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}};
47255 static swig_type_info
*swig_types_initial
[] = {
47256 _swigt__p_wxLayoutConstraints
,
47257 _swigt__p_wxRealPoint
,
47258 _swigt__p_wxSizerItem
,
47259 _swigt__p_wxGBSizerItem
,
47260 _swigt__p_wxScrollEvent
,
47261 _swigt__p_wxEventLoop
,
47262 _swigt__p_wxIndividualLayoutConstraint
,
47264 _swigt__p_wxBoxSizer
,
47265 _swigt__p_wxStaticBoxSizer
,
47266 _swigt__p_wxGridBagSizer
,
47267 _swigt__p_wxAcceleratorEntry
,
47268 _swigt__p_wxUpdateUIEvent
,
47272 _swigt__p_wxGridSizer
,
47273 _swigt__p_wxFlexGridSizer
,
47274 _swigt__p_wxInitDialogEvent
,
47275 _swigt__p_wxItemContainer
,
47276 _swigt__p_wxNcPaintEvent
,
47277 _swigt__p_wxPaintEvent
,
47278 _swigt__p_wxSysColourChangedEvent
,
47279 _swigt__p_wxMouseCaptureChangedEvent
,
47280 _swigt__p_wxDisplayChangedEvent
,
47281 _swigt__p_wxPaletteChangedEvent
,
47282 _swigt__p_wxControl
,
47284 _swigt__p_wxMenuBarBase
,
47285 _swigt__p_wxSetCursorEvent
,
47286 _swigt__p_wxFSFile
,
47289 _swigt__std__ptrdiff_t
,
47290 _swigt__p_wxRegion
,
47291 _swigt__p_wxPoint2D
,
47295 _swigt__p_wxPySizer
,
47296 _swigt__p_wxVisualAttributes
,
47297 _swigt__p_wxNotifyEvent
,
47298 _swigt__p_wxPyEvent
,
47299 _swigt__p_wxPropagationDisabler
,
47300 _swigt__p_form_ops_t
,
47301 _swigt__p_wxAppTraits
,
47302 _swigt__p_wxArrayString
,
47303 _swigt__p_wxShowEvent
,
47304 _swigt__p_wxToolTip
,
47305 _swigt__p_wxMoveEvent
,
47306 _swigt__p_wxSizeEvent
,
47307 _swigt__p_wxActivateEvent
,
47308 _swigt__p_wxIconizeEvent
,
47309 _swigt__p_wxMaximizeEvent
,
47310 _swigt__p_wxQueryNewPaletteEvent
,
47311 _swigt__p_wxWindowCreateEvent
,
47312 _swigt__p_wxIdleEvent
,
47313 _swigt__p_wxDateEvent
,
47314 _swigt__p_wxMenuItem
,
47315 _swigt__p_wxStaticBox
,
47317 _swigt__p_wxDuplexMode
,
47318 _swigt__p_wxTIFFHandler
,
47319 _swigt__p_wxXPMHandler
,
47320 _swigt__p_wxPNMHandler
,
47321 _swigt__p_wxJPEGHandler
,
47322 _swigt__p_wxPCXHandler
,
47323 _swigt__p_wxGIFHandler
,
47324 _swigt__p_wxPNGHandler
,
47325 _swigt__p_wxANIHandler
,
47326 _swigt__p_wxMemoryFSHandler
,
47327 _swigt__p_wxZipFSHandler
,
47328 _swigt__p_wxInternetFSHandler
,
47329 _swigt__p_wxPyFileSystemHandler
,
47330 _swigt__p_wxEvtHandler
,
47331 _swigt__p_wxCURHandler
,
47332 _swigt__p_wxICOHandler
,
47333 _swigt__p_wxBMPHandler
,
47334 _swigt__p_wxImageHandler
,
47335 _swigt__p_wxFileSystemHandler
,
47337 _swigt__p_wxButton
,
47338 _swigt__p_wxGBSpan
,
47339 _swigt__p_wxPropagateOnce
,
47340 _swigt__p_wxAcceleratorTable
,
47341 _swigt__p_wxStdDialogButtonSizer
,
47343 _swigt__p_wxGBPosition
,
47346 _swigt__p_wxScrollWinEvent
,
47347 _swigt__p_wxPaperSize
,
47348 _swigt__p_wxImageHistogram
,
47350 _swigt__p_wxCursor
,
47351 _swigt__p_wxObject
,
47352 _swigt__p_wxInputStream
,
47353 _swigt__p_wxOutputStream
,
47354 _swigt__p_wxPyInputStream
,
47355 _swigt__p_wxDateTime
,
47356 _swigt__p_wxKeyEvent
,
47357 _swigt__p_wxNavigationKeyEvent
,
47358 _swigt__p_wxWindowDestroyEvent
,
47359 _swigt__p_unsigned_long
,
47360 _swigt__p_wxWindow
,
47361 _swigt__p_wxMenuBar
,
47362 _swigt__p_wxFileSystem
,
47363 _swigt__p_wxBitmap
,
47364 _swigt__unsigned_int
,
47365 _swigt__p_unsigned_int
,
47366 _swigt__p_wxMenuEvent
,
47367 _swigt__p_wxContextMenuEvent
,
47368 _swigt__p_unsigned_char
,
47369 _swigt__p_wxEraseEvent
,
47370 _swigt__p_wxMouseEvent
,
47371 _swigt__p_wxCloseEvent
,
47373 _swigt__p_wxCommandEvent
,
47374 _swigt__p_wxPyCommandEvent
,
47375 _swigt__p_wxPyDropTarget
,
47376 _swigt__p_wxQuantize
,
47377 _swigt__p_wxFocusEvent
,
47378 _swigt__p_wxChildFocusEvent
,
47379 _swigt__p_wxDropFilesEvent
,
47380 _swigt__p_wxControlWithItems
,
47381 _swigt__p_wxColour
,
47382 _swigt__p_wxValidator
,
47383 _swigt__p_wxPyValidator
,
47388 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
47390 static swig_const_info swig_const_table
[] = {
47391 {0, 0, 0, 0.0, 0, 0}};
47402 /* Python-specific SWIG API */
47403 #define SWIG_newvarlink() SWIG_Python_newvarlink()
47404 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
47405 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
47407 /* -----------------------------------------------------------------------------
47408 * global variable support code.
47409 * ----------------------------------------------------------------------------- */
47411 typedef struct swig_globalvar
{
47412 char *name
; /* Name of global variable */
47413 PyObject
*(*get_attr
)(); /* Return the current value */
47414 int (*set_attr
)(PyObject
*); /* Set the value */
47415 struct swig_globalvar
*next
;
47418 typedef struct swig_varlinkobject
{
47420 swig_globalvar
*vars
;
47421 } swig_varlinkobject
;
47424 swig_varlink_repr(swig_varlinkobject
*v
) {
47426 return PyString_FromString("<Swig global variables>");
47430 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
47431 swig_globalvar
*var
;
47433 fprintf(fp
,"Swig global variables { ");
47434 for (var
= v
->vars
; var
; var
=var
->next
) {
47435 fprintf(fp
,"%s", var
->name
);
47436 if (var
->next
) fprintf(fp
,", ");
47438 fprintf(fp
," }\n");
47443 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
47444 swig_globalvar
*var
= v
->vars
;
47446 if (strcmp(var
->name
,n
) == 0) {
47447 return (*var
->get_attr
)();
47451 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
47456 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
47457 swig_globalvar
*var
= v
->vars
;
47459 if (strcmp(var
->name
,n
) == 0) {
47460 return (*var
->set_attr
)(p
);
47464 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
47468 static PyTypeObject varlinktype
= {
47469 PyObject_HEAD_INIT(0)
47470 0, /* Number of items in variable part (ob_size) */
47471 (char *)"swigvarlink", /* Type name (tp_name) */
47472 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
47473 0, /* Itemsize (tp_itemsize) */
47474 0, /* Deallocator (tp_dealloc) */
47475 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
47476 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
47477 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
47478 0, /* tp_compare */
47479 (reprfunc
) swig_varlink_repr
, /* tp_repr */
47480 0, /* tp_as_number */
47481 0, /* tp_as_sequence */
47482 0, /* tp_as_mapping */
47486 0, /* tp_getattro */
47487 0, /* tp_setattro */
47488 0, /* tp_as_buffer */
47491 #if PY_VERSION_HEX >= 0x02000000
47492 0, /* tp_traverse */
47495 #if PY_VERSION_HEX >= 0x02010000
47496 0, /* tp_richcompare */
47497 0, /* tp_weaklistoffset */
47499 #if PY_VERSION_HEX >= 0x02020000
47500 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
47502 #if PY_VERSION_HEX >= 0x02030000
47505 #ifdef COUNT_ALLOCS
47506 0,0,0,0 /* tp_alloc -> tp_next */
47510 /* Create a variable linking object for use later */
47512 SWIG_Python_newvarlink(void) {
47513 swig_varlinkobject
*result
= 0;
47514 result
= PyMem_NEW(swig_varlinkobject
,1);
47515 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
47516 result
->ob_type
= &varlinktype
;
47518 result
->ob_refcnt
= 0;
47519 Py_XINCREF((PyObject
*) result
);
47520 return ((PyObject
*) result
);
47524 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
47525 swig_varlinkobject
*v
;
47526 swig_globalvar
*gv
;
47527 v
= (swig_varlinkobject
*) p
;
47528 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
47529 gv
->name
= (char *) malloc(strlen(name
)+1);
47530 strcpy(gv
->name
,name
);
47531 gv
->get_attr
= get_attr
;
47532 gv
->set_attr
= set_attr
;
47533 gv
->next
= v
->vars
;
47537 /* -----------------------------------------------------------------------------
47538 * constants/methods manipulation
47539 * ----------------------------------------------------------------------------- */
47541 /* Install Constants */
47543 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
47546 for (i
= 0; constants
[i
].type
; i
++) {
47547 switch(constants
[i
].type
) {
47549 obj
= PyInt_FromLong(constants
[i
].lvalue
);
47551 case SWIG_PY_FLOAT
:
47552 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
47554 case SWIG_PY_STRING
:
47555 if (constants
[i
].pvalue
) {
47556 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
47558 Py_INCREF(Py_None
);
47562 case SWIG_PY_POINTER
:
47563 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
47565 case SWIG_PY_BINARY
:
47566 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
47573 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
47579 /* -----------------------------------------------------------------------------*/
47580 /* Fix SwigMethods to carry the callback ptrs when needed */
47581 /* -----------------------------------------------------------------------------*/
47584 SWIG_Python_FixMethods(PyMethodDef
*methods
,
47585 swig_const_info
*const_table
,
47586 swig_type_info
**types
,
47587 swig_type_info
**types_initial
) {
47589 for (i
= 0; methods
[i
].ml_name
; ++i
) {
47590 char *c
= methods
[i
].ml_doc
;
47591 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
47593 swig_const_info
*ci
= 0;
47594 char *name
= c
+ 10;
47595 for (j
= 0; const_table
[j
].type
; j
++) {
47596 if (strncmp(const_table
[j
].name
, name
,
47597 strlen(const_table
[j
].name
)) == 0) {
47598 ci
= &(const_table
[j
]);
47603 size_t shift
= (ci
->ptype
) - types
;
47604 swig_type_info
*ty
= types_initial
[shift
];
47605 size_t ldoc
= (c
- methods
[i
].ml_doc
);
47606 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
47607 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
47609 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
47610 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
47612 strncpy(buff
, "swig_ptr: ", 10);
47614 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
47615 methods
[i
].ml_doc
= ndoc
;
47621 /* -----------------------------------------------------------------------------*
47622 * Initialize type list
47623 * -----------------------------------------------------------------------------*/
47625 #if PY_MAJOR_VERSION < 2
47626 /* PyModule_AddObject function was introduced in Python 2.0. The following function
47627 is copied out of Python/modsupport.c in python version 2.3.4 */
47629 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
47632 if (!PyModule_Check(m
)) {
47633 PyErr_SetString(PyExc_TypeError
,
47634 "PyModule_AddObject() needs module as first arg");
47638 PyErr_SetString(PyExc_TypeError
,
47639 "PyModule_AddObject() needs non-NULL value");
47643 dict
= PyModule_GetDict(m
);
47644 if (dict
== NULL
) {
47645 /* Internal error -- modules must have a dict! */
47646 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
47647 PyModule_GetName(m
));
47650 if (PyDict_SetItemString(dict
, name
, o
))
47657 static swig_type_info
**
47658 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
47659 static PyMethodDef swig_empty_runtime_method_table
[] = {
47661 NULL
, NULL
, 0, NULL
47665 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
47666 swig_empty_runtime_method_table
);
47667 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
47668 if (pointer
&& module) {
47669 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
47671 return type_list_handle
;
47674 static swig_type_info
**
47675 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
47676 swig_type_info
**type_pointer
;
47678 /* first check if module already created */
47679 type_pointer
= SWIG_Python_GetTypeListHandle();
47680 if (type_pointer
) {
47681 return type_pointer
;
47683 /* create a new module and variable */
47684 return SWIG_Python_SetTypeListHandle(type_list_handle
);
47692 /* -----------------------------------------------------------------------------*
47693 * Partial Init method
47694 * -----------------------------------------------------------------------------*/
47696 #ifdef SWIG_LINK_RUNTIME
47700 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
47706 SWIGEXPORT(void) SWIG_init(void) {
47707 static PyObject
*SWIG_globals
= 0;
47708 static int typeinit
= 0;
47711 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
47713 /* Fix SwigMethods to carry the callback ptrs when needed */
47714 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
47716 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
47717 d
= PyModule_GetDict(m
);
47720 #ifdef SWIG_LINK_RUNTIME
47721 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
47723 # ifndef SWIG_STATIC_RUNTIME
47724 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
47727 for (i
= 0; swig_types_initial
[i
]; i
++) {
47728 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
47732 SWIG_InstallConstants(d
,swig_const_table
);
47735 #ifndef wxPyUSE_EXPORT
47736 // Make our API structure a CObject so other modules can import it
47737 // from this module.
47738 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
47739 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
47744 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_From_int((int)(wxNOT_FOUND
)));
47747 PyDict_SetItemString(d
,"VSCROLL", SWIG_From_int((int)(wxVSCROLL
)));
47750 PyDict_SetItemString(d
,"HSCROLL", SWIG_From_int((int)(wxHSCROLL
)));
47753 PyDict_SetItemString(d
,"CAPTION", SWIG_From_int((int)(wxCAPTION
)));
47756 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_From_int((int)(wxDOUBLE_BORDER
)));
47759 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_From_int((int)(wxSUNKEN_BORDER
)));
47762 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_From_int((int)(wxRAISED_BORDER
)));
47765 PyDict_SetItemString(d
,"BORDER", SWIG_From_int((int)(wxBORDER
)));
47768 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_From_int((int)(wxSIMPLE_BORDER
)));
47771 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_From_int((int)(wxSTATIC_BORDER
)));
47774 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_From_int((int)(wxTRANSPARENT_WINDOW
)));
47777 PyDict_SetItemString(d
,"NO_BORDER", SWIG_From_int((int)(wxNO_BORDER
)));
47780 PyDict_SetItemString(d
,"DEFAULT_CONTROL_BORDER", SWIG_From_int((int)(wxDEFAULT_CONTROL_BORDER
)));
47783 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_From_int((int)(wxTAB_TRAVERSAL
)));
47786 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_From_int((int)(wxWANTS_CHARS
)));
47789 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_From_int((int)(wxPOPUP_WINDOW
)));
47792 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_From_int((int)(wxCENTER_FRAME
)));
47795 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_From_int((int)(wxCENTRE_ON_SCREEN
)));
47798 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_From_int((int)(wxCENTER_ON_SCREEN
)));
47801 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_From_int((int)(wxCLIP_CHILDREN
)));
47804 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_From_int((int)(wxCLIP_SIBLINGS
)));
47807 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_From_int((int)(wxALWAYS_SHOW_SB
)));
47810 PyDict_SetItemString(d
,"RETAINED", SWIG_From_int((int)(wxRETAINED
)));
47813 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_From_int((int)(wxBACKINGSTORE
)));
47816 PyDict_SetItemString(d
,"COLOURED", SWIG_From_int((int)(wxCOLOURED
)));
47819 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_From_int((int)(wxFIXED_LENGTH
)));
47822 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_From_int((int)(wxLB_NEEDED_SB
)));
47825 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_From_int((int)(wxLB_ALWAYS_SB
)));
47828 PyDict_SetItemString(d
,"LB_SORT", SWIG_From_int((int)(wxLB_SORT
)));
47831 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_From_int((int)(wxLB_SINGLE
)));
47834 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_From_int((int)(wxLB_MULTIPLE
)));
47837 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_From_int((int)(wxLB_EXTENDED
)));
47840 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_From_int((int)(wxLB_OWNERDRAW
)));
47843 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_From_int((int)(wxLB_HSCROLL
)));
47846 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_From_int((int)(wxPROCESS_ENTER
)));
47849 PyDict_SetItemString(d
,"PASSWORD", SWIG_From_int((int)(wxPASSWORD
)));
47852 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_From_int((int)(wxCB_SIMPLE
)));
47855 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_From_int((int)(wxCB_DROPDOWN
)));
47858 PyDict_SetItemString(d
,"CB_SORT", SWIG_From_int((int)(wxCB_SORT
)));
47861 PyDict_SetItemString(d
,"CB_READONLY", SWIG_From_int((int)(wxCB_READONLY
)));
47864 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_From_int((int)(wxRA_HORIZONTAL
)));
47867 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_From_int((int)(wxRA_VERTICAL
)));
47870 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_From_int((int)(wxRA_SPECIFY_ROWS
)));
47873 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_From_int((int)(wxRA_SPECIFY_COLS
)));
47876 PyDict_SetItemString(d
,"RA_USE_CHECKBOX", SWIG_From_int((int)(wxRA_USE_CHECKBOX
)));
47879 PyDict_SetItemString(d
,"RB_GROUP", SWIG_From_int((int)(wxRB_GROUP
)));
47882 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_From_int((int)(wxRB_SINGLE
)));
47885 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_From_int((int)(wxSB_HORIZONTAL
)));
47888 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_From_int((int)(wxSB_VERTICAL
)));
47891 PyDict_SetItemString(d
,"RB_USE_CHECKBOX", SWIG_From_int((int)(wxRB_USE_CHECKBOX
)));
47894 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_From_int((int)(wxST_SIZEGRIP
)));
47897 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_From_int((int)(wxST_NO_AUTORESIZE
)));
47900 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_From_int((int)(wxFLOOD_SURFACE
)));
47903 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_From_int((int)(wxFLOOD_BORDER
)));
47906 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_From_int((int)(wxODDEVEN_RULE
)));
47909 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_From_int((int)(wxWINDING_RULE
)));
47912 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_From_int((int)(wxTOOL_TOP
)));
47915 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_From_int((int)(wxTOOL_BOTTOM
)));
47918 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_From_int((int)(wxTOOL_LEFT
)));
47921 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_From_int((int)(wxTOOL_RIGHT
)));
47924 PyDict_SetItemString(d
,"OK", SWIG_From_int((int)(wxOK
)));
47927 PyDict_SetItemString(d
,"YES_NO", SWIG_From_int((int)(wxYES_NO
)));
47930 PyDict_SetItemString(d
,"CANCEL", SWIG_From_int((int)(wxCANCEL
)));
47933 PyDict_SetItemString(d
,"YES", SWIG_From_int((int)(wxYES
)));
47936 PyDict_SetItemString(d
,"NO", SWIG_From_int((int)(wxNO
)));
47939 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_From_int((int)(wxNO_DEFAULT
)));
47942 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_From_int((int)(wxYES_DEFAULT
)));
47945 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_From_int((int)(wxICON_EXCLAMATION
)));
47948 PyDict_SetItemString(d
,"ICON_HAND", SWIG_From_int((int)(wxICON_HAND
)));
47951 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_From_int((int)(wxICON_QUESTION
)));
47954 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_From_int((int)(wxICON_INFORMATION
)));
47957 PyDict_SetItemString(d
,"ICON_STOP", SWIG_From_int((int)(wxICON_STOP
)));
47960 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_From_int((int)(wxICON_ASTERISK
)));
47963 PyDict_SetItemString(d
,"ICON_MASK", SWIG_From_int((int)(wxICON_MASK
)));
47966 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_From_int((int)(wxICON_WARNING
)));
47969 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_From_int((int)(wxICON_ERROR
)));
47972 PyDict_SetItemString(d
,"FORWARD", SWIG_From_int((int)(wxFORWARD
)));
47975 PyDict_SetItemString(d
,"BACKWARD", SWIG_From_int((int)(wxBACKWARD
)));
47978 PyDict_SetItemString(d
,"RESET", SWIG_From_int((int)(wxRESET
)));
47981 PyDict_SetItemString(d
,"HELP", SWIG_From_int((int)(wxHELP
)));
47984 PyDict_SetItemString(d
,"MORE", SWIG_From_int((int)(wxMORE
)));
47987 PyDict_SetItemString(d
,"SETUP", SWIG_From_int((int)(wxSETUP
)));
47990 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_From_int((int)(wxSIZE_AUTO_WIDTH
)));
47993 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)(wxSIZE_AUTO_HEIGHT
)));
47996 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_From_int((int)(wxSIZE_AUTO
)));
47999 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_From_int((int)(wxSIZE_USE_EXISTING
)));
48002 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)(wxSIZE_ALLOW_MINUS_ONE
)));
48005 PyDict_SetItemString(d
,"PORTRAIT", SWIG_From_int((int)(wxPORTRAIT
)));
48008 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_From_int((int)(wxLANDSCAPE
)));
48011 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_From_int((int)(wxPRINT_QUALITY_HIGH
)));
48014 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)(wxPRINT_QUALITY_MEDIUM
)));
48017 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_From_int((int)(wxPRINT_QUALITY_LOW
)));
48020 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)(wxPRINT_QUALITY_DRAFT
)));
48023 PyDict_SetItemString(d
,"ID_ANY", SWIG_From_int((int)(wxID_ANY
)));
48026 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_From_int((int)(wxID_SEPARATOR
)));
48029 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_From_int((int)(wxID_LOWEST
)));
48032 PyDict_SetItemString(d
,"ID_OPEN", SWIG_From_int((int)(wxID_OPEN
)));
48035 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_From_int((int)(wxID_CLOSE
)));
48038 PyDict_SetItemString(d
,"ID_NEW", SWIG_From_int((int)(wxID_NEW
)));
48041 PyDict_SetItemString(d
,"ID_SAVE", SWIG_From_int((int)(wxID_SAVE
)));
48044 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_From_int((int)(wxID_SAVEAS
)));
48047 PyDict_SetItemString(d
,"ID_REVERT", SWIG_From_int((int)(wxID_REVERT
)));
48050 PyDict_SetItemString(d
,"ID_EXIT", SWIG_From_int((int)(wxID_EXIT
)));
48053 PyDict_SetItemString(d
,"ID_UNDO", SWIG_From_int((int)(wxID_UNDO
)));
48056 PyDict_SetItemString(d
,"ID_REDO", SWIG_From_int((int)(wxID_REDO
)));
48059 PyDict_SetItemString(d
,"ID_HELP", SWIG_From_int((int)(wxID_HELP
)));
48062 PyDict_SetItemString(d
,"ID_PRINT", SWIG_From_int((int)(wxID_PRINT
)));
48065 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_From_int((int)(wxID_PRINT_SETUP
)));
48068 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_From_int((int)(wxID_PREVIEW
)));
48071 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_From_int((int)(wxID_ABOUT
)));
48074 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_From_int((int)(wxID_HELP_CONTENTS
)));
48077 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_From_int((int)(wxID_HELP_COMMANDS
)));
48080 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_From_int((int)(wxID_HELP_PROCEDURES
)));
48083 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_From_int((int)(wxID_HELP_CONTEXT
)));
48086 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_From_int((int)(wxID_CLOSE_ALL
)));
48089 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_From_int((int)(wxID_PREFERENCES
)));
48092 PyDict_SetItemString(d
,"ID_CUT", SWIG_From_int((int)(wxID_CUT
)));
48095 PyDict_SetItemString(d
,"ID_COPY", SWIG_From_int((int)(wxID_COPY
)));
48098 PyDict_SetItemString(d
,"ID_PASTE", SWIG_From_int((int)(wxID_PASTE
)));
48101 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_From_int((int)(wxID_CLEAR
)));
48104 PyDict_SetItemString(d
,"ID_FIND", SWIG_From_int((int)(wxID_FIND
)));
48107 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_From_int((int)(wxID_DUPLICATE
)));
48110 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_From_int((int)(wxID_SELECTALL
)));
48113 PyDict_SetItemString(d
,"ID_DELETE", SWIG_From_int((int)(wxID_DELETE
)));
48116 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_From_int((int)(wxID_REPLACE
)));
48119 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_From_int((int)(wxID_REPLACE_ALL
)));
48122 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_From_int((int)(wxID_PROPERTIES
)));
48125 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_From_int((int)(wxID_VIEW_DETAILS
)));
48128 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_From_int((int)(wxID_VIEW_LARGEICONS
)));
48131 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_From_int((int)(wxID_VIEW_SMALLICONS
)));
48134 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_From_int((int)(wxID_VIEW_LIST
)));
48137 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_From_int((int)(wxID_VIEW_SORTDATE
)));
48140 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_From_int((int)(wxID_VIEW_SORTNAME
)));
48143 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_From_int((int)(wxID_VIEW_SORTSIZE
)));
48146 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_From_int((int)(wxID_VIEW_SORTTYPE
)));
48149 PyDict_SetItemString(d
,"ID_FILE1", SWIG_From_int((int)(wxID_FILE1
)));
48152 PyDict_SetItemString(d
,"ID_FILE2", SWIG_From_int((int)(wxID_FILE2
)));
48155 PyDict_SetItemString(d
,"ID_FILE3", SWIG_From_int((int)(wxID_FILE3
)));
48158 PyDict_SetItemString(d
,"ID_FILE4", SWIG_From_int((int)(wxID_FILE4
)));
48161 PyDict_SetItemString(d
,"ID_FILE5", SWIG_From_int((int)(wxID_FILE5
)));
48164 PyDict_SetItemString(d
,"ID_FILE6", SWIG_From_int((int)(wxID_FILE6
)));
48167 PyDict_SetItemString(d
,"ID_FILE7", SWIG_From_int((int)(wxID_FILE7
)));
48170 PyDict_SetItemString(d
,"ID_FILE8", SWIG_From_int((int)(wxID_FILE8
)));
48173 PyDict_SetItemString(d
,"ID_FILE9", SWIG_From_int((int)(wxID_FILE9
)));
48176 PyDict_SetItemString(d
,"ID_OK", SWIG_From_int((int)(wxID_OK
)));
48179 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_From_int((int)(wxID_CANCEL
)));
48182 PyDict_SetItemString(d
,"ID_APPLY", SWIG_From_int((int)(wxID_APPLY
)));
48185 PyDict_SetItemString(d
,"ID_YES", SWIG_From_int((int)(wxID_YES
)));
48188 PyDict_SetItemString(d
,"ID_NO", SWIG_From_int((int)(wxID_NO
)));
48191 PyDict_SetItemString(d
,"ID_STATIC", SWIG_From_int((int)(wxID_STATIC
)));
48194 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_From_int((int)(wxID_FORWARD
)));
48197 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_From_int((int)(wxID_BACKWARD
)));
48200 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_From_int((int)(wxID_DEFAULT
)));
48203 PyDict_SetItemString(d
,"ID_MORE", SWIG_From_int((int)(wxID_MORE
)));
48206 PyDict_SetItemString(d
,"ID_SETUP", SWIG_From_int((int)(wxID_SETUP
)));
48209 PyDict_SetItemString(d
,"ID_RESET", SWIG_From_int((int)(wxID_RESET
)));
48212 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_From_int((int)(wxID_CONTEXT_HELP
)));
48215 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_From_int((int)(wxID_YESTOALL
)));
48218 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_From_int((int)(wxID_NOTOALL
)));
48221 PyDict_SetItemString(d
,"ID_ABORT", SWIG_From_int((int)(wxID_ABORT
)));
48224 PyDict_SetItemString(d
,"ID_RETRY", SWIG_From_int((int)(wxID_RETRY
)));
48227 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_From_int((int)(wxID_IGNORE
)));
48230 PyDict_SetItemString(d
,"ID_ADD", SWIG_From_int((int)(wxID_ADD
)));
48233 PyDict_SetItemString(d
,"ID_REMOVE", SWIG_From_int((int)(wxID_REMOVE
)));
48236 PyDict_SetItemString(d
,"ID_UP", SWIG_From_int((int)(wxID_UP
)));
48239 PyDict_SetItemString(d
,"ID_DOWN", SWIG_From_int((int)(wxID_DOWN
)));
48242 PyDict_SetItemString(d
,"ID_HOME", SWIG_From_int((int)(wxID_HOME
)));
48245 PyDict_SetItemString(d
,"ID_REFRESH", SWIG_From_int((int)(wxID_REFRESH
)));
48248 PyDict_SetItemString(d
,"ID_STOP", SWIG_From_int((int)(wxID_STOP
)));
48251 PyDict_SetItemString(d
,"ID_INDEX", SWIG_From_int((int)(wxID_INDEX
)));
48254 PyDict_SetItemString(d
,"ID_BOLD", SWIG_From_int((int)(wxID_BOLD
)));
48257 PyDict_SetItemString(d
,"ID_ITALIC", SWIG_From_int((int)(wxID_ITALIC
)));
48260 PyDict_SetItemString(d
,"ID_JUSTIFY_CENTER", SWIG_From_int((int)(wxID_JUSTIFY_CENTER
)));
48263 PyDict_SetItemString(d
,"ID_JUSTIFY_FILL", SWIG_From_int((int)(wxID_JUSTIFY_FILL
)));
48266 PyDict_SetItemString(d
,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)(wxID_JUSTIFY_RIGHT
)));
48269 PyDict_SetItemString(d
,"ID_JUSTIFY_LEFT", SWIG_From_int((int)(wxID_JUSTIFY_LEFT
)));
48272 PyDict_SetItemString(d
,"ID_UNDERLINE", SWIG_From_int((int)(wxID_UNDERLINE
)));
48275 PyDict_SetItemString(d
,"ID_INDENT", SWIG_From_int((int)(wxID_INDENT
)));
48278 PyDict_SetItemString(d
,"ID_UNINDENT", SWIG_From_int((int)(wxID_UNINDENT
)));
48281 PyDict_SetItemString(d
,"ID_ZOOM_100", SWIG_From_int((int)(wxID_ZOOM_100
)));
48284 PyDict_SetItemString(d
,"ID_ZOOM_FIT", SWIG_From_int((int)(wxID_ZOOM_FIT
)));
48287 PyDict_SetItemString(d
,"ID_ZOOM_IN", SWIG_From_int((int)(wxID_ZOOM_IN
)));
48290 PyDict_SetItemString(d
,"ID_ZOOM_OUT", SWIG_From_int((int)(wxID_ZOOM_OUT
)));
48293 PyDict_SetItemString(d
,"ID_UNDELETE", SWIG_From_int((int)(wxID_UNDELETE
)));
48296 PyDict_SetItemString(d
,"ID_REVERT_TO_SAVED", SWIG_From_int((int)(wxID_REVERT_TO_SAVED
)));
48299 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_From_int((int)(wxID_HIGHEST
)));
48302 PyDict_SetItemString(d
,"OPEN", SWIG_From_int((int)(wxOPEN
)));
48305 PyDict_SetItemString(d
,"SAVE", SWIG_From_int((int)(wxSAVE
)));
48308 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_From_int((int)(wxHIDE_READONLY
)));
48311 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_From_int((int)(wxOVERWRITE_PROMPT
)));
48314 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_From_int((int)(wxFILE_MUST_EXIST
)));
48317 PyDict_SetItemString(d
,"MULTIPLE", SWIG_From_int((int)(wxMULTIPLE
)));
48320 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_From_int((int)(wxCHANGE_DIR
)));
48323 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_From_int((int)(wxACCEL_ALT
)));
48326 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_From_int((int)(wxACCEL_CTRL
)));
48329 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_From_int((int)(wxACCEL_SHIFT
)));
48332 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_From_int((int)(wxACCEL_NORMAL
)));
48335 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_From_int((int)(wxPD_AUTO_HIDE
)));
48338 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_From_int((int)(wxPD_APP_MODAL
)));
48341 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_From_int((int)(wxPD_CAN_ABORT
)));
48344 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_From_int((int)(wxPD_ELAPSED_TIME
)));
48347 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_From_int((int)(wxPD_ESTIMATED_TIME
)));
48350 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_From_int((int)(wxPD_REMAINING_TIME
)));
48353 PyDict_SetItemString(d
,"PD_SMOOTH", SWIG_From_int((int)(wxPD_SMOOTH
)));
48356 PyDict_SetItemString(d
,"PD_CAN_SKIP", SWIG_From_int((int)(wxPD_CAN_SKIP
)));
48359 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)(wxDD_NEW_DIR_BUTTON
)));
48362 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_From_int((int)(wxDD_DEFAULT_STYLE
)));
48365 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_From_int((int)(wxMENU_TEAROFF
)));
48368 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_From_int((int)(wxMB_DOCKABLE
)));
48371 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxNO_FULL_REPAINT_ON_RESIZE
)));
48374 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxFULL_REPAINT_ON_RESIZE
)));
48377 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_From_int((int)(wxLI_HORIZONTAL
)));
48380 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_From_int((int)(wxLI_VERTICAL
)));
48383 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)(wxWS_EX_VALIDATE_RECURSIVELY
)));
48386 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)(wxWS_EX_BLOCK_EVENTS
)));
48389 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_From_int((int)(wxWS_EX_TRANSIENT
)));
48392 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)(wxWS_EX_THEMED_BACKGROUND
)));
48395 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)(wxWS_EX_PROCESS_IDLE
)));
48398 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)(wxWS_EX_PROCESS_UI_UPDATES
)));
48401 PyDict_SetItemString(d
,"MM_TEXT", SWIG_From_int((int)(wxMM_TEXT
)));
48404 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_From_int((int)(wxMM_LOMETRIC
)));
48407 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_From_int((int)(wxMM_HIMETRIC
)));
48410 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_From_int((int)(wxMM_LOENGLISH
)));
48413 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_From_int((int)(wxMM_HIENGLISH
)));
48416 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_From_int((int)(wxMM_TWIPS
)));
48419 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_From_int((int)(wxMM_ISOTROPIC
)));
48422 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_From_int((int)(wxMM_ANISOTROPIC
)));
48425 PyDict_SetItemString(d
,"MM_POINTS", SWIG_From_int((int)(wxMM_POINTS
)));
48428 PyDict_SetItemString(d
,"MM_METRIC", SWIG_From_int((int)(wxMM_METRIC
)));
48431 PyDict_SetItemString(d
,"CENTRE", SWIG_From_int((int)(wxCENTRE
)));
48434 PyDict_SetItemString(d
,"CENTER", SWIG_From_int((int)(wxCENTER
)));
48437 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_From_int((int)(wxHORIZONTAL
)));
48440 PyDict_SetItemString(d
,"VERTICAL", SWIG_From_int((int)(wxVERTICAL
)));
48443 PyDict_SetItemString(d
,"BOTH", SWIG_From_int((int)(wxBOTH
)));
48446 PyDict_SetItemString(d
,"LEFT", SWIG_From_int((int)(wxLEFT
)));
48449 PyDict_SetItemString(d
,"RIGHT", SWIG_From_int((int)(wxRIGHT
)));
48452 PyDict_SetItemString(d
,"UP", SWIG_From_int((int)(wxUP
)));
48455 PyDict_SetItemString(d
,"DOWN", SWIG_From_int((int)(wxDOWN
)));
48458 PyDict_SetItemString(d
,"TOP", SWIG_From_int((int)(wxTOP
)));
48461 PyDict_SetItemString(d
,"BOTTOM", SWIG_From_int((int)(wxBOTTOM
)));
48464 PyDict_SetItemString(d
,"NORTH", SWIG_From_int((int)(wxNORTH
)));
48467 PyDict_SetItemString(d
,"SOUTH", SWIG_From_int((int)(wxSOUTH
)));
48470 PyDict_SetItemString(d
,"WEST", SWIG_From_int((int)(wxWEST
)));
48473 PyDict_SetItemString(d
,"EAST", SWIG_From_int((int)(wxEAST
)));
48476 PyDict_SetItemString(d
,"ALL", SWIG_From_int((int)(wxALL
)));
48479 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_From_int((int)(wxALIGN_NOT
)));
48482 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTER_HORIZONTAL
)));
48485 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTRE_HORIZONTAL
)));
48488 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_From_int((int)(wxALIGN_LEFT
)));
48491 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_From_int((int)(wxALIGN_TOP
)));
48494 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_From_int((int)(wxALIGN_RIGHT
)));
48497 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_From_int((int)(wxALIGN_BOTTOM
)));
48500 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTER_VERTICAL
)));
48503 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTRE_VERTICAL
)));
48506 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_From_int((int)(wxALIGN_CENTER
)));
48509 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_From_int((int)(wxALIGN_CENTRE
)));
48512 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_From_int((int)(wxALIGN_MASK
)));
48515 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_From_int((int)(wxSTRETCH_NOT
)));
48518 PyDict_SetItemString(d
,"SHRINK", SWIG_From_int((int)(wxSHRINK
)));
48521 PyDict_SetItemString(d
,"GROW", SWIG_From_int((int)(wxGROW
)));
48524 PyDict_SetItemString(d
,"EXPAND", SWIG_From_int((int)(wxEXPAND
)));
48527 PyDict_SetItemString(d
,"SHAPED", SWIG_From_int((int)(wxSHAPED
)));
48530 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_From_int((int)(wxFIXED_MINSIZE
)));
48533 PyDict_SetItemString(d
,"TILE", SWIG_From_int((int)(wxTILE
)));
48536 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_From_int((int)(wxADJUST_MINSIZE
)));
48539 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_From_int((int)(wxBORDER_DEFAULT
)));
48542 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_From_int((int)(wxBORDER_NONE
)));
48545 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_From_int((int)(wxBORDER_STATIC
)));
48548 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_From_int((int)(wxBORDER_SIMPLE
)));
48551 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_From_int((int)(wxBORDER_RAISED
)));
48554 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_From_int((int)(wxBORDER_SUNKEN
)));
48557 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_From_int((int)(wxBORDER_DOUBLE
)));
48560 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_From_int((int)(wxBORDER_MASK
)));
48563 PyDict_SetItemString(d
,"BG_STYLE_SYSTEM", SWIG_From_int((int)(wxBG_STYLE_SYSTEM
)));
48566 PyDict_SetItemString(d
,"BG_STYLE_COLOUR", SWIG_From_int((int)(wxBG_STYLE_COLOUR
)));
48569 PyDict_SetItemString(d
,"BG_STYLE_CUSTOM", SWIG_From_int((int)(wxBG_STYLE_CUSTOM
)));
48572 PyDict_SetItemString(d
,"DEFAULT", SWIG_From_int((int)(wxDEFAULT
)));
48575 PyDict_SetItemString(d
,"DECORATIVE", SWIG_From_int((int)(wxDECORATIVE
)));
48578 PyDict_SetItemString(d
,"ROMAN", SWIG_From_int((int)(wxROMAN
)));
48581 PyDict_SetItemString(d
,"SCRIPT", SWIG_From_int((int)(wxSCRIPT
)));
48584 PyDict_SetItemString(d
,"SWISS", SWIG_From_int((int)(wxSWISS
)));
48587 PyDict_SetItemString(d
,"MODERN", SWIG_From_int((int)(wxMODERN
)));
48590 PyDict_SetItemString(d
,"TELETYPE", SWIG_From_int((int)(wxTELETYPE
)));
48593 PyDict_SetItemString(d
,"VARIABLE", SWIG_From_int((int)(wxVARIABLE
)));
48596 PyDict_SetItemString(d
,"FIXED", SWIG_From_int((int)(wxFIXED
)));
48599 PyDict_SetItemString(d
,"NORMAL", SWIG_From_int((int)(wxNORMAL
)));
48602 PyDict_SetItemString(d
,"LIGHT", SWIG_From_int((int)(wxLIGHT
)));
48605 PyDict_SetItemString(d
,"BOLD", SWIG_From_int((int)(wxBOLD
)));
48608 PyDict_SetItemString(d
,"ITALIC", SWIG_From_int((int)(wxITALIC
)));
48611 PyDict_SetItemString(d
,"SLANT", SWIG_From_int((int)(wxSLANT
)));
48614 PyDict_SetItemString(d
,"SOLID", SWIG_From_int((int)(wxSOLID
)));
48617 PyDict_SetItemString(d
,"DOT", SWIG_From_int((int)(wxDOT
)));
48620 PyDict_SetItemString(d
,"LONG_DASH", SWIG_From_int((int)(wxLONG_DASH
)));
48623 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_From_int((int)(wxSHORT_DASH
)));
48626 PyDict_SetItemString(d
,"DOT_DASH", SWIG_From_int((int)(wxDOT_DASH
)));
48629 PyDict_SetItemString(d
,"USER_DASH", SWIG_From_int((int)(wxUSER_DASH
)));
48632 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_From_int((int)(wxTRANSPARENT
)));
48635 PyDict_SetItemString(d
,"STIPPLE", SWIG_From_int((int)(wxSTIPPLE
)));
48638 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_From_int((int)(wxBDIAGONAL_HATCH
)));
48641 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_From_int((int)(wxCROSSDIAG_HATCH
)));
48644 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_From_int((int)(wxFDIAGONAL_HATCH
)));
48647 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_From_int((int)(wxCROSS_HATCH
)));
48650 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_From_int((int)(wxHORIZONTAL_HATCH
)));
48653 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_From_int((int)(wxVERTICAL_HATCH
)));
48656 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_From_int((int)(wxJOIN_BEVEL
)));
48659 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_From_int((int)(wxJOIN_MITER
)));
48662 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_From_int((int)(wxJOIN_ROUND
)));
48665 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_From_int((int)(wxCAP_ROUND
)));
48668 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_From_int((int)(wxCAP_PROJECTING
)));
48671 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_From_int((int)(wxCAP_BUTT
)));
48674 PyDict_SetItemString(d
,"CLEAR", SWIG_From_int((int)(wxCLEAR
)));
48677 PyDict_SetItemString(d
,"XOR", SWIG_From_int((int)(wxXOR
)));
48680 PyDict_SetItemString(d
,"INVERT", SWIG_From_int((int)(wxINVERT
)));
48683 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_From_int((int)(wxOR_REVERSE
)));
48686 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_From_int((int)(wxAND_REVERSE
)));
48689 PyDict_SetItemString(d
,"COPY", SWIG_From_int((int)(wxCOPY
)));
48692 PyDict_SetItemString(d
,"AND", SWIG_From_int((int)(wxAND
)));
48695 PyDict_SetItemString(d
,"AND_INVERT", SWIG_From_int((int)(wxAND_INVERT
)));
48698 PyDict_SetItemString(d
,"NO_OP", SWIG_From_int((int)(wxNO_OP
)));
48701 PyDict_SetItemString(d
,"NOR", SWIG_From_int((int)(wxNOR
)));
48704 PyDict_SetItemString(d
,"EQUIV", SWIG_From_int((int)(wxEQUIV
)));
48707 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_From_int((int)(wxSRC_INVERT
)));
48710 PyDict_SetItemString(d
,"OR_INVERT", SWIG_From_int((int)(wxOR_INVERT
)));
48713 PyDict_SetItemString(d
,"NAND", SWIG_From_int((int)(wxNAND
)));
48716 PyDict_SetItemString(d
,"OR", SWIG_From_int((int)(wxOR
)));
48719 PyDict_SetItemString(d
,"SET", SWIG_From_int((int)(wxSET
)));
48722 PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)(WXK_BACK
)));
48725 PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)(WXK_TAB
)));
48728 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)(WXK_RETURN
)));
48731 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)(WXK_ESCAPE
)));
48734 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)(WXK_SPACE
)));
48737 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)(WXK_DELETE
)));
48740 PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)(WXK_START
)));
48743 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)(WXK_LBUTTON
)));
48746 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)(WXK_RBUTTON
)));
48749 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)(WXK_CANCEL
)));
48752 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)(WXK_MBUTTON
)));
48755 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)(WXK_CLEAR
)));
48758 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)(WXK_SHIFT
)));
48761 PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)(WXK_ALT
)));
48764 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)(WXK_CONTROL
)));
48767 PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)(WXK_MENU
)));
48770 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)(WXK_PAUSE
)));
48773 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)(WXK_CAPITAL
)));
48776 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)(WXK_PRIOR
)));
48779 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)(WXK_NEXT
)));
48782 PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)(WXK_END
)));
48785 PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)(WXK_HOME
)));
48788 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)(WXK_LEFT
)));
48791 PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)(WXK_UP
)));
48794 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)(WXK_RIGHT
)));
48797 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)(WXK_DOWN
)));
48800 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)(WXK_SELECT
)));
48803 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)(WXK_PRINT
)));
48806 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)(WXK_EXECUTE
)));
48809 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)(WXK_SNAPSHOT
)));
48812 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)(WXK_INSERT
)));
48815 PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)(WXK_HELP
)));
48818 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)(WXK_NUMPAD0
)));
48821 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)(WXK_NUMPAD1
)));
48824 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)(WXK_NUMPAD2
)));
48827 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)(WXK_NUMPAD3
)));
48830 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)(WXK_NUMPAD4
)));
48833 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)(WXK_NUMPAD5
)));
48836 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)(WXK_NUMPAD6
)));
48839 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)(WXK_NUMPAD7
)));
48842 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)(WXK_NUMPAD8
)));
48845 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)(WXK_NUMPAD9
)));
48848 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)(WXK_MULTIPLY
)));
48851 PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)(WXK_ADD
)));
48854 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)(WXK_SEPARATOR
)));
48857 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)(WXK_SUBTRACT
)));
48860 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)(WXK_DECIMAL
)));
48863 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)(WXK_DIVIDE
)));
48866 PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)(WXK_F1
)));
48869 PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)(WXK_F2
)));
48872 PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)(WXK_F3
)));
48875 PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)(WXK_F4
)));
48878 PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)(WXK_F5
)));
48881 PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)(WXK_F6
)));
48884 PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)(WXK_F7
)));
48887 PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)(WXK_F8
)));
48890 PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)(WXK_F9
)));
48893 PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)(WXK_F10
)));
48896 PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)(WXK_F11
)));
48899 PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)(WXK_F12
)));
48902 PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)(WXK_F13
)));
48905 PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)(WXK_F14
)));
48908 PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)(WXK_F15
)));
48911 PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)(WXK_F16
)));
48914 PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)(WXK_F17
)));
48917 PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)(WXK_F18
)));
48920 PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)(WXK_F19
)));
48923 PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)(WXK_F20
)));
48926 PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)(WXK_F21
)));
48929 PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)(WXK_F22
)));
48932 PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)(WXK_F23
)));
48935 PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)(WXK_F24
)));
48938 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)(WXK_NUMLOCK
)));
48941 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)(WXK_SCROLL
)));
48944 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)(WXK_PAGEUP
)));
48947 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)(WXK_PAGEDOWN
)));
48950 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)(WXK_NUMPAD_SPACE
)));
48953 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)(WXK_NUMPAD_TAB
)));
48956 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)(WXK_NUMPAD_ENTER
)));
48959 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)(WXK_NUMPAD_F1
)));
48962 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)(WXK_NUMPAD_F2
)));
48965 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)(WXK_NUMPAD_F3
)));
48968 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)(WXK_NUMPAD_F4
)));
48971 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)(WXK_NUMPAD_HOME
)));
48974 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)(WXK_NUMPAD_LEFT
)));
48977 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)(WXK_NUMPAD_UP
)));
48980 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)(WXK_NUMPAD_RIGHT
)));
48983 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)(WXK_NUMPAD_DOWN
)));
48986 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)(WXK_NUMPAD_PRIOR
)));
48989 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)(WXK_NUMPAD_PAGEUP
)));
48992 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)(WXK_NUMPAD_NEXT
)));
48995 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)(WXK_NUMPAD_PAGEDOWN
)));
48998 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)(WXK_NUMPAD_END
)));
49001 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)(WXK_NUMPAD_BEGIN
)));
49004 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)(WXK_NUMPAD_INSERT
)));
49007 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)(WXK_NUMPAD_DELETE
)));
49010 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)(WXK_NUMPAD_EQUAL
)));
49013 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)(WXK_NUMPAD_MULTIPLY
)));
49016 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)(WXK_NUMPAD_ADD
)));
49019 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)(WXK_NUMPAD_SEPARATOR
)));
49022 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)(WXK_NUMPAD_SUBTRACT
)));
49025 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)(WXK_NUMPAD_DECIMAL
)));
49028 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)(WXK_NUMPAD_DIVIDE
)));
49031 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)(WXK_WINDOWS_LEFT
)));
49034 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)(WXK_WINDOWS_RIGHT
)));
49037 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)(WXK_WINDOWS_MENU
)));
49040 PyDict_SetItemString(d
,"WXK_COMMAND", SWIG_From_int((int)(WXK_COMMAND
)));
49043 PyDict_SetItemString(d
,"WXK_SPECIAL1", SWIG_From_int((int)(WXK_SPECIAL1
)));
49046 PyDict_SetItemString(d
,"WXK_SPECIAL2", SWIG_From_int((int)(WXK_SPECIAL2
)));
49049 PyDict_SetItemString(d
,"WXK_SPECIAL3", SWIG_From_int((int)(WXK_SPECIAL3
)));
49052 PyDict_SetItemString(d
,"WXK_SPECIAL4", SWIG_From_int((int)(WXK_SPECIAL4
)));
49055 PyDict_SetItemString(d
,"WXK_SPECIAL5", SWIG_From_int((int)(WXK_SPECIAL5
)));
49058 PyDict_SetItemString(d
,"WXK_SPECIAL6", SWIG_From_int((int)(WXK_SPECIAL6
)));
49061 PyDict_SetItemString(d
,"WXK_SPECIAL7", SWIG_From_int((int)(WXK_SPECIAL7
)));
49064 PyDict_SetItemString(d
,"WXK_SPECIAL8", SWIG_From_int((int)(WXK_SPECIAL8
)));
49067 PyDict_SetItemString(d
,"WXK_SPECIAL9", SWIG_From_int((int)(WXK_SPECIAL9
)));
49070 PyDict_SetItemString(d
,"WXK_SPECIAL10", SWIG_From_int((int)(WXK_SPECIAL10
)));
49073 PyDict_SetItemString(d
,"WXK_SPECIAL11", SWIG_From_int((int)(WXK_SPECIAL11
)));
49076 PyDict_SetItemString(d
,"WXK_SPECIAL12", SWIG_From_int((int)(WXK_SPECIAL12
)));
49079 PyDict_SetItemString(d
,"WXK_SPECIAL13", SWIG_From_int((int)(WXK_SPECIAL13
)));
49082 PyDict_SetItemString(d
,"WXK_SPECIAL14", SWIG_From_int((int)(WXK_SPECIAL14
)));
49085 PyDict_SetItemString(d
,"WXK_SPECIAL15", SWIG_From_int((int)(WXK_SPECIAL15
)));
49088 PyDict_SetItemString(d
,"WXK_SPECIAL16", SWIG_From_int((int)(WXK_SPECIAL16
)));
49091 PyDict_SetItemString(d
,"WXK_SPECIAL17", SWIG_From_int((int)(WXK_SPECIAL17
)));
49094 PyDict_SetItemString(d
,"WXK_SPECIAL18", SWIG_From_int((int)(WXK_SPECIAL18
)));
49097 PyDict_SetItemString(d
,"WXK_SPECIAL19", SWIG_From_int((int)(WXK_SPECIAL19
)));
49100 PyDict_SetItemString(d
,"WXK_SPECIAL20", SWIG_From_int((int)(WXK_SPECIAL20
)));
49103 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_From_int((int)(wxPAPER_NONE
)));
49106 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_From_int((int)(wxPAPER_LETTER
)));
49109 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_From_int((int)(wxPAPER_LEGAL
)));
49112 PyDict_SetItemString(d
,"PAPER_A4", SWIG_From_int((int)(wxPAPER_A4
)));
49115 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_From_int((int)(wxPAPER_CSHEET
)));
49118 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_From_int((int)(wxPAPER_DSHEET
)));
49121 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_From_int((int)(wxPAPER_ESHEET
)));
49124 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_From_int((int)(wxPAPER_LETTERSMALL
)));
49127 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_From_int((int)(wxPAPER_TABLOID
)));
49130 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_From_int((int)(wxPAPER_LEDGER
)));
49133 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_From_int((int)(wxPAPER_STATEMENT
)));
49136 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_From_int((int)(wxPAPER_EXECUTIVE
)));
49139 PyDict_SetItemString(d
,"PAPER_A3", SWIG_From_int((int)(wxPAPER_A3
)));
49142 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_From_int((int)(wxPAPER_A4SMALL
)));
49145 PyDict_SetItemString(d
,"PAPER_A5", SWIG_From_int((int)(wxPAPER_A5
)));
49148 PyDict_SetItemString(d
,"PAPER_B4", SWIG_From_int((int)(wxPAPER_B4
)));
49151 PyDict_SetItemString(d
,"PAPER_B5", SWIG_From_int((int)(wxPAPER_B5
)));
49154 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_From_int((int)(wxPAPER_FOLIO
)));
49157 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_From_int((int)(wxPAPER_QUARTO
)));
49160 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_From_int((int)(wxPAPER_10X14
)));
49163 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_From_int((int)(wxPAPER_11X17
)));
49166 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_From_int((int)(wxPAPER_NOTE
)));
49169 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_From_int((int)(wxPAPER_ENV_9
)));
49172 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_From_int((int)(wxPAPER_ENV_10
)));
49175 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_From_int((int)(wxPAPER_ENV_11
)));
49178 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_From_int((int)(wxPAPER_ENV_12
)));
49181 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_From_int((int)(wxPAPER_ENV_14
)));
49184 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_From_int((int)(wxPAPER_ENV_DL
)));
49187 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_From_int((int)(wxPAPER_ENV_C5
)));
49190 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_From_int((int)(wxPAPER_ENV_C3
)));
49193 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_From_int((int)(wxPAPER_ENV_C4
)));
49196 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_From_int((int)(wxPAPER_ENV_C6
)));
49199 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_From_int((int)(wxPAPER_ENV_C65
)));
49202 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_From_int((int)(wxPAPER_ENV_B4
)));
49205 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_From_int((int)(wxPAPER_ENV_B5
)));
49208 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_From_int((int)(wxPAPER_ENV_B6
)));
49211 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_From_int((int)(wxPAPER_ENV_ITALY
)));
49214 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_From_int((int)(wxPAPER_ENV_MONARCH
)));
49217 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_From_int((int)(wxPAPER_ENV_PERSONAL
)));
49220 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_From_int((int)(wxPAPER_FANFOLD_US
)));
49223 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_STD_GERMAN
)));
49226 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_LGL_GERMAN
)));
49229 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_From_int((int)(wxPAPER_ISO_B4
)));
49232 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)(wxPAPER_JAPANESE_POSTCARD
)));
49235 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_From_int((int)(wxPAPER_9X11
)));
49238 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_From_int((int)(wxPAPER_10X11
)));
49241 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_From_int((int)(wxPAPER_15X11
)));
49244 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_From_int((int)(wxPAPER_ENV_INVITE
)));
49247 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA
)));
49250 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)(wxPAPER_LEGAL_EXTRA
)));
49253 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)(wxPAPER_TABLOID_EXTRA
)));
49256 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_From_int((int)(wxPAPER_A4_EXTRA
)));
49259 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_TRANSVERSE
)));
49262 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A4_TRANSVERSE
)));
49265 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA_TRANSVERSE
)));
49268 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_From_int((int)(wxPAPER_A_PLUS
)));
49271 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_From_int((int)(wxPAPER_B_PLUS
)));
49274 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_From_int((int)(wxPAPER_LETTER_PLUS
)));
49277 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_From_int((int)(wxPAPER_A4_PLUS
)));
49280 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A5_TRANSVERSE
)));
49283 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_B5_TRANSVERSE
)));
49286 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_From_int((int)(wxPAPER_A3_EXTRA
)));
49289 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_From_int((int)(wxPAPER_A5_EXTRA
)));
49292 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_From_int((int)(wxPAPER_B5_EXTRA
)));
49295 PyDict_SetItemString(d
,"PAPER_A2", SWIG_From_int((int)(wxPAPER_A2
)));
49298 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_TRANSVERSE
)));
49301 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_EXTRA_TRANSVERSE
)));
49304 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_From_int((int)(wxDUPLEX_SIMPLEX
)));
49307 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_From_int((int)(wxDUPLEX_HORIZONTAL
)));
49310 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_From_int((int)(wxDUPLEX_VERTICAL
)));
49313 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_From_int((int)(wxITEM_SEPARATOR
)));
49316 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_From_int((int)(wxITEM_NORMAL
)));
49319 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_From_int((int)(wxITEM_CHECK
)));
49322 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_From_int((int)(wxITEM_RADIO
)));
49325 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_From_int((int)(wxITEM_MAX
)));
49328 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_From_int((int)(wxHT_NOWHERE
)));
49331 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)(wxHT_SCROLLBAR_FIRST
)));
49334 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_1
)));
49337 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_2
)));
49340 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_1
)));
49343 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_2
)));
49346 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)(wxHT_SCROLLBAR_THUMB
)));
49349 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_1
)));
49352 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_2
)));
49355 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_From_int((int)(wxHT_SCROLLBAR_LAST
)));
49358 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)(wxHT_WINDOW_OUTSIDE
)));
49361 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_From_int((int)(wxHT_WINDOW_INSIDE
)));
49364 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_VERT_SCROLLBAR
)));
49367 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_HORZ_SCROLLBAR
)));
49370 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_From_int((int)(wxHT_WINDOW_CORNER
)));
49373 PyDict_SetItemString(d
,"HT_MAX", SWIG_From_int((int)(wxHT_MAX
)));
49376 PyDict_SetItemString(d
,"MOD_NONE", SWIG_From_int((int)(wxMOD_NONE
)));
49379 PyDict_SetItemString(d
,"MOD_ALT", SWIG_From_int((int)(wxMOD_ALT
)));
49382 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_From_int((int)(wxMOD_CONTROL
)));
49385 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_From_int((int)(wxMOD_SHIFT
)));
49388 PyDict_SetItemString(d
,"MOD_WIN", SWIG_From_int((int)(wxMOD_WIN
)));
49391 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_From_int((int)(wxUPDATE_UI_NONE
)));
49394 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_From_int((int)(wxUPDATE_UI_RECURSE
)));
49397 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)(wxUPDATE_UI_FROMIDLE
)));
49399 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
49400 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
49402 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_From_int((int)(wxBITMAP_TYPE_INVALID
)));
49405 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_From_int((int)(wxBITMAP_TYPE_BMP
)));
49408 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_From_int((int)(wxBITMAP_TYPE_ICO
)));
49411 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_From_int((int)(wxBITMAP_TYPE_CUR
)));
49414 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_From_int((int)(wxBITMAP_TYPE_XBM
)));
49417 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XBM_DATA
)));
49420 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_From_int((int)(wxBITMAP_TYPE_XPM
)));
49423 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XPM_DATA
)));
49426 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_From_int((int)(wxBITMAP_TYPE_TIF
)));
49429 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_From_int((int)(wxBITMAP_TYPE_GIF
)));
49432 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_From_int((int)(wxBITMAP_TYPE_PNG
)));
49435 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_From_int((int)(wxBITMAP_TYPE_JPEG
)));
49438 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_From_int((int)(wxBITMAP_TYPE_PNM
)));
49441 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_From_int((int)(wxBITMAP_TYPE_PCX
)));
49444 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_From_int((int)(wxBITMAP_TYPE_PICT
)));
49447 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_From_int((int)(wxBITMAP_TYPE_ICON
)));
49450 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_From_int((int)(wxBITMAP_TYPE_ANI
)));
49453 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_From_int((int)(wxBITMAP_TYPE_IFF
)));
49456 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)(wxBITMAP_TYPE_MACCURSOR
)));
49459 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_From_int((int)(wxBITMAP_TYPE_ANY
)));
49462 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_From_int((int)(wxCURSOR_NONE
)));
49465 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_From_int((int)(wxCURSOR_ARROW
)));
49468 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)(wxCURSOR_RIGHT_ARROW
)));
49471 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_From_int((int)(wxCURSOR_BULLSEYE
)));
49474 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_From_int((int)(wxCURSOR_CHAR
)));
49477 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_From_int((int)(wxCURSOR_CROSS
)));
49480 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_From_int((int)(wxCURSOR_HAND
)));
49483 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_From_int((int)(wxCURSOR_IBEAM
)));
49486 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)(wxCURSOR_LEFT_BUTTON
)));
49489 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_From_int((int)(wxCURSOR_MAGNIFIER
)));
49492 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)(wxCURSOR_MIDDLE_BUTTON
)));
49495 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_From_int((int)(wxCURSOR_NO_ENTRY
)));
49498 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)(wxCURSOR_PAINT_BRUSH
)));
49501 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_From_int((int)(wxCURSOR_PENCIL
)));
49504 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_From_int((int)(wxCURSOR_POINT_LEFT
)));
49507 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_From_int((int)(wxCURSOR_POINT_RIGHT
)));
49510 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)(wxCURSOR_QUESTION_ARROW
)));
49513 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)(wxCURSOR_RIGHT_BUTTON
)));
49516 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_From_int((int)(wxCURSOR_SIZENESW
)));
49519 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_From_int((int)(wxCURSOR_SIZENS
)));
49522 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_From_int((int)(wxCURSOR_SIZENWSE
)));
49525 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_From_int((int)(wxCURSOR_SIZEWE
)));
49528 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_From_int((int)(wxCURSOR_SIZING
)));
49531 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_From_int((int)(wxCURSOR_SPRAYCAN
)));
49534 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_From_int((int)(wxCURSOR_WAIT
)));
49537 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_From_int((int)(wxCURSOR_WATCH
)));
49540 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_From_int((int)(wxCURSOR_BLANK
)));
49543 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_From_int((int)(wxCURSOR_DEFAULT
)));
49546 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_From_int((int)(wxCURSOR_COPY_ARROW
)));
49549 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_From_int((int)(wxCURSOR_ARROWWAIT
)));
49552 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_From_int((int)(wxCURSOR_MAX
)));
49554 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
49555 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
49557 PyDict_SetItemString(d
,"FromStart", SWIG_From_int((int)(wxFromStart
)));
49560 PyDict_SetItemString(d
,"FromCurrent", SWIG_From_int((int)(wxFromCurrent
)));
49563 PyDict_SetItemString(d
,"FromEnd", SWIG_From_int((int)(wxFromEnd
)));
49566 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
49569 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
49572 PyDict_SetItemString(d
,"IMAGE_ALPHA_TRANSPARENT", SWIG_From_int((int)(wxIMAGE_ALPHA_TRANSPARENT
)));
49575 PyDict_SetItemString(d
,"IMAGE_ALPHA_THRESHOLD", SWIG_From_int((int)(wxIMAGE_ALPHA_THRESHOLD
)));
49578 PyDict_SetItemString(d
,"IMAGE_ALPHA_OPAQUE", SWIG_From_int((int)(wxIMAGE_ALPHA_OPAQUE
)));
49580 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
49581 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_FILENAME",_wrap_IMAGE_OPTION_FILENAME_get
, _wrap_IMAGE_OPTION_FILENAME_set
);
49582 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
49583 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
49584 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
49585 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
49586 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONX",_wrap_IMAGE_OPTION_RESOLUTIONX_get
, _wrap_IMAGE_OPTION_RESOLUTIONX_set
);
49587 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONY",_wrap_IMAGE_OPTION_RESOLUTIONY_get
, _wrap_IMAGE_OPTION_RESOLUTIONY_set
);
49588 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
49589 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_QUALITY",_wrap_IMAGE_OPTION_QUALITY_get
, _wrap_IMAGE_OPTION_QUALITY_set
);
49591 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)(wxIMAGE_RESOLUTION_INCHES
)));
49594 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)(wxIMAGE_RESOLUTION_CM
)));
49596 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BITSPERSAMPLE",_wrap_IMAGE_OPTION_BITSPERSAMPLE_get
, _wrap_IMAGE_OPTION_BITSPERSAMPLE_set
);
49597 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_SAMPLESPERPIXEL",_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get
, _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set
);
49598 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_COMPRESSION",_wrap_IMAGE_OPTION_COMPRESSION_get
, _wrap_IMAGE_OPTION_COMPRESSION_set
);
49599 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_IMAGEDESCRIPTOR",_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get
, _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set
);
49600 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_PNG_FORMAT",_wrap_IMAGE_OPTION_PNG_FORMAT_get
, _wrap_IMAGE_OPTION_PNG_FORMAT_set
);
49601 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_PNG_BITDEPTH",_wrap_IMAGE_OPTION_PNG_BITDEPTH_get
, _wrap_IMAGE_OPTION_PNG_BITDEPTH_set
);
49603 PyDict_SetItemString(d
,"PNG_TYPE_COLOUR", SWIG_From_int((int)(wxPNG_TYPE_COLOUR
)));
49606 PyDict_SetItemString(d
,"PNG_TYPE_GREY", SWIG_From_int((int)(wxPNG_TYPE_GREY
)));
49609 PyDict_SetItemString(d
,"PNG_TYPE_GREY_RED", SWIG_From_int((int)(wxPNG_TYPE_GREY_RED
)));
49612 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_From_int((int)(wxBMP_24BPP
)));
49615 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_From_int((int)(wxBMP_8BPP
)));
49618 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_From_int((int)(wxBMP_8BPP_GREY
)));
49621 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_From_int((int)(wxBMP_8BPP_GRAY
)));
49624 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_From_int((int)(wxBMP_8BPP_RED
)));
49627 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_From_int((int)(wxBMP_8BPP_PALETTE
)));
49630 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_From_int((int)(wxBMP_4BPP
)));
49633 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_From_int((int)(wxBMP_1BPP
)));
49636 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_From_int((int)(wxBMP_1BPP_BW
)));
49639 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
)));
49642 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)(wxQUANTIZE_FILL_DESTINATION_IMAGE
)));
49645 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)(wxEVENT_PROPAGATE_NONE
)));
49648 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)(wxEVENT_PROPAGATE_MAX
)));
49650 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
49651 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
49652 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
49653 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
49654 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
49655 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
49656 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
49657 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
49658 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
49659 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
49660 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
49661 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
49662 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
49663 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
49664 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
49665 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
49666 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
49667 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
49668 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
49669 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
49670 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
49671 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
49672 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
49673 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
49674 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
49675 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
49676 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
49677 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
49678 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
49679 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
49680 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
49681 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
49682 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
49683 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
49684 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
49685 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
49686 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
49687 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
49688 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
49689 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
49690 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
49691 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
49692 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
49693 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
49694 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
49695 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
49696 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
49697 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
49698 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
49699 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
49700 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
49701 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
49702 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
49703 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
49704 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
49705 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
49706 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
49707 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
49708 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
49709 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
49710 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
49711 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
49712 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
49713 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
49714 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
49715 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
49716 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
49717 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
49718 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
49719 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
49720 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
49721 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
49722 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
49723 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
49724 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
49725 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
49726 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
49727 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
49728 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
49729 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
49730 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
49731 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
49732 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
49733 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
49734 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
49735 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
49736 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
49737 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
49738 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
49739 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
49740 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
49741 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
49742 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
49743 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
49744 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
49745 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
49746 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
49747 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
49748 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
49749 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
49750 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
49751 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
49752 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
49753 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
49754 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
49755 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
49756 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
49757 PyDict_SetItemString(d
, "wxEVT_HIBERNATE", PyInt_FromLong(wxEVT_HIBERNATE
));
49758 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
49759 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
49760 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
49761 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
49762 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
49763 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
49764 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
49766 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_From_int((int)(wxMOUSE_BTN_ANY
)));
49769 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_From_int((int)(wxMOUSE_BTN_NONE
)));
49772 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_From_int((int)(wxMOUSE_BTN_LEFT
)));
49775 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)(wxMOUSE_BTN_MIDDLE
)));
49778 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_From_int((int)(wxMOUSE_BTN_RIGHT
)));
49781 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_ALL
)));
49784 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_SPECIFIED
)));
49787 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)(wxNavigationKeyEvent::IsBackward
)));
49790 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_From_int((int)(wxNavigationKeyEvent::IsForward
)));
49793 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_From_int((int)(wxNavigationKeyEvent::WinChange
)));
49796 PyDict_SetItemString(d
,"NavigationKeyEvent_FromTab", SWIG_From_int((int)(wxNavigationKeyEvent::FromTab
)));
49799 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_From_int((int)(wxIDLE_PROCESS_ALL
)));
49802 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)(wxIDLE_PROCESS_SPECIFIED
)));
49804 PyDict_SetItemString(d
, "wxEVT_DATE_CHANGED", PyInt_FromLong(wxEVT_DATE_CHANGED
));
49806 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)(wxPYAPP_ASSERT_SUPPRESS
)));
49809 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)(wxPYAPP_ASSERT_EXCEPTION
)));
49812 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)(wxPYAPP_ASSERT_DIALOG
)));
49815 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_From_int((int)(wxPYAPP_ASSERT_LOG
)));
49818 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_From_int((int)(wxPRINT_WINDOWS
)));
49821 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_From_int((int)(wxPRINT_POSTSCRIPT
)));
49823 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
49824 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
49826 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)(wxWINDOW_VARIANT_NORMAL
)));
49829 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)(wxWINDOW_VARIANT_SMALL
)));
49832 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_From_int((int)(wxWINDOW_VARIANT_MINI
)));
49835 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)(wxWINDOW_VARIANT_LARGE
)));
49838 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_From_int((int)(wxWINDOW_VARIANT_MAX
)));
49840 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
49841 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
49843 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_From_int((int)(wxFLEX_GROWMODE_NONE
)));
49846 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)(wxFLEX_GROWMODE_SPECIFIED
)));
49849 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_From_int((int)(wxFLEX_GROWMODE_ALL
)));
49851 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
49853 PyDict_SetItemString(d
,"Left", SWIG_From_int((int)(wxLeft
)));
49856 PyDict_SetItemString(d
,"Top", SWIG_From_int((int)(wxTop
)));
49859 PyDict_SetItemString(d
,"Right", SWIG_From_int((int)(wxRight
)));
49862 PyDict_SetItemString(d
,"Bottom", SWIG_From_int((int)(wxBottom
)));
49865 PyDict_SetItemString(d
,"Width", SWIG_From_int((int)(wxWidth
)));
49868 PyDict_SetItemString(d
,"Height", SWIG_From_int((int)(wxHeight
)));
49871 PyDict_SetItemString(d
,"Centre", SWIG_From_int((int)(wxCentre
)));
49874 PyDict_SetItemString(d
,"Center", SWIG_From_int((int)(wxCenter
)));
49877 PyDict_SetItemString(d
,"CentreX", SWIG_From_int((int)(wxCentreX
)));
49880 PyDict_SetItemString(d
,"CentreY", SWIG_From_int((int)(wxCentreY
)));
49883 PyDict_SetItemString(d
,"Unconstrained", SWIG_From_int((int)(wxUnconstrained
)));
49886 PyDict_SetItemString(d
,"AsIs", SWIG_From_int((int)(wxAsIs
)));
49889 PyDict_SetItemString(d
,"PercentOf", SWIG_From_int((int)(wxPercentOf
)));
49892 PyDict_SetItemString(d
,"Above", SWIG_From_int((int)(wxAbove
)));
49895 PyDict_SetItemString(d
,"Below", SWIG_From_int((int)(wxBelow
)));
49898 PyDict_SetItemString(d
,"LeftOf", SWIG_From_int((int)(wxLeftOf
)));
49901 PyDict_SetItemString(d
,"RightOf", SWIG_From_int((int)(wxRightOf
)));
49904 PyDict_SetItemString(d
,"SameAs", SWIG_From_int((int)(wxSameAs
)));
49907 PyDict_SetItemString(d
,"Absolute", SWIG_From_int((int)(wxAbsolute
)));
49910 // Initialize threading, some globals and such
49914 // Although these are defined in __version__ they need to be here too so
49915 // that an assert can be done to ensure that the wxPython and the wxWindows
49917 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
49918 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
49919 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));