1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1045 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1047 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1051 SWIGRUNTIMEINLINE
void
1052 SWIG_Python_NullRef(const char *type
)
1055 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1057 PyErr_Format(PyExc_TypeError
, "null reference was received");
1062 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1064 if (PyErr_Occurred()) {
1066 PyObject
*value
= 0;
1067 PyObject
*traceback
= 0;
1068 PyErr_Fetch(&type
, &value
, &traceback
);
1070 PyObject
*old_str
= PyObject_Str(value
);
1074 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1076 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1087 SWIG_Python_ArgFail(int argnum
)
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1092 sprintf(mesg
, "argument number %d:", argnum
);
1093 return SWIG_Python_AddErrMesg(mesg
, 1);
1100 /* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
1104 /* Convert a pointer value */
1106 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1109 static PyObject
*SWIG_this
= 0;
1111 PyObject
*pyobj
= 0;
1115 if (obj
== Py_None
) {
1120 #ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj
))) {
1123 SWIG_this
= PyString_FromString("this");
1125 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1127 if (!obj
) goto type_error
;
1128 if (!PySwigObject_Check(obj
)) {
1133 vptr
= PySwigObject_AsVoidPtr(obj
);
1134 c
= (const char *) PySwigObject_GetDesc(obj
);
1135 if (newref
) { Py_DECREF(obj
); }
1138 if (!(PyString_Check(obj
))) {
1140 SWIG_this
= PyString_FromString("this");
1142 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1144 if (!obj
) goto type_error
;
1145 if (!PyString_Check(obj
)) {
1150 c
= PyString_AS_STRING(obj
);
1151 /* Pointer values must start with leading underscore */
1152 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1153 if (newref
) { Py_DECREF(obj
); }
1154 if (!c
) goto type_error
;
1160 tc
= SWIG_TypeCheck(c
,ty
);
1161 if (!tc
) goto type_error
;
1162 *ptr
= SWIG_TypeCast(tc
,vptr
);
1167 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1168 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1174 if (pyobj
&& !obj
) {
1176 if (PyCFunction_Check(obj
)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1179 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1181 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1182 if (!c
) goto type_error
;
1187 if (flags
& SWIG_POINTER_EXCEPTION
) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1191 SWIG_Python_TypeError("C/C++ pointer", obj
);
1197 /* Convert a pointer value, signal an exception on a type mismatch */
1199 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1201 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1203 if (flags
& SWIG_POINTER_EXCEPTION
) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1205 SWIG_Python_ArgFail(argnum
);
1211 /* Convert a packed value value */
1213 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1217 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1220 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1221 c
= PyString_AS_STRING(obj
);
1222 /* Pointer values must start with leading underscore */
1223 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1225 if (!c
) goto type_error
;
1227 tc
= SWIG_TypeCheck(c
,ty
);
1228 if (!tc
) goto type_error
;
1234 if (flags
& SWIG_POINTER_EXCEPTION
) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1238 SWIG_Python_TypeError("C/C++ packed data", obj
);
1244 /* Create a new array object */
1245 SWIGRUNTIME PyObject
*
1246 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1252 #ifdef SWIG_COBJECT_TYPES
1253 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1256 char result
[SWIG_BUFFER_SIZE
];
1257 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1258 PyString_FromString(result
) : 0;
1261 if (!robj
|| (robj
== Py_None
)) return robj
;
1262 if (type
->clientdata
) {
1264 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1266 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1270 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1278 SWIGRUNTIME PyObject
*
1279 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1285 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1289 char result
[SWIG_BUFFER_SIZE
];
1290 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1291 PyString_FromString(result
) : 0;
1297 /* -----------------------------------------------------------------------------*
1299 * -----------------------------------------------------------------------------*/
1301 #ifdef SWIG_LINK_RUNTIME
1302 void *SWIG_ReturnGlobalTypeList(void *);
1305 SWIGRUNTIME swig_type_info
**
1306 SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer
= (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer
) {
1310 #ifdef SWIG_LINK_RUNTIME
1311 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1313 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1315 if (PyErr_Occurred()) {
1317 type_pointer
= (void *)0;
1321 return (swig_type_info
**) type_pointer
;
1325 Search for a swig_type_info structure
1327 SWIGRUNTIMEINLINE swig_type_info
*
1328 SWIG_Python_GetTypeList() {
1329 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1330 return tlh
? *tlh
: (swig_type_info
*)0;
1333 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1340 /* -------- TYPES TABLE (BEGIN) -------- */
1342 #define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
1343 #define SWIGTYPE_p_wxRealPoint swig_types[1]
1344 #define SWIGTYPE_p_wxSizerItem swig_types[2]
1345 #define SWIGTYPE_p_wxGBSizerItem swig_types[3]
1346 #define SWIGTYPE_p_wxScrollEvent swig_types[4]
1347 #define SWIGTYPE_p_wxEventLoop swig_types[5]
1348 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[6]
1349 #define SWIGTYPE_p_wxSizer swig_types[7]
1350 #define SWIGTYPE_p_wxBoxSizer swig_types[8]
1351 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[9]
1352 #define SWIGTYPE_p_wxGridBagSizer swig_types[10]
1353 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[11]
1354 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[12]
1355 #define SWIGTYPE_p_wxEvent swig_types[13]
1356 #define SWIGTYPE_p_buffer swig_types[14]
1357 #define SWIGTYPE_p_wxMenu swig_types[15]
1358 #define SWIGTYPE_p_wxGridSizer swig_types[16]
1359 #define SWIGTYPE_p_wxFlexGridSizer swig_types[17]
1360 #define SWIGTYPE_p_wxInitDialogEvent swig_types[18]
1361 #define SWIGTYPE_p_wxItemContainer swig_types[19]
1362 #define SWIGTYPE_p_wxNcPaintEvent swig_types[20]
1363 #define SWIGTYPE_p_wxPaintEvent swig_types[21]
1364 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[22]
1365 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[23]
1366 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[24]
1367 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[25]
1368 #define SWIGTYPE_p_wxControl swig_types[26]
1369 #define SWIGTYPE_p_wxFont swig_types[27]
1370 #define SWIGTYPE_p_wxMenuBarBase swig_types[28]
1371 #define SWIGTYPE_p_wxSetCursorEvent swig_types[29]
1372 #define SWIGTYPE_p_wxFSFile swig_types[30]
1373 #define SWIGTYPE_p_wxCaret swig_types[31]
1374 #define SWIGTYPE_ptrdiff_t swig_types[32]
1375 #define SWIGTYPE_std__ptrdiff_t swig_types[33]
1376 #define SWIGTYPE_p_wxRegion swig_types[34]
1377 #define SWIGTYPE_p_wxPoint2D swig_types[35]
1378 #define SWIGTYPE_p_int swig_types[36]
1379 #define SWIGTYPE_p_wxSize swig_types[37]
1380 #define SWIGTYPE_p_wxDC swig_types[38]
1381 #define SWIGTYPE_p_wxPySizer swig_types[39]
1382 #define SWIGTYPE_p_wxVisualAttributes swig_types[40]
1383 #define SWIGTYPE_p_wxNotifyEvent swig_types[41]
1384 #define SWIGTYPE_p_wxPyEvent swig_types[42]
1385 #define SWIGTYPE_p_wxPropagationDisabler swig_types[43]
1386 #define SWIGTYPE_p_form_ops_t swig_types[44]
1387 #define SWIGTYPE_p_wxAppTraits swig_types[45]
1388 #define SWIGTYPE_p_wxArrayString swig_types[46]
1389 #define SWIGTYPE_p_wxShowEvent swig_types[47]
1390 #define SWIGTYPE_p_wxToolTip swig_types[48]
1391 #define SWIGTYPE_p_wxMoveEvent swig_types[49]
1392 #define SWIGTYPE_p_wxSizeEvent swig_types[50]
1393 #define SWIGTYPE_p_wxActivateEvent swig_types[51]
1394 #define SWIGTYPE_p_wxIconizeEvent swig_types[52]
1395 #define SWIGTYPE_p_wxMaximizeEvent swig_types[53]
1396 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[54]
1397 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[55]
1398 #define SWIGTYPE_p_wxIdleEvent swig_types[56]
1399 #define SWIGTYPE_p_wxDateEvent swig_types[57]
1400 #define SWIGTYPE_p_wxMenuItem swig_types[58]
1401 #define SWIGTYPE_p_wxStaticBox swig_types[59]
1402 #define SWIGTYPE_p_long swig_types[60]
1403 #define SWIGTYPE_p_wxDuplexMode swig_types[61]
1404 #define SWIGTYPE_p_wxTIFFHandler swig_types[62]
1405 #define SWIGTYPE_p_wxXPMHandler swig_types[63]
1406 #define SWIGTYPE_p_wxPNMHandler swig_types[64]
1407 #define SWIGTYPE_p_wxJPEGHandler swig_types[65]
1408 #define SWIGTYPE_p_wxPCXHandler swig_types[66]
1409 #define SWIGTYPE_p_wxGIFHandler swig_types[67]
1410 #define SWIGTYPE_p_wxPNGHandler swig_types[68]
1411 #define SWIGTYPE_p_wxANIHandler swig_types[69]
1412 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[70]
1413 #define SWIGTYPE_p_wxZipFSHandler swig_types[71]
1414 #define SWIGTYPE_p_wxInternetFSHandler swig_types[72]
1415 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[73]
1416 #define SWIGTYPE_p_wxEvtHandler swig_types[74]
1417 #define SWIGTYPE_p_wxCURHandler swig_types[75]
1418 #define SWIGTYPE_p_wxICOHandler swig_types[76]
1419 #define SWIGTYPE_p_wxBMPHandler swig_types[77]
1420 #define SWIGTYPE_p_wxImageHandler swig_types[78]
1421 #define SWIGTYPE_p_wxFileSystemHandler swig_types[79]
1422 #define SWIGTYPE_p_wxRect swig_types[80]
1423 #define SWIGTYPE_p_wxButton swig_types[81]
1424 #define SWIGTYPE_p_wxGBSpan swig_types[82]
1425 #define SWIGTYPE_p_wxPropagateOnce swig_types[83]
1426 #define SWIGTYPE_p_wxAcceleratorTable swig_types[84]
1427 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[85]
1428 #define SWIGTYPE_p_char swig_types[86]
1429 #define SWIGTYPE_p_wxGBPosition swig_types[87]
1430 #define SWIGTYPE_p_wxImage swig_types[88]
1431 #define SWIGTYPE_p_wxFrame swig_types[89]
1432 #define SWIGTYPE_p_wxScrollWinEvent swig_types[90]
1433 #define SWIGTYPE_p_wxPaperSize swig_types[91]
1434 #define SWIGTYPE_p_wxImageHistogram swig_types[92]
1435 #define SWIGTYPE_p_wxPoint swig_types[93]
1436 #define SWIGTYPE_p_wxCursor swig_types[94]
1437 #define SWIGTYPE_p_wxObject swig_types[95]
1438 #define SWIGTYPE_p_wxInputStream swig_types[96]
1439 #define SWIGTYPE_p_wxOutputStream swig_types[97]
1440 #define SWIGTYPE_p_wxPyInputStream swig_types[98]
1441 #define SWIGTYPE_p_wxDateTime swig_types[99]
1442 #define SWIGTYPE_p_wxKeyEvent swig_types[100]
1443 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[101]
1444 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[102]
1445 #define SWIGTYPE_p_unsigned_long swig_types[103]
1446 #define SWIGTYPE_p_wxWindow swig_types[104]
1447 #define SWIGTYPE_p_wxMenuBar swig_types[105]
1448 #define SWIGTYPE_p_wxFileSystem swig_types[106]
1449 #define SWIGTYPE_p_wxBitmap swig_types[107]
1450 #define SWIGTYPE_unsigned_int swig_types[108]
1451 #define SWIGTYPE_p_unsigned_int swig_types[109]
1452 #define SWIGTYPE_p_wxMenuEvent swig_types[110]
1453 #define SWIGTYPE_p_wxContextMenuEvent swig_types[111]
1454 #define SWIGTYPE_p_unsigned_char swig_types[112]
1455 #define SWIGTYPE_p_wxEraseEvent swig_types[113]
1456 #define SWIGTYPE_p_wxMouseEvent swig_types[114]
1457 #define SWIGTYPE_p_wxCloseEvent swig_types[115]
1458 #define SWIGTYPE_p_wxPyApp swig_types[116]
1459 #define SWIGTYPE_p_wxCommandEvent swig_types[117]
1460 #define SWIGTYPE_p_wxPyCommandEvent swig_types[118]
1461 #define SWIGTYPE_p_wxPyDropTarget swig_types[119]
1462 #define SWIGTYPE_p_wxQuantize swig_types[120]
1463 #define SWIGTYPE_p_wxFocusEvent swig_types[121]
1464 #define SWIGTYPE_p_wxChildFocusEvent swig_types[122]
1465 #define SWIGTYPE_p_wxDropFilesEvent swig_types[123]
1466 #define SWIGTYPE_p_wxControlWithItems swig_types[124]
1467 #define SWIGTYPE_p_wxColour swig_types[125]
1468 #define SWIGTYPE_p_wxValidator swig_types[126]
1469 #define SWIGTYPE_p_wxPyValidator swig_types[127]
1470 static swig_type_info
*swig_types
[129];
1472 /* -------- TYPES TABLE (END) -------- */
1475 /*-----------------------------------------------
1476 @(target):= _core_.so
1477 ------------------------------------------------*/
1478 #define SWIG_init init_core_
1480 #define SWIG_name "_core_"
1482 #include "wx/wxPython/wxPython_int.h"
1483 #include "wx/wxPython/pyclasses.h"
1486 #ifndef wxPyUSE_EXPORT
1487 // Helper functions for dealing with SWIG objects and such. These are
1488 // located here so they know about the SWIG types and functions declared
1489 // in the wrapper code.
1491 #include <wx/hashmap.h>
1492 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
1495 // Maintains a hashmap of className to swig_type_info pointers. Given the
1496 // name of a class either looks up the type info in the cache, or scans the
1497 // SWIG tables for it.
1498 extern PyObject
* wxPyPtrTypeMap
;
1500 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
1502 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
1504 if (typeInfoCache
== NULL
)
1505 typeInfoCache
= new wxPyTypeInfoHashMap
;
1507 wxString
name(className
);
1508 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
1511 // it wasn't in the cache, so look it up from SWIG
1512 name
.Append(wxT(" *"));
1513 swigType
= SWIG_TypeQuery(name
.mb_str());
1515 // if it still wasn't found, try looking for a mapped name
1520 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
1521 (char*)(const char*)name
.mbc_str())) != NULL
) {
1522 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
1523 name
.Append(wxT(" *"));
1524 swigType
= SWIG_TypeQuery(name
.mb_str());
1528 // and add it to the map if found
1529 (*typeInfoCache
)[className
] = swigType
;
1536 // Check if a class name is a type known to SWIG
1537 bool wxPyCheckSwigType(const wxChar
* className
) {
1539 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1540 return swigType
!= NULL
;
1544 // Given a pointer to a C++ object and a class name, construct a Python proxy
1546 PyObject
* wxPyConstructObject(void* ptr
,
1547 const wxChar
* className
,
1550 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1551 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
1553 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
1557 // Extract a pointer to the wrapped C++ object from a Python proxy object.
1558 // Ensures that the proxy object is of the specified (or derived) type. If
1559 // not able to perform the conversion then a Python exception is set and the
1560 // error should be handled properly in the caller. Returns True on success.
1561 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
1562 const wxChar
* className
) {
1564 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1565 wxCHECK_MSG(swigType
!= NULL
, false, wxT("Unknown type in wxPyConvertSwigPtr"));
1567 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
1571 // Make a SWIGified pointer object suitable for a .this attribute
1572 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
1574 PyObject
* robj
= NULL
;
1576 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1577 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
1579 #ifdef SWIG_COBJECT_TYPES
1580 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)swigType
->name
);
1584 robj
= SWIG_PackVoidPtr(result
, ptr
, swigType
->name
, sizeof(result
)) ?
1585 PyString_FromString(result
) : 0;
1595 // Export a C API in a struct. Other modules will be able to load this from
1596 // the wx._core_ module and will then have safe access to these functions,
1597 // even if they are located in another shared library.
1598 static wxPyCoreAPI API
= {
1601 wxPyConstructObject
,
1605 wxPyBeginAllowThreads
,
1606 wxPyEndAllowThreads
,
1607 wxPyBeginBlockThreads
,
1608 wxPyEndBlockThreads
,
1620 wxPoint_LIST_helper
,
1621 wxBitmap_LIST_helper
,
1622 wxString_LIST_helper
,
1623 wxAcceleratorEntry_LIST_helper
,
1632 wxPySimple_typecheck
,
1635 wxPyCBH_setCallbackInfo
,
1636 wxPyCBH_findCallback
,
1637 wxPyCBH_callCallback
,
1638 wxPyCBH_callCallbackObj
,
1644 wxPy2int_seq_helper
,
1645 wxPy4int_seq_helper
,
1646 wxArrayString2PyList_helper
,
1647 wxArrayInt2PyList_helper
,
1649 wxPyClientData_dtor
,
1651 wxPyOORClientData_dtor
,
1653 wxPyCBInputStream_create
,
1654 wxPyCBInputStream_copy
,
1657 wxPySwigInstance_Check
,
1666 #if !WXWIN_COMPATIBILITY_2_4
1667 #define wxHIDE_READONLY 0
1671 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1672 #define SWIG_From_int PyInt_FromLong
1677 enum wxHotkeyModifier
1685 #define wxEVT_HOTKEY 9999
1688 static const wxString
wxPyEmptyString(wxEmptyString
);
1689 static wxString
wxObject_GetClassName(wxObject
*self
){
1690 return self
->GetClassInfo()->GetClassName();
1692 static void wxObject_Destroy(wxObject
*self
){
1697 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
1705 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1708 if (value
< min_value
) {
1710 PyErr_Format(PyExc_OverflowError
,
1711 "value %ld is less than '%s' minimum %ld",
1712 value
, errmsg
, min_value
);
1715 } else if (value
> max_value
) {
1717 PyErr_Format(PyExc_OverflowError
,
1718 "value %ld is greater than '%s' maximum %ld",
1719 value
, errmsg
, max_value
);
1728 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1730 if (PyNumber_Check(obj
)) {
1731 if (val
) *val
= PyInt_AsLong(obj
);
1735 SWIG_type_error("number", obj
);
1741 #if INT_MAX != LONG_MAX
1743 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1745 const char* errmsg
= val
? "int" : (char*)0;
1747 if (SWIG_AsVal_long(obj
, &v
)) {
1748 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1749 if (val
) *val
= (int)(v
);
1758 SWIG_type_error(errmsg
, obj
);
1764 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1766 return SWIG_AsVal_long(obj
,(long*)val
);
1772 SWIG_As_int(PyObject
* obj
)
1775 if (!SWIG_AsVal_int(obj
, &v
)) {
1777 this is needed to make valgrind/purify happier.
1779 memset((void*)&v
, 0, sizeof(int));
1786 SWIG_Check_int(PyObject
* obj
)
1788 return SWIG_AsVal_int(obj
, (int*)0);
1791 static PyObject
*wxSize_Get(wxSize
*self
){
1792 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1793 PyObject
* tup
= PyTuple_New(2);
1794 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1795 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1796 wxPyEndBlockThreads(blocked
);
1801 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1803 if (PyNumber_Check(obj
)) {
1804 if (val
) *val
= PyFloat_AsDouble(obj
);
1808 SWIG_type_error("number", obj
);
1814 SWIGINTERNSHORT
double
1815 SWIG_As_double(PyObject
* obj
)
1818 if (!SWIG_AsVal_double(obj
, &v
)) {
1820 this is needed to make valgrind/purify happier.
1822 memset((void*)&v
, 0, sizeof(double));
1829 SWIG_Check_double(PyObject
* obj
)
1831 return SWIG_AsVal_double(obj
, (double*)0);
1835 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1836 #define SWIG_From_double PyFloat_FromDouble
1839 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
1843 static PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
1844 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1845 PyObject
* tup
= PyTuple_New(2);
1846 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1847 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1848 wxPyEndBlockThreads(blocked
);
1852 SWIGINTERNSHORT
long
1853 SWIG_As_long(PyObject
* obj
)
1856 if (!SWIG_AsVal_long(obj
, &v
)) {
1858 this is needed to make valgrind/purify happier.
1860 memset((void*)&v
, 0, sizeof(long));
1867 SWIG_Check_long(PyObject
* obj
)
1869 return SWIG_AsVal_long(obj
, (long*)0);
1872 static void wxPoint_Set(wxPoint
*self
,long x
,long y
){
1876 static PyObject
*wxPoint_Get(wxPoint
*self
){
1877 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1878 PyObject
* tup
= PyTuple_New(2);
1879 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1880 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1881 wxPyEndBlockThreads(blocked
);
1884 static void wxRect_Set(wxRect
*self
,int x
=0,int y
=0,int width
=0,int height
=0){
1887 self
->width
= width
;
1888 self
->height
= height
;
1890 static PyObject
*wxRect_Get(wxRect
*self
){
1891 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1892 PyObject
* tup
= PyTuple_New(4);
1893 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1894 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1895 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
1896 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
1897 wxPyEndBlockThreads(blocked
);
1901 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
1904 wxRect
dest(0,0,0,0);
1907 reg1
.Intersect(reg2
);
1908 dest
= reg1
.GetBox();
1910 if (dest
!= wxRect(0,0,0,0)) {
1911 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1912 wxRect
* newRect
= new wxRect(dest
);
1913 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), true);
1914 wxPyEndBlockThreads(blocked
);
1922 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1928 } else if (target
== Py_None
) {
1932 if (!PyTuple_Check(target
)) {
1934 target
= PyTuple_New(1);
1935 PyTuple_SetItem(target
, 0, o2
);
1937 o3
= PyTuple_New(1);
1938 PyTuple_SetItem(o3
, 0, o
);
1941 target
= PySequence_Concat(o2
, o3
);
1949 static void wxPoint2D_Set(wxPoint2D
*self
,double x
=0,double y
=0){
1953 static PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
1954 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1955 PyObject
* tup
= PyTuple_New(2);
1956 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
1957 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
1958 wxPyEndBlockThreads(blocked
);
1962 #include "wx/wxPython/pyistream.h"
1964 static wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
1965 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
1967 return new wxPyInputStream(wxis
);
1972 SWIGINTERNSHORT PyObject
*
1973 SWIG_From_char(char c
)
1975 return PyString_FromStringAndSize(&c
,1);
1979 SWIGINTERNSHORT PyObject
*
1980 SWIG_From_unsigned_SS_long(unsigned long value
)
1982 return (value
> LONG_MAX
) ?
1983 PyLong_FromUnsignedLong(value
)
1984 : PyInt_FromLong((long)(value
));
1988 /* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */
1990 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* psize
)
1992 static swig_type_info
* pchar_info
= 0;
1994 if (!pchar_info
) pchar_info
= SWIG_TypeQuery("char *");
1995 if (SWIG_ConvertPtr(obj
, (void**)&vptr
, pchar_info
, 0) != -1) {
1996 if (cptr
) *cptr
= vptr
;
1997 if (psize
) *psize
= vptr
? (strlen(vptr
) + 1) : 0;
2001 if (PyString_Check(obj
)) {
2003 *cptr
= PyString_AS_STRING(obj
);
2005 *psize
= PyString_GET_SIZE(obj
) + 1;
2012 SWIG_type_error("char *", obj
);
2019 SWIG_AsCharArray(PyObject
*obj
, char *val
, size_t size
)
2021 char* cptr
; size_t csize
;
2022 if (SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
)) {
2025 char x[5] = "hello";
2027 ie, assing the array using an extra '0' char.
2029 if ((csize
== size
+ 1) && !(cptr
[csize
-1])) --csize
;
2030 if (csize
<= size
) {
2032 if (csize
) memcpy(val
, cptr
, csize
);
2033 if (csize
< size
) memset(val
+ csize
, 0, size
- csize
);
2039 PyErr_Format(PyExc_TypeError
,
2040 "a char array of maximum size %lu is expected",
2041 (unsigned long) size
);
2048 SWIG_AsVal_char(PyObject
*obj
, char *val
)
2050 const char* errmsg
= val
? "char" : (char*)0;
2052 if (SWIG_AsVal_long(obj
, &v
)) {
2053 if (SWIG_CheckLongInRange(v
, CHAR_MIN
,CHAR_MAX
, errmsg
)) {
2054 if (val
) *val
= (char)(v
);
2061 return SWIG_AsCharArray(obj
, val
, 1);
2066 SWIGINTERNSHORT
char
2067 SWIG_As_char(PyObject
* obj
)
2070 if (!SWIG_AsVal_char(obj
, &v
)) {
2072 this is needed to make valgrind/purify happier.
2074 memset((void*)&v
, 0, sizeof(char));
2081 SWIG_Check_char(PyObject
* obj
)
2083 return SWIG_AsVal_char(obj
, (char*)0);
2087 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2088 #define SWIG_From_long PyInt_FromLong
2091 static void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
2092 // We use only strings for the streams, not unicode
2093 PyObject
* str
= PyObject_Str(obj
);
2095 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
2098 self
->Write(PyString_AS_STRING(str
),
2099 PyString_GET_SIZE(str
));
2103 #include "wx/wxPython/pyistream.h"
2106 class wxPyFileSystemHandler
: public wxFileSystemHandler
2109 wxPyFileSystemHandler() : wxFileSystemHandler() {}
2111 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
2112 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
2113 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
2114 DEC_PYCALLBACK_STRING__pure(FindNext
);
2116 wxString
GetProtocol(const wxString
& location
) {
2117 return wxFileSystemHandler::GetProtocol(location
);
2120 wxString
GetLeftLocation(const wxString
& location
) {
2121 return wxFileSystemHandler::GetLeftLocation(location
);
2124 wxString
GetAnchor(const wxString
& location
) {
2125 return wxFileSystemHandler::GetAnchor(location
);
2128 wxString
GetRightLocation(const wxString
& location
) {
2129 return wxFileSystemHandler::GetRightLocation(location
);
2132 wxString
GetMimeTypeFromExt(const wxString
& location
) {
2133 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
2140 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
2141 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
2142 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
2143 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
2147 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
2149 if (obj
== Py_True
) {
2150 if (val
) *val
= true;
2153 if (obj
== Py_False
) {
2154 if (val
) *val
= false;
2158 if (SWIG_AsVal_int(obj
, &res
)) {
2159 if (val
) *val
= res
? true : false;
2165 SWIG_type_error("bool", obj
);
2171 SWIGINTERNSHORT
bool
2172 SWIG_As_bool(PyObject
* obj
)
2175 if (!SWIG_AsVal_bool(obj
, &v
)) {
2177 this is needed to make valgrind/purify happier.
2179 memset((void*)&v
, 0, sizeof(bool));
2186 SWIG_Check_bool(PyObject
* obj
)
2188 return SWIG_AsVal_bool(obj
, (bool*)0);
2191 static wxString
FileSystem_URLToFileName(wxString
const &url
){
2192 wxFileName fname
= wxFileSystem::URLToFileName(url
);
2193 return fname
.GetFullPath();
2196 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
2199 wxMemoryFSHandler::AddFile(filename
, image
, type
);
2202 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
2203 const wxBitmap
& bitmap
,
2205 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
2208 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
2210 if (! PyString_Check(data
)) {
2211 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2212 "Expected string object"));
2216 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2217 void* ptr
= (void*)PyString_AsString(data
);
2218 size_t size
= PyString_Size(data
);
2219 wxPyEndBlockThreads(blocked
);
2221 wxMemoryFSHandler::AddFile(filename
, ptr
, size
);
2225 #include "wx/wxPython/pyistream.h"
2229 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
2232 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2233 SWIG_type_error("unsigned number", obj
);
2236 *val
= (unsigned long)v
;
2242 SWIG_CheckUnsignedLongInRange(unsigned long value
,
2243 unsigned long max_value
,
2246 if (value
> max_value
) {
2248 PyErr_Format(PyExc_OverflowError
,
2249 "value %lu is greater than '%s' minimum %lu",
2250 value
, errmsg
, max_value
);
2259 SWIG_AsVal_unsigned_SS_char(PyObject
*obj
, unsigned char *val
)
2261 const char* errmsg
= val
? "unsigned char" : (char*)0;
2263 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2264 if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) {
2265 if (val
) *val
= (unsigned char)(v
);
2274 SWIG_type_error(errmsg
, obj
);
2280 SWIGINTERNSHORT
unsigned char
2281 SWIG_As_unsigned_SS_char(PyObject
* obj
)
2284 if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) {
2286 this is needed to make valgrind/purify happier.
2288 memset((void*)&v
, 0, sizeof(unsigned char));
2295 SWIG_Check_unsigned_SS_char(PyObject
* obj
)
2297 return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0);
2301 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2302 #define SWIG_From_unsigned_SS_char PyInt_FromLong
2307 SWIGINTERNSHORT
unsigned long
2308 SWIG_As_unsigned_SS_long(PyObject
* obj
)
2311 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2313 this is needed to make valgrind/purify happier.
2315 memset((void*)&v
, 0, sizeof(unsigned long));
2322 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
2324 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
2327 static unsigned long wxImageHistogram_GetCount(wxImageHistogram
*self
,unsigned long key
){
2328 wxImageHistogramEntry e
= (*self
)[key
];
2331 static unsigned long wxImageHistogram_GetCountRGB(wxImageHistogram
*self
,byte r
,byte g
,byte b
){
2332 unsigned long key
= wxImageHistogram::MakeKey(r
, g
, b
);
2333 wxImageHistogramEntry e
= (*self
)[key
];
2336 static unsigned long wxImageHistogram_GetCountColour(wxImageHistogram
*self
,wxColour
const &colour
){
2337 unsigned long key
= wxImageHistogram::MakeKey(colour
.Red(),
2340 wxImageHistogramEntry e
= (*self
)[key
];
2344 typedef unsigned char* buffer
;
2346 static wxImage
*new_wxImage(int width
=0,int height
=0,bool clear
=true){
2347 if (width
> 0 && height
> 0)
2348 return new wxImage(width
, height
, clear
);
2352 static wxImage
*new_wxImage(wxBitmap
const &bitmap
){
2353 return new wxImage(bitmap
.ConvertToImage());
2355 static wxImage
*new_wxImage(int width
,int height
,buffer data
,int DATASIZE
){
2356 if (DATASIZE
!= width
*height
*3) {
2357 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2361 // Copy the source data so the wxImage can clean it up later
2362 buffer copy
= (buffer
)malloc(DATASIZE
);
2364 wxPyBLOCK_THREADS(PyErr_NoMemory());
2367 memcpy(copy
, data
, DATASIZE
);
2368 return new wxImage(width
, height
, copy
, false);
2370 static wxImage
*new_wxImage(int width
,int height
,buffer data
,int DATASIZE
,buffer alpha
,int ALPHASIZE
){
2371 if (DATASIZE
!= width
*height
*3) {
2372 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2375 if (ALPHASIZE
!= width
*height
) {
2376 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2380 // Copy the source data so the wxImage can clean it up later
2381 buffer dcopy
= (buffer
)malloc(DATASIZE
);
2382 if (dcopy
== NULL
) {
2383 wxPyBLOCK_THREADS(PyErr_NoMemory());
2386 memcpy(dcopy
, data
, DATASIZE
);
2388 buffer acopy
= (buffer
)malloc(ALPHASIZE
);
2389 if (acopy
== NULL
) {
2390 wxPyBLOCK_THREADS(PyErr_NoMemory());
2393 memcpy(acopy
, alpha
, ALPHASIZE
);
2395 return new wxImage(width
, height
, dcopy
, acopy
, false);
2397 static wxSize
wxImage_GetSize(wxImage
*self
){
2398 wxSize
size(self
->GetWidth(), self
->GetHeight());
2401 static PyObject
*wxImage_GetData(wxImage
*self
){
2402 buffer data
= self
->GetData();
2403 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2405 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
2408 static void wxImage_SetData(wxImage
*self
,buffer data
,int DATASIZE
){
2409 if (DATASIZE
!= self
->GetWidth() * self
->GetHeight() * 3) {
2410 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2413 buffer copy
= (buffer
)malloc(DATASIZE
);
2415 wxPyBLOCK_THREADS(PyErr_NoMemory());
2418 memcpy(copy
, data
, DATASIZE
);
2419 self
->SetData(copy
, false);
2420 // wxImage takes ownership of copy...
2422 static PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
2423 buffer data
= self
->GetData();
2424 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2426 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2429 static void wxImage_SetDataBuffer(wxImage
*self
,buffer data
,int DATASIZE
){
2430 if (DATASIZE
!= self
->GetWidth() * self
->GetHeight() * 3) {
2431 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2434 self
->SetData(data
, true);
2436 static PyObject
*wxImage_GetAlphaData(wxImage
*self
){
2437 buffer data
= self
->GetAlpha();
2441 int len
= self
->GetWidth() * self
->GetHeight();
2443 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
2447 static void wxImage_SetAlphaData(wxImage
*self
,buffer alpha
,int ALPHASIZE
){
2448 if (ALPHASIZE
!= self
->GetWidth() * self
->GetHeight()) {
2449 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2452 buffer acopy
= (buffer
)malloc(ALPHASIZE
);
2453 if (acopy
== NULL
) {
2454 wxPyBLOCK_THREADS(PyErr_NoMemory());
2457 memcpy(acopy
, alpha
, ALPHASIZE
);
2458 self
->SetAlpha(acopy
, false);
2459 // wxImage takes ownership of acopy...
2461 static PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
2462 buffer data
= self
->GetAlpha();
2463 int len
= self
->GetWidth() * self
->GetHeight();
2465 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2468 static void wxImage_SetAlphaBuffer(wxImage
*self
,buffer alpha
,int ALPHASIZE
){
2469 if (ALPHASIZE
!= self
->GetWidth() * self
->GetHeight()) {
2470 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2473 self
->SetAlpha(alpha
, true);
2475 static wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
,int depth
=-1){
2476 wxBitmap
bitmap(*self
, depth
);
2479 static wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,byte red
,byte green
,byte blue
){
2480 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
2481 wxBitmap
bitmap( mono
, 1 );
2484 static const wxString
wxPyIMAGE_OPTION_FILENAME(wxIMAGE_OPTION_FILENAME
);
2485 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
2486 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
2487 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
2488 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
2489 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONX(wxIMAGE_OPTION_RESOLUTIONX
);
2490 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONY(wxIMAGE_OPTION_RESOLUTIONY
);
2491 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
2492 static const wxString
wxPyIMAGE_OPTION_QUALITY(wxIMAGE_OPTION_QUALITY
);
2493 static const wxString
wxPyIMAGE_OPTION_BITSPERSAMPLE(wxIMAGE_OPTION_BITSPERSAMPLE
);
2494 static const wxString
wxPyIMAGE_OPTION_SAMPLESPERPIXEL(wxIMAGE_OPTION_SAMPLESPERPIXEL
);
2495 static const wxString
wxPyIMAGE_OPTION_COMPRESSION(wxIMAGE_OPTION_COMPRESSION
);
2496 static const wxString
wxPyIMAGE_OPTION_IMAGEDESCRIPTOR(wxIMAGE_OPTION_IMAGEDESCRIPTOR
);
2497 static const wxString
wxPyIMAGE_OPTION_PNG_FORMAT(wxIMAGE_OPTION_PNG_FORMAT
);
2498 static const wxString
wxPyIMAGE_OPTION_PNG_BITDEPTH(wxIMAGE_OPTION_PNG_BITDEPTH
);
2500 #include <wx/quantize.h>
2502 static bool Quantize_Quantize(wxImage
const &src
,wxImage
&dest
,int desiredNoColours
=236,int flags
=wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
){
2503 return wxQuantize::Quantize(src
, dest
,
2506 NULL
, // eightBitData
2509 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
2510 if (PyCallable_Check(func
)) {
2511 self
->Connect(id
, lastId
, eventType
,
2512 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
2513 new wxPyCallback(func
));
2515 else if (func
== Py_None
) {
2516 self
->Disconnect(id
, lastId
, eventType
,
2517 (wxObjectEventFunction
)
2518 &wxPyCallback::EventThunker
);
2522 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
2525 static bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
=-1,wxEventType eventType
=wxEVT_NULL
){
2526 return self
->Disconnect(id
, lastId
, eventType
,
2527 (wxObjectEventFunction
)
2528 &wxPyCallback::EventThunker
);
2530 static void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
,bool incref
=true){
2531 if (_self
&& _self
!= Py_None
) {
2532 self
->SetClientObject(new wxPyOORClientData(_self
, incref
));
2535 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
2537 self
->SetClientObject(NULL
); // This will delete it too
2542 static int wxKeyEvent_GetUnicodeKey(wxKeyEvent
*self
){
2544 return self
->GetUnicodeKey();
2550 #if UINT_MAX < LONG_MAX
2551 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2552 #define SWIG_From_unsigned_SS_int SWIG_From_long
2555 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2556 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2561 #if UINT_MAX != ULONG_MAX
2563 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2565 const char* errmsg
= val
? "unsigned int" : (char*)0;
2567 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2568 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2569 if (val
) *val
= (unsigned int)(v
);
2576 SWIG_type_error(errmsg
, obj
);
2581 SWIGINTERNSHORT
unsigned int
2582 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2584 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2589 SWIGINTERNSHORT
unsigned int
2590 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2593 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2595 this is needed to make valgrind/purify happier.
2597 memset((void*)&v
, 0, sizeof(unsigned int));
2604 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2606 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2609 static void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
2610 self
->m_size
= size
;
2612 static PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
2613 int count
= self
->GetNumberOfFiles();
2614 wxString
* files
= self
->GetFiles();
2615 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2616 PyObject
* list
= PyList_New(count
);
2619 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
2620 wxPyEndBlockThreads(blocked
);
2624 for (int i
=0; i
<count
; i
++) {
2625 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
2627 wxPyEndBlockThreads(blocked
);
2632 static wxPyApp
*new_wxPyApp(){
2633 wxPythonApp
= new wxPyApp();
2637 void wxApp_CleanUp() {
2642 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
2646 SWIG_AsCharPtr(PyObject
*obj
, char **val
)
2648 if (SWIG_AsCharPtrAndSize(obj
, val
, (size_t*)(0))) {
2653 SWIG_type_error("char *", obj
);
2659 SWIGINTERN PyObject
*
2660 SWIG_FromCharPtr(const char* cptr
)
2663 size_t size
= strlen(cptr
);
2664 if (size
> INT_MAX
) {
2665 return SWIG_NewPointerObj((char*)(cptr
),
2666 SWIG_TypeQuery("char *"), 0);
2669 return PyString_FromStringAndSize(cptr
, size
);
2671 return PyString_FromString(cptr
);
2682 // A dummy class that raises an exception if used...
2686 wxEventLoop() { wxPyRaiseNotImplemented(); }
2687 int Run() { return 0; }
2688 void Exit(int rc
= 0) {}
2689 bool Pending() const { return false; }
2690 bool Dispatch() { return false; }
2691 bool IsRunning() const { return false; }
2692 static wxEventLoop
*GetActive() { wxPyRaiseNotImplemented(); return NULL
; }
2693 static void SetActive(wxEventLoop
* loop
) { wxPyRaiseNotImplemented(); }
2698 #include <wx/evtloop.h>
2704 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2705 static wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
2706 static void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
2707 static PyObject
*wxWindow_GetChildren(wxWindow
*self
){
2708 wxWindowList
& list
= self
->GetChildren();
2709 return wxPy_ConvertList(&list
);
2711 static bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
2713 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
2718 static bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
2725 static long wxWindow_GetHandle(wxWindow
*self
){
2726 return wxPyGetWinHandle(self
);
2728 static void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
2729 self
->AssociateHandle((WXWidget
)handle
);
2732 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
2733 return wxWindow::FindWindowById(id
, parent
);
2736 wxWindow
* wxFindWindowByName( const wxString
& name
,
2737 const wxWindow
*parent
= NULL
) {
2738 return wxWindow::FindWindowByName(name
, parent
);
2741 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
2742 const wxWindow
*parent
= NULL
) {
2743 return wxWindow::FindWindowByLabel(label
, parent
);
2748 #include <wx/msw/private.h> // to get wxGetWindowId
2752 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
2754 WXHWND hWnd
= (WXHWND
)_hWnd
;
2755 long id
= wxGetWindowId(hWnd
);
2756 wxWindow
* win
= new wxWindow
;
2757 parent
->AddChild(win
);
2758 win
->SetEventHandler(win
);
2761 win
->SubclassWin(hWnd
);
2762 win
->AdoptAttributesFromHWND();
2763 win
->SetupColours();
2766 wxPyRaiseNotImplemented();
2772 PyObject
* GetTopLevelWindows() {
2773 return wxPy_ConvertList(&wxTopLevelWindows
);
2777 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
2778 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
2779 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
2781 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
2783 static void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
2784 static PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
2785 wxMenuItemList
& list
= self
->GetMenuItems();
2786 return wxPy_ConvertList(&list
);
2788 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2789 static int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
=NULL
){
2791 wxPyClientData
* data
= new wxPyClientData(clientData
);
2792 return self
->Append(item
, data
);
2794 return self
->Append(item
);
2796 static int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2798 wxPyClientData
* data
= new wxPyClientData(clientData
);
2799 return self
->Insert(item
, pos
, data
);
2801 return self
->Insert(item
, pos
);
2803 static PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
2804 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
2806 Py_INCREF(data
->m_obj
);
2813 static void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
2814 wxPyClientData
* data
= new wxPyClientData(clientData
);
2815 self
->SetClientObject(n
, data
);
2819 static wxSizerItem
*new_wxSizerItem(wxWindow
*window
,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(window
, proportion
, flag
, border
, data
);
2828 static wxSizerItem
*new_wxSizerItem(int width
,int height
,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(width
, height
, proportion
, flag
, border
, data
);
2837 static wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2838 wxPyUserData
* data
= NULL
;
2840 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2841 data
= new wxPyUserData(userData
);
2842 wxPyEndBlockThreads(blocked
);
2844 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
2849 SWIG_CheckDoubleInRange(double value
, double min_value
,
2850 double max_value
, const char* errmsg
)
2852 if (value
< min_value
) {
2854 PyErr_Format(PyExc_OverflowError
,
2855 "value %g is less than %s minimum %g",
2856 value
, errmsg
, min_value
);
2859 } else if (value
> max_value
) {
2861 PyErr_Format(PyExc_OverflowError
,
2862 "value %g is greater than %s maximum %g",
2863 value
, errmsg
, max_value
);
2872 SWIG_AsVal_float(PyObject
*obj
, float *val
)
2874 const char* errmsg
= val
? "float" : (char*)0;
2876 if (SWIG_AsVal_double(obj
, &v
)) {
2877 if (SWIG_CheckDoubleInRange(v
, -FLT_MAX
, FLT_MAX
, errmsg
)) {
2878 if (val
) *val
= (float)(v
);
2887 SWIG_type_error(errmsg
, obj
);
2893 SWIGINTERNSHORT
float
2894 SWIG_As_float(PyObject
* obj
)
2897 if (!SWIG_AsVal_float(obj
, &v
)) {
2899 this is needed to make valgrind/purify happier.
2901 memset((void*)&v
, 0, sizeof(float));
2908 SWIG_Check_float(PyObject
* obj
)
2910 return SWIG_AsVal_float(obj
, (float*)0);
2914 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2915 #define SWIG_From_float PyFloat_FromDouble
2918 static PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
2919 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
2921 Py_INCREF(data
->m_obj
);
2929 // Figure out the type of the sizer item
2931 struct wxPySizerItemInfo
{
2933 : window(NULL
), sizer(NULL
), gotSize(false),
2934 size(wxDefaultSize
), gotPos(false), pos(-1)
2945 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
2947 wxPySizerItemInfo info
;
2949 wxSize
* sizePtr
= &size
;
2951 // Find out what the type of the item is
2953 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
2958 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
2962 // try wxSize or (w,h)
2963 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
2964 info
.size
= *sizePtr
;
2965 info
.gotSize
= true;
2969 if (checkIdx
&& PyInt_Check(item
)) {
2970 info
.pos
= PyInt_AsLong(item
);
2976 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
2977 // no expected type, figure out what kind of error message to generate
2978 if ( !checkSize
&& !checkIdx
)
2979 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
2980 else if ( checkSize
&& !checkIdx
)
2981 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
2982 else if ( !checkSize
&& checkIdx
)
2983 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
2985 // can this one happen?
2986 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
2992 static void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
2993 if (!self
->GetClientObject())
2994 self
->SetClientObject(new wxPyOORClientData(_self
));
2996 static wxSizerItem
*wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
2998 wxPyUserData
* data
= NULL
;
2999 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3000 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3001 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3002 data
= new wxPyUserData(userData
);
3003 wxPyEndBlockThreads(blocked
);
3005 // Now call the real Add method if a valid item type was found
3007 return self
->Add(info
.window
, proportion
, flag
, border
, data
);
3008 else if ( info
.sizer
)
3009 return self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
3010 else if (info
.gotSize
)
3011 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3012 proportion
, flag
, border
, data
);
3016 static wxSizerItem
*wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3018 wxPyUserData
* data
= NULL
;
3019 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3020 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3021 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3022 data
= new wxPyUserData(userData
);
3023 wxPyEndBlockThreads(blocked
);
3025 // Now call the real Insert method if a valid item type was found
3027 return self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
3028 else if ( info
.sizer
)
3029 return self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
3030 else if (info
.gotSize
)
3031 return self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
3032 proportion
, flag
, border
, data
);
3036 static wxSizerItem
*wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3038 wxPyUserData
* data
= NULL
;
3039 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3040 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3041 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3042 data
= new wxPyUserData(userData
);
3043 wxPyEndBlockThreads(blocked
);
3045 // Now call the real Prepend method if a valid item type was found
3047 return self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
3048 else if ( info
.sizer
)
3049 return self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
3050 else if (info
.gotSize
)
3051 return self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
3052 proportion
, flag
, border
, data
);
3056 static bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
3057 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3058 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3059 wxPyEndBlockThreads(blocked
);
3061 return self
->Remove(info
.window
);
3062 else if ( info
.sizer
)
3063 return self
->Remove(info
.sizer
);
3064 else if ( info
.gotPos
)
3065 return self
->Remove(info
.pos
);
3069 static bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
3070 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3071 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3072 wxPyEndBlockThreads(blocked
);
3074 return self
->Detach(info
.window
);
3075 else if ( info
.sizer
)
3076 return self
->Detach(info
.sizer
);
3077 else if ( info
.gotPos
)
3078 return self
->Detach(info
.pos
);
3082 static wxSizerItem
*wxSizer_GetItem(wxSizer
*self
,PyObject
*item
){
3083 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3084 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3085 wxPyEndBlockThreads(blocked
);
3087 return self
->GetItem(info
.window
);
3088 else if ( info
.sizer
)
3089 return self
->GetItem(info
.sizer
);
3090 else if ( info
.gotPos
)
3091 return self
->GetItem(info
.pos
);
3095 static void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
3096 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3097 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3098 wxPyEndBlockThreads(blocked
);
3100 self
->SetItemMinSize(info
.window
, size
);
3101 else if ( info
.sizer
)
3102 self
->SetItemMinSize(info
.sizer
, size
);
3103 else if ( info
.gotPos
)
3104 self
->SetItemMinSize(info
.pos
, size
);
3106 static PyObject
*wxSizer_GetChildren(wxSizer
*self
){
3107 wxSizerItemList
& list
= self
->GetChildren();
3108 return wxPy_ConvertList(&list
);
3110 static bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
=true,bool recursive
=false){
3111 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3112 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3113 wxPyEndBlockThreads(blocked
);
3115 return self
->Show(info
.window
, show
, recursive
);
3116 else if ( info
.sizer
)
3117 return self
->Show(info
.sizer
, show
, recursive
);
3118 else if ( info
.gotPos
)
3119 return self
->Show(info
.pos
, show
);
3123 static bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
3124 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3125 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
3126 wxPyEndBlockThreads(blocked
);
3128 return self
->IsShown(info
.window
);
3129 else if ( info
.sizer
)
3130 return self
->IsShown(info
.sizer
);
3131 else if ( info
.gotPos
)
3132 return self
->IsShown(info
.pos
);
3138 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
3139 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
3140 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
3145 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
3147 if (source
== Py_None
) {
3148 **obj
= wxGBPosition(-1,-1);
3151 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
3154 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
3156 if (source
== Py_None
) {
3157 **obj
= wxGBSpan(-1,-1);
3160 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
3164 static void wxGBPosition_Set(wxGBPosition
*self
,int row
=0,int col
=0){
3168 static PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
3169 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3170 PyObject
* tup
= PyTuple_New(2);
3171 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
3172 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
3173 wxPyEndBlockThreads(blocked
);
3176 static void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
=1,int colspan
=1){
3177 self
->SetRowspan(rowspan
);
3178 self
->SetColspan(colspan
);
3180 static PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
3181 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3182 PyObject
* tup
= PyTuple_New(2);
3183 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
3184 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
3185 wxPyEndBlockThreads(blocked
);
3188 static wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,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(window
, pos
, span
, flag
, border
, data
);
3197 static wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,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(sizer
, pos
, span
, flag
, border
, data
);
3206 static wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3207 wxPyUserData
* data
= NULL
;
3209 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3210 data
= new wxPyUserData(userData
);
3211 wxPyEndBlockThreads(blocked
);
3213 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
3215 static wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
3217 self
->GetEndPos(row
, col
);
3218 return wxGBPosition(row
, col
);
3220 static wxGBSizerItem
*wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
=wxDefaultSpan
,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3222 wxPyUserData
* data
= NULL
;
3223 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3224 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3225 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3226 data
= new wxPyUserData(userData
);
3227 wxPyEndBlockThreads(blocked
);
3229 // Now call the real Add method if a valid item type was found
3231 return (wxGBSizerItem
*)self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
3232 else if ( info
.sizer
)
3233 return (wxGBSizerItem
*)self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
3234 else if (info
.gotSize
)
3235 return (wxGBSizerItem
*)self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3236 pos
, span
, flag
, border
, data
);
3244 static int _wrap_EmptyString_set(PyObject
*) {
3245 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
3250 static PyObject
*_wrap_EmptyString_get(void) {
3255 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3257 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3264 static PyObject
*_wrap_Object_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3265 PyObject
*resultobj
;
3266 wxObject
*arg1
= (wxObject
*) 0 ;
3268 PyObject
* obj0
= 0 ;
3270 (char *) "self", NULL
3273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
3274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3275 if (SWIG_arg_fail(1)) SWIG_fail
;
3277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3278 result
= wxObject_GetClassName(arg1
);
3280 wxPyEndAllowThreads(__tstate
);
3281 if (PyErr_Occurred()) SWIG_fail
;
3285 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3287 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3296 static PyObject
*_wrap_Object_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3297 PyObject
*resultobj
;
3298 wxObject
*arg1
= (wxObject
*) 0 ;
3299 PyObject
* obj0
= 0 ;
3301 (char *) "self", NULL
3304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
3305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3306 if (SWIG_arg_fail(1)) SWIG_fail
;
3308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3309 wxObject_Destroy(arg1
);
3311 wxPyEndAllowThreads(__tstate
);
3312 if (PyErr_Occurred()) SWIG_fail
;
3314 Py_INCREF(Py_None
); resultobj
= Py_None
;
3321 static PyObject
* Object_swigregister(PyObject
*, PyObject
*args
) {
3323 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3324 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
3326 return Py_BuildValue((char *)"");
3328 static PyObject
*_wrap_Size_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3329 PyObject
*resultobj
;
3330 wxSize
*arg1
= (wxSize
*) 0 ;
3332 PyObject
* obj0
= 0 ;
3333 PyObject
* obj1
= 0 ;
3335 (char *) "self",(char *) "x", NULL
3338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3340 if (SWIG_arg_fail(1)) SWIG_fail
;
3342 arg2
= (int)(SWIG_As_int(obj1
));
3343 if (SWIG_arg_fail(2)) SWIG_fail
;
3345 if (arg1
) (arg1
)->x
= arg2
;
3347 Py_INCREF(Py_None
); resultobj
= Py_None
;
3354 static PyObject
*_wrap_Size_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3355 PyObject
*resultobj
;
3356 wxSize
*arg1
= (wxSize
*) 0 ;
3358 PyObject
* obj0
= 0 ;
3360 (char *) "self", NULL
3363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
3364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3365 if (SWIG_arg_fail(1)) SWIG_fail
;
3366 result
= (int) ((arg1
)->x
);
3369 resultobj
= SWIG_From_int((int)(result
));
3377 static PyObject
*_wrap_Size_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3378 PyObject
*resultobj
;
3379 wxSize
*arg1
= (wxSize
*) 0 ;
3381 PyObject
* obj0
= 0 ;
3382 PyObject
* obj1
= 0 ;
3384 (char *) "self",(char *) "y", NULL
3387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3389 if (SWIG_arg_fail(1)) SWIG_fail
;
3391 arg2
= (int)(SWIG_As_int(obj1
));
3392 if (SWIG_arg_fail(2)) SWIG_fail
;
3394 if (arg1
) (arg1
)->y
= arg2
;
3396 Py_INCREF(Py_None
); resultobj
= Py_None
;
3403 static PyObject
*_wrap_Size_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3404 PyObject
*resultobj
;
3405 wxSize
*arg1
= (wxSize
*) 0 ;
3407 PyObject
* obj0
= 0 ;
3409 (char *) "self", NULL
3412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
3413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3414 if (SWIG_arg_fail(1)) SWIG_fail
;
3415 result
= (int) ((arg1
)->y
);
3418 resultobj
= SWIG_From_int((int)(result
));
3426 static PyObject
*_wrap_new_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3427 PyObject
*resultobj
;
3428 int arg1
= (int) 0 ;
3429 int arg2
= (int) 0 ;
3431 PyObject
* obj0
= 0 ;
3432 PyObject
* obj1
= 0 ;
3434 (char *) "w",(char *) "h", NULL
3437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
3440 arg1
= (int)(SWIG_As_int(obj0
));
3441 if (SWIG_arg_fail(1)) SWIG_fail
;
3446 arg2
= (int)(SWIG_As_int(obj1
));
3447 if (SWIG_arg_fail(2)) SWIG_fail
;
3451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3452 result
= (wxSize
*)new wxSize(arg1
,arg2
);
3454 wxPyEndAllowThreads(__tstate
);
3455 if (PyErr_Occurred()) SWIG_fail
;
3457 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
3464 static PyObject
*_wrap_delete_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3465 PyObject
*resultobj
;
3466 wxSize
*arg1
= (wxSize
*) 0 ;
3467 PyObject
* obj0
= 0 ;
3469 (char *) "self", NULL
3472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
3473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3474 if (SWIG_arg_fail(1)) SWIG_fail
;
3476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3479 wxPyEndAllowThreads(__tstate
);
3480 if (PyErr_Occurred()) SWIG_fail
;
3482 Py_INCREF(Py_None
); resultobj
= Py_None
;
3489 static PyObject
*_wrap_Size___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3490 PyObject
*resultobj
;
3491 wxSize
*arg1
= (wxSize
*) 0 ;
3495 PyObject
* obj0
= 0 ;
3496 PyObject
* obj1
= 0 ;
3498 (char *) "self",(char *) "sz", NULL
3501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3503 if (SWIG_arg_fail(1)) SWIG_fail
;
3506 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3510 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
3512 wxPyEndAllowThreads(__tstate
);
3513 if (PyErr_Occurred()) SWIG_fail
;
3516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3524 static PyObject
*_wrap_Size___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3525 PyObject
*resultobj
;
3526 wxSize
*arg1
= (wxSize
*) 0 ;
3530 PyObject
* obj0
= 0 ;
3531 PyObject
* obj1
= 0 ;
3533 (char *) "self",(char *) "sz", NULL
3536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3538 if (SWIG_arg_fail(1)) SWIG_fail
;
3541 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3545 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
3547 wxPyEndAllowThreads(__tstate
);
3548 if (PyErr_Occurred()) SWIG_fail
;
3551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3559 static PyObject
*_wrap_Size___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3560 PyObject
*resultobj
;
3561 wxSize
*arg1
= (wxSize
*) 0 ;
3565 PyObject
* obj0
= 0 ;
3566 PyObject
* obj1
= 0 ;
3568 (char *) "self",(char *) "sz", NULL
3571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3573 if (SWIG_arg_fail(1)) SWIG_fail
;
3576 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3580 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
3582 wxPyEndAllowThreads(__tstate
);
3583 if (PyErr_Occurred()) SWIG_fail
;
3587 resultptr
= new wxSize((wxSize
&)(result
));
3588 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3596 static PyObject
*_wrap_Size___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3597 PyObject
*resultobj
;
3598 wxSize
*arg1
= (wxSize
*) 0 ;
3602 PyObject
* obj0
= 0 ;
3603 PyObject
* obj1
= 0 ;
3605 (char *) "self",(char *) "sz", NULL
3608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3610 if (SWIG_arg_fail(1)) SWIG_fail
;
3613 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3617 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
3619 wxPyEndAllowThreads(__tstate
);
3620 if (PyErr_Occurred()) SWIG_fail
;
3624 resultptr
= new wxSize((wxSize
&)(result
));
3625 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3633 static PyObject
*_wrap_Size_IncTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3634 PyObject
*resultobj
;
3635 wxSize
*arg1
= (wxSize
*) 0 ;
3638 PyObject
* obj0
= 0 ;
3639 PyObject
* obj1
= 0 ;
3641 (char *) "self",(char *) "sz", NULL
3644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3646 if (SWIG_arg_fail(1)) SWIG_fail
;
3649 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3653 (arg1
)->IncTo((wxSize
const &)*arg2
);
3655 wxPyEndAllowThreads(__tstate
);
3656 if (PyErr_Occurred()) SWIG_fail
;
3658 Py_INCREF(Py_None
); resultobj
= Py_None
;
3665 static PyObject
*_wrap_Size_DecTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3666 PyObject
*resultobj
;
3667 wxSize
*arg1
= (wxSize
*) 0 ;
3670 PyObject
* obj0
= 0 ;
3671 PyObject
* obj1
= 0 ;
3673 (char *) "self",(char *) "sz", NULL
3676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3678 if (SWIG_arg_fail(1)) SWIG_fail
;
3681 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3685 (arg1
)->DecTo((wxSize
const &)*arg2
);
3687 wxPyEndAllowThreads(__tstate
);
3688 if (PyErr_Occurred()) SWIG_fail
;
3690 Py_INCREF(Py_None
); resultobj
= Py_None
;
3697 static PyObject
*_wrap_Size_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3698 PyObject
*resultobj
;
3699 wxSize
*arg1
= (wxSize
*) 0 ;
3702 PyObject
* obj0
= 0 ;
3703 PyObject
* obj1
= 0 ;
3704 PyObject
* obj2
= 0 ;
3706 (char *) "self",(char *) "w",(char *) "h", NULL
3709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3711 if (SWIG_arg_fail(1)) SWIG_fail
;
3713 arg2
= (int)(SWIG_As_int(obj1
));
3714 if (SWIG_arg_fail(2)) SWIG_fail
;
3717 arg3
= (int)(SWIG_As_int(obj2
));
3718 if (SWIG_arg_fail(3)) SWIG_fail
;
3721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3722 (arg1
)->Set(arg2
,arg3
);
3724 wxPyEndAllowThreads(__tstate
);
3725 if (PyErr_Occurred()) SWIG_fail
;
3727 Py_INCREF(Py_None
); resultobj
= Py_None
;
3734 static PyObject
*_wrap_Size_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3735 PyObject
*resultobj
;
3736 wxSize
*arg1
= (wxSize
*) 0 ;
3738 PyObject
* obj0
= 0 ;
3739 PyObject
* obj1
= 0 ;
3741 (char *) "self",(char *) "w", NULL
3744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3746 if (SWIG_arg_fail(1)) SWIG_fail
;
3748 arg2
= (int)(SWIG_As_int(obj1
));
3749 if (SWIG_arg_fail(2)) SWIG_fail
;
3752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3753 (arg1
)->SetWidth(arg2
);
3755 wxPyEndAllowThreads(__tstate
);
3756 if (PyErr_Occurred()) SWIG_fail
;
3758 Py_INCREF(Py_None
); resultobj
= Py_None
;
3765 static PyObject
*_wrap_Size_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3766 PyObject
*resultobj
;
3767 wxSize
*arg1
= (wxSize
*) 0 ;
3769 PyObject
* obj0
= 0 ;
3770 PyObject
* obj1
= 0 ;
3772 (char *) "self",(char *) "h", NULL
3775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3777 if (SWIG_arg_fail(1)) SWIG_fail
;
3779 arg2
= (int)(SWIG_As_int(obj1
));
3780 if (SWIG_arg_fail(2)) SWIG_fail
;
3783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3784 (arg1
)->SetHeight(arg2
);
3786 wxPyEndAllowThreads(__tstate
);
3787 if (PyErr_Occurred()) SWIG_fail
;
3789 Py_INCREF(Py_None
); resultobj
= Py_None
;
3796 static PyObject
*_wrap_Size_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3797 PyObject
*resultobj
;
3798 wxSize
*arg1
= (wxSize
*) 0 ;
3800 PyObject
* obj0
= 0 ;
3802 (char *) "self", NULL
3805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
3806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3807 if (SWIG_arg_fail(1)) SWIG_fail
;
3809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3810 result
= (int)((wxSize
const *)arg1
)->GetWidth();
3812 wxPyEndAllowThreads(__tstate
);
3813 if (PyErr_Occurred()) SWIG_fail
;
3816 resultobj
= SWIG_From_int((int)(result
));
3824 static PyObject
*_wrap_Size_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3825 PyObject
*resultobj
;
3826 wxSize
*arg1
= (wxSize
*) 0 ;
3828 PyObject
* obj0
= 0 ;
3830 (char *) "self", NULL
3833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
3834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3835 if (SWIG_arg_fail(1)) SWIG_fail
;
3837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3838 result
= (int)((wxSize
const *)arg1
)->GetHeight();
3840 wxPyEndAllowThreads(__tstate
);
3841 if (PyErr_Occurred()) SWIG_fail
;
3844 resultobj
= SWIG_From_int((int)(result
));
3852 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3853 PyObject
*resultobj
;
3854 wxSize
*arg1
= (wxSize
*) 0 ;
3856 PyObject
* obj0
= 0 ;
3858 (char *) "self", NULL
3861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
3862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3863 if (SWIG_arg_fail(1)) SWIG_fail
;
3865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3866 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
3868 wxPyEndAllowThreads(__tstate
);
3869 if (PyErr_Occurred()) SWIG_fail
;
3872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3880 static PyObject
*_wrap_Size_SetDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3881 PyObject
*resultobj
;
3882 wxSize
*arg1
= (wxSize
*) 0 ;
3885 PyObject
* obj0
= 0 ;
3886 PyObject
* obj1
= 0 ;
3888 (char *) "self",(char *) "size", NULL
3891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
3892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3893 if (SWIG_arg_fail(1)) SWIG_fail
;
3896 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3900 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
3902 wxPyEndAllowThreads(__tstate
);
3903 if (PyErr_Occurred()) SWIG_fail
;
3905 Py_INCREF(Py_None
); resultobj
= Py_None
;
3912 static PyObject
*_wrap_Size_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3913 PyObject
*resultobj
;
3914 wxSize
*arg1
= (wxSize
*) 0 ;
3916 PyObject
* obj0
= 0 ;
3918 (char *) "self", NULL
3921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
3922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3923 if (SWIG_arg_fail(1)) SWIG_fail
;
3925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3926 result
= (PyObject
*)wxSize_Get(arg1
);
3928 wxPyEndAllowThreads(__tstate
);
3929 if (PyErr_Occurred()) SWIG_fail
;
3938 static PyObject
* Size_swigregister(PyObject
*, PyObject
*args
) {
3940 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3941 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
3943 return Py_BuildValue((char *)"");
3945 static PyObject
*_wrap_RealPoint_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3946 PyObject
*resultobj
;
3947 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3949 PyObject
* obj0
= 0 ;
3950 PyObject
* obj1
= 0 ;
3952 (char *) "self",(char *) "x", NULL
3955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3957 if (SWIG_arg_fail(1)) SWIG_fail
;
3959 arg2
= (double)(SWIG_As_double(obj1
));
3960 if (SWIG_arg_fail(2)) SWIG_fail
;
3962 if (arg1
) (arg1
)->x
= arg2
;
3964 Py_INCREF(Py_None
); resultobj
= Py_None
;
3971 static PyObject
*_wrap_RealPoint_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3972 PyObject
*resultobj
;
3973 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3975 PyObject
* obj0
= 0 ;
3977 (char *) "self", NULL
3980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
3981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3982 if (SWIG_arg_fail(1)) SWIG_fail
;
3983 result
= (double) ((arg1
)->x
);
3986 resultobj
= SWIG_From_double((double)(result
));
3994 static PyObject
*_wrap_RealPoint_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3995 PyObject
*resultobj
;
3996 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3998 PyObject
* obj0
= 0 ;
3999 PyObject
* obj1
= 0 ;
4001 (char *) "self",(char *) "y", NULL
4004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4006 if (SWIG_arg_fail(1)) SWIG_fail
;
4008 arg2
= (double)(SWIG_As_double(obj1
));
4009 if (SWIG_arg_fail(2)) SWIG_fail
;
4011 if (arg1
) (arg1
)->y
= arg2
;
4013 Py_INCREF(Py_None
); resultobj
= Py_None
;
4020 static PyObject
*_wrap_RealPoint_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4021 PyObject
*resultobj
;
4022 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4024 PyObject
* obj0
= 0 ;
4026 (char *) "self", NULL
4029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
4030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4031 if (SWIG_arg_fail(1)) SWIG_fail
;
4032 result
= (double) ((arg1
)->y
);
4035 resultobj
= SWIG_From_double((double)(result
));
4043 static PyObject
*_wrap_new_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4044 PyObject
*resultobj
;
4045 double arg1
= (double) 0.0 ;
4046 double arg2
= (double) 0.0 ;
4047 wxRealPoint
*result
;
4048 PyObject
* obj0
= 0 ;
4049 PyObject
* obj1
= 0 ;
4051 (char *) "x",(char *) "y", NULL
4054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4057 arg1
= (double)(SWIG_As_double(obj0
));
4058 if (SWIG_arg_fail(1)) SWIG_fail
;
4063 arg2
= (double)(SWIG_As_double(obj1
));
4064 if (SWIG_arg_fail(2)) SWIG_fail
;
4068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4069 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
4071 wxPyEndAllowThreads(__tstate
);
4072 if (PyErr_Occurred()) SWIG_fail
;
4074 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
4081 static PyObject
*_wrap_delete_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4082 PyObject
*resultobj
;
4083 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4084 PyObject
* obj0
= 0 ;
4086 (char *) "self", NULL
4089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
4090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4091 if (SWIG_arg_fail(1)) SWIG_fail
;
4093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4096 wxPyEndAllowThreads(__tstate
);
4097 if (PyErr_Occurred()) SWIG_fail
;
4099 Py_INCREF(Py_None
); resultobj
= Py_None
;
4106 static PyObject
*_wrap_RealPoint___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4107 PyObject
*resultobj
;
4108 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4109 wxRealPoint
*arg2
= 0 ;
4112 PyObject
* obj0
= 0 ;
4113 PyObject
* obj1
= 0 ;
4115 (char *) "self",(char *) "pt", NULL
4118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4120 if (SWIG_arg_fail(1)) SWIG_fail
;
4123 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4127 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
4129 wxPyEndAllowThreads(__tstate
);
4130 if (PyErr_Occurred()) SWIG_fail
;
4133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4141 static PyObject
*_wrap_RealPoint___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4142 PyObject
*resultobj
;
4143 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4144 wxRealPoint
*arg2
= 0 ;
4147 PyObject
* obj0
= 0 ;
4148 PyObject
* obj1
= 0 ;
4150 (char *) "self",(char *) "pt", NULL
4153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4155 if (SWIG_arg_fail(1)) SWIG_fail
;
4158 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4162 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
4164 wxPyEndAllowThreads(__tstate
);
4165 if (PyErr_Occurred()) SWIG_fail
;
4168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4176 static PyObject
*_wrap_RealPoint___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4177 PyObject
*resultobj
;
4178 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4179 wxRealPoint
*arg2
= 0 ;
4182 PyObject
* obj0
= 0 ;
4183 PyObject
* obj1
= 0 ;
4185 (char *) "self",(char *) "pt", NULL
4188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4190 if (SWIG_arg_fail(1)) SWIG_fail
;
4193 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4197 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
4199 wxPyEndAllowThreads(__tstate
);
4200 if (PyErr_Occurred()) SWIG_fail
;
4203 wxRealPoint
* resultptr
;
4204 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4205 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4213 static PyObject
*_wrap_RealPoint___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4214 PyObject
*resultobj
;
4215 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4216 wxRealPoint
*arg2
= 0 ;
4219 PyObject
* obj0
= 0 ;
4220 PyObject
* obj1
= 0 ;
4222 (char *) "self",(char *) "pt", NULL
4225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4227 if (SWIG_arg_fail(1)) SWIG_fail
;
4230 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4234 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
4236 wxPyEndAllowThreads(__tstate
);
4237 if (PyErr_Occurred()) SWIG_fail
;
4240 wxRealPoint
* resultptr
;
4241 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4242 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4250 static PyObject
*_wrap_RealPoint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4251 PyObject
*resultobj
;
4252 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4255 PyObject
* obj0
= 0 ;
4256 PyObject
* obj1
= 0 ;
4257 PyObject
* obj2
= 0 ;
4259 (char *) "self",(char *) "x",(char *) "y", NULL
4262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4264 if (SWIG_arg_fail(1)) SWIG_fail
;
4266 arg2
= (double)(SWIG_As_double(obj1
));
4267 if (SWIG_arg_fail(2)) SWIG_fail
;
4270 arg3
= (double)(SWIG_As_double(obj2
));
4271 if (SWIG_arg_fail(3)) SWIG_fail
;
4274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4275 wxRealPoint_Set(arg1
,arg2
,arg3
);
4277 wxPyEndAllowThreads(__tstate
);
4278 if (PyErr_Occurred()) SWIG_fail
;
4280 Py_INCREF(Py_None
); resultobj
= Py_None
;
4287 static PyObject
*_wrap_RealPoint_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4288 PyObject
*resultobj
;
4289 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4291 PyObject
* obj0
= 0 ;
4293 (char *) "self", NULL
4296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
4297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4298 if (SWIG_arg_fail(1)) SWIG_fail
;
4300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4301 result
= (PyObject
*)wxRealPoint_Get(arg1
);
4303 wxPyEndAllowThreads(__tstate
);
4304 if (PyErr_Occurred()) SWIG_fail
;
4313 static PyObject
* RealPoint_swigregister(PyObject
*, PyObject
*args
) {
4315 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4316 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
4318 return Py_BuildValue((char *)"");
4320 static PyObject
*_wrap_Point_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4321 PyObject
*resultobj
;
4322 wxPoint
*arg1
= (wxPoint
*) 0 ;
4324 PyObject
* obj0
= 0 ;
4325 PyObject
* obj1
= 0 ;
4327 (char *) "self",(char *) "x", NULL
4330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4332 if (SWIG_arg_fail(1)) SWIG_fail
;
4334 arg2
= (int)(SWIG_As_int(obj1
));
4335 if (SWIG_arg_fail(2)) SWIG_fail
;
4337 if (arg1
) (arg1
)->x
= arg2
;
4339 Py_INCREF(Py_None
); resultobj
= Py_None
;
4346 static PyObject
*_wrap_Point_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4347 PyObject
*resultobj
;
4348 wxPoint
*arg1
= (wxPoint
*) 0 ;
4350 PyObject
* obj0
= 0 ;
4352 (char *) "self", NULL
4355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
4356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4357 if (SWIG_arg_fail(1)) SWIG_fail
;
4358 result
= (int) ((arg1
)->x
);
4361 resultobj
= SWIG_From_int((int)(result
));
4369 static PyObject
*_wrap_Point_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4370 PyObject
*resultobj
;
4371 wxPoint
*arg1
= (wxPoint
*) 0 ;
4373 PyObject
* obj0
= 0 ;
4374 PyObject
* obj1
= 0 ;
4376 (char *) "self",(char *) "y", NULL
4379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4381 if (SWIG_arg_fail(1)) SWIG_fail
;
4383 arg2
= (int)(SWIG_As_int(obj1
));
4384 if (SWIG_arg_fail(2)) SWIG_fail
;
4386 if (arg1
) (arg1
)->y
= arg2
;
4388 Py_INCREF(Py_None
); resultobj
= Py_None
;
4395 static PyObject
*_wrap_Point_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4396 PyObject
*resultobj
;
4397 wxPoint
*arg1
= (wxPoint
*) 0 ;
4399 PyObject
* obj0
= 0 ;
4401 (char *) "self", NULL
4404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
4405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4406 if (SWIG_arg_fail(1)) SWIG_fail
;
4407 result
= (int) ((arg1
)->y
);
4410 resultobj
= SWIG_From_int((int)(result
));
4418 static PyObject
*_wrap_new_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4419 PyObject
*resultobj
;
4420 int arg1
= (int) 0 ;
4421 int arg2
= (int) 0 ;
4423 PyObject
* obj0
= 0 ;
4424 PyObject
* obj1
= 0 ;
4426 (char *) "x",(char *) "y", NULL
4429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
4432 arg1
= (int)(SWIG_As_int(obj0
));
4433 if (SWIG_arg_fail(1)) SWIG_fail
;
4438 arg2
= (int)(SWIG_As_int(obj1
));
4439 if (SWIG_arg_fail(2)) SWIG_fail
;
4443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4444 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
4446 wxPyEndAllowThreads(__tstate
);
4447 if (PyErr_Occurred()) SWIG_fail
;
4449 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4456 static PyObject
*_wrap_delete_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4457 PyObject
*resultobj
;
4458 wxPoint
*arg1
= (wxPoint
*) 0 ;
4459 PyObject
* obj0
= 0 ;
4461 (char *) "self", NULL
4464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
4465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4466 if (SWIG_arg_fail(1)) SWIG_fail
;
4468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4471 wxPyEndAllowThreads(__tstate
);
4472 if (PyErr_Occurred()) SWIG_fail
;
4474 Py_INCREF(Py_None
); resultobj
= Py_None
;
4481 static PyObject
*_wrap_Point___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4482 PyObject
*resultobj
;
4483 wxPoint
*arg1
= (wxPoint
*) 0 ;
4487 PyObject
* obj0
= 0 ;
4488 PyObject
* obj1
= 0 ;
4490 (char *) "self",(char *) "pt", NULL
4493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4495 if (SWIG_arg_fail(1)) SWIG_fail
;
4498 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4502 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
4504 wxPyEndAllowThreads(__tstate
);
4505 if (PyErr_Occurred()) SWIG_fail
;
4508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4516 static PyObject
*_wrap_Point___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4517 PyObject
*resultobj
;
4518 wxPoint
*arg1
= (wxPoint
*) 0 ;
4522 PyObject
* obj0
= 0 ;
4523 PyObject
* obj1
= 0 ;
4525 (char *) "self",(char *) "pt", NULL
4528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4530 if (SWIG_arg_fail(1)) SWIG_fail
;
4533 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4537 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
4539 wxPyEndAllowThreads(__tstate
);
4540 if (PyErr_Occurred()) SWIG_fail
;
4543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4551 static PyObject
*_wrap_Point___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4552 PyObject
*resultobj
;
4553 wxPoint
*arg1
= (wxPoint
*) 0 ;
4557 PyObject
* obj0
= 0 ;
4558 PyObject
* obj1
= 0 ;
4560 (char *) "self",(char *) "pt", NULL
4563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4565 if (SWIG_arg_fail(1)) SWIG_fail
;
4568 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4572 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
4574 wxPyEndAllowThreads(__tstate
);
4575 if (PyErr_Occurred()) SWIG_fail
;
4578 wxPoint
* resultptr
;
4579 resultptr
= new wxPoint((wxPoint
&)(result
));
4580 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4588 static PyObject
*_wrap_Point___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4589 PyObject
*resultobj
;
4590 wxPoint
*arg1
= (wxPoint
*) 0 ;
4594 PyObject
* obj0
= 0 ;
4595 PyObject
* obj1
= 0 ;
4597 (char *) "self",(char *) "pt", NULL
4600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4602 if (SWIG_arg_fail(1)) SWIG_fail
;
4605 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4609 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
4611 wxPyEndAllowThreads(__tstate
);
4612 if (PyErr_Occurred()) SWIG_fail
;
4615 wxPoint
* resultptr
;
4616 resultptr
= new wxPoint((wxPoint
&)(result
));
4617 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4625 static PyObject
*_wrap_Point___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4626 PyObject
*resultobj
;
4627 wxPoint
*arg1
= (wxPoint
*) 0 ;
4631 PyObject
* obj0
= 0 ;
4632 PyObject
* obj1
= 0 ;
4634 (char *) "self",(char *) "pt", NULL
4637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4639 if (SWIG_arg_fail(1)) SWIG_fail
;
4642 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4647 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
4648 result
= (wxPoint
*) &_result_ref
;
4651 wxPyEndAllowThreads(__tstate
);
4652 if (PyErr_Occurred()) SWIG_fail
;
4654 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4661 static PyObject
*_wrap_Point___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4662 PyObject
*resultobj
;
4663 wxPoint
*arg1
= (wxPoint
*) 0 ;
4667 PyObject
* obj0
= 0 ;
4668 PyObject
* obj1
= 0 ;
4670 (char *) "self",(char *) "pt", NULL
4673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4675 if (SWIG_arg_fail(1)) SWIG_fail
;
4678 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4683 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
4684 result
= (wxPoint
*) &_result_ref
;
4687 wxPyEndAllowThreads(__tstate
);
4688 if (PyErr_Occurred()) SWIG_fail
;
4690 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4697 static PyObject
*_wrap_Point_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4698 PyObject
*resultobj
;
4699 wxPoint
*arg1
= (wxPoint
*) 0 ;
4702 PyObject
* obj0
= 0 ;
4703 PyObject
* obj1
= 0 ;
4704 PyObject
* obj2
= 0 ;
4706 (char *) "self",(char *) "x",(char *) "y", NULL
4709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4711 if (SWIG_arg_fail(1)) SWIG_fail
;
4713 arg2
= (long)(SWIG_As_long(obj1
));
4714 if (SWIG_arg_fail(2)) SWIG_fail
;
4717 arg3
= (long)(SWIG_As_long(obj2
));
4718 if (SWIG_arg_fail(3)) SWIG_fail
;
4721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4722 wxPoint_Set(arg1
,arg2
,arg3
);
4724 wxPyEndAllowThreads(__tstate
);
4725 if (PyErr_Occurred()) SWIG_fail
;
4727 Py_INCREF(Py_None
); resultobj
= Py_None
;
4734 static PyObject
*_wrap_Point_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4735 PyObject
*resultobj
;
4736 wxPoint
*arg1
= (wxPoint
*) 0 ;
4738 PyObject
* obj0
= 0 ;
4740 (char *) "self", NULL
4743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
4744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4745 if (SWIG_arg_fail(1)) SWIG_fail
;
4747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4748 result
= (PyObject
*)wxPoint_Get(arg1
);
4750 wxPyEndAllowThreads(__tstate
);
4751 if (PyErr_Occurred()) SWIG_fail
;
4760 static PyObject
* Point_swigregister(PyObject
*, PyObject
*args
) {
4762 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4763 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
4765 return Py_BuildValue((char *)"");
4767 static PyObject
*_wrap_new_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4768 PyObject
*resultobj
;
4769 int arg1
= (int) 0 ;
4770 int arg2
= (int) 0 ;
4771 int arg3
= (int) 0 ;
4772 int arg4
= (int) 0 ;
4774 PyObject
* obj0
= 0 ;
4775 PyObject
* obj1
= 0 ;
4776 PyObject
* obj2
= 0 ;
4777 PyObject
* obj3
= 0 ;
4779 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4785 arg1
= (int)(SWIG_As_int(obj0
));
4786 if (SWIG_arg_fail(1)) SWIG_fail
;
4791 arg2
= (int)(SWIG_As_int(obj1
));
4792 if (SWIG_arg_fail(2)) SWIG_fail
;
4797 arg3
= (int)(SWIG_As_int(obj2
));
4798 if (SWIG_arg_fail(3)) SWIG_fail
;
4803 arg4
= (int)(SWIG_As_int(obj3
));
4804 if (SWIG_arg_fail(4)) SWIG_fail
;
4808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4809 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
4811 wxPyEndAllowThreads(__tstate
);
4812 if (PyErr_Occurred()) SWIG_fail
;
4814 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4821 static PyObject
*_wrap_new_RectPP(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4822 PyObject
*resultobj
;
4828 PyObject
* obj0
= 0 ;
4829 PyObject
* obj1
= 0 ;
4831 (char *) "topLeft",(char *) "bottomRight", NULL
4834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
4837 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4841 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4845 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
4847 wxPyEndAllowThreads(__tstate
);
4848 if (PyErr_Occurred()) SWIG_fail
;
4850 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4857 static PyObject
*_wrap_new_RectPS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4858 PyObject
*resultobj
;
4864 PyObject
* obj0
= 0 ;
4865 PyObject
* obj1
= 0 ;
4867 (char *) "pos",(char *) "size", NULL
4870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
4873 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4877 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4881 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
4883 wxPyEndAllowThreads(__tstate
);
4884 if (PyErr_Occurred()) SWIG_fail
;
4886 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4893 static PyObject
*_wrap_new_RectS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4894 PyObject
*resultobj
;
4898 PyObject
* obj0
= 0 ;
4900 (char *) "size", NULL
4903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RectS",kwnames
,&obj0
)) goto fail
;
4906 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
4909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4910 result
= (wxRect
*)new wxRect((wxSize
const &)*arg1
);
4912 wxPyEndAllowThreads(__tstate
);
4913 if (PyErr_Occurred()) SWIG_fail
;
4915 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4922 static PyObject
*_wrap_delete_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4923 PyObject
*resultobj
;
4924 wxRect
*arg1
= (wxRect
*) 0 ;
4925 PyObject
* obj0
= 0 ;
4927 (char *) "self", NULL
4930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
4931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4932 if (SWIG_arg_fail(1)) SWIG_fail
;
4934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4937 wxPyEndAllowThreads(__tstate
);
4938 if (PyErr_Occurred()) SWIG_fail
;
4940 Py_INCREF(Py_None
); resultobj
= Py_None
;
4947 static PyObject
*_wrap_Rect_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4948 PyObject
*resultobj
;
4949 wxRect
*arg1
= (wxRect
*) 0 ;
4951 PyObject
* obj0
= 0 ;
4953 (char *) "self", NULL
4956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
4957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4958 if (SWIG_arg_fail(1)) SWIG_fail
;
4960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4961 result
= (int)((wxRect
const *)arg1
)->GetX();
4963 wxPyEndAllowThreads(__tstate
);
4964 if (PyErr_Occurred()) SWIG_fail
;
4967 resultobj
= SWIG_From_int((int)(result
));
4975 static PyObject
*_wrap_Rect_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4976 PyObject
*resultobj
;
4977 wxRect
*arg1
= (wxRect
*) 0 ;
4979 PyObject
* obj0
= 0 ;
4980 PyObject
* obj1
= 0 ;
4982 (char *) "self",(char *) "x", NULL
4985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
4986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4987 if (SWIG_arg_fail(1)) SWIG_fail
;
4989 arg2
= (int)(SWIG_As_int(obj1
));
4990 if (SWIG_arg_fail(2)) SWIG_fail
;
4993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4996 wxPyEndAllowThreads(__tstate
);
4997 if (PyErr_Occurred()) SWIG_fail
;
4999 Py_INCREF(Py_None
); resultobj
= Py_None
;
5006 static PyObject
*_wrap_Rect_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5007 PyObject
*resultobj
;
5008 wxRect
*arg1
= (wxRect
*) 0 ;
5010 PyObject
* obj0
= 0 ;
5012 (char *) "self", NULL
5015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
5016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5017 if (SWIG_arg_fail(1)) SWIG_fail
;
5019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5020 result
= (int)(arg1
)->GetY();
5022 wxPyEndAllowThreads(__tstate
);
5023 if (PyErr_Occurred()) SWIG_fail
;
5026 resultobj
= SWIG_From_int((int)(result
));
5034 static PyObject
*_wrap_Rect_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5035 PyObject
*resultobj
;
5036 wxRect
*arg1
= (wxRect
*) 0 ;
5038 PyObject
* obj0
= 0 ;
5039 PyObject
* obj1
= 0 ;
5041 (char *) "self",(char *) "y", NULL
5044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
5045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5046 if (SWIG_arg_fail(1)) SWIG_fail
;
5048 arg2
= (int)(SWIG_As_int(obj1
));
5049 if (SWIG_arg_fail(2)) SWIG_fail
;
5052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5055 wxPyEndAllowThreads(__tstate
);
5056 if (PyErr_Occurred()) SWIG_fail
;
5058 Py_INCREF(Py_None
); resultobj
= Py_None
;
5065 static PyObject
*_wrap_Rect_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5066 PyObject
*resultobj
;
5067 wxRect
*arg1
= (wxRect
*) 0 ;
5069 PyObject
* obj0
= 0 ;
5071 (char *) "self", NULL
5074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
5075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5076 if (SWIG_arg_fail(1)) SWIG_fail
;
5078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5079 result
= (int)((wxRect
const *)arg1
)->GetWidth();
5081 wxPyEndAllowThreads(__tstate
);
5082 if (PyErr_Occurred()) SWIG_fail
;
5085 resultobj
= SWIG_From_int((int)(result
));
5093 static PyObject
*_wrap_Rect_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5094 PyObject
*resultobj
;
5095 wxRect
*arg1
= (wxRect
*) 0 ;
5097 PyObject
* obj0
= 0 ;
5098 PyObject
* obj1
= 0 ;
5100 (char *) "self",(char *) "w", NULL
5103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5105 if (SWIG_arg_fail(1)) SWIG_fail
;
5107 arg2
= (int)(SWIG_As_int(obj1
));
5108 if (SWIG_arg_fail(2)) SWIG_fail
;
5111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5112 (arg1
)->SetWidth(arg2
);
5114 wxPyEndAllowThreads(__tstate
);
5115 if (PyErr_Occurred()) SWIG_fail
;
5117 Py_INCREF(Py_None
); resultobj
= Py_None
;
5124 static PyObject
*_wrap_Rect_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5125 PyObject
*resultobj
;
5126 wxRect
*arg1
= (wxRect
*) 0 ;
5128 PyObject
* obj0
= 0 ;
5130 (char *) "self", NULL
5133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
5134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5135 if (SWIG_arg_fail(1)) SWIG_fail
;
5137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5138 result
= (int)((wxRect
const *)arg1
)->GetHeight();
5140 wxPyEndAllowThreads(__tstate
);
5141 if (PyErr_Occurred()) SWIG_fail
;
5144 resultobj
= SWIG_From_int((int)(result
));
5152 static PyObject
*_wrap_Rect_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5153 PyObject
*resultobj
;
5154 wxRect
*arg1
= (wxRect
*) 0 ;
5156 PyObject
* obj0
= 0 ;
5157 PyObject
* obj1
= 0 ;
5159 (char *) "self",(char *) "h", NULL
5162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5164 if (SWIG_arg_fail(1)) SWIG_fail
;
5166 arg2
= (int)(SWIG_As_int(obj1
));
5167 if (SWIG_arg_fail(2)) SWIG_fail
;
5170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5171 (arg1
)->SetHeight(arg2
);
5173 wxPyEndAllowThreads(__tstate
);
5174 if (PyErr_Occurred()) SWIG_fail
;
5176 Py_INCREF(Py_None
); resultobj
= Py_None
;
5183 static PyObject
*_wrap_Rect_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5184 PyObject
*resultobj
;
5185 wxRect
*arg1
= (wxRect
*) 0 ;
5187 PyObject
* obj0
= 0 ;
5189 (char *) "self", NULL
5192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
5193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5194 if (SWIG_arg_fail(1)) SWIG_fail
;
5196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5197 result
= ((wxRect
const *)arg1
)->GetPosition();
5199 wxPyEndAllowThreads(__tstate
);
5200 if (PyErr_Occurred()) SWIG_fail
;
5203 wxPoint
* resultptr
;
5204 resultptr
= new wxPoint((wxPoint
&)(result
));
5205 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5213 static PyObject
*_wrap_Rect_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5214 PyObject
*resultobj
;
5215 wxRect
*arg1
= (wxRect
*) 0 ;
5218 PyObject
* obj0
= 0 ;
5219 PyObject
* obj1
= 0 ;
5221 (char *) "self",(char *) "p", NULL
5224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
5225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5226 if (SWIG_arg_fail(1)) SWIG_fail
;
5229 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5233 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
5235 wxPyEndAllowThreads(__tstate
);
5236 if (PyErr_Occurred()) SWIG_fail
;
5238 Py_INCREF(Py_None
); resultobj
= Py_None
;
5245 static PyObject
*_wrap_Rect_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5246 PyObject
*resultobj
;
5247 wxRect
*arg1
= (wxRect
*) 0 ;
5249 PyObject
* obj0
= 0 ;
5251 (char *) "self", NULL
5254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
5255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5256 if (SWIG_arg_fail(1)) SWIG_fail
;
5258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5259 result
= ((wxRect
const *)arg1
)->GetSize();
5261 wxPyEndAllowThreads(__tstate
);
5262 if (PyErr_Occurred()) SWIG_fail
;
5266 resultptr
= new wxSize((wxSize
&)(result
));
5267 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5275 static PyObject
*_wrap_Rect_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5276 PyObject
*resultobj
;
5277 wxRect
*arg1
= (wxRect
*) 0 ;
5280 PyObject
* obj0
= 0 ;
5281 PyObject
* obj1
= 0 ;
5283 (char *) "self",(char *) "s", NULL
5286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5288 if (SWIG_arg_fail(1)) SWIG_fail
;
5291 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5295 (arg1
)->SetSize((wxSize
const &)*arg2
);
5297 wxPyEndAllowThreads(__tstate
);
5298 if (PyErr_Occurred()) SWIG_fail
;
5300 Py_INCREF(Py_None
); resultobj
= Py_None
;
5307 static PyObject
*_wrap_Rect_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5308 PyObject
*resultobj
;
5309 wxRect
*arg1
= (wxRect
*) 0 ;
5311 PyObject
* obj0
= 0 ;
5313 (char *) "self", NULL
5316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_IsEmpty",kwnames
,&obj0
)) goto fail
;
5317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5318 if (SWIG_arg_fail(1)) SWIG_fail
;
5320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5321 result
= (bool)((wxRect
const *)arg1
)->IsEmpty();
5323 wxPyEndAllowThreads(__tstate
);
5324 if (PyErr_Occurred()) SWIG_fail
;
5327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5335 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5336 PyObject
*resultobj
;
5337 wxRect
*arg1
= (wxRect
*) 0 ;
5339 PyObject
* obj0
= 0 ;
5341 (char *) "self", NULL
5344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
5345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5346 if (SWIG_arg_fail(1)) SWIG_fail
;
5348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5349 result
= ((wxRect
const *)arg1
)->GetTopLeft();
5351 wxPyEndAllowThreads(__tstate
);
5352 if (PyErr_Occurred()) SWIG_fail
;
5355 wxPoint
* resultptr
;
5356 resultptr
= new wxPoint((wxPoint
&)(result
));
5357 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5365 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5366 PyObject
*resultobj
;
5367 wxRect
*arg1
= (wxRect
*) 0 ;
5370 PyObject
* obj0
= 0 ;
5371 PyObject
* obj1
= 0 ;
5373 (char *) "self",(char *) "p", NULL
5376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5378 if (SWIG_arg_fail(1)) SWIG_fail
;
5381 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5385 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
5387 wxPyEndAllowThreads(__tstate
);
5388 if (PyErr_Occurred()) SWIG_fail
;
5390 Py_INCREF(Py_None
); resultobj
= Py_None
;
5397 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5398 PyObject
*resultobj
;
5399 wxRect
*arg1
= (wxRect
*) 0 ;
5401 PyObject
* obj0
= 0 ;
5403 (char *) "self", NULL
5406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
5407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5408 if (SWIG_arg_fail(1)) SWIG_fail
;
5410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5411 result
= ((wxRect
const *)arg1
)->GetBottomRight();
5413 wxPyEndAllowThreads(__tstate
);
5414 if (PyErr_Occurred()) SWIG_fail
;
5417 wxPoint
* resultptr
;
5418 resultptr
= new wxPoint((wxPoint
&)(result
));
5419 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5427 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5428 PyObject
*resultobj
;
5429 wxRect
*arg1
= (wxRect
*) 0 ;
5432 PyObject
* obj0
= 0 ;
5433 PyObject
* obj1
= 0 ;
5435 (char *) "self",(char *) "p", NULL
5438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5440 if (SWIG_arg_fail(1)) SWIG_fail
;
5443 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5447 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
5449 wxPyEndAllowThreads(__tstate
);
5450 if (PyErr_Occurred()) SWIG_fail
;
5452 Py_INCREF(Py_None
); resultobj
= Py_None
;
5459 static PyObject
*_wrap_Rect_GetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5460 PyObject
*resultobj
;
5461 wxRect
*arg1
= (wxRect
*) 0 ;
5463 PyObject
* obj0
= 0 ;
5465 (char *) "self", NULL
5468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
5469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5470 if (SWIG_arg_fail(1)) SWIG_fail
;
5472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5473 result
= (int)((wxRect
const *)arg1
)->GetLeft();
5475 wxPyEndAllowThreads(__tstate
);
5476 if (PyErr_Occurred()) SWIG_fail
;
5479 resultobj
= SWIG_From_int((int)(result
));
5487 static PyObject
*_wrap_Rect_GetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5488 PyObject
*resultobj
;
5489 wxRect
*arg1
= (wxRect
*) 0 ;
5491 PyObject
* obj0
= 0 ;
5493 (char *) "self", NULL
5496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
5497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5498 if (SWIG_arg_fail(1)) SWIG_fail
;
5500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5501 result
= (int)((wxRect
const *)arg1
)->GetTop();
5503 wxPyEndAllowThreads(__tstate
);
5504 if (PyErr_Occurred()) SWIG_fail
;
5507 resultobj
= SWIG_From_int((int)(result
));
5515 static PyObject
*_wrap_Rect_GetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5516 PyObject
*resultobj
;
5517 wxRect
*arg1
= (wxRect
*) 0 ;
5519 PyObject
* obj0
= 0 ;
5521 (char *) "self", NULL
5524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
5525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5526 if (SWIG_arg_fail(1)) SWIG_fail
;
5528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5529 result
= (int)((wxRect
const *)arg1
)->GetBottom();
5531 wxPyEndAllowThreads(__tstate
);
5532 if (PyErr_Occurred()) SWIG_fail
;
5535 resultobj
= SWIG_From_int((int)(result
));
5543 static PyObject
*_wrap_Rect_GetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5544 PyObject
*resultobj
;
5545 wxRect
*arg1
= (wxRect
*) 0 ;
5547 PyObject
* obj0
= 0 ;
5549 (char *) "self", NULL
5552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
5553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5554 if (SWIG_arg_fail(1)) SWIG_fail
;
5556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5557 result
= (int)((wxRect
const *)arg1
)->GetRight();
5559 wxPyEndAllowThreads(__tstate
);
5560 if (PyErr_Occurred()) SWIG_fail
;
5563 resultobj
= SWIG_From_int((int)(result
));
5571 static PyObject
*_wrap_Rect_SetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5572 PyObject
*resultobj
;
5573 wxRect
*arg1
= (wxRect
*) 0 ;
5575 PyObject
* obj0
= 0 ;
5576 PyObject
* obj1
= 0 ;
5578 (char *) "self",(char *) "left", NULL
5581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5583 if (SWIG_arg_fail(1)) SWIG_fail
;
5585 arg2
= (int)(SWIG_As_int(obj1
));
5586 if (SWIG_arg_fail(2)) SWIG_fail
;
5589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5590 (arg1
)->SetLeft(arg2
);
5592 wxPyEndAllowThreads(__tstate
);
5593 if (PyErr_Occurred()) SWIG_fail
;
5595 Py_INCREF(Py_None
); resultobj
= Py_None
;
5602 static PyObject
*_wrap_Rect_SetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5603 PyObject
*resultobj
;
5604 wxRect
*arg1
= (wxRect
*) 0 ;
5606 PyObject
* obj0
= 0 ;
5607 PyObject
* obj1
= 0 ;
5609 (char *) "self",(char *) "right", NULL
5612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5614 if (SWIG_arg_fail(1)) SWIG_fail
;
5616 arg2
= (int)(SWIG_As_int(obj1
));
5617 if (SWIG_arg_fail(2)) SWIG_fail
;
5620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5621 (arg1
)->SetRight(arg2
);
5623 wxPyEndAllowThreads(__tstate
);
5624 if (PyErr_Occurred()) SWIG_fail
;
5626 Py_INCREF(Py_None
); resultobj
= Py_None
;
5633 static PyObject
*_wrap_Rect_SetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5634 PyObject
*resultobj
;
5635 wxRect
*arg1
= (wxRect
*) 0 ;
5637 PyObject
* obj0
= 0 ;
5638 PyObject
* obj1
= 0 ;
5640 (char *) "self",(char *) "top", NULL
5643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
5644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5645 if (SWIG_arg_fail(1)) SWIG_fail
;
5647 arg2
= (int)(SWIG_As_int(obj1
));
5648 if (SWIG_arg_fail(2)) SWIG_fail
;
5651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5652 (arg1
)->SetTop(arg2
);
5654 wxPyEndAllowThreads(__tstate
);
5655 if (PyErr_Occurred()) SWIG_fail
;
5657 Py_INCREF(Py_None
); resultobj
= Py_None
;
5664 static PyObject
*_wrap_Rect_SetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5665 PyObject
*resultobj
;
5666 wxRect
*arg1
= (wxRect
*) 0 ;
5668 PyObject
* obj0
= 0 ;
5669 PyObject
* obj1
= 0 ;
5671 (char *) "self",(char *) "bottom", NULL
5674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
5675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5676 if (SWIG_arg_fail(1)) SWIG_fail
;
5678 arg2
= (int)(SWIG_As_int(obj1
));
5679 if (SWIG_arg_fail(2)) SWIG_fail
;
5682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5683 (arg1
)->SetBottom(arg2
);
5685 wxPyEndAllowThreads(__tstate
);
5686 if (PyErr_Occurred()) SWIG_fail
;
5688 Py_INCREF(Py_None
); resultobj
= Py_None
;
5695 static PyObject
*_wrap_Rect_Inflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5696 PyObject
*resultobj
;
5697 wxRect
*arg1
= (wxRect
*) 0 ;
5701 PyObject
* obj0
= 0 ;
5702 PyObject
* obj1
= 0 ;
5703 PyObject
* obj2
= 0 ;
5705 (char *) "self",(char *) "dx",(char *) "dy", NULL
5708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5710 if (SWIG_arg_fail(1)) SWIG_fail
;
5712 arg2
= (int)(SWIG_As_int(obj1
));
5713 if (SWIG_arg_fail(2)) SWIG_fail
;
5716 arg3
= (int)(SWIG_As_int(obj2
));
5717 if (SWIG_arg_fail(3)) SWIG_fail
;
5720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5722 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
5723 result
= (wxRect
*) &_result_ref
;
5726 wxPyEndAllowThreads(__tstate
);
5727 if (PyErr_Occurred()) SWIG_fail
;
5729 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5736 static PyObject
*_wrap_Rect_Deflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5737 PyObject
*resultobj
;
5738 wxRect
*arg1
= (wxRect
*) 0 ;
5742 PyObject
* obj0
= 0 ;
5743 PyObject
* obj1
= 0 ;
5744 PyObject
* obj2
= 0 ;
5746 (char *) "self",(char *) "dx",(char *) "dy", NULL
5749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5751 if (SWIG_arg_fail(1)) SWIG_fail
;
5753 arg2
= (int)(SWIG_As_int(obj1
));
5754 if (SWIG_arg_fail(2)) SWIG_fail
;
5757 arg3
= (int)(SWIG_As_int(obj2
));
5758 if (SWIG_arg_fail(3)) SWIG_fail
;
5761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5763 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
5764 result
= (wxRect
*) &_result_ref
;
5767 wxPyEndAllowThreads(__tstate
);
5768 if (PyErr_Occurred()) SWIG_fail
;
5770 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5777 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5778 PyObject
*resultobj
;
5779 wxRect
*arg1
= (wxRect
*) 0 ;
5782 PyObject
* obj0
= 0 ;
5783 PyObject
* obj1
= 0 ;
5784 PyObject
* obj2
= 0 ;
5786 (char *) "self",(char *) "dx",(char *) "dy", NULL
5789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5791 if (SWIG_arg_fail(1)) SWIG_fail
;
5793 arg2
= (int)(SWIG_As_int(obj1
));
5794 if (SWIG_arg_fail(2)) SWIG_fail
;
5797 arg3
= (int)(SWIG_As_int(obj2
));
5798 if (SWIG_arg_fail(3)) SWIG_fail
;
5801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5802 (arg1
)->Offset(arg2
,arg3
);
5804 wxPyEndAllowThreads(__tstate
);
5805 if (PyErr_Occurred()) SWIG_fail
;
5807 Py_INCREF(Py_None
); resultobj
= Py_None
;
5814 static PyObject
*_wrap_Rect_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5815 PyObject
*resultobj
;
5816 wxRect
*arg1
= (wxRect
*) 0 ;
5819 PyObject
* obj0
= 0 ;
5820 PyObject
* obj1
= 0 ;
5822 (char *) "self",(char *) "pt", NULL
5825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
5826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5827 if (SWIG_arg_fail(1)) SWIG_fail
;
5830 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5834 (arg1
)->Offset((wxPoint
const &)*arg2
);
5836 wxPyEndAllowThreads(__tstate
);
5837 if (PyErr_Occurred()) SWIG_fail
;
5839 Py_INCREF(Py_None
); resultobj
= Py_None
;
5846 static PyObject
*_wrap_Rect_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5847 PyObject
*resultobj
;
5848 wxRect
*arg1
= (wxRect
*) 0 ;
5852 PyObject
* obj0
= 0 ;
5853 PyObject
* obj1
= 0 ;
5855 (char *) "self",(char *) "rect", NULL
5858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
5859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5860 if (SWIG_arg_fail(1)) SWIG_fail
;
5863 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5867 result
= (arg1
)->Intersect((wxRect
const &)*arg2
);
5869 wxPyEndAllowThreads(__tstate
);
5870 if (PyErr_Occurred()) SWIG_fail
;
5874 resultptr
= new wxRect((wxRect
&)(result
));
5875 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5883 static PyObject
*_wrap_Rect_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5884 PyObject
*resultobj
;
5885 wxRect
*arg1
= (wxRect
*) 0 ;
5889 PyObject
* obj0
= 0 ;
5890 PyObject
* obj1
= 0 ;
5892 (char *) "self",(char *) "rect", NULL
5895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Union",kwnames
,&obj0
,&obj1
)) goto fail
;
5896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5897 if (SWIG_arg_fail(1)) SWIG_fail
;
5900 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5904 result
= (arg1
)->Union((wxRect
const &)*arg2
);
5906 wxPyEndAllowThreads(__tstate
);
5907 if (PyErr_Occurred()) SWIG_fail
;
5911 resultptr
= new wxRect((wxRect
&)(result
));
5912 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5920 static PyObject
*_wrap_Rect___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5921 PyObject
*resultobj
;
5922 wxRect
*arg1
= (wxRect
*) 0 ;
5926 PyObject
* obj0
= 0 ;
5927 PyObject
* obj1
= 0 ;
5929 (char *) "self",(char *) "rect", NULL
5932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
5933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5934 if (SWIG_arg_fail(1)) SWIG_fail
;
5937 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5941 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
5943 wxPyEndAllowThreads(__tstate
);
5944 if (PyErr_Occurred()) SWIG_fail
;
5948 resultptr
= new wxRect((wxRect
&)(result
));
5949 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5957 static PyObject
*_wrap_Rect___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5958 PyObject
*resultobj
;
5959 wxRect
*arg1
= (wxRect
*) 0 ;
5963 PyObject
* obj0
= 0 ;
5964 PyObject
* obj1
= 0 ;
5966 (char *) "self",(char *) "rect", NULL
5969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
5971 if (SWIG_arg_fail(1)) SWIG_fail
;
5974 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5979 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
5980 result
= (wxRect
*) &_result_ref
;
5983 wxPyEndAllowThreads(__tstate
);
5984 if (PyErr_Occurred()) SWIG_fail
;
5986 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
5993 static PyObject
*_wrap_Rect___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5994 PyObject
*resultobj
;
5995 wxRect
*arg1
= (wxRect
*) 0 ;
5999 PyObject
* obj0
= 0 ;
6000 PyObject
* obj1
= 0 ;
6002 (char *) "self",(char *) "rect", NULL
6005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
6006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6007 if (SWIG_arg_fail(1)) SWIG_fail
;
6010 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6014 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
6016 wxPyEndAllowThreads(__tstate
);
6017 if (PyErr_Occurred()) SWIG_fail
;
6020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6028 static PyObject
*_wrap_Rect___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6029 PyObject
*resultobj
;
6030 wxRect
*arg1
= (wxRect
*) 0 ;
6034 PyObject
* obj0
= 0 ;
6035 PyObject
* obj1
= 0 ;
6037 (char *) "self",(char *) "rect", NULL
6040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
6041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6042 if (SWIG_arg_fail(1)) SWIG_fail
;
6045 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6049 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
6051 wxPyEndAllowThreads(__tstate
);
6052 if (PyErr_Occurred()) SWIG_fail
;
6055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6063 static PyObject
*_wrap_Rect_InsideXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6064 PyObject
*resultobj
;
6065 wxRect
*arg1
= (wxRect
*) 0 ;
6069 PyObject
* obj0
= 0 ;
6070 PyObject
* obj1
= 0 ;
6071 PyObject
* obj2
= 0 ;
6073 (char *) "self",(char *) "x",(char *) "y", NULL
6076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6078 if (SWIG_arg_fail(1)) SWIG_fail
;
6080 arg2
= (int)(SWIG_As_int(obj1
));
6081 if (SWIG_arg_fail(2)) SWIG_fail
;
6084 arg3
= (int)(SWIG_As_int(obj2
));
6085 if (SWIG_arg_fail(3)) SWIG_fail
;
6088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6089 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
6091 wxPyEndAllowThreads(__tstate
);
6092 if (PyErr_Occurred()) SWIG_fail
;
6095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6103 static PyObject
*_wrap_Rect_Inside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6104 PyObject
*resultobj
;
6105 wxRect
*arg1
= (wxRect
*) 0 ;
6109 PyObject
* obj0
= 0 ;
6110 PyObject
* obj1
= 0 ;
6112 (char *) "self",(char *) "pt", NULL
6115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
6116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6117 if (SWIG_arg_fail(1)) SWIG_fail
;
6120 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6124 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
6126 wxPyEndAllowThreads(__tstate
);
6127 if (PyErr_Occurred()) SWIG_fail
;
6130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6138 static PyObject
*_wrap_Rect_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6139 PyObject
*resultobj
;
6140 wxRect
*arg1
= (wxRect
*) 0 ;
6144 PyObject
* obj0
= 0 ;
6145 PyObject
* obj1
= 0 ;
6147 (char *) "self",(char *) "rect", NULL
6150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
6151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6152 if (SWIG_arg_fail(1)) SWIG_fail
;
6155 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6159 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
6161 wxPyEndAllowThreads(__tstate
);
6162 if (PyErr_Occurred()) SWIG_fail
;
6165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6173 static PyObject
*_wrap_Rect_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6174 PyObject
*resultobj
;
6175 wxRect
*arg1
= (wxRect
*) 0 ;
6177 PyObject
* obj0
= 0 ;
6178 PyObject
* obj1
= 0 ;
6180 (char *) "self",(char *) "x", NULL
6183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6185 if (SWIG_arg_fail(1)) SWIG_fail
;
6187 arg2
= (int)(SWIG_As_int(obj1
));
6188 if (SWIG_arg_fail(2)) SWIG_fail
;
6190 if (arg1
) (arg1
)->x
= arg2
;
6192 Py_INCREF(Py_None
); resultobj
= Py_None
;
6199 static PyObject
*_wrap_Rect_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6200 PyObject
*resultobj
;
6201 wxRect
*arg1
= (wxRect
*) 0 ;
6203 PyObject
* obj0
= 0 ;
6205 (char *) "self", NULL
6208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
6209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6210 if (SWIG_arg_fail(1)) SWIG_fail
;
6211 result
= (int) ((arg1
)->x
);
6214 resultobj
= SWIG_From_int((int)(result
));
6222 static PyObject
*_wrap_Rect_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6223 PyObject
*resultobj
;
6224 wxRect
*arg1
= (wxRect
*) 0 ;
6226 PyObject
* obj0
= 0 ;
6227 PyObject
* obj1
= 0 ;
6229 (char *) "self",(char *) "y", NULL
6232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6234 if (SWIG_arg_fail(1)) SWIG_fail
;
6236 arg2
= (int)(SWIG_As_int(obj1
));
6237 if (SWIG_arg_fail(2)) SWIG_fail
;
6239 if (arg1
) (arg1
)->y
= arg2
;
6241 Py_INCREF(Py_None
); resultobj
= Py_None
;
6248 static PyObject
*_wrap_Rect_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6249 PyObject
*resultobj
;
6250 wxRect
*arg1
= (wxRect
*) 0 ;
6252 PyObject
* obj0
= 0 ;
6254 (char *) "self", NULL
6257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
6258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6259 if (SWIG_arg_fail(1)) SWIG_fail
;
6260 result
= (int) ((arg1
)->y
);
6263 resultobj
= SWIG_From_int((int)(result
));
6271 static PyObject
*_wrap_Rect_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6272 PyObject
*resultobj
;
6273 wxRect
*arg1
= (wxRect
*) 0 ;
6275 PyObject
* obj0
= 0 ;
6276 PyObject
* obj1
= 0 ;
6278 (char *) "self",(char *) "width", NULL
6281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6283 if (SWIG_arg_fail(1)) SWIG_fail
;
6285 arg2
= (int)(SWIG_As_int(obj1
));
6286 if (SWIG_arg_fail(2)) SWIG_fail
;
6288 if (arg1
) (arg1
)->width
= arg2
;
6290 Py_INCREF(Py_None
); resultobj
= Py_None
;
6297 static PyObject
*_wrap_Rect_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6298 PyObject
*resultobj
;
6299 wxRect
*arg1
= (wxRect
*) 0 ;
6301 PyObject
* obj0
= 0 ;
6303 (char *) "self", NULL
6306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
6307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6308 if (SWIG_arg_fail(1)) SWIG_fail
;
6309 result
= (int) ((arg1
)->width
);
6312 resultobj
= SWIG_From_int((int)(result
));
6320 static PyObject
*_wrap_Rect_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6321 PyObject
*resultobj
;
6322 wxRect
*arg1
= (wxRect
*) 0 ;
6324 PyObject
* obj0
= 0 ;
6325 PyObject
* obj1
= 0 ;
6327 (char *) "self",(char *) "height", NULL
6330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6332 if (SWIG_arg_fail(1)) SWIG_fail
;
6334 arg2
= (int)(SWIG_As_int(obj1
));
6335 if (SWIG_arg_fail(2)) SWIG_fail
;
6337 if (arg1
) (arg1
)->height
= arg2
;
6339 Py_INCREF(Py_None
); resultobj
= Py_None
;
6346 static PyObject
*_wrap_Rect_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6347 PyObject
*resultobj
;
6348 wxRect
*arg1
= (wxRect
*) 0 ;
6350 PyObject
* obj0
= 0 ;
6352 (char *) "self", NULL
6355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
6356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6357 if (SWIG_arg_fail(1)) SWIG_fail
;
6358 result
= (int) ((arg1
)->height
);
6361 resultobj
= SWIG_From_int((int)(result
));
6369 static PyObject
*_wrap_Rect_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6370 PyObject
*resultobj
;
6371 wxRect
*arg1
= (wxRect
*) 0 ;
6372 int arg2
= (int) 0 ;
6373 int arg3
= (int) 0 ;
6374 int arg4
= (int) 0 ;
6375 int arg5
= (int) 0 ;
6376 PyObject
* obj0
= 0 ;
6377 PyObject
* obj1
= 0 ;
6378 PyObject
* obj2
= 0 ;
6379 PyObject
* obj3
= 0 ;
6380 PyObject
* obj4
= 0 ;
6382 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6387 if (SWIG_arg_fail(1)) SWIG_fail
;
6390 arg2
= (int)(SWIG_As_int(obj1
));
6391 if (SWIG_arg_fail(2)) SWIG_fail
;
6396 arg3
= (int)(SWIG_As_int(obj2
));
6397 if (SWIG_arg_fail(3)) SWIG_fail
;
6402 arg4
= (int)(SWIG_As_int(obj3
));
6403 if (SWIG_arg_fail(4)) SWIG_fail
;
6408 arg5
= (int)(SWIG_As_int(obj4
));
6409 if (SWIG_arg_fail(5)) SWIG_fail
;
6413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6414 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
6416 wxPyEndAllowThreads(__tstate
);
6417 if (PyErr_Occurred()) SWIG_fail
;
6419 Py_INCREF(Py_None
); resultobj
= Py_None
;
6426 static PyObject
*_wrap_Rect_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6427 PyObject
*resultobj
;
6428 wxRect
*arg1
= (wxRect
*) 0 ;
6430 PyObject
* obj0
= 0 ;
6432 (char *) "self", NULL
6435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
6436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6437 if (SWIG_arg_fail(1)) SWIG_fail
;
6439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6440 result
= (PyObject
*)wxRect_Get(arg1
);
6442 wxPyEndAllowThreads(__tstate
);
6443 if (PyErr_Occurred()) SWIG_fail
;
6452 static PyObject
* Rect_swigregister(PyObject
*, PyObject
*args
) {
6454 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6455 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
6457 return Py_BuildValue((char *)"");
6459 static PyObject
*_wrap_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6460 PyObject
*resultobj
;
6461 wxRect
*arg1
= (wxRect
*) 0 ;
6462 wxRect
*arg2
= (wxRect
*) 0 ;
6464 PyObject
* obj0
= 0 ;
6465 PyObject
* obj1
= 0 ;
6467 (char *) "r1",(char *) "r2", NULL
6470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6472 if (SWIG_arg_fail(1)) SWIG_fail
;
6473 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6474 if (SWIG_arg_fail(2)) SWIG_fail
;
6476 if (!wxPyCheckForApp()) SWIG_fail
;
6477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6478 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
6480 wxPyEndAllowThreads(__tstate
);
6481 if (PyErr_Occurred()) SWIG_fail
;
6490 static PyObject
*_wrap_new_Point2D(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6491 PyObject
*resultobj
;
6492 double arg1
= (double) 0.0 ;
6493 double arg2
= (double) 0.0 ;
6495 PyObject
* obj0
= 0 ;
6496 PyObject
* obj1
= 0 ;
6498 (char *) "x",(char *) "y", NULL
6501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
6504 arg1
= (double)(SWIG_As_double(obj0
));
6505 if (SWIG_arg_fail(1)) SWIG_fail
;
6510 arg2
= (double)(SWIG_As_double(obj1
));
6511 if (SWIG_arg_fail(2)) SWIG_fail
;
6515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6516 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
6518 wxPyEndAllowThreads(__tstate
);
6519 if (PyErr_Occurred()) SWIG_fail
;
6521 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6528 static PyObject
*_wrap_new_Point2DCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6529 PyObject
*resultobj
;
6530 wxPoint2D
*arg1
= 0 ;
6533 PyObject
* obj0
= 0 ;
6538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
6541 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
6544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6545 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
6547 wxPyEndAllowThreads(__tstate
);
6548 if (PyErr_Occurred()) SWIG_fail
;
6550 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6557 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6558 PyObject
*resultobj
;
6562 PyObject
* obj0
= 0 ;
6567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
6570 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6574 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
6576 wxPyEndAllowThreads(__tstate
);
6577 if (PyErr_Occurred()) SWIG_fail
;
6579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6586 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6587 PyObject
*resultobj
;
6588 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6589 int *arg2
= (int *) 0 ;
6590 int *arg3
= (int *) 0 ;
6595 PyObject
* obj0
= 0 ;
6597 (char *) "self", NULL
6600 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6601 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
6603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6604 if (SWIG_arg_fail(1)) SWIG_fail
;
6606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6607 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
6609 wxPyEndAllowThreads(__tstate
);
6610 if (PyErr_Occurred()) SWIG_fail
;
6612 Py_INCREF(Py_None
); resultobj
= Py_None
;
6613 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6614 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6615 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6616 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6623 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6624 PyObject
*resultobj
;
6625 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6626 int *arg2
= (int *) 0 ;
6627 int *arg3
= (int *) 0 ;
6632 PyObject
* obj0
= 0 ;
6634 (char *) "self", NULL
6637 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6638 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
6640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6641 if (SWIG_arg_fail(1)) SWIG_fail
;
6643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6644 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
6646 wxPyEndAllowThreads(__tstate
);
6647 if (PyErr_Occurred()) SWIG_fail
;
6649 Py_INCREF(Py_None
); resultobj
= Py_None
;
6650 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6651 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6652 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6653 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6660 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6661 PyObject
*resultobj
;
6662 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6664 PyObject
* obj0
= 0 ;
6666 (char *) "self", NULL
6669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
6670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6671 if (SWIG_arg_fail(1)) SWIG_fail
;
6673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6674 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
6676 wxPyEndAllowThreads(__tstate
);
6677 if (PyErr_Occurred()) SWIG_fail
;
6680 resultobj
= SWIG_From_double((double)(result
));
6688 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6689 PyObject
*resultobj
;
6690 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6692 PyObject
* obj0
= 0 ;
6694 (char *) "self", NULL
6697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
6698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6699 if (SWIG_arg_fail(1)) SWIG_fail
;
6701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6702 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
6704 wxPyEndAllowThreads(__tstate
);
6705 if (PyErr_Occurred()) SWIG_fail
;
6708 resultobj
= SWIG_From_double((double)(result
));
6716 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6717 PyObject
*resultobj
;
6718 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6720 PyObject
* obj0
= 0 ;
6721 PyObject
* obj1
= 0 ;
6723 (char *) "self",(char *) "length", NULL
6726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
6727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6728 if (SWIG_arg_fail(1)) SWIG_fail
;
6730 arg2
= (double)(SWIG_As_double(obj1
));
6731 if (SWIG_arg_fail(2)) SWIG_fail
;
6734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6735 (arg1
)->SetVectorLength(arg2
);
6737 wxPyEndAllowThreads(__tstate
);
6738 if (PyErr_Occurred()) SWIG_fail
;
6740 Py_INCREF(Py_None
); resultobj
= Py_None
;
6747 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6748 PyObject
*resultobj
;
6749 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6751 PyObject
* obj0
= 0 ;
6752 PyObject
* obj1
= 0 ;
6754 (char *) "self",(char *) "degrees", NULL
6757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
6758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6759 if (SWIG_arg_fail(1)) SWIG_fail
;
6761 arg2
= (double)(SWIG_As_double(obj1
));
6762 if (SWIG_arg_fail(2)) SWIG_fail
;
6765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6766 (arg1
)->SetVectorAngle(arg2
);
6768 wxPyEndAllowThreads(__tstate
);
6769 if (PyErr_Occurred()) SWIG_fail
;
6771 Py_INCREF(Py_None
); resultobj
= Py_None
;
6778 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6779 PyObject
*resultobj
;
6780 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6781 wxPoint2D
*arg2
= 0 ;
6784 PyObject
* obj0
= 0 ;
6785 PyObject
* obj1
= 0 ;
6787 (char *) "self",(char *) "pt", NULL
6790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
6791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6792 if (SWIG_arg_fail(1)) SWIG_fail
;
6795 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6799 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
6801 wxPyEndAllowThreads(__tstate
);
6802 if (PyErr_Occurred()) SWIG_fail
;
6805 resultobj
= SWIG_From_double((double)(result
));
6813 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6814 PyObject
*resultobj
;
6815 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6816 wxPoint2D
*arg2
= 0 ;
6819 PyObject
* obj0
= 0 ;
6820 PyObject
* obj1
= 0 ;
6822 (char *) "self",(char *) "pt", NULL
6825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
6826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6827 if (SWIG_arg_fail(1)) SWIG_fail
;
6830 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6834 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
6836 wxPyEndAllowThreads(__tstate
);
6837 if (PyErr_Occurred()) SWIG_fail
;
6840 resultobj
= SWIG_From_double((double)(result
));
6848 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6849 PyObject
*resultobj
;
6850 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6851 wxPoint2D
*arg2
= 0 ;
6854 PyObject
* obj0
= 0 ;
6855 PyObject
* obj1
= 0 ;
6857 (char *) "self",(char *) "vec", NULL
6860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6862 if (SWIG_arg_fail(1)) SWIG_fail
;
6865 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6869 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
6871 wxPyEndAllowThreads(__tstate
);
6872 if (PyErr_Occurred()) SWIG_fail
;
6875 resultobj
= SWIG_From_double((double)(result
));
6883 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6884 PyObject
*resultobj
;
6885 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6886 wxPoint2D
*arg2
= 0 ;
6889 PyObject
* obj0
= 0 ;
6890 PyObject
* obj1
= 0 ;
6892 (char *) "self",(char *) "vec", NULL
6895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6897 if (SWIG_arg_fail(1)) SWIG_fail
;
6900 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6904 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
6906 wxPyEndAllowThreads(__tstate
);
6907 if (PyErr_Occurred()) SWIG_fail
;
6910 resultobj
= SWIG_From_double((double)(result
));
6918 static PyObject
*_wrap_Point2D___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6919 PyObject
*resultobj
;
6920 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6922 PyObject
* obj0
= 0 ;
6924 (char *) "self", NULL
6927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
6928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6929 if (SWIG_arg_fail(1)) SWIG_fail
;
6931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6932 result
= (arg1
)->operator -();
6934 wxPyEndAllowThreads(__tstate
);
6935 if (PyErr_Occurred()) SWIG_fail
;
6938 wxPoint2D
* resultptr
;
6939 resultptr
= new wxPoint2D((wxPoint2D
&)(result
));
6940 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
6948 static PyObject
*_wrap_Point2D___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6949 PyObject
*resultobj
;
6950 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6951 wxPoint2D
*arg2
= 0 ;
6954 PyObject
* obj0
= 0 ;
6955 PyObject
* obj1
= 0 ;
6957 (char *) "self",(char *) "pt", NULL
6960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
6961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6962 if (SWIG_arg_fail(1)) SWIG_fail
;
6965 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6970 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
6971 result
= (wxPoint2D
*) &_result_ref
;
6974 wxPyEndAllowThreads(__tstate
);
6975 if (PyErr_Occurred()) SWIG_fail
;
6977 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6984 static PyObject
*_wrap_Point2D___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6985 PyObject
*resultobj
;
6986 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6987 wxPoint2D
*arg2
= 0 ;
6990 PyObject
* obj0
= 0 ;
6991 PyObject
* obj1
= 0 ;
6993 (char *) "self",(char *) "pt", NULL
6996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
6997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6998 if (SWIG_arg_fail(1)) SWIG_fail
;
7001 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7006 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
7007 result
= (wxPoint2D
*) &_result_ref
;
7010 wxPyEndAllowThreads(__tstate
);
7011 if (PyErr_Occurred()) SWIG_fail
;
7013 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7020 static PyObject
*_wrap_Point2D___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7021 PyObject
*resultobj
;
7022 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7023 wxPoint2D
*arg2
= 0 ;
7026 PyObject
* obj0
= 0 ;
7027 PyObject
* obj1
= 0 ;
7029 (char *) "self",(char *) "pt", NULL
7032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
7033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7034 if (SWIG_arg_fail(1)) SWIG_fail
;
7037 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7042 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
7043 result
= (wxPoint2D
*) &_result_ref
;
7046 wxPyEndAllowThreads(__tstate
);
7047 if (PyErr_Occurred()) SWIG_fail
;
7049 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7056 static PyObject
*_wrap_Point2D___idiv__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7057 PyObject
*resultobj
;
7058 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7059 wxPoint2D
*arg2
= 0 ;
7062 PyObject
* obj0
= 0 ;
7063 PyObject
* obj1
= 0 ;
7065 (char *) "self",(char *) "pt", NULL
7068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
7069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7070 if (SWIG_arg_fail(1)) SWIG_fail
;
7073 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7078 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
7079 result
= (wxPoint2D
*) &_result_ref
;
7082 wxPyEndAllowThreads(__tstate
);
7083 if (PyErr_Occurred()) SWIG_fail
;
7085 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7092 static PyObject
*_wrap_Point2D___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7093 PyObject
*resultobj
;
7094 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7095 wxPoint2D
*arg2
= 0 ;
7098 PyObject
* obj0
= 0 ;
7099 PyObject
* obj1
= 0 ;
7101 (char *) "self",(char *) "pt", NULL
7104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7106 if (SWIG_arg_fail(1)) SWIG_fail
;
7109 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7113 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
7115 wxPyEndAllowThreads(__tstate
);
7116 if (PyErr_Occurred()) SWIG_fail
;
7119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7127 static PyObject
*_wrap_Point2D___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7128 PyObject
*resultobj
;
7129 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7130 wxPoint2D
*arg2
= 0 ;
7133 PyObject
* obj0
= 0 ;
7134 PyObject
* obj1
= 0 ;
7136 (char *) "self",(char *) "pt", NULL
7139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7141 if (SWIG_arg_fail(1)) SWIG_fail
;
7144 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7148 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
7150 wxPyEndAllowThreads(__tstate
);
7151 if (PyErr_Occurred()) SWIG_fail
;
7154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7162 static PyObject
*_wrap_Point2D_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7163 PyObject
*resultobj
;
7164 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7166 PyObject
* obj0
= 0 ;
7167 PyObject
* obj1
= 0 ;
7169 (char *) "self",(char *) "m_x", NULL
7172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7174 if (SWIG_arg_fail(1)) SWIG_fail
;
7176 arg2
= (double)(SWIG_As_double(obj1
));
7177 if (SWIG_arg_fail(2)) SWIG_fail
;
7179 if (arg1
) (arg1
)->m_x
= arg2
;
7181 Py_INCREF(Py_None
); resultobj
= Py_None
;
7188 static PyObject
*_wrap_Point2D_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7189 PyObject
*resultobj
;
7190 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7192 PyObject
* obj0
= 0 ;
7194 (char *) "self", NULL
7197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
7198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7199 if (SWIG_arg_fail(1)) SWIG_fail
;
7200 result
= (double) ((arg1
)->m_x
);
7203 resultobj
= SWIG_From_double((double)(result
));
7211 static PyObject
*_wrap_Point2D_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7212 PyObject
*resultobj
;
7213 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7215 PyObject
* obj0
= 0 ;
7216 PyObject
* obj1
= 0 ;
7218 (char *) "self",(char *) "m_y", NULL
7221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7223 if (SWIG_arg_fail(1)) SWIG_fail
;
7225 arg2
= (double)(SWIG_As_double(obj1
));
7226 if (SWIG_arg_fail(2)) SWIG_fail
;
7228 if (arg1
) (arg1
)->m_y
= arg2
;
7230 Py_INCREF(Py_None
); resultobj
= Py_None
;
7237 static PyObject
*_wrap_Point2D_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7238 PyObject
*resultobj
;
7239 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7241 PyObject
* obj0
= 0 ;
7243 (char *) "self", NULL
7246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
7247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7248 if (SWIG_arg_fail(1)) SWIG_fail
;
7249 result
= (double) ((arg1
)->m_y
);
7252 resultobj
= SWIG_From_double((double)(result
));
7260 static PyObject
*_wrap_Point2D_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7261 PyObject
*resultobj
;
7262 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7263 double arg2
= (double) 0 ;
7264 double arg3
= (double) 0 ;
7265 PyObject
* obj0
= 0 ;
7266 PyObject
* obj1
= 0 ;
7267 PyObject
* obj2
= 0 ;
7269 (char *) "self",(char *) "x",(char *) "y", NULL
7272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7274 if (SWIG_arg_fail(1)) SWIG_fail
;
7277 arg2
= (double)(SWIG_As_double(obj1
));
7278 if (SWIG_arg_fail(2)) SWIG_fail
;
7283 arg3
= (double)(SWIG_As_double(obj2
));
7284 if (SWIG_arg_fail(3)) SWIG_fail
;
7288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7289 wxPoint2D_Set(arg1
,arg2
,arg3
);
7291 wxPyEndAllowThreads(__tstate
);
7292 if (PyErr_Occurred()) SWIG_fail
;
7294 Py_INCREF(Py_None
); resultobj
= Py_None
;
7301 static PyObject
*_wrap_Point2D_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7302 PyObject
*resultobj
;
7303 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7305 PyObject
* obj0
= 0 ;
7307 (char *) "self", NULL
7310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
7311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7312 if (SWIG_arg_fail(1)) SWIG_fail
;
7314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7315 result
= (PyObject
*)wxPoint2D_Get(arg1
);
7317 wxPyEndAllowThreads(__tstate
);
7318 if (PyErr_Occurred()) SWIG_fail
;
7327 static PyObject
* Point2D_swigregister(PyObject
*, PyObject
*args
) {
7329 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7330 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
7332 return Py_BuildValue((char *)"");
7334 static int _wrap_DefaultPosition_set(PyObject
*) {
7335 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
7340 static PyObject
*_wrap_DefaultPosition_get(void) {
7343 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
7348 static int _wrap_DefaultSize_set(PyObject
*) {
7349 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
7354 static PyObject
*_wrap_DefaultSize_get(void) {
7357 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
7362 static PyObject
*_wrap_new_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7363 PyObject
*resultobj
;
7364 PyObject
*arg1
= (PyObject
*) 0 ;
7365 wxPyInputStream
*result
;
7366 PyObject
* obj0
= 0 ;
7371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
7374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7375 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
7377 wxPyEndAllowThreads(__tstate
);
7378 if (PyErr_Occurred()) SWIG_fail
;
7380 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
7387 static PyObject
*_wrap_delete_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7388 PyObject
*resultobj
;
7389 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7390 PyObject
* obj0
= 0 ;
7392 (char *) "self", NULL
7395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_InputStream",kwnames
,&obj0
)) goto fail
;
7396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7397 if (SWIG_arg_fail(1)) SWIG_fail
;
7399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7402 wxPyEndAllowThreads(__tstate
);
7403 if (PyErr_Occurred()) SWIG_fail
;
7405 Py_INCREF(Py_None
); resultobj
= Py_None
;
7412 static PyObject
*_wrap_InputStream_close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7413 PyObject
*resultobj
;
7414 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7415 PyObject
* obj0
= 0 ;
7417 (char *) "self", NULL
7420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
7421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7422 if (SWIG_arg_fail(1)) SWIG_fail
;
7424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7427 wxPyEndAllowThreads(__tstate
);
7428 if (PyErr_Occurred()) SWIG_fail
;
7430 Py_INCREF(Py_None
); resultobj
= Py_None
;
7437 static PyObject
*_wrap_InputStream_flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7438 PyObject
*resultobj
;
7439 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7440 PyObject
* obj0
= 0 ;
7442 (char *) "self", NULL
7445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
7446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7447 if (SWIG_arg_fail(1)) SWIG_fail
;
7449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7452 wxPyEndAllowThreads(__tstate
);
7453 if (PyErr_Occurred()) SWIG_fail
;
7455 Py_INCREF(Py_None
); resultobj
= Py_None
;
7462 static PyObject
*_wrap_InputStream_eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7463 PyObject
*resultobj
;
7464 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7466 PyObject
* obj0
= 0 ;
7468 (char *) "self", NULL
7471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
7472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7473 if (SWIG_arg_fail(1)) SWIG_fail
;
7475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7476 result
= (bool)(arg1
)->eof();
7478 wxPyEndAllowThreads(__tstate
);
7479 if (PyErr_Occurred()) SWIG_fail
;
7482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7490 static PyObject
*_wrap_InputStream_read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7491 PyObject
*resultobj
;
7492 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7493 int arg2
= (int) -1 ;
7495 PyObject
* obj0
= 0 ;
7496 PyObject
* obj1
= 0 ;
7498 (char *) "self",(char *) "size", NULL
7501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
7502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7503 if (SWIG_arg_fail(1)) SWIG_fail
;
7506 arg2
= (int)(SWIG_As_int(obj1
));
7507 if (SWIG_arg_fail(2)) SWIG_fail
;
7511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7512 result
= (PyObject
*)(arg1
)->read(arg2
);
7514 wxPyEndAllowThreads(__tstate
);
7515 if (PyErr_Occurred()) SWIG_fail
;
7524 static PyObject
*_wrap_InputStream_readline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7525 PyObject
*resultobj
;
7526 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7527 int arg2
= (int) -1 ;
7529 PyObject
* obj0
= 0 ;
7530 PyObject
* obj1
= 0 ;
7532 (char *) "self",(char *) "size", NULL
7535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
7536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7537 if (SWIG_arg_fail(1)) SWIG_fail
;
7540 arg2
= (int)(SWIG_As_int(obj1
));
7541 if (SWIG_arg_fail(2)) SWIG_fail
;
7545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7546 result
= (PyObject
*)(arg1
)->readline(arg2
);
7548 wxPyEndAllowThreads(__tstate
);
7549 if (PyErr_Occurred()) SWIG_fail
;
7558 static PyObject
*_wrap_InputStream_readlines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7559 PyObject
*resultobj
;
7560 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7561 int arg2
= (int) -1 ;
7563 PyObject
* obj0
= 0 ;
7564 PyObject
* obj1
= 0 ;
7566 (char *) "self",(char *) "sizehint", NULL
7569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
7570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7571 if (SWIG_arg_fail(1)) SWIG_fail
;
7574 arg2
= (int)(SWIG_As_int(obj1
));
7575 if (SWIG_arg_fail(2)) SWIG_fail
;
7579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7580 result
= (PyObject
*)(arg1
)->readlines(arg2
);
7582 wxPyEndAllowThreads(__tstate
);
7583 if (PyErr_Occurred()) SWIG_fail
;
7592 static PyObject
*_wrap_InputStream_seek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7593 PyObject
*resultobj
;
7594 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7596 int arg3
= (int) 0 ;
7597 PyObject
* obj0
= 0 ;
7598 PyObject
* obj1
= 0 ;
7599 PyObject
* obj2
= 0 ;
7601 (char *) "self",(char *) "offset",(char *) "whence", NULL
7604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7606 if (SWIG_arg_fail(1)) SWIG_fail
;
7608 arg2
= (int)(SWIG_As_int(obj1
));
7609 if (SWIG_arg_fail(2)) SWIG_fail
;
7613 arg3
= (int)(SWIG_As_int(obj2
));
7614 if (SWIG_arg_fail(3)) SWIG_fail
;
7618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7619 (arg1
)->seek(arg2
,arg3
);
7621 wxPyEndAllowThreads(__tstate
);
7622 if (PyErr_Occurred()) SWIG_fail
;
7624 Py_INCREF(Py_None
); resultobj
= Py_None
;
7631 static PyObject
*_wrap_InputStream_tell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7632 PyObject
*resultobj
;
7633 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7635 PyObject
* obj0
= 0 ;
7637 (char *) "self", NULL
7640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
7641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7642 if (SWIG_arg_fail(1)) SWIG_fail
;
7644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7645 result
= (int)(arg1
)->tell();
7647 wxPyEndAllowThreads(__tstate
);
7648 if (PyErr_Occurred()) SWIG_fail
;
7651 resultobj
= SWIG_From_int((int)(result
));
7659 static PyObject
*_wrap_InputStream_Peek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7660 PyObject
*resultobj
;
7661 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7663 PyObject
* obj0
= 0 ;
7665 (char *) "self", NULL
7668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
7669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7670 if (SWIG_arg_fail(1)) SWIG_fail
;
7672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7673 result
= (char)(arg1
)->Peek();
7675 wxPyEndAllowThreads(__tstate
);
7676 if (PyErr_Occurred()) SWIG_fail
;
7679 resultobj
= SWIG_From_char((char)(result
));
7687 static PyObject
*_wrap_InputStream_GetC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7688 PyObject
*resultobj
;
7689 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7691 PyObject
* obj0
= 0 ;
7693 (char *) "self", NULL
7696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
7697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7698 if (SWIG_arg_fail(1)) SWIG_fail
;
7700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7701 result
= (char)(arg1
)->GetC();
7703 wxPyEndAllowThreads(__tstate
);
7704 if (PyErr_Occurred()) SWIG_fail
;
7707 resultobj
= SWIG_From_char((char)(result
));
7715 static PyObject
*_wrap_InputStream_LastRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7716 PyObject
*resultobj
;
7717 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7719 PyObject
* obj0
= 0 ;
7721 (char *) "self", NULL
7724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
7725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7726 if (SWIG_arg_fail(1)) SWIG_fail
;
7728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7729 result
= (size_t)(arg1
)->LastRead();
7731 wxPyEndAllowThreads(__tstate
);
7732 if (PyErr_Occurred()) SWIG_fail
;
7735 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
7743 static PyObject
*_wrap_InputStream_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7744 PyObject
*resultobj
;
7745 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7747 PyObject
* obj0
= 0 ;
7749 (char *) "self", NULL
7752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
7753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7754 if (SWIG_arg_fail(1)) SWIG_fail
;
7756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7757 result
= (bool)(arg1
)->CanRead();
7759 wxPyEndAllowThreads(__tstate
);
7760 if (PyErr_Occurred()) SWIG_fail
;
7763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7771 static PyObject
*_wrap_InputStream_Eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7772 PyObject
*resultobj
;
7773 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7775 PyObject
* obj0
= 0 ;
7777 (char *) "self", NULL
7780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
7781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7782 if (SWIG_arg_fail(1)) SWIG_fail
;
7784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7785 result
= (bool)(arg1
)->Eof();
7787 wxPyEndAllowThreads(__tstate
);
7788 if (PyErr_Occurred()) SWIG_fail
;
7791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7799 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7800 PyObject
*resultobj
;
7801 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7804 PyObject
* obj0
= 0 ;
7805 PyObject
* obj1
= 0 ;
7807 (char *) "self",(char *) "c", NULL
7810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
7811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7812 if (SWIG_arg_fail(1)) SWIG_fail
;
7814 arg2
= (char)(SWIG_As_char(obj1
));
7815 if (SWIG_arg_fail(2)) SWIG_fail
;
7818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7819 result
= (bool)(arg1
)->Ungetch(arg2
);
7821 wxPyEndAllowThreads(__tstate
);
7822 if (PyErr_Occurred()) SWIG_fail
;
7825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7833 static PyObject
*_wrap_InputStream_SeekI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7834 PyObject
*resultobj
;
7835 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7837 wxSeekMode arg3
= (wxSeekMode
) wxFromStart
;
7839 PyObject
* obj0
= 0 ;
7840 PyObject
* obj1
= 0 ;
7841 PyObject
* obj2
= 0 ;
7843 (char *) "self",(char *) "pos",(char *) "mode", NULL
7846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7848 if (SWIG_arg_fail(1)) SWIG_fail
;
7850 arg2
= (long)(SWIG_As_long(obj1
));
7851 if (SWIG_arg_fail(2)) SWIG_fail
;
7855 arg3
= (wxSeekMode
)(SWIG_As_int(obj2
));
7856 if (SWIG_arg_fail(3)) SWIG_fail
;
7860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7861 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
7863 wxPyEndAllowThreads(__tstate
);
7864 if (PyErr_Occurred()) SWIG_fail
;
7867 resultobj
= SWIG_From_long((long)(result
));
7875 static PyObject
*_wrap_InputStream_TellI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7876 PyObject
*resultobj
;
7877 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7879 PyObject
* obj0
= 0 ;
7881 (char *) "self", NULL
7884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
7885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7886 if (SWIG_arg_fail(1)) SWIG_fail
;
7888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7889 result
= (long)(arg1
)->TellI();
7891 wxPyEndAllowThreads(__tstate
);
7892 if (PyErr_Occurred()) SWIG_fail
;
7895 resultobj
= SWIG_From_long((long)(result
));
7903 static PyObject
* InputStream_swigregister(PyObject
*, PyObject
*args
) {
7905 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7906 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
7908 return Py_BuildValue((char *)"");
7910 static PyObject
*_wrap_OutputStream_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7911 PyObject
*resultobj
;
7912 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
7913 PyObject
*arg2
= (PyObject
*) 0 ;
7914 PyObject
* obj0
= 0 ;
7915 PyObject
* obj1
= 0 ;
7917 (char *) "self",(char *) "obj", NULL
7920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
7921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxOutputStream
, SWIG_POINTER_EXCEPTION
| 0);
7922 if (SWIG_arg_fail(1)) SWIG_fail
;
7925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7926 wxOutputStream_write(arg1
,arg2
);
7928 wxPyEndAllowThreads(__tstate
);
7929 if (PyErr_Occurred()) SWIG_fail
;
7931 Py_INCREF(Py_None
); resultobj
= Py_None
;
7938 static PyObject
* OutputStream_swigregister(PyObject
*, PyObject
*args
) {
7940 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7941 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
7943 return Py_BuildValue((char *)"");
7945 static PyObject
*_wrap_new_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7946 PyObject
*resultobj
;
7947 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
7948 wxString
*arg2
= 0 ;
7949 wxString
*arg3
= 0 ;
7950 wxString
*arg4
= 0 ;
7953 wxPyInputStream
*temp1
;
7954 bool temp2
= false ;
7955 bool temp3
= false ;
7956 bool temp4
= false ;
7957 PyObject
* obj0
= 0 ;
7958 PyObject
* obj1
= 0 ;
7959 PyObject
* obj2
= 0 ;
7960 PyObject
* obj3
= 0 ;
7961 PyObject
* obj4
= 0 ;
7963 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
7966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7968 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
7969 arg1
= wxPyCBInputStream_copy((wxPyCBInputStream
*)temp1
->m_wxis
);
7971 PyErr_Clear(); // clear the failure of the wxPyConvert above
7972 arg1
= wxPyCBInputStream_create(obj0
, true);
7974 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
7980 arg2
= wxString_in_helper(obj1
);
7981 if (arg2
== NULL
) SWIG_fail
;
7985 arg3
= wxString_in_helper(obj2
);
7986 if (arg3
== NULL
) SWIG_fail
;
7990 arg4
= wxString_in_helper(obj3
);
7991 if (arg4
== NULL
) SWIG_fail
;
7996 SWIG_Python_ConvertPtr(obj4
, (void **)&argp
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
);
7997 if (SWIG_arg_fail(5)) SWIG_fail
;
7999 SWIG_null_ref("wxDateTime");
8001 if (SWIG_arg_fail(5)) SWIG_fail
;
8005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8006 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
8008 wxPyEndAllowThreads(__tstate
);
8009 if (PyErr_Occurred()) SWIG_fail
;
8012 resultobj
= wxPyMake_wxObject(result
, 1);
8044 static PyObject
*_wrap_delete_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8045 PyObject
*resultobj
;
8046 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8047 PyObject
* obj0
= 0 ;
8049 (char *) "self", NULL
8052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
8053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8054 if (SWIG_arg_fail(1)) SWIG_fail
;
8056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8059 wxPyEndAllowThreads(__tstate
);
8060 if (PyErr_Occurred()) SWIG_fail
;
8062 Py_INCREF(Py_None
); resultobj
= Py_None
;
8069 static PyObject
*_wrap_FSFile_GetStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8070 PyObject
*resultobj
;
8071 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8072 wxInputStream
*result
;
8073 PyObject
* obj0
= 0 ;
8075 (char *) "self", NULL
8078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
8079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8080 if (SWIG_arg_fail(1)) SWIG_fail
;
8082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8083 result
= (wxInputStream
*)(arg1
)->GetStream();
8085 wxPyEndAllowThreads(__tstate
);
8086 if (PyErr_Occurred()) SWIG_fail
;
8089 wxPyInputStream
* _ptr
= NULL
;
8092 _ptr
= new wxPyInputStream(result
);
8094 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
8102 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8103 PyObject
*resultobj
;
8104 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8106 PyObject
* obj0
= 0 ;
8108 (char *) "self", NULL
8111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
8112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8113 if (SWIG_arg_fail(1)) SWIG_fail
;
8115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8117 wxString
const &_result_ref
= (arg1
)->GetMimeType();
8118 result
= (wxString
*) &_result_ref
;
8121 wxPyEndAllowThreads(__tstate
);
8122 if (PyErr_Occurred()) SWIG_fail
;
8126 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8128 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8137 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8138 PyObject
*resultobj
;
8139 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8141 PyObject
* obj0
= 0 ;
8143 (char *) "self", NULL
8146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
8147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8148 if (SWIG_arg_fail(1)) SWIG_fail
;
8150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8152 wxString
const &_result_ref
= (arg1
)->GetLocation();
8153 result
= (wxString
*) &_result_ref
;
8156 wxPyEndAllowThreads(__tstate
);
8157 if (PyErr_Occurred()) SWIG_fail
;
8161 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8163 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8172 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8173 PyObject
*resultobj
;
8174 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8176 PyObject
* obj0
= 0 ;
8178 (char *) "self", NULL
8181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
8182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8183 if (SWIG_arg_fail(1)) SWIG_fail
;
8185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8187 wxString
const &_result_ref
= (arg1
)->GetAnchor();
8188 result
= (wxString
*) &_result_ref
;
8191 wxPyEndAllowThreads(__tstate
);
8192 if (PyErr_Occurred()) SWIG_fail
;
8196 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8198 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8207 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8208 PyObject
*resultobj
;
8209 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8211 PyObject
* obj0
= 0 ;
8213 (char *) "self", NULL
8216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
8217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8218 if (SWIG_arg_fail(1)) SWIG_fail
;
8220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8221 result
= (arg1
)->GetModificationTime();
8223 wxPyEndAllowThreads(__tstate
);
8224 if (PyErr_Occurred()) SWIG_fail
;
8227 wxDateTime
* resultptr
;
8228 resultptr
= new wxDateTime((wxDateTime
&)(result
));
8229 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
8237 static PyObject
* FSFile_swigregister(PyObject
*, PyObject
*args
) {
8239 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8240 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
8242 return Py_BuildValue((char *)"");
8244 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8246 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8247 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
8249 return Py_BuildValue((char *)"");
8251 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8252 PyObject
*resultobj
;
8253 wxPyFileSystemHandler
*result
;
8258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
8260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8261 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
8263 wxPyEndAllowThreads(__tstate
);
8264 if (PyErr_Occurred()) SWIG_fail
;
8266 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
8273 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8274 PyObject
*resultobj
;
8275 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8276 PyObject
*arg2
= (PyObject
*) 0 ;
8277 PyObject
*arg3
= (PyObject
*) 0 ;
8278 PyObject
* obj0
= 0 ;
8279 PyObject
* obj1
= 0 ;
8280 PyObject
* obj2
= 0 ;
8282 (char *) "self",(char *) "self",(char *) "_class", NULL
8285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8287 if (SWIG_arg_fail(1)) SWIG_fail
;
8291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8292 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8294 wxPyEndAllowThreads(__tstate
);
8295 if (PyErr_Occurred()) SWIG_fail
;
8297 Py_INCREF(Py_None
); resultobj
= Py_None
;
8304 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8305 PyObject
*resultobj
;
8306 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8307 wxString
*arg2
= 0 ;
8309 bool temp2
= false ;
8310 PyObject
* obj0
= 0 ;
8311 PyObject
* obj1
= 0 ;
8313 (char *) "self",(char *) "location", NULL
8316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
8317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8318 if (SWIG_arg_fail(1)) SWIG_fail
;
8320 arg2
= wxString_in_helper(obj1
);
8321 if (arg2
== NULL
) SWIG_fail
;
8325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8326 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
8328 wxPyEndAllowThreads(__tstate
);
8329 if (PyErr_Occurred()) SWIG_fail
;
8332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8348 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8349 PyObject
*resultobj
;
8350 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8351 wxFileSystem
*arg2
= 0 ;
8352 wxString
*arg3
= 0 ;
8354 bool temp3
= false ;
8355 PyObject
* obj0
= 0 ;
8356 PyObject
* obj1
= 0 ;
8357 PyObject
* obj2
= 0 ;
8359 (char *) "self",(char *) "fs",(char *) "location", NULL
8362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8364 if (SWIG_arg_fail(1)) SWIG_fail
;
8366 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8367 if (SWIG_arg_fail(2)) SWIG_fail
;
8369 SWIG_null_ref("wxFileSystem");
8371 if (SWIG_arg_fail(2)) SWIG_fail
;
8374 arg3
= wxString_in_helper(obj2
);
8375 if (arg3
== NULL
) SWIG_fail
;
8379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8380 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8382 wxPyEndAllowThreads(__tstate
);
8383 if (PyErr_Occurred()) SWIG_fail
;
8386 resultobj
= wxPyMake_wxObject(result
, 1);
8402 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8403 PyObject
*resultobj
;
8404 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8405 wxString
*arg2
= 0 ;
8406 int arg3
= (int) 0 ;
8408 bool temp2
= false ;
8409 PyObject
* obj0
= 0 ;
8410 PyObject
* obj1
= 0 ;
8411 PyObject
* obj2
= 0 ;
8413 (char *) "self",(char *) "spec",(char *) "flags", NULL
8416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8418 if (SWIG_arg_fail(1)) SWIG_fail
;
8420 arg2
= wxString_in_helper(obj1
);
8421 if (arg2
== NULL
) SWIG_fail
;
8426 arg3
= (int)(SWIG_As_int(obj2
));
8427 if (SWIG_arg_fail(3)) SWIG_fail
;
8431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8432 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8434 wxPyEndAllowThreads(__tstate
);
8435 if (PyErr_Occurred()) SWIG_fail
;
8439 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8441 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8458 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8459 PyObject
*resultobj
;
8460 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8462 PyObject
* obj0
= 0 ;
8464 (char *) "self", NULL
8467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8469 if (SWIG_arg_fail(1)) SWIG_fail
;
8471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8472 result
= (arg1
)->FindNext();
8474 wxPyEndAllowThreads(__tstate
);
8475 if (PyErr_Occurred()) SWIG_fail
;
8479 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8481 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8490 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8491 PyObject
*resultobj
;
8492 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8493 wxString
*arg2
= 0 ;
8495 bool temp2
= false ;
8496 PyObject
* obj0
= 0 ;
8497 PyObject
* obj1
= 0 ;
8499 (char *) "self",(char *) "location", NULL
8502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
8503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8504 if (SWIG_arg_fail(1)) SWIG_fail
;
8506 arg2
= wxString_in_helper(obj1
);
8507 if (arg2
== NULL
) SWIG_fail
;
8511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8512 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
8514 wxPyEndAllowThreads(__tstate
);
8515 if (PyErr_Occurred()) SWIG_fail
;
8519 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8521 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8538 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8539 PyObject
*resultobj
;
8540 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8541 wxString
*arg2
= 0 ;
8543 bool temp2
= false ;
8544 PyObject
* obj0
= 0 ;
8545 PyObject
* obj1
= 0 ;
8547 (char *) "self",(char *) "location", NULL
8550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8552 if (SWIG_arg_fail(1)) SWIG_fail
;
8554 arg2
= wxString_in_helper(obj1
);
8555 if (arg2
== NULL
) SWIG_fail
;
8559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8560 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
8562 wxPyEndAllowThreads(__tstate
);
8563 if (PyErr_Occurred()) SWIG_fail
;
8567 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8569 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8586 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8587 PyObject
*resultobj
;
8588 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8589 wxString
*arg2
= 0 ;
8591 bool temp2
= false ;
8592 PyObject
* obj0
= 0 ;
8593 PyObject
* obj1
= 0 ;
8595 (char *) "self",(char *) "location", NULL
8598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
8599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8600 if (SWIG_arg_fail(1)) SWIG_fail
;
8602 arg2
= wxString_in_helper(obj1
);
8603 if (arg2
== NULL
) SWIG_fail
;
8607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8608 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
8610 wxPyEndAllowThreads(__tstate
);
8611 if (PyErr_Occurred()) SWIG_fail
;
8615 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8617 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8634 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8635 PyObject
*resultobj
;
8636 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8637 wxString
*arg2
= 0 ;
8639 bool temp2
= false ;
8640 PyObject
* obj0
= 0 ;
8641 PyObject
* obj1
= 0 ;
8643 (char *) "self",(char *) "location", NULL
8646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8648 if (SWIG_arg_fail(1)) SWIG_fail
;
8650 arg2
= wxString_in_helper(obj1
);
8651 if (arg2
== NULL
) SWIG_fail
;
8655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8656 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
8658 wxPyEndAllowThreads(__tstate
);
8659 if (PyErr_Occurred()) SWIG_fail
;
8663 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8665 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8682 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8683 PyObject
*resultobj
;
8684 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8685 wxString
*arg2
= 0 ;
8687 bool temp2
= false ;
8688 PyObject
* obj0
= 0 ;
8689 PyObject
* obj1
= 0 ;
8691 (char *) "self",(char *) "location", NULL
8694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
8695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8696 if (SWIG_arg_fail(1)) SWIG_fail
;
8698 arg2
= wxString_in_helper(obj1
);
8699 if (arg2
== NULL
) SWIG_fail
;
8703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8704 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
8706 wxPyEndAllowThreads(__tstate
);
8707 if (PyErr_Occurred()) SWIG_fail
;
8711 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8713 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8730 static PyObject
* FileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8732 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8733 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
8735 return Py_BuildValue((char *)"");
8737 static PyObject
*_wrap_new_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8738 PyObject
*resultobj
;
8739 wxFileSystem
*result
;
8744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
8746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8747 result
= (wxFileSystem
*)new wxFileSystem();
8749 wxPyEndAllowThreads(__tstate
);
8750 if (PyErr_Occurred()) SWIG_fail
;
8753 resultobj
= wxPyMake_wxObject(result
, 1);
8761 static PyObject
*_wrap_delete_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8762 PyObject
*resultobj
;
8763 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8764 PyObject
* obj0
= 0 ;
8766 (char *) "self", NULL
8769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
8770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8771 if (SWIG_arg_fail(1)) SWIG_fail
;
8773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8776 wxPyEndAllowThreads(__tstate
);
8777 if (PyErr_Occurred()) SWIG_fail
;
8779 Py_INCREF(Py_None
); resultobj
= Py_None
;
8786 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8787 PyObject
*resultobj
;
8788 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8789 wxString
*arg2
= 0 ;
8790 bool arg3
= (bool) false ;
8791 bool temp2
= false ;
8792 PyObject
* obj0
= 0 ;
8793 PyObject
* obj1
= 0 ;
8794 PyObject
* obj2
= 0 ;
8796 (char *) "self",(char *) "location",(char *) "is_dir", NULL
8799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8801 if (SWIG_arg_fail(1)) SWIG_fail
;
8803 arg2
= wxString_in_helper(obj1
);
8804 if (arg2
== NULL
) SWIG_fail
;
8809 arg3
= (bool)(SWIG_As_bool(obj2
));
8810 if (SWIG_arg_fail(3)) SWIG_fail
;
8814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8815 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
8817 wxPyEndAllowThreads(__tstate
);
8818 if (PyErr_Occurred()) SWIG_fail
;
8820 Py_INCREF(Py_None
); resultobj
= Py_None
;
8835 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8836 PyObject
*resultobj
;
8837 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8839 PyObject
* obj0
= 0 ;
8841 (char *) "self", NULL
8844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
8845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8846 if (SWIG_arg_fail(1)) SWIG_fail
;
8848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8849 result
= (arg1
)->GetPath();
8851 wxPyEndAllowThreads(__tstate
);
8852 if (PyErr_Occurred()) SWIG_fail
;
8856 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8858 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8867 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8868 PyObject
*resultobj
;
8869 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8870 wxString
*arg2
= 0 ;
8872 bool temp2
= false ;
8873 PyObject
* obj0
= 0 ;
8874 PyObject
* obj1
= 0 ;
8876 (char *) "self",(char *) "location", NULL
8879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8881 if (SWIG_arg_fail(1)) SWIG_fail
;
8883 arg2
= wxString_in_helper(obj1
);
8884 if (arg2
== NULL
) SWIG_fail
;
8888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8889 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
8891 wxPyEndAllowThreads(__tstate
);
8892 if (PyErr_Occurred()) SWIG_fail
;
8895 resultobj
= wxPyMake_wxObject(result
, 1);
8911 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8912 PyObject
*resultobj
;
8913 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8914 wxString
*arg2
= 0 ;
8915 int arg3
= (int) 0 ;
8917 bool temp2
= false ;
8918 PyObject
* obj0
= 0 ;
8919 PyObject
* obj1
= 0 ;
8920 PyObject
* obj2
= 0 ;
8922 (char *) "self",(char *) "spec",(char *) "flags", NULL
8925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8927 if (SWIG_arg_fail(1)) SWIG_fail
;
8929 arg2
= wxString_in_helper(obj1
);
8930 if (arg2
== NULL
) SWIG_fail
;
8935 arg3
= (int)(SWIG_As_int(obj2
));
8936 if (SWIG_arg_fail(3)) SWIG_fail
;
8940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8941 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8943 wxPyEndAllowThreads(__tstate
);
8944 if (PyErr_Occurred()) SWIG_fail
;
8948 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8950 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8967 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8968 PyObject
*resultobj
;
8969 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8971 PyObject
* obj0
= 0 ;
8973 (char *) "self", NULL
8976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
8977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8978 if (SWIG_arg_fail(1)) SWIG_fail
;
8980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8981 result
= (arg1
)->FindNext();
8983 wxPyEndAllowThreads(__tstate
);
8984 if (PyErr_Occurred()) SWIG_fail
;
8988 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8990 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8999 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9000 PyObject
*resultobj
;
9001 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
9002 PyObject
* obj0
= 0 ;
9004 (char *) "handler", NULL
9007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
9008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
9009 if (SWIG_arg_fail(1)) SWIG_fail
;
9011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9012 wxFileSystem::AddHandler(arg1
);
9014 wxPyEndAllowThreads(__tstate
);
9015 if (PyErr_Occurred()) SWIG_fail
;
9017 Py_INCREF(Py_None
); resultobj
= Py_None
;
9024 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9025 PyObject
*resultobj
;
9030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
9032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9033 wxFileSystem::CleanUpHandlers();
9035 wxPyEndAllowThreads(__tstate
);
9036 if (PyErr_Occurred()) SWIG_fail
;
9038 Py_INCREF(Py_None
); resultobj
= Py_None
;
9045 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9046 PyObject
*resultobj
;
9047 wxString
*arg1
= 0 ;
9049 bool temp1
= false ;
9050 PyObject
* obj0
= 0 ;
9052 (char *) "filename", NULL
9055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
9057 arg1
= wxString_in_helper(obj0
);
9058 if (arg1
== NULL
) SWIG_fail
;
9062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9063 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
9065 wxPyEndAllowThreads(__tstate
);
9066 if (PyErr_Occurred()) SWIG_fail
;
9070 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9072 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9089 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9090 PyObject
*resultobj
;
9091 wxString
*arg1
= 0 ;
9093 bool temp1
= false ;
9094 PyObject
* obj0
= 0 ;
9096 (char *) "url", NULL
9099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
9101 arg1
= wxString_in_helper(obj0
);
9102 if (arg1
== NULL
) SWIG_fail
;
9106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9107 result
= FileSystem_URLToFileName((wxString
const &)*arg1
);
9109 wxPyEndAllowThreads(__tstate
);
9110 if (PyErr_Occurred()) SWIG_fail
;
9114 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9116 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9133 static PyObject
* FileSystem_swigregister(PyObject
*, PyObject
*args
) {
9135 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9136 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
9138 return Py_BuildValue((char *)"");
9140 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9141 PyObject
*resultobj
;
9142 wxInternetFSHandler
*result
;
9147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
9149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9150 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
9152 wxPyEndAllowThreads(__tstate
);
9153 if (PyErr_Occurred()) SWIG_fail
;
9155 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
9162 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9163 PyObject
*resultobj
;
9164 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9165 wxString
*arg2
= 0 ;
9167 bool temp2
= false ;
9168 PyObject
* obj0
= 0 ;
9169 PyObject
* obj1
= 0 ;
9171 (char *) "self",(char *) "location", NULL
9174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9176 if (SWIG_arg_fail(1)) SWIG_fail
;
9178 arg2
= wxString_in_helper(obj1
);
9179 if (arg2
== NULL
) SWIG_fail
;
9183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9184 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9186 wxPyEndAllowThreads(__tstate
);
9187 if (PyErr_Occurred()) SWIG_fail
;
9190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9206 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9207 PyObject
*resultobj
;
9208 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9209 wxFileSystem
*arg2
= 0 ;
9210 wxString
*arg3
= 0 ;
9212 bool temp3
= false ;
9213 PyObject
* obj0
= 0 ;
9214 PyObject
* obj1
= 0 ;
9215 PyObject
* obj2
= 0 ;
9217 (char *) "self",(char *) "fs",(char *) "location", NULL
9220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9222 if (SWIG_arg_fail(1)) SWIG_fail
;
9224 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9225 if (SWIG_arg_fail(2)) SWIG_fail
;
9227 SWIG_null_ref("wxFileSystem");
9229 if (SWIG_arg_fail(2)) SWIG_fail
;
9232 arg3
= wxString_in_helper(obj2
);
9233 if (arg3
== NULL
) SWIG_fail
;
9237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9238 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9240 wxPyEndAllowThreads(__tstate
);
9241 if (PyErr_Occurred()) SWIG_fail
;
9244 resultobj
= wxPyMake_wxObject(result
, 1);
9260 static PyObject
* InternetFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9262 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9263 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
9265 return Py_BuildValue((char *)"");
9267 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9268 PyObject
*resultobj
;
9269 wxZipFSHandler
*result
;
9274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
9276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9277 result
= (wxZipFSHandler
*)new wxZipFSHandler();
9279 wxPyEndAllowThreads(__tstate
);
9280 if (PyErr_Occurred()) SWIG_fail
;
9282 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
9289 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9290 PyObject
*resultobj
;
9291 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9292 wxString
*arg2
= 0 ;
9294 bool temp2
= false ;
9295 PyObject
* obj0
= 0 ;
9296 PyObject
* obj1
= 0 ;
9298 (char *) "self",(char *) "location", NULL
9301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9303 if (SWIG_arg_fail(1)) SWIG_fail
;
9305 arg2
= wxString_in_helper(obj1
);
9306 if (arg2
== NULL
) SWIG_fail
;
9310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9311 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9313 wxPyEndAllowThreads(__tstate
);
9314 if (PyErr_Occurred()) SWIG_fail
;
9317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9333 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9334 PyObject
*resultobj
;
9335 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9336 wxFileSystem
*arg2
= 0 ;
9337 wxString
*arg3
= 0 ;
9339 bool temp3
= false ;
9340 PyObject
* obj0
= 0 ;
9341 PyObject
* obj1
= 0 ;
9342 PyObject
* obj2
= 0 ;
9344 (char *) "self",(char *) "fs",(char *) "location", NULL
9347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9349 if (SWIG_arg_fail(1)) SWIG_fail
;
9351 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9352 if (SWIG_arg_fail(2)) SWIG_fail
;
9354 SWIG_null_ref("wxFileSystem");
9356 if (SWIG_arg_fail(2)) SWIG_fail
;
9359 arg3
= wxString_in_helper(obj2
);
9360 if (arg3
== NULL
) SWIG_fail
;
9364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9365 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9367 wxPyEndAllowThreads(__tstate
);
9368 if (PyErr_Occurred()) SWIG_fail
;
9371 resultobj
= wxPyMake_wxObject(result
, 1);
9387 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9388 PyObject
*resultobj
;
9389 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9390 wxString
*arg2
= 0 ;
9391 int arg3
= (int) 0 ;
9393 bool temp2
= false ;
9394 PyObject
* obj0
= 0 ;
9395 PyObject
* obj1
= 0 ;
9396 PyObject
* obj2
= 0 ;
9398 (char *) "self",(char *) "spec",(char *) "flags", NULL
9401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9403 if (SWIG_arg_fail(1)) SWIG_fail
;
9405 arg2
= wxString_in_helper(obj1
);
9406 if (arg2
== NULL
) SWIG_fail
;
9411 arg3
= (int)(SWIG_As_int(obj2
));
9412 if (SWIG_arg_fail(3)) SWIG_fail
;
9416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9417 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9419 wxPyEndAllowThreads(__tstate
);
9420 if (PyErr_Occurred()) SWIG_fail
;
9424 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9426 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9443 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9444 PyObject
*resultobj
;
9445 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9447 PyObject
* obj0
= 0 ;
9449 (char *) "self", NULL
9452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9454 if (SWIG_arg_fail(1)) SWIG_fail
;
9456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9457 result
= (arg1
)->FindNext();
9459 wxPyEndAllowThreads(__tstate
);
9460 if (PyErr_Occurred()) SWIG_fail
;
9464 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9466 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9475 static PyObject
* ZipFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9477 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9478 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
9480 return Py_BuildValue((char *)"");
9482 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9483 PyObject
*resultobj
;
9484 wxString
*arg1
= 0 ;
9487 bool temp1
= false ;
9488 PyObject
* obj0
= 0 ;
9489 PyObject
* obj1
= 0 ;
9490 PyObject
* obj2
= 0 ;
9492 (char *) "filename",(char *) "image",(char *) "type", NULL
9495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9497 arg1
= wxString_in_helper(obj0
);
9498 if (arg1
== NULL
) SWIG_fail
;
9502 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
9503 if (SWIG_arg_fail(2)) SWIG_fail
;
9505 SWIG_null_ref("wxImage");
9507 if (SWIG_arg_fail(2)) SWIG_fail
;
9510 arg3
= (long)(SWIG_As_long(obj2
));
9511 if (SWIG_arg_fail(3)) SWIG_fail
;
9514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9515 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
9517 wxPyEndAllowThreads(__tstate
);
9518 if (PyErr_Occurred()) SWIG_fail
;
9520 Py_INCREF(Py_None
); resultobj
= Py_None
;
9535 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9536 PyObject
*resultobj
;
9537 wxString
*arg1
= 0 ;
9538 wxBitmap
*arg2
= 0 ;
9540 bool temp1
= false ;
9541 PyObject
* obj0
= 0 ;
9542 PyObject
* obj1
= 0 ;
9543 PyObject
* obj2
= 0 ;
9545 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
9548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9550 arg1
= wxString_in_helper(obj0
);
9551 if (arg1
== NULL
) SWIG_fail
;
9555 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
9556 if (SWIG_arg_fail(2)) SWIG_fail
;
9558 SWIG_null_ref("wxBitmap");
9560 if (SWIG_arg_fail(2)) SWIG_fail
;
9563 arg3
= (long)(SWIG_As_long(obj2
));
9564 if (SWIG_arg_fail(3)) SWIG_fail
;
9567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9568 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
9570 wxPyEndAllowThreads(__tstate
);
9571 if (PyErr_Occurred()) SWIG_fail
;
9573 Py_INCREF(Py_None
); resultobj
= Py_None
;
9588 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9589 PyObject
*resultobj
;
9590 wxString
*arg1
= 0 ;
9591 PyObject
*arg2
= (PyObject
*) 0 ;
9592 bool temp1
= false ;
9593 PyObject
* obj0
= 0 ;
9594 PyObject
* obj1
= 0 ;
9596 (char *) "filename",(char *) "data", NULL
9599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
9601 arg1
= wxString_in_helper(obj0
);
9602 if (arg1
== NULL
) SWIG_fail
;
9607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9608 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
9610 wxPyEndAllowThreads(__tstate
);
9611 if (PyErr_Occurred()) SWIG_fail
;
9613 Py_INCREF(Py_None
); resultobj
= Py_None
;
9628 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9629 PyObject
*resultobj
;
9630 wxMemoryFSHandler
*result
;
9635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
9637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9638 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
9640 wxPyEndAllowThreads(__tstate
);
9641 if (PyErr_Occurred()) SWIG_fail
;
9643 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
9650 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9651 PyObject
*resultobj
;
9652 wxString
*arg1
= 0 ;
9653 bool temp1
= false ;
9654 PyObject
* obj0
= 0 ;
9656 (char *) "filename", NULL
9659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
9661 arg1
= wxString_in_helper(obj0
);
9662 if (arg1
== NULL
) SWIG_fail
;
9666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9667 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
9669 wxPyEndAllowThreads(__tstate
);
9670 if (PyErr_Occurred()) SWIG_fail
;
9672 Py_INCREF(Py_None
); resultobj
= Py_None
;
9687 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9688 PyObject
*resultobj
;
9689 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9690 wxString
*arg2
= 0 ;
9692 bool temp2
= false ;
9693 PyObject
* obj0
= 0 ;
9694 PyObject
* obj1
= 0 ;
9696 (char *) "self",(char *) "location", NULL
9699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9701 if (SWIG_arg_fail(1)) SWIG_fail
;
9703 arg2
= wxString_in_helper(obj1
);
9704 if (arg2
== NULL
) SWIG_fail
;
9708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9709 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9711 wxPyEndAllowThreads(__tstate
);
9712 if (PyErr_Occurred()) SWIG_fail
;
9715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9731 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9732 PyObject
*resultobj
;
9733 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9734 wxFileSystem
*arg2
= 0 ;
9735 wxString
*arg3
= 0 ;
9737 bool temp3
= false ;
9738 PyObject
* obj0
= 0 ;
9739 PyObject
* obj1
= 0 ;
9740 PyObject
* obj2
= 0 ;
9742 (char *) "self",(char *) "fs",(char *) "location", NULL
9745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9747 if (SWIG_arg_fail(1)) SWIG_fail
;
9749 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9750 if (SWIG_arg_fail(2)) SWIG_fail
;
9752 SWIG_null_ref("wxFileSystem");
9754 if (SWIG_arg_fail(2)) SWIG_fail
;
9757 arg3
= wxString_in_helper(obj2
);
9758 if (arg3
== NULL
) SWIG_fail
;
9762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9763 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9765 wxPyEndAllowThreads(__tstate
);
9766 if (PyErr_Occurred()) SWIG_fail
;
9769 resultobj
= wxPyMake_wxObject(result
, 1);
9785 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9786 PyObject
*resultobj
;
9787 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9788 wxString
*arg2
= 0 ;
9789 int arg3
= (int) 0 ;
9791 bool temp2
= false ;
9792 PyObject
* obj0
= 0 ;
9793 PyObject
* obj1
= 0 ;
9794 PyObject
* obj2
= 0 ;
9796 (char *) "self",(char *) "spec",(char *) "flags", NULL
9799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9801 if (SWIG_arg_fail(1)) SWIG_fail
;
9803 arg2
= wxString_in_helper(obj1
);
9804 if (arg2
== NULL
) SWIG_fail
;
9809 arg3
= (int)(SWIG_As_int(obj2
));
9810 if (SWIG_arg_fail(3)) SWIG_fail
;
9814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9815 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9817 wxPyEndAllowThreads(__tstate
);
9818 if (PyErr_Occurred()) SWIG_fail
;
9822 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9824 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9841 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9842 PyObject
*resultobj
;
9843 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9845 PyObject
* obj0
= 0 ;
9847 (char *) "self", NULL
9850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9852 if (SWIG_arg_fail(1)) SWIG_fail
;
9854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9855 result
= (arg1
)->FindNext();
9857 wxPyEndAllowThreads(__tstate
);
9858 if (PyErr_Occurred()) SWIG_fail
;
9862 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9864 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9873 static PyObject
* MemoryFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9875 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9876 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
9878 return Py_BuildValue((char *)"");
9880 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9881 PyObject
*resultobj
;
9882 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9884 PyObject
* obj0
= 0 ;
9886 (char *) "self", NULL
9889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
9890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9891 if (SWIG_arg_fail(1)) SWIG_fail
;
9893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9894 result
= (arg1
)->GetName();
9896 wxPyEndAllowThreads(__tstate
);
9897 if (PyErr_Occurred()) SWIG_fail
;
9901 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9903 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9912 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9913 PyObject
*resultobj
;
9914 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9916 PyObject
* obj0
= 0 ;
9918 (char *) "self", NULL
9921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
9922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9923 if (SWIG_arg_fail(1)) SWIG_fail
;
9925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9926 result
= (arg1
)->GetExtension();
9928 wxPyEndAllowThreads(__tstate
);
9929 if (PyErr_Occurred()) SWIG_fail
;
9933 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9935 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9944 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9945 PyObject
*resultobj
;
9946 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9948 PyObject
* obj0
= 0 ;
9950 (char *) "self", NULL
9953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
9954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9955 if (SWIG_arg_fail(1)) SWIG_fail
;
9957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9958 result
= (long)(arg1
)->GetType();
9960 wxPyEndAllowThreads(__tstate
);
9961 if (PyErr_Occurred()) SWIG_fail
;
9964 resultobj
= SWIG_From_long((long)(result
));
9972 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9973 PyObject
*resultobj
;
9974 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9976 PyObject
* obj0
= 0 ;
9978 (char *) "self", NULL
9981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
9982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9983 if (SWIG_arg_fail(1)) SWIG_fail
;
9985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9986 result
= (arg1
)->GetMimeType();
9988 wxPyEndAllowThreads(__tstate
);
9989 if (PyErr_Occurred()) SWIG_fail
;
9993 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9995 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10004 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10005 PyObject
*resultobj
;
10006 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10007 wxString
*arg2
= 0 ;
10009 bool temp2
= false ;
10010 PyObject
* obj0
= 0 ;
10011 PyObject
* obj1
= 0 ;
10012 char *kwnames
[] = {
10013 (char *) "self",(char *) "name", NULL
10016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
10017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10018 if (SWIG_arg_fail(1)) SWIG_fail
;
10020 arg2
= wxString_in_helper(obj1
);
10021 if (arg2
== NULL
) SWIG_fail
;
10025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10026 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
10028 wxPyEndAllowThreads(__tstate
);
10029 if (PyErr_Occurred()) SWIG_fail
;
10032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10048 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10049 PyObject
*resultobj
;
10050 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10051 wxString
*arg2
= 0 ;
10052 bool temp2
= false ;
10053 PyObject
* obj0
= 0 ;
10054 PyObject
* obj1
= 0 ;
10055 char *kwnames
[] = {
10056 (char *) "self",(char *) "name", NULL
10059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
10060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10061 if (SWIG_arg_fail(1)) SWIG_fail
;
10063 arg2
= wxString_in_helper(obj1
);
10064 if (arg2
== NULL
) SWIG_fail
;
10068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10069 (arg1
)->SetName((wxString
const &)*arg2
);
10071 wxPyEndAllowThreads(__tstate
);
10072 if (PyErr_Occurred()) SWIG_fail
;
10074 Py_INCREF(Py_None
); resultobj
= Py_None
;
10089 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10090 PyObject
*resultobj
;
10091 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10092 wxString
*arg2
= 0 ;
10093 bool temp2
= false ;
10094 PyObject
* obj0
= 0 ;
10095 PyObject
* obj1
= 0 ;
10096 char *kwnames
[] = {
10097 (char *) "self",(char *) "extension", NULL
10100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
10101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10102 if (SWIG_arg_fail(1)) SWIG_fail
;
10104 arg2
= wxString_in_helper(obj1
);
10105 if (arg2
== NULL
) SWIG_fail
;
10109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10110 (arg1
)->SetExtension((wxString
const &)*arg2
);
10112 wxPyEndAllowThreads(__tstate
);
10113 if (PyErr_Occurred()) SWIG_fail
;
10115 Py_INCREF(Py_None
); resultobj
= Py_None
;
10130 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10131 PyObject
*resultobj
;
10132 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10134 PyObject
* obj0
= 0 ;
10135 PyObject
* obj1
= 0 ;
10136 char *kwnames
[] = {
10137 (char *) "self",(char *) "type", NULL
10140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
10141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10142 if (SWIG_arg_fail(1)) SWIG_fail
;
10144 arg2
= (long)(SWIG_As_long(obj1
));
10145 if (SWIG_arg_fail(2)) SWIG_fail
;
10148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10149 (arg1
)->SetType(arg2
);
10151 wxPyEndAllowThreads(__tstate
);
10152 if (PyErr_Occurred()) SWIG_fail
;
10154 Py_INCREF(Py_None
); resultobj
= Py_None
;
10161 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10162 PyObject
*resultobj
;
10163 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10164 wxString
*arg2
= 0 ;
10165 bool temp2
= false ;
10166 PyObject
* obj0
= 0 ;
10167 PyObject
* obj1
= 0 ;
10168 char *kwnames
[] = {
10169 (char *) "self",(char *) "mimetype", NULL
10172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
10173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10174 if (SWIG_arg_fail(1)) SWIG_fail
;
10176 arg2
= wxString_in_helper(obj1
);
10177 if (arg2
== NULL
) SWIG_fail
;
10181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10182 (arg1
)->SetMimeType((wxString
const &)*arg2
);
10184 wxPyEndAllowThreads(__tstate
);
10185 if (PyErr_Occurred()) SWIG_fail
;
10187 Py_INCREF(Py_None
); resultobj
= Py_None
;
10202 static PyObject
* ImageHandler_swigregister(PyObject
*, PyObject
*args
) {
10204 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10205 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
10207 return Py_BuildValue((char *)"");
10209 static PyObject
*_wrap_new_ImageHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10210 PyObject
*resultobj
;
10211 wxImageHistogram
*result
;
10212 char *kwnames
[] = {
10216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
10218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10219 result
= (wxImageHistogram
*)new wxImageHistogram();
10221 wxPyEndAllowThreads(__tstate
);
10222 if (PyErr_Occurred()) SWIG_fail
;
10224 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
10231 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10232 PyObject
*resultobj
;
10236 unsigned long result
;
10237 PyObject
* obj0
= 0 ;
10238 PyObject
* obj1
= 0 ;
10239 PyObject
* obj2
= 0 ;
10240 char *kwnames
[] = {
10241 (char *) "r",(char *) "g",(char *) "b", NULL
10244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10246 arg1
= (byte
)(SWIG_As_unsigned_SS_char(obj0
));
10247 if (SWIG_arg_fail(1)) SWIG_fail
;
10250 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
10251 if (SWIG_arg_fail(2)) SWIG_fail
;
10254 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
10255 if (SWIG_arg_fail(3)) SWIG_fail
;
10258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10259 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
10261 wxPyEndAllowThreads(__tstate
);
10262 if (PyErr_Occurred()) SWIG_fail
;
10265 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10273 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10274 PyObject
*resultobj
;
10275 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10276 byte
*arg2
= (byte
*) 0 ;
10277 byte
*arg3
= (byte
*) 0 ;
10278 byte
*arg4
= (byte
*) 0 ;
10279 byte arg5
= (byte
) 1 ;
10280 byte arg6
= (byte
) 0 ;
10281 byte arg7
= (byte
) 0 ;
10289 PyObject
* obj0
= 0 ;
10290 PyObject
* obj1
= 0 ;
10291 PyObject
* obj2
= 0 ;
10292 PyObject
* obj3
= 0 ;
10293 char *kwnames
[] = {
10294 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
10297 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10298 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10299 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10302 if (SWIG_arg_fail(1)) SWIG_fail
;
10305 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
10306 if (SWIG_arg_fail(5)) SWIG_fail
;
10311 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
10312 if (SWIG_arg_fail(6)) SWIG_fail
;
10317 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
10318 if (SWIG_arg_fail(7)) SWIG_fail
;
10322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10323 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10325 wxPyEndAllowThreads(__tstate
);
10326 if (PyErr_Occurred()) SWIG_fail
;
10329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10331 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10332 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
10333 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10334 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
10335 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10336 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
10343 static PyObject
*_wrap_ImageHistogram_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10344 PyObject
*resultobj
;
10345 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10346 unsigned long arg2
;
10347 unsigned long result
;
10348 PyObject
* obj0
= 0 ;
10349 PyObject
* obj1
= 0 ;
10350 char *kwnames
[] = {
10351 (char *) "self",(char *) "key", NULL
10354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10356 if (SWIG_arg_fail(1)) SWIG_fail
;
10358 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
10359 if (SWIG_arg_fail(2)) SWIG_fail
;
10362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10363 result
= (unsigned long)wxImageHistogram_GetCount(arg1
,arg2
);
10365 wxPyEndAllowThreads(__tstate
);
10366 if (PyErr_Occurred()) SWIG_fail
;
10369 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10377 static PyObject
*_wrap_ImageHistogram_GetCountRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10378 PyObject
*resultobj
;
10379 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10383 unsigned long result
;
10384 PyObject
* obj0
= 0 ;
10385 PyObject
* obj1
= 0 ;
10386 PyObject
* obj2
= 0 ;
10387 PyObject
* obj3
= 0 ;
10388 char *kwnames
[] = {
10389 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ImageHistogram_GetCountRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10394 if (SWIG_arg_fail(1)) SWIG_fail
;
10396 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
10397 if (SWIG_arg_fail(2)) SWIG_fail
;
10400 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
10401 if (SWIG_arg_fail(3)) SWIG_fail
;
10404 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
10405 if (SWIG_arg_fail(4)) SWIG_fail
;
10408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10409 result
= (unsigned long)wxImageHistogram_GetCountRGB(arg1
,arg2
,arg3
,arg4
);
10411 wxPyEndAllowThreads(__tstate
);
10412 if (PyErr_Occurred()) SWIG_fail
;
10415 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10423 static PyObject
*_wrap_ImageHistogram_GetCountColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10424 PyObject
*resultobj
;
10425 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10426 wxColour
*arg2
= 0 ;
10427 unsigned long result
;
10429 PyObject
* obj0
= 0 ;
10430 PyObject
* obj1
= 0 ;
10431 char *kwnames
[] = {
10432 (char *) "self",(char *) "colour", NULL
10435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCountColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10437 if (SWIG_arg_fail(1)) SWIG_fail
;
10440 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10444 result
= (unsigned long)wxImageHistogram_GetCountColour(arg1
,(wxColour
const &)*arg2
);
10446 wxPyEndAllowThreads(__tstate
);
10447 if (PyErr_Occurred()) SWIG_fail
;
10450 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10458 static PyObject
* ImageHistogram_swigregister(PyObject
*, PyObject
*args
) {
10460 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10461 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
10463 return Py_BuildValue((char *)"");
10465 static PyObject
*_wrap_new_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10466 PyObject
*resultobj
;
10467 wxString
*arg1
= 0 ;
10468 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10469 int arg3
= (int) -1 ;
10471 bool temp1
= false ;
10472 PyObject
* obj0
= 0 ;
10473 PyObject
* obj1
= 0 ;
10474 PyObject
* obj2
= 0 ;
10475 char *kwnames
[] = {
10476 (char *) "name",(char *) "type",(char *) "index", NULL
10479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10481 arg1
= wxString_in_helper(obj0
);
10482 if (arg1
== NULL
) SWIG_fail
;
10487 arg2
= (long)(SWIG_As_long(obj1
));
10488 if (SWIG_arg_fail(2)) SWIG_fail
;
10493 arg3
= (int)(SWIG_As_int(obj2
));
10494 if (SWIG_arg_fail(3)) SWIG_fail
;
10498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10499 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
10501 wxPyEndAllowThreads(__tstate
);
10502 if (PyErr_Occurred()) SWIG_fail
;
10504 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10519 static PyObject
*_wrap_delete_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10520 PyObject
*resultobj
;
10521 wxImage
*arg1
= (wxImage
*) 0 ;
10522 PyObject
* obj0
= 0 ;
10523 char *kwnames
[] = {
10524 (char *) "self", NULL
10527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
10528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10529 if (SWIG_arg_fail(1)) SWIG_fail
;
10531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10534 wxPyEndAllowThreads(__tstate
);
10535 if (PyErr_Occurred()) SWIG_fail
;
10537 Py_INCREF(Py_None
); resultobj
= Py_None
;
10544 static PyObject
*_wrap_new_ImageFromMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10545 PyObject
*resultobj
;
10546 wxString
*arg1
= 0 ;
10547 wxString
*arg2
= 0 ;
10548 int arg3
= (int) -1 ;
10550 bool temp1
= false ;
10551 bool temp2
= false ;
10552 PyObject
* obj0
= 0 ;
10553 PyObject
* obj1
= 0 ;
10554 PyObject
* obj2
= 0 ;
10555 char *kwnames
[] = {
10556 (char *) "name",(char *) "mimetype",(char *) "index", NULL
10559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10561 arg1
= wxString_in_helper(obj0
);
10562 if (arg1
== NULL
) SWIG_fail
;
10566 arg2
= wxString_in_helper(obj1
);
10567 if (arg2
== NULL
) SWIG_fail
;
10572 arg3
= (int)(SWIG_As_int(obj2
));
10573 if (SWIG_arg_fail(3)) SWIG_fail
;
10577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10578 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10580 wxPyEndAllowThreads(__tstate
);
10581 if (PyErr_Occurred()) SWIG_fail
;
10583 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10606 static PyObject
*_wrap_new_ImageFromStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10607 PyObject
*resultobj
;
10608 wxInputStream
*arg1
= 0 ;
10609 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10610 int arg3
= (int) -1 ;
10612 wxPyInputStream
*temp1
;
10614 PyObject
* obj0
= 0 ;
10615 PyObject
* obj1
= 0 ;
10616 PyObject
* obj2
= 0 ;
10617 char *kwnames
[] = {
10618 (char *) "stream",(char *) "type",(char *) "index", NULL
10621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10623 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10624 arg1
= temp1
->m_wxis
;
10627 PyErr_Clear(); // clear the failure of the wxPyConvert above
10628 arg1
= wxPyCBInputStream_create(obj0
, false);
10629 if (arg1
== NULL
) {
10630 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
10638 arg2
= (long)(SWIG_As_long(obj1
));
10639 if (SWIG_arg_fail(2)) SWIG_fail
;
10644 arg3
= (int)(SWIG_As_int(obj2
));
10645 if (SWIG_arg_fail(3)) SWIG_fail
;
10649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10650 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
10652 wxPyEndAllowThreads(__tstate
);
10653 if (PyErr_Occurred()) SWIG_fail
;
10655 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10657 if (created1
) delete arg1
;
10662 if (created1
) delete arg1
;
10668 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10669 PyObject
*resultobj
;
10670 wxInputStream
*arg1
= 0 ;
10671 wxString
*arg2
= 0 ;
10672 int arg3
= (int) -1 ;
10674 wxPyInputStream
*temp1
;
10676 bool temp2
= false ;
10677 PyObject
* obj0
= 0 ;
10678 PyObject
* obj1
= 0 ;
10679 PyObject
* obj2
= 0 ;
10680 char *kwnames
[] = {
10681 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
10684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10686 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10687 arg1
= temp1
->m_wxis
;
10690 PyErr_Clear(); // clear the failure of the wxPyConvert above
10691 arg1
= wxPyCBInputStream_create(obj0
, false);
10692 if (arg1
== NULL
) {
10693 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
10700 arg2
= wxString_in_helper(obj1
);
10701 if (arg2
== NULL
) SWIG_fail
;
10706 arg3
= (int)(SWIG_As_int(obj2
));
10707 if (SWIG_arg_fail(3)) SWIG_fail
;
10711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10712 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
10714 wxPyEndAllowThreads(__tstate
);
10715 if (PyErr_Occurred()) SWIG_fail
;
10717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10719 if (created1
) delete arg1
;
10728 if (created1
) delete arg1
;
10738 static PyObject
*_wrap_new_EmptyImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10739 PyObject
*resultobj
;
10740 int arg1
= (int) 0 ;
10741 int arg2
= (int) 0 ;
10742 bool arg3
= (bool) true ;
10744 PyObject
* obj0
= 0 ;
10745 PyObject
* obj1
= 0 ;
10746 PyObject
* obj2
= 0 ;
10747 char *kwnames
[] = {
10748 (char *) "width",(char *) "height",(char *) "clear", NULL
10751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10754 arg1
= (int)(SWIG_As_int(obj0
));
10755 if (SWIG_arg_fail(1)) SWIG_fail
;
10760 arg2
= (int)(SWIG_As_int(obj1
));
10761 if (SWIG_arg_fail(2)) SWIG_fail
;
10766 arg3
= (bool)(SWIG_As_bool(obj2
));
10767 if (SWIG_arg_fail(3)) SWIG_fail
;
10771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10772 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
10774 wxPyEndAllowThreads(__tstate
);
10775 if (PyErr_Occurred()) SWIG_fail
;
10777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10784 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10785 PyObject
*resultobj
;
10786 wxBitmap
*arg1
= 0 ;
10788 PyObject
* obj0
= 0 ;
10789 char *kwnames
[] = {
10790 (char *) "bitmap", NULL
10793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
10795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
10796 if (SWIG_arg_fail(1)) SWIG_fail
;
10797 if (arg1
== NULL
) {
10798 SWIG_null_ref("wxBitmap");
10800 if (SWIG_arg_fail(1)) SWIG_fail
;
10803 if (!wxPyCheckForApp()) SWIG_fail
;
10804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10805 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
10807 wxPyEndAllowThreads(__tstate
);
10808 if (PyErr_Occurred()) SWIG_fail
;
10810 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10817 static PyObject
*_wrap_new_ImageFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10818 PyObject
*resultobj
;
10824 PyObject
* obj0
= 0 ;
10825 PyObject
* obj1
= 0 ;
10826 PyObject
* obj2
= 0 ;
10827 char *kwnames
[] = {
10828 (char *) "width",(char *) "height",(char *) "data", NULL
10831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10833 arg1
= (int)(SWIG_As_int(obj0
));
10834 if (SWIG_arg_fail(1)) SWIG_fail
;
10837 arg2
= (int)(SWIG_As_int(obj1
));
10838 if (SWIG_arg_fail(2)) SWIG_fail
;
10841 if (!PyArg_Parse(obj2
, "t#", &arg3
, &arg4
)) SWIG_fail
;
10844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10845 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
);
10847 wxPyEndAllowThreads(__tstate
);
10848 if (PyErr_Occurred()) SWIG_fail
;
10850 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10857 static PyObject
*_wrap_new_ImageFromDataWithAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10858 PyObject
*resultobj
;
10866 PyObject
* obj0
= 0 ;
10867 PyObject
* obj1
= 0 ;
10868 PyObject
* obj2
= 0 ;
10869 PyObject
* obj3
= 0 ;
10870 char *kwnames
[] = {
10871 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
10874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10876 arg1
= (int)(SWIG_As_int(obj0
));
10877 if (SWIG_arg_fail(1)) SWIG_fail
;
10880 arg2
= (int)(SWIG_As_int(obj1
));
10881 if (SWIG_arg_fail(2)) SWIG_fail
;
10884 if (!PyArg_Parse(obj2
, "t#", &arg3
, &arg4
)) SWIG_fail
;
10887 if (!PyArg_Parse(obj3
, "t#", &arg5
, &arg6
)) SWIG_fail
;
10890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10891 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
10893 wxPyEndAllowThreads(__tstate
);
10894 if (PyErr_Occurred()) SWIG_fail
;
10896 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10903 static PyObject
*_wrap_Image_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10904 PyObject
*resultobj
;
10905 wxImage
*arg1
= (wxImage
*) 0 ;
10908 bool arg4
= (bool) true ;
10909 PyObject
* obj0
= 0 ;
10910 PyObject
* obj1
= 0 ;
10911 PyObject
* obj2
= 0 ;
10912 PyObject
* obj3
= 0 ;
10913 char *kwnames
[] = {
10914 (char *) "self",(char *) "width",(char *) "height",(char *) "clear", NULL
10917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10919 if (SWIG_arg_fail(1)) SWIG_fail
;
10921 arg2
= (int)(SWIG_As_int(obj1
));
10922 if (SWIG_arg_fail(2)) SWIG_fail
;
10925 arg3
= (int)(SWIG_As_int(obj2
));
10926 if (SWIG_arg_fail(3)) SWIG_fail
;
10930 arg4
= (bool)(SWIG_As_bool(obj3
));
10931 if (SWIG_arg_fail(4)) SWIG_fail
;
10935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10936 (arg1
)->Create(arg2
,arg3
,arg4
);
10938 wxPyEndAllowThreads(__tstate
);
10939 if (PyErr_Occurred()) SWIG_fail
;
10941 Py_INCREF(Py_None
); resultobj
= Py_None
;
10948 static PyObject
*_wrap_Image_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10949 PyObject
*resultobj
;
10950 wxImage
*arg1
= (wxImage
*) 0 ;
10951 PyObject
* obj0
= 0 ;
10952 char *kwnames
[] = {
10953 (char *) "self", NULL
10956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
10957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10958 if (SWIG_arg_fail(1)) SWIG_fail
;
10960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10963 wxPyEndAllowThreads(__tstate
);
10964 if (PyErr_Occurred()) SWIG_fail
;
10966 Py_INCREF(Py_None
); resultobj
= Py_None
;
10973 static PyObject
*_wrap_Image_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10974 PyObject
*resultobj
;
10975 wxImage
*arg1
= (wxImage
*) 0 ;
10978 SwigValueWrapper
<wxImage
> result
;
10979 PyObject
* obj0
= 0 ;
10980 PyObject
* obj1
= 0 ;
10981 PyObject
* obj2
= 0 ;
10982 char *kwnames
[] = {
10983 (char *) "self",(char *) "width",(char *) "height", NULL
10986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10988 if (SWIG_arg_fail(1)) SWIG_fail
;
10990 arg2
= (int)(SWIG_As_int(obj1
));
10991 if (SWIG_arg_fail(2)) SWIG_fail
;
10994 arg3
= (int)(SWIG_As_int(obj2
));
10995 if (SWIG_arg_fail(3)) SWIG_fail
;
10998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10999 result
= (arg1
)->Scale(arg2
,arg3
);
11001 wxPyEndAllowThreads(__tstate
);
11002 if (PyErr_Occurred()) SWIG_fail
;
11005 wxImage
* resultptr
;
11006 resultptr
= new wxImage((wxImage
&)(result
));
11007 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11015 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11016 PyObject
*resultobj
;
11017 wxImage
*arg1
= (wxImage
*) 0 ;
11020 SwigValueWrapper
<wxImage
> result
;
11021 PyObject
* obj0
= 0 ;
11022 PyObject
* obj1
= 0 ;
11023 PyObject
* obj2
= 0 ;
11024 char *kwnames
[] = {
11025 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
11028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11030 if (SWIG_arg_fail(1)) SWIG_fail
;
11032 arg2
= (int)(SWIG_As_int(obj1
));
11033 if (SWIG_arg_fail(2)) SWIG_fail
;
11036 arg3
= (int)(SWIG_As_int(obj2
));
11037 if (SWIG_arg_fail(3)) SWIG_fail
;
11040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11041 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
11043 wxPyEndAllowThreads(__tstate
);
11044 if (PyErr_Occurred()) SWIG_fail
;
11047 wxImage
* resultptr
;
11048 resultptr
= new wxImage((wxImage
&)(result
));
11049 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11057 static PyObject
*_wrap_Image_Rescale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11058 PyObject
*resultobj
;
11059 wxImage
*arg1
= (wxImage
*) 0 ;
11063 PyObject
* obj0
= 0 ;
11064 PyObject
* obj1
= 0 ;
11065 PyObject
* obj2
= 0 ;
11066 char *kwnames
[] = {
11067 (char *) "self",(char *) "width",(char *) "height", NULL
11070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11072 if (SWIG_arg_fail(1)) SWIG_fail
;
11074 arg2
= (int)(SWIG_As_int(obj1
));
11075 if (SWIG_arg_fail(2)) SWIG_fail
;
11078 arg3
= (int)(SWIG_As_int(obj2
));
11079 if (SWIG_arg_fail(3)) SWIG_fail
;
11082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11084 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
11085 result
= (wxImage
*) &_result_ref
;
11088 wxPyEndAllowThreads(__tstate
);
11089 if (PyErr_Occurred()) SWIG_fail
;
11091 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
11098 static PyObject
*_wrap_Image_Resize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11099 PyObject
*resultobj
;
11100 wxImage
*arg1
= (wxImage
*) 0 ;
11102 wxPoint
*arg3
= 0 ;
11103 int arg4
= (int) -1 ;
11104 int arg5
= (int) -1 ;
11105 int arg6
= (int) -1 ;
11109 PyObject
* obj0
= 0 ;
11110 PyObject
* obj1
= 0 ;
11111 PyObject
* obj2
= 0 ;
11112 PyObject
* obj3
= 0 ;
11113 PyObject
* obj4
= 0 ;
11114 PyObject
* obj5
= 0 ;
11115 char *kwnames
[] = {
11116 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
11119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Resize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11121 if (SWIG_arg_fail(1)) SWIG_fail
;
11124 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
11128 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11132 arg4
= (int)(SWIG_As_int(obj3
));
11133 if (SWIG_arg_fail(4)) SWIG_fail
;
11138 arg5
= (int)(SWIG_As_int(obj4
));
11139 if (SWIG_arg_fail(5)) SWIG_fail
;
11144 arg6
= (int)(SWIG_As_int(obj5
));
11145 if (SWIG_arg_fail(6)) SWIG_fail
;
11149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11151 wxImage
&_result_ref
= (arg1
)->Resize((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
11152 result
= (wxImage
*) &_result_ref
;
11155 wxPyEndAllowThreads(__tstate
);
11156 if (PyErr_Occurred()) SWIG_fail
;
11158 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
11165 static PyObject
*_wrap_Image_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11166 PyObject
*resultobj
;
11167 wxImage
*arg1
= (wxImage
*) 0 ;
11173 PyObject
* obj0
= 0 ;
11174 PyObject
* obj1
= 0 ;
11175 PyObject
* obj2
= 0 ;
11176 PyObject
* obj3
= 0 ;
11177 PyObject
* obj4
= 0 ;
11178 PyObject
* obj5
= 0 ;
11179 char *kwnames
[] = {
11180 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
11183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11185 if (SWIG_arg_fail(1)) SWIG_fail
;
11187 arg2
= (int)(SWIG_As_int(obj1
));
11188 if (SWIG_arg_fail(2)) SWIG_fail
;
11191 arg3
= (int)(SWIG_As_int(obj2
));
11192 if (SWIG_arg_fail(3)) SWIG_fail
;
11195 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11196 if (SWIG_arg_fail(4)) SWIG_fail
;
11199 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
11200 if (SWIG_arg_fail(5)) SWIG_fail
;
11203 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj5
));
11204 if (SWIG_arg_fail(6)) SWIG_fail
;
11207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11208 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
11210 wxPyEndAllowThreads(__tstate
);
11211 if (PyErr_Occurred()) SWIG_fail
;
11213 Py_INCREF(Py_None
); resultobj
= Py_None
;
11220 static PyObject
*_wrap_Image_SetRGBRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11221 PyObject
*resultobj
;
11222 wxImage
*arg1
= (wxImage
*) 0 ;
11228 PyObject
* obj0
= 0 ;
11229 PyObject
* obj1
= 0 ;
11230 PyObject
* obj2
= 0 ;
11231 PyObject
* obj3
= 0 ;
11232 PyObject
* obj4
= 0 ;
11233 char *kwnames
[] = {
11234 (char *) "self",(char *) "rect",(char *) "r",(char *) "g",(char *) "b", NULL
11237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetRGBRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11239 if (SWIG_arg_fail(1)) SWIG_fail
;
11242 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11245 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11246 if (SWIG_arg_fail(3)) SWIG_fail
;
11249 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11250 if (SWIG_arg_fail(4)) SWIG_fail
;
11253 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
11254 if (SWIG_arg_fail(5)) SWIG_fail
;
11257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11258 (arg1
)->SetRGB((wxRect
const &)*arg2
,arg3
,arg4
,arg5
);
11260 wxPyEndAllowThreads(__tstate
);
11261 if (PyErr_Occurred()) SWIG_fail
;
11263 Py_INCREF(Py_None
); resultobj
= Py_None
;
11270 static PyObject
*_wrap_Image_GetRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11271 PyObject
*resultobj
;
11272 wxImage
*arg1
= (wxImage
*) 0 ;
11276 PyObject
* obj0
= 0 ;
11277 PyObject
* obj1
= 0 ;
11278 PyObject
* obj2
= 0 ;
11279 char *kwnames
[] = {
11280 (char *) "self",(char *) "x",(char *) "y", NULL
11283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11285 if (SWIG_arg_fail(1)) SWIG_fail
;
11287 arg2
= (int)(SWIG_As_int(obj1
));
11288 if (SWIG_arg_fail(2)) SWIG_fail
;
11291 arg3
= (int)(SWIG_As_int(obj2
));
11292 if (SWIG_arg_fail(3)) SWIG_fail
;
11295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11296 result
= (byte
)(arg1
)->GetRed(arg2
,arg3
);
11298 wxPyEndAllowThreads(__tstate
);
11299 if (PyErr_Occurred()) SWIG_fail
;
11302 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11310 static PyObject
*_wrap_Image_GetGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11311 PyObject
*resultobj
;
11312 wxImage
*arg1
= (wxImage
*) 0 ;
11316 PyObject
* obj0
= 0 ;
11317 PyObject
* obj1
= 0 ;
11318 PyObject
* obj2
= 0 ;
11319 char *kwnames
[] = {
11320 (char *) "self",(char *) "x",(char *) "y", NULL
11323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11325 if (SWIG_arg_fail(1)) SWIG_fail
;
11327 arg2
= (int)(SWIG_As_int(obj1
));
11328 if (SWIG_arg_fail(2)) SWIG_fail
;
11331 arg3
= (int)(SWIG_As_int(obj2
));
11332 if (SWIG_arg_fail(3)) SWIG_fail
;
11335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11336 result
= (byte
)(arg1
)->GetGreen(arg2
,arg3
);
11338 wxPyEndAllowThreads(__tstate
);
11339 if (PyErr_Occurred()) SWIG_fail
;
11342 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11350 static PyObject
*_wrap_Image_GetBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11351 PyObject
*resultobj
;
11352 wxImage
*arg1
= (wxImage
*) 0 ;
11356 PyObject
* obj0
= 0 ;
11357 PyObject
* obj1
= 0 ;
11358 PyObject
* obj2
= 0 ;
11359 char *kwnames
[] = {
11360 (char *) "self",(char *) "x",(char *) "y", NULL
11363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11365 if (SWIG_arg_fail(1)) SWIG_fail
;
11367 arg2
= (int)(SWIG_As_int(obj1
));
11368 if (SWIG_arg_fail(2)) SWIG_fail
;
11371 arg3
= (int)(SWIG_As_int(obj2
));
11372 if (SWIG_arg_fail(3)) SWIG_fail
;
11375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11376 result
= (byte
)(arg1
)->GetBlue(arg2
,arg3
);
11378 wxPyEndAllowThreads(__tstate
);
11379 if (PyErr_Occurred()) SWIG_fail
;
11382 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11390 static PyObject
*_wrap_Image_SetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11391 PyObject
*resultobj
;
11392 wxImage
*arg1
= (wxImage
*) 0 ;
11396 PyObject
* obj0
= 0 ;
11397 PyObject
* obj1
= 0 ;
11398 PyObject
* obj2
= 0 ;
11399 PyObject
* obj3
= 0 ;
11400 char *kwnames
[] = {
11401 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
11404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11406 if (SWIG_arg_fail(1)) SWIG_fail
;
11408 arg2
= (int)(SWIG_As_int(obj1
));
11409 if (SWIG_arg_fail(2)) SWIG_fail
;
11412 arg3
= (int)(SWIG_As_int(obj2
));
11413 if (SWIG_arg_fail(3)) SWIG_fail
;
11416 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11417 if (SWIG_arg_fail(4)) SWIG_fail
;
11420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11421 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
11423 wxPyEndAllowThreads(__tstate
);
11424 if (PyErr_Occurred()) SWIG_fail
;
11426 Py_INCREF(Py_None
); resultobj
= Py_None
;
11433 static PyObject
*_wrap_Image_GetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11434 PyObject
*resultobj
;
11435 wxImage
*arg1
= (wxImage
*) 0 ;
11439 PyObject
* obj0
= 0 ;
11440 PyObject
* obj1
= 0 ;
11441 PyObject
* obj2
= 0 ;
11442 char *kwnames
[] = {
11443 (char *) "self",(char *) "x",(char *) "y", NULL
11446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11448 if (SWIG_arg_fail(1)) SWIG_fail
;
11450 arg2
= (int)(SWIG_As_int(obj1
));
11451 if (SWIG_arg_fail(2)) SWIG_fail
;
11454 arg3
= (int)(SWIG_As_int(obj2
));
11455 if (SWIG_arg_fail(3)) SWIG_fail
;
11458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11459 result
= (byte
)(arg1
)->GetAlpha(arg2
,arg3
);
11461 wxPyEndAllowThreads(__tstate
);
11462 if (PyErr_Occurred()) SWIG_fail
;
11465 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11473 static PyObject
*_wrap_Image_HasAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11474 PyObject
*resultobj
;
11475 wxImage
*arg1
= (wxImage
*) 0 ;
11477 PyObject
* obj0
= 0 ;
11478 char *kwnames
[] = {
11479 (char *) "self", NULL
11482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
11483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11484 if (SWIG_arg_fail(1)) SWIG_fail
;
11486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11487 result
= (bool)(arg1
)->HasAlpha();
11489 wxPyEndAllowThreads(__tstate
);
11490 if (PyErr_Occurred()) SWIG_fail
;
11493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11501 static PyObject
*_wrap_Image_InitAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11502 PyObject
*resultobj
;
11503 wxImage
*arg1
= (wxImage
*) 0 ;
11504 PyObject
* obj0
= 0 ;
11505 char *kwnames
[] = {
11506 (char *) "self", NULL
11509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InitAlpha",kwnames
,&obj0
)) goto fail
;
11510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11511 if (SWIG_arg_fail(1)) SWIG_fail
;
11513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11514 (arg1
)->InitAlpha();
11516 wxPyEndAllowThreads(__tstate
);
11517 if (PyErr_Occurred()) SWIG_fail
;
11519 Py_INCREF(Py_None
); resultobj
= Py_None
;
11526 static PyObject
*_wrap_Image_IsTransparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11527 PyObject
*resultobj
;
11528 wxImage
*arg1
= (wxImage
*) 0 ;
11531 byte arg4
= (byte
) wxIMAGE_ALPHA_THRESHOLD
;
11533 PyObject
* obj0
= 0 ;
11534 PyObject
* obj1
= 0 ;
11535 PyObject
* obj2
= 0 ;
11536 PyObject
* obj3
= 0 ;
11537 char *kwnames
[] = {
11538 (char *) "self",(char *) "x",(char *) "y",(char *) "threshold", NULL
11541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_IsTransparent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11543 if (SWIG_arg_fail(1)) SWIG_fail
;
11545 arg2
= (int)(SWIG_As_int(obj1
));
11546 if (SWIG_arg_fail(2)) SWIG_fail
;
11549 arg3
= (int)(SWIG_As_int(obj2
));
11550 if (SWIG_arg_fail(3)) SWIG_fail
;
11554 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11555 if (SWIG_arg_fail(4)) SWIG_fail
;
11559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11560 result
= (bool)((wxImage
const *)arg1
)->IsTransparent(arg2
,arg3
,arg4
);
11562 wxPyEndAllowThreads(__tstate
);
11563 if (PyErr_Occurred()) SWIG_fail
;
11566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11574 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11575 PyObject
*resultobj
;
11576 wxImage
*arg1
= (wxImage
*) 0 ;
11577 byte
*arg2
= (byte
*) 0 ;
11578 byte
*arg3
= (byte
*) 0 ;
11579 byte
*arg4
= (byte
*) 0 ;
11580 byte arg5
= (byte
) 0 ;
11581 byte arg6
= (byte
) 0 ;
11582 byte arg7
= (byte
) 0 ;
11590 PyObject
* obj0
= 0 ;
11591 PyObject
* obj1
= 0 ;
11592 PyObject
* obj2
= 0 ;
11593 PyObject
* obj3
= 0 ;
11594 char *kwnames
[] = {
11595 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
11598 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
11599 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11600 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
11601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11603 if (SWIG_arg_fail(1)) SWIG_fail
;
11606 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11607 if (SWIG_arg_fail(5)) SWIG_fail
;
11612 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11613 if (SWIG_arg_fail(6)) SWIG_fail
;
11618 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11619 if (SWIG_arg_fail(7)) SWIG_fail
;
11623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11624 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11626 wxPyEndAllowThreads(__tstate
);
11627 if (PyErr_Occurred()) SWIG_fail
;
11630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11632 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
11633 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
11634 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11635 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
11636 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
11637 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
11644 static PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11645 PyObject
*resultobj
;
11646 wxImage
*arg1
= (wxImage
*) 0 ;
11647 byte arg2
= (byte
) wxIMAGE_ALPHA_THRESHOLD
;
11649 PyObject
* obj0
= 0 ;
11650 PyObject
* obj1
= 0 ;
11651 char *kwnames
[] = {
11652 (char *) "self",(char *) "threshold", NULL
11655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) goto fail
;
11656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11657 if (SWIG_arg_fail(1)) SWIG_fail
;
11660 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11661 if (SWIG_arg_fail(2)) SWIG_fail
;
11665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11666 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
11668 wxPyEndAllowThreads(__tstate
);
11669 if (PyErr_Occurred()) SWIG_fail
;
11672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11680 static PyObject
*_wrap_Image_ConvertColourToAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11681 PyObject
*resultobj
;
11682 wxImage
*arg1
= (wxImage
*) 0 ;
11687 PyObject
* obj0
= 0 ;
11688 PyObject
* obj1
= 0 ;
11689 PyObject
* obj2
= 0 ;
11690 PyObject
* obj3
= 0 ;
11691 char *kwnames
[] = {
11692 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
11695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertColourToAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11697 if (SWIG_arg_fail(1)) SWIG_fail
;
11699 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11700 if (SWIG_arg_fail(2)) SWIG_fail
;
11703 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11704 if (SWIG_arg_fail(3)) SWIG_fail
;
11707 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11708 if (SWIG_arg_fail(4)) SWIG_fail
;
11711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11712 result
= (bool)(arg1
)->ConvertColourToAlpha(arg2
,arg3
,arg4
);
11714 wxPyEndAllowThreads(__tstate
);
11715 if (PyErr_Occurred()) SWIG_fail
;
11718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11726 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11727 PyObject
*resultobj
;
11728 wxImage
*arg1
= (wxImage
*) 0 ;
11729 wxImage
*arg2
= 0 ;
11734 PyObject
* obj0
= 0 ;
11735 PyObject
* obj1
= 0 ;
11736 PyObject
* obj2
= 0 ;
11737 PyObject
* obj3
= 0 ;
11738 PyObject
* obj4
= 0 ;
11739 char *kwnames
[] = {
11740 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
11743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11745 if (SWIG_arg_fail(1)) SWIG_fail
;
11747 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11748 if (SWIG_arg_fail(2)) SWIG_fail
;
11749 if (arg2
== NULL
) {
11750 SWIG_null_ref("wxImage");
11752 if (SWIG_arg_fail(2)) SWIG_fail
;
11755 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11756 if (SWIG_arg_fail(3)) SWIG_fail
;
11759 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11760 if (SWIG_arg_fail(4)) SWIG_fail
;
11763 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
11764 if (SWIG_arg_fail(5)) SWIG_fail
;
11767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11768 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
11770 wxPyEndAllowThreads(__tstate
);
11771 if (PyErr_Occurred()) SWIG_fail
;
11774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11782 static PyObject
*_wrap_Image_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11783 PyObject
*resultobj
;
11784 wxString
*arg1
= 0 ;
11786 bool temp1
= false ;
11787 PyObject
* obj0
= 0 ;
11788 char *kwnames
[] = {
11789 (char *) "filename", NULL
11792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
11794 arg1
= wxString_in_helper(obj0
);
11795 if (arg1
== NULL
) SWIG_fail
;
11799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11800 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
11802 wxPyEndAllowThreads(__tstate
);
11803 if (PyErr_Occurred()) SWIG_fail
;
11806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11822 static PyObject
*_wrap_Image_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11823 PyObject
*resultobj
;
11824 wxString
*arg1
= 0 ;
11825 long arg2
= (long) wxBITMAP_TYPE_ANY
;
11827 bool temp1
= false ;
11828 PyObject
* obj0
= 0 ;
11829 PyObject
* obj1
= 0 ;
11830 char *kwnames
[] = {
11831 (char *) "filename",(char *) "type", NULL
11834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11836 arg1
= wxString_in_helper(obj0
);
11837 if (arg1
== NULL
) SWIG_fail
;
11842 arg2
= (long)(SWIG_As_long(obj1
));
11843 if (SWIG_arg_fail(2)) SWIG_fail
;
11847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11848 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
11850 wxPyEndAllowThreads(__tstate
);
11851 if (PyErr_Occurred()) SWIG_fail
;
11854 resultobj
= SWIG_From_int((int)(result
));
11870 static PyObject
*_wrap_Image_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11871 PyObject
*resultobj
;
11872 wxImage
*arg1
= (wxImage
*) 0 ;
11873 wxString
*arg2
= 0 ;
11874 long arg3
= (long) wxBITMAP_TYPE_ANY
;
11875 int arg4
= (int) -1 ;
11877 bool temp2
= false ;
11878 PyObject
* obj0
= 0 ;
11879 PyObject
* obj1
= 0 ;
11880 PyObject
* obj2
= 0 ;
11881 PyObject
* obj3
= 0 ;
11882 char *kwnames
[] = {
11883 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
11886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11888 if (SWIG_arg_fail(1)) SWIG_fail
;
11890 arg2
= wxString_in_helper(obj1
);
11891 if (arg2
== NULL
) SWIG_fail
;
11896 arg3
= (long)(SWIG_As_long(obj2
));
11897 if (SWIG_arg_fail(3)) SWIG_fail
;
11902 arg4
= (int)(SWIG_As_int(obj3
));
11903 if (SWIG_arg_fail(4)) SWIG_fail
;
11907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11908 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
11910 wxPyEndAllowThreads(__tstate
);
11911 if (PyErr_Occurred()) SWIG_fail
;
11914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11930 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11931 PyObject
*resultobj
;
11932 wxImage
*arg1
= (wxImage
*) 0 ;
11933 wxString
*arg2
= 0 ;
11934 wxString
*arg3
= 0 ;
11935 int arg4
= (int) -1 ;
11937 bool temp2
= false ;
11938 bool temp3
= false ;
11939 PyObject
* obj0
= 0 ;
11940 PyObject
* obj1
= 0 ;
11941 PyObject
* obj2
= 0 ;
11942 PyObject
* obj3
= 0 ;
11943 char *kwnames
[] = {
11944 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
11947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11949 if (SWIG_arg_fail(1)) SWIG_fail
;
11951 arg2
= wxString_in_helper(obj1
);
11952 if (arg2
== NULL
) SWIG_fail
;
11956 arg3
= wxString_in_helper(obj2
);
11957 if (arg3
== NULL
) SWIG_fail
;
11962 arg4
= (int)(SWIG_As_int(obj3
));
11963 if (SWIG_arg_fail(4)) SWIG_fail
;
11967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11968 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
11970 wxPyEndAllowThreads(__tstate
);
11971 if (PyErr_Occurred()) SWIG_fail
;
11974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11998 static PyObject
*_wrap_Image_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11999 PyObject
*resultobj
;
12000 wxImage
*arg1
= (wxImage
*) 0 ;
12001 wxString
*arg2
= 0 ;
12004 bool temp2
= false ;
12005 PyObject
* obj0
= 0 ;
12006 PyObject
* obj1
= 0 ;
12007 PyObject
* obj2
= 0 ;
12008 char *kwnames
[] = {
12009 (char *) "self",(char *) "name",(char *) "type", NULL
12012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12014 if (SWIG_arg_fail(1)) SWIG_fail
;
12016 arg2
= wxString_in_helper(obj1
);
12017 if (arg2
== NULL
) SWIG_fail
;
12021 arg3
= (int)(SWIG_As_int(obj2
));
12022 if (SWIG_arg_fail(3)) SWIG_fail
;
12025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12026 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
12028 wxPyEndAllowThreads(__tstate
);
12029 if (PyErr_Occurred()) SWIG_fail
;
12032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12048 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12049 PyObject
*resultobj
;
12050 wxImage
*arg1
= (wxImage
*) 0 ;
12051 wxString
*arg2
= 0 ;
12052 wxString
*arg3
= 0 ;
12054 bool temp2
= false ;
12055 bool temp3
= false ;
12056 PyObject
* obj0
= 0 ;
12057 PyObject
* obj1
= 0 ;
12058 PyObject
* obj2
= 0 ;
12059 char *kwnames
[] = {
12060 (char *) "self",(char *) "name",(char *) "mimetype", NULL
12063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12065 if (SWIG_arg_fail(1)) SWIG_fail
;
12067 arg2
= wxString_in_helper(obj1
);
12068 if (arg2
== NULL
) SWIG_fail
;
12072 arg3
= wxString_in_helper(obj2
);
12073 if (arg3
== NULL
) SWIG_fail
;
12077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12078 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
12080 wxPyEndAllowThreads(__tstate
);
12081 if (PyErr_Occurred()) SWIG_fail
;
12084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12108 static PyObject
*_wrap_Image_CanReadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12109 PyObject
*resultobj
;
12110 wxInputStream
*arg1
= 0 ;
12112 wxPyInputStream
*temp1
;
12114 PyObject
* obj0
= 0 ;
12115 char *kwnames
[] = {
12116 (char *) "stream", NULL
12119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
12121 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
12122 arg1
= temp1
->m_wxis
;
12125 PyErr_Clear(); // clear the failure of the wxPyConvert above
12126 arg1
= wxPyCBInputStream_create(obj0
, false);
12127 if (arg1
== NULL
) {
12128 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12136 result
= (bool)wxImage::CanRead(*arg1
);
12138 wxPyEndAllowThreads(__tstate
);
12139 if (PyErr_Occurred()) SWIG_fail
;
12142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12145 if (created1
) delete arg1
;
12150 if (created1
) delete arg1
;
12156 static PyObject
*_wrap_Image_LoadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12157 PyObject
*resultobj
;
12158 wxImage
*arg1
= (wxImage
*) 0 ;
12159 wxInputStream
*arg2
= 0 ;
12160 long arg3
= (long) wxBITMAP_TYPE_ANY
;
12161 int arg4
= (int) -1 ;
12163 wxPyInputStream
*temp2
;
12165 PyObject
* obj0
= 0 ;
12166 PyObject
* obj1
= 0 ;
12167 PyObject
* obj2
= 0 ;
12168 PyObject
* obj3
= 0 ;
12169 char *kwnames
[] = {
12170 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
12173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12175 if (SWIG_arg_fail(1)) SWIG_fail
;
12177 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
12178 arg2
= temp2
->m_wxis
;
12181 PyErr_Clear(); // clear the failure of the wxPyConvert above
12182 arg2
= wxPyCBInputStream_create(obj1
, false);
12183 if (arg2
== NULL
) {
12184 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12192 arg3
= (long)(SWIG_As_long(obj2
));
12193 if (SWIG_arg_fail(3)) SWIG_fail
;
12198 arg4
= (int)(SWIG_As_int(obj3
));
12199 if (SWIG_arg_fail(4)) SWIG_fail
;
12203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12204 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
12206 wxPyEndAllowThreads(__tstate
);
12207 if (PyErr_Occurred()) SWIG_fail
;
12210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12213 if (created2
) delete arg2
;
12218 if (created2
) delete arg2
;
12224 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12225 PyObject
*resultobj
;
12226 wxImage
*arg1
= (wxImage
*) 0 ;
12227 wxInputStream
*arg2
= 0 ;
12228 wxString
*arg3
= 0 ;
12229 int arg4
= (int) -1 ;
12231 wxPyInputStream
*temp2
;
12233 bool temp3
= false ;
12234 PyObject
* obj0
= 0 ;
12235 PyObject
* obj1
= 0 ;
12236 PyObject
* obj2
= 0 ;
12237 PyObject
* obj3
= 0 ;
12238 char *kwnames
[] = {
12239 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
12242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12244 if (SWIG_arg_fail(1)) SWIG_fail
;
12246 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
12247 arg2
= temp2
->m_wxis
;
12250 PyErr_Clear(); // clear the failure of the wxPyConvert above
12251 arg2
= wxPyCBInputStream_create(obj1
, false);
12252 if (arg2
== NULL
) {
12253 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12260 arg3
= wxString_in_helper(obj2
);
12261 if (arg3
== NULL
) SWIG_fail
;
12266 arg4
= (int)(SWIG_As_int(obj3
));
12267 if (SWIG_arg_fail(4)) SWIG_fail
;
12271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12272 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
12274 wxPyEndAllowThreads(__tstate
);
12275 if (PyErr_Occurred()) SWIG_fail
;
12278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12281 if (created2
) delete arg2
;
12290 if (created2
) delete arg2
;
12300 static PyObject
*_wrap_Image_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12301 PyObject
*resultobj
;
12302 wxImage
*arg1
= (wxImage
*) 0 ;
12304 PyObject
* obj0
= 0 ;
12305 char *kwnames
[] = {
12306 (char *) "self", NULL
12309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
12310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12311 if (SWIG_arg_fail(1)) SWIG_fail
;
12313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12314 result
= (bool)(arg1
)->Ok();
12316 wxPyEndAllowThreads(__tstate
);
12317 if (PyErr_Occurred()) SWIG_fail
;
12320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12328 static PyObject
*_wrap_Image_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12329 PyObject
*resultobj
;
12330 wxImage
*arg1
= (wxImage
*) 0 ;
12332 PyObject
* obj0
= 0 ;
12333 char *kwnames
[] = {
12334 (char *) "self", NULL
12337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
12338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12339 if (SWIG_arg_fail(1)) SWIG_fail
;
12341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12342 result
= (int)(arg1
)->GetWidth();
12344 wxPyEndAllowThreads(__tstate
);
12345 if (PyErr_Occurred()) SWIG_fail
;
12348 resultobj
= SWIG_From_int((int)(result
));
12356 static PyObject
*_wrap_Image_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12357 PyObject
*resultobj
;
12358 wxImage
*arg1
= (wxImage
*) 0 ;
12360 PyObject
* obj0
= 0 ;
12361 char *kwnames
[] = {
12362 (char *) "self", NULL
12365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
12366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12367 if (SWIG_arg_fail(1)) SWIG_fail
;
12369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12370 result
= (int)(arg1
)->GetHeight();
12372 wxPyEndAllowThreads(__tstate
);
12373 if (PyErr_Occurred()) SWIG_fail
;
12376 resultobj
= SWIG_From_int((int)(result
));
12384 static PyObject
*_wrap_Image_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12385 PyObject
*resultobj
;
12386 wxImage
*arg1
= (wxImage
*) 0 ;
12388 PyObject
* obj0
= 0 ;
12389 char *kwnames
[] = {
12390 (char *) "self", NULL
12393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
12394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12395 if (SWIG_arg_fail(1)) SWIG_fail
;
12397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12398 result
= wxImage_GetSize(arg1
);
12400 wxPyEndAllowThreads(__tstate
);
12401 if (PyErr_Occurred()) SWIG_fail
;
12404 wxSize
* resultptr
;
12405 resultptr
= new wxSize((wxSize
&)(result
));
12406 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
12414 static PyObject
*_wrap_Image_GetSubImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12415 PyObject
*resultobj
;
12416 wxImage
*arg1
= (wxImage
*) 0 ;
12418 SwigValueWrapper
<wxImage
> result
;
12420 PyObject
* obj0
= 0 ;
12421 PyObject
* obj1
= 0 ;
12422 char *kwnames
[] = {
12423 (char *) "self",(char *) "rect", NULL
12426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
12427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12428 if (SWIG_arg_fail(1)) SWIG_fail
;
12431 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12435 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
12437 wxPyEndAllowThreads(__tstate
);
12438 if (PyErr_Occurred()) SWIG_fail
;
12441 wxImage
* resultptr
;
12442 resultptr
= new wxImage((wxImage
&)(result
));
12443 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12451 static PyObject
*_wrap_Image_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12452 PyObject
*resultobj
;
12453 wxImage
*arg1
= (wxImage
*) 0 ;
12455 wxPoint
*arg3
= 0 ;
12456 int arg4
= (int) -1 ;
12457 int arg5
= (int) -1 ;
12458 int arg6
= (int) -1 ;
12459 SwigValueWrapper
<wxImage
> result
;
12462 PyObject
* obj0
= 0 ;
12463 PyObject
* obj1
= 0 ;
12464 PyObject
* obj2
= 0 ;
12465 PyObject
* obj3
= 0 ;
12466 PyObject
* obj4
= 0 ;
12467 PyObject
* obj5
= 0 ;
12468 char *kwnames
[] = {
12469 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
12472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Size",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12474 if (SWIG_arg_fail(1)) SWIG_fail
;
12477 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12481 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12485 arg4
= (int)(SWIG_As_int(obj3
));
12486 if (SWIG_arg_fail(4)) SWIG_fail
;
12491 arg5
= (int)(SWIG_As_int(obj4
));
12492 if (SWIG_arg_fail(5)) SWIG_fail
;
12497 arg6
= (int)(SWIG_As_int(obj5
));
12498 if (SWIG_arg_fail(6)) SWIG_fail
;
12502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12503 result
= ((wxImage
const *)arg1
)->Size((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
12505 wxPyEndAllowThreads(__tstate
);
12506 if (PyErr_Occurred()) SWIG_fail
;
12509 wxImage
* resultptr
;
12510 resultptr
= new wxImage((wxImage
&)(result
));
12511 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12519 static PyObject
*_wrap_Image_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12520 PyObject
*resultobj
;
12521 wxImage
*arg1
= (wxImage
*) 0 ;
12522 SwigValueWrapper
<wxImage
> result
;
12523 PyObject
* obj0
= 0 ;
12524 char *kwnames
[] = {
12525 (char *) "self", NULL
12528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
12529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12530 if (SWIG_arg_fail(1)) SWIG_fail
;
12532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12533 result
= (arg1
)->Copy();
12535 wxPyEndAllowThreads(__tstate
);
12536 if (PyErr_Occurred()) SWIG_fail
;
12539 wxImage
* resultptr
;
12540 resultptr
= new wxImage((wxImage
&)(result
));
12541 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12549 static PyObject
*_wrap_Image_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12550 PyObject
*resultobj
;
12551 wxImage
*arg1
= (wxImage
*) 0 ;
12552 wxImage
*arg2
= 0 ;
12555 PyObject
* obj0
= 0 ;
12556 PyObject
* obj1
= 0 ;
12557 PyObject
* obj2
= 0 ;
12558 PyObject
* obj3
= 0 ;
12559 char *kwnames
[] = {
12560 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
12563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12565 if (SWIG_arg_fail(1)) SWIG_fail
;
12567 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12568 if (SWIG_arg_fail(2)) SWIG_fail
;
12569 if (arg2
== NULL
) {
12570 SWIG_null_ref("wxImage");
12572 if (SWIG_arg_fail(2)) SWIG_fail
;
12575 arg3
= (int)(SWIG_As_int(obj2
));
12576 if (SWIG_arg_fail(3)) SWIG_fail
;
12579 arg4
= (int)(SWIG_As_int(obj3
));
12580 if (SWIG_arg_fail(4)) SWIG_fail
;
12583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12584 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
12586 wxPyEndAllowThreads(__tstate
);
12587 if (PyErr_Occurred()) SWIG_fail
;
12589 Py_INCREF(Py_None
); resultobj
= Py_None
;
12596 static PyObject
*_wrap_Image_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12597 PyObject
*resultobj
;
12598 wxImage
*arg1
= (wxImage
*) 0 ;
12600 PyObject
* obj0
= 0 ;
12601 char *kwnames
[] = {
12602 (char *) "self", NULL
12605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
12606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12607 if (SWIG_arg_fail(1)) SWIG_fail
;
12609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12610 result
= (PyObject
*)wxImage_GetData(arg1
);
12612 wxPyEndAllowThreads(__tstate
);
12613 if (PyErr_Occurred()) SWIG_fail
;
12615 resultobj
= result
;
12622 static PyObject
*_wrap_Image_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12623 PyObject
*resultobj
;
12624 wxImage
*arg1
= (wxImage
*) 0 ;
12627 PyObject
* obj0
= 0 ;
12628 PyObject
* obj1
= 0 ;
12629 char *kwnames
[] = {
12630 (char *) "self",(char *) "data", NULL
12633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
12634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12635 if (SWIG_arg_fail(1)) SWIG_fail
;
12637 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12641 wxImage_SetData(arg1
,arg2
,arg3
);
12643 wxPyEndAllowThreads(__tstate
);
12644 if (PyErr_Occurred()) SWIG_fail
;
12646 Py_INCREF(Py_None
); resultobj
= Py_None
;
12653 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12654 PyObject
*resultobj
;
12655 wxImage
*arg1
= (wxImage
*) 0 ;
12657 PyObject
* obj0
= 0 ;
12658 char *kwnames
[] = {
12659 (char *) "self", NULL
12662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
12663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12664 if (SWIG_arg_fail(1)) SWIG_fail
;
12666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12667 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
12669 wxPyEndAllowThreads(__tstate
);
12670 if (PyErr_Occurred()) SWIG_fail
;
12672 resultobj
= result
;
12679 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12680 PyObject
*resultobj
;
12681 wxImage
*arg1
= (wxImage
*) 0 ;
12684 PyObject
* obj0
= 0 ;
12685 PyObject
* obj1
= 0 ;
12686 char *kwnames
[] = {
12687 (char *) "self",(char *) "data", NULL
12690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12692 if (SWIG_arg_fail(1)) SWIG_fail
;
12694 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12698 wxImage_SetDataBuffer(arg1
,arg2
,arg3
);
12700 wxPyEndAllowThreads(__tstate
);
12701 if (PyErr_Occurred()) SWIG_fail
;
12703 Py_INCREF(Py_None
); resultobj
= Py_None
;
12710 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12711 PyObject
*resultobj
;
12712 wxImage
*arg1
= (wxImage
*) 0 ;
12714 PyObject
* obj0
= 0 ;
12715 char *kwnames
[] = {
12716 (char *) "self", NULL
12719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
12720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12721 if (SWIG_arg_fail(1)) SWIG_fail
;
12723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12724 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
12726 wxPyEndAllowThreads(__tstate
);
12727 if (PyErr_Occurred()) SWIG_fail
;
12729 resultobj
= result
;
12736 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12737 PyObject
*resultobj
;
12738 wxImage
*arg1
= (wxImage
*) 0 ;
12741 PyObject
* obj0
= 0 ;
12742 PyObject
* obj1
= 0 ;
12743 char *kwnames
[] = {
12744 (char *) "self",(char *) "alpha", NULL
12747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
12748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12749 if (SWIG_arg_fail(1)) SWIG_fail
;
12751 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12755 wxImage_SetAlphaData(arg1
,arg2
,arg3
);
12757 wxPyEndAllowThreads(__tstate
);
12758 if (PyErr_Occurred()) SWIG_fail
;
12760 Py_INCREF(Py_None
); resultobj
= Py_None
;
12767 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12768 PyObject
*resultobj
;
12769 wxImage
*arg1
= (wxImage
*) 0 ;
12771 PyObject
* obj0
= 0 ;
12772 char *kwnames
[] = {
12773 (char *) "self", NULL
12776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
12777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12778 if (SWIG_arg_fail(1)) SWIG_fail
;
12780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12781 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
12783 wxPyEndAllowThreads(__tstate
);
12784 if (PyErr_Occurred()) SWIG_fail
;
12786 resultobj
= result
;
12793 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12794 PyObject
*resultobj
;
12795 wxImage
*arg1
= (wxImage
*) 0 ;
12798 PyObject
* obj0
= 0 ;
12799 PyObject
* obj1
= 0 ;
12800 char *kwnames
[] = {
12801 (char *) "self",(char *) "alpha", NULL
12804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12806 if (SWIG_arg_fail(1)) SWIG_fail
;
12808 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12812 wxImage_SetAlphaBuffer(arg1
,arg2
,arg3
);
12814 wxPyEndAllowThreads(__tstate
);
12815 if (PyErr_Occurred()) SWIG_fail
;
12817 Py_INCREF(Py_None
); resultobj
= Py_None
;
12824 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12825 PyObject
*resultobj
;
12826 wxImage
*arg1
= (wxImage
*) 0 ;
12830 PyObject
* obj0
= 0 ;
12831 PyObject
* obj1
= 0 ;
12832 PyObject
* obj2
= 0 ;
12833 PyObject
* obj3
= 0 ;
12834 char *kwnames
[] = {
12835 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12840 if (SWIG_arg_fail(1)) SWIG_fail
;
12842 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
12843 if (SWIG_arg_fail(2)) SWIG_fail
;
12846 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
12847 if (SWIG_arg_fail(3)) SWIG_fail
;
12850 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
12851 if (SWIG_arg_fail(4)) SWIG_fail
;
12854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12855 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
12857 wxPyEndAllowThreads(__tstate
);
12858 if (PyErr_Occurred()) SWIG_fail
;
12860 Py_INCREF(Py_None
); resultobj
= Py_None
;
12867 static PyObject
*_wrap_Image_GetOrFindMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12868 PyObject
*resultobj
;
12869 wxImage
*arg1
= (wxImage
*) 0 ;
12870 byte
*arg2
= (byte
*) 0 ;
12871 byte
*arg3
= (byte
*) 0 ;
12872 byte
*arg4
= (byte
*) 0 ;
12879 PyObject
* obj0
= 0 ;
12880 char *kwnames
[] = {
12881 (char *) "self", NULL
12884 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
12885 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
12886 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
12887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetOrFindMaskColour",kwnames
,&obj0
)) goto fail
;
12888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12889 if (SWIG_arg_fail(1)) SWIG_fail
;
12891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12892 ((wxImage
const *)arg1
)->GetOrFindMaskColour(arg2
,arg3
,arg4
);
12894 wxPyEndAllowThreads(__tstate
);
12895 if (PyErr_Occurred()) SWIG_fail
;
12897 Py_INCREF(Py_None
); resultobj
= Py_None
;
12898 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
12899 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
12900 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
12901 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
12902 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
12903 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
12910 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12911 PyObject
*resultobj
;
12912 wxImage
*arg1
= (wxImage
*) 0 ;
12914 PyObject
* obj0
= 0 ;
12915 char *kwnames
[] = {
12916 (char *) "self", NULL
12919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
12920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12921 if (SWIG_arg_fail(1)) SWIG_fail
;
12923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12924 result
= (byte
)(arg1
)->GetMaskRed();
12926 wxPyEndAllowThreads(__tstate
);
12927 if (PyErr_Occurred()) SWIG_fail
;
12930 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12938 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12939 PyObject
*resultobj
;
12940 wxImage
*arg1
= (wxImage
*) 0 ;
12942 PyObject
* obj0
= 0 ;
12943 char *kwnames
[] = {
12944 (char *) "self", NULL
12947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
12948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12949 if (SWIG_arg_fail(1)) SWIG_fail
;
12951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12952 result
= (byte
)(arg1
)->GetMaskGreen();
12954 wxPyEndAllowThreads(__tstate
);
12955 if (PyErr_Occurred()) SWIG_fail
;
12958 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12966 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12967 PyObject
*resultobj
;
12968 wxImage
*arg1
= (wxImage
*) 0 ;
12970 PyObject
* obj0
= 0 ;
12971 char *kwnames
[] = {
12972 (char *) "self", NULL
12975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
12976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12977 if (SWIG_arg_fail(1)) SWIG_fail
;
12979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12980 result
= (byte
)(arg1
)->GetMaskBlue();
12982 wxPyEndAllowThreads(__tstate
);
12983 if (PyErr_Occurred()) SWIG_fail
;
12986 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12994 static PyObject
*_wrap_Image_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12995 PyObject
*resultobj
;
12996 wxImage
*arg1
= (wxImage
*) 0 ;
12997 bool arg2
= (bool) true ;
12998 PyObject
* obj0
= 0 ;
12999 PyObject
* obj1
= 0 ;
13000 char *kwnames
[] = {
13001 (char *) "self",(char *) "mask", NULL
13004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
13005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13006 if (SWIG_arg_fail(1)) SWIG_fail
;
13009 arg2
= (bool)(SWIG_As_bool(obj1
));
13010 if (SWIG_arg_fail(2)) SWIG_fail
;
13014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13015 (arg1
)->SetMask(arg2
);
13017 wxPyEndAllowThreads(__tstate
);
13018 if (PyErr_Occurred()) SWIG_fail
;
13020 Py_INCREF(Py_None
); resultobj
= Py_None
;
13027 static PyObject
*_wrap_Image_HasMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13028 PyObject
*resultobj
;
13029 wxImage
*arg1
= (wxImage
*) 0 ;
13031 PyObject
* obj0
= 0 ;
13032 char *kwnames
[] = {
13033 (char *) "self", NULL
13036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
13037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13038 if (SWIG_arg_fail(1)) SWIG_fail
;
13040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13041 result
= (bool)(arg1
)->HasMask();
13043 wxPyEndAllowThreads(__tstate
);
13044 if (PyErr_Occurred()) SWIG_fail
;
13047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13055 static PyObject
*_wrap_Image_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13056 PyObject
*resultobj
;
13057 wxImage
*arg1
= (wxImage
*) 0 ;
13059 wxPoint
*arg3
= 0 ;
13060 bool arg4
= (bool) true ;
13061 wxPoint
*arg5
= (wxPoint
*) NULL
;
13062 SwigValueWrapper
<wxImage
> result
;
13064 PyObject
* obj0
= 0 ;
13065 PyObject
* obj1
= 0 ;
13066 PyObject
* obj2
= 0 ;
13067 PyObject
* obj3
= 0 ;
13068 PyObject
* obj4
= 0 ;
13069 char *kwnames
[] = {
13070 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
13073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13075 if (SWIG_arg_fail(1)) SWIG_fail
;
13077 arg2
= (double)(SWIG_As_double(obj1
));
13078 if (SWIG_arg_fail(2)) SWIG_fail
;
13082 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13086 arg4
= (bool)(SWIG_As_bool(obj3
));
13087 if (SWIG_arg_fail(4)) SWIG_fail
;
13091 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
13092 if (SWIG_arg_fail(5)) SWIG_fail
;
13095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13096 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
13098 wxPyEndAllowThreads(__tstate
);
13099 if (PyErr_Occurred()) SWIG_fail
;
13102 wxImage
* resultptr
;
13103 resultptr
= new wxImage((wxImage
&)(result
));
13104 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13112 static PyObject
*_wrap_Image_Rotate90(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13113 PyObject
*resultobj
;
13114 wxImage
*arg1
= (wxImage
*) 0 ;
13115 bool arg2
= (bool) true ;
13116 SwigValueWrapper
<wxImage
> result
;
13117 PyObject
* obj0
= 0 ;
13118 PyObject
* obj1
= 0 ;
13119 char *kwnames
[] = {
13120 (char *) "self",(char *) "clockwise", NULL
13123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
13124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13125 if (SWIG_arg_fail(1)) SWIG_fail
;
13128 arg2
= (bool)(SWIG_As_bool(obj1
));
13129 if (SWIG_arg_fail(2)) SWIG_fail
;
13133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13134 result
= (arg1
)->Rotate90(arg2
);
13136 wxPyEndAllowThreads(__tstate
);
13137 if (PyErr_Occurred()) SWIG_fail
;
13140 wxImage
* resultptr
;
13141 resultptr
= new wxImage((wxImage
&)(result
));
13142 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13150 static PyObject
*_wrap_Image_Mirror(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13151 PyObject
*resultobj
;
13152 wxImage
*arg1
= (wxImage
*) 0 ;
13153 bool arg2
= (bool) true ;
13154 SwigValueWrapper
<wxImage
> result
;
13155 PyObject
* obj0
= 0 ;
13156 PyObject
* obj1
= 0 ;
13157 char *kwnames
[] = {
13158 (char *) "self",(char *) "horizontally", NULL
13161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
13162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13163 if (SWIG_arg_fail(1)) SWIG_fail
;
13166 arg2
= (bool)(SWIG_As_bool(obj1
));
13167 if (SWIG_arg_fail(2)) SWIG_fail
;
13171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13172 result
= (arg1
)->Mirror(arg2
);
13174 wxPyEndAllowThreads(__tstate
);
13175 if (PyErr_Occurred()) SWIG_fail
;
13178 wxImage
* resultptr
;
13179 resultptr
= new wxImage((wxImage
&)(result
));
13180 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13188 static PyObject
*_wrap_Image_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13189 PyObject
*resultobj
;
13190 wxImage
*arg1
= (wxImage
*) 0 ;
13197 PyObject
* obj0
= 0 ;
13198 PyObject
* obj1
= 0 ;
13199 PyObject
* obj2
= 0 ;
13200 PyObject
* obj3
= 0 ;
13201 PyObject
* obj4
= 0 ;
13202 PyObject
* obj5
= 0 ;
13203 PyObject
* obj6
= 0 ;
13204 char *kwnames
[] = {
13205 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
13208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13210 if (SWIG_arg_fail(1)) SWIG_fail
;
13212 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
13213 if (SWIG_arg_fail(2)) SWIG_fail
;
13216 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
13217 if (SWIG_arg_fail(3)) SWIG_fail
;
13220 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
13221 if (SWIG_arg_fail(4)) SWIG_fail
;
13224 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
13225 if (SWIG_arg_fail(5)) SWIG_fail
;
13228 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj5
));
13229 if (SWIG_arg_fail(6)) SWIG_fail
;
13232 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj6
));
13233 if (SWIG_arg_fail(7)) SWIG_fail
;
13236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13237 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13239 wxPyEndAllowThreads(__tstate
);
13240 if (PyErr_Occurred()) SWIG_fail
;
13242 Py_INCREF(Py_None
); resultobj
= Py_None
;
13249 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13250 PyObject
*resultobj
;
13251 wxImage
*arg1
= (wxImage
*) 0 ;
13255 SwigValueWrapper
<wxImage
> result
;
13256 PyObject
* obj0
= 0 ;
13257 PyObject
* obj1
= 0 ;
13258 PyObject
* obj2
= 0 ;
13259 PyObject
* obj3
= 0 ;
13260 char *kwnames
[] = {
13261 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
13264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13266 if (SWIG_arg_fail(1)) SWIG_fail
;
13268 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
13269 if (SWIG_arg_fail(2)) SWIG_fail
;
13272 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
13273 if (SWIG_arg_fail(3)) SWIG_fail
;
13276 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
13277 if (SWIG_arg_fail(4)) SWIG_fail
;
13280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13281 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
13283 wxPyEndAllowThreads(__tstate
);
13284 if (PyErr_Occurred()) SWIG_fail
;
13287 wxImage
* resultptr
;
13288 resultptr
= new wxImage((wxImage
&)(result
));
13289 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13297 static PyObject
*_wrap_Image_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13298 PyObject
*resultobj
;
13299 wxImage
*arg1
= (wxImage
*) 0 ;
13300 wxString
*arg2
= 0 ;
13301 wxString
*arg3
= 0 ;
13302 bool temp2
= false ;
13303 bool temp3
= false ;
13304 PyObject
* obj0
= 0 ;
13305 PyObject
* obj1
= 0 ;
13306 PyObject
* obj2
= 0 ;
13307 char *kwnames
[] = {
13308 (char *) "self",(char *) "name",(char *) "value", NULL
13311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13313 if (SWIG_arg_fail(1)) SWIG_fail
;
13315 arg2
= wxString_in_helper(obj1
);
13316 if (arg2
== NULL
) SWIG_fail
;
13320 arg3
= wxString_in_helper(obj2
);
13321 if (arg3
== NULL
) SWIG_fail
;
13325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13326 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
13328 wxPyEndAllowThreads(__tstate
);
13329 if (PyErr_Occurred()) SWIG_fail
;
13331 Py_INCREF(Py_None
); resultobj
= Py_None
;
13354 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13355 PyObject
*resultobj
;
13356 wxImage
*arg1
= (wxImage
*) 0 ;
13357 wxString
*arg2
= 0 ;
13359 bool temp2
= false ;
13360 PyObject
* obj0
= 0 ;
13361 PyObject
* obj1
= 0 ;
13362 PyObject
* obj2
= 0 ;
13363 char *kwnames
[] = {
13364 (char *) "self",(char *) "name",(char *) "value", NULL
13367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13369 if (SWIG_arg_fail(1)) SWIG_fail
;
13371 arg2
= wxString_in_helper(obj1
);
13372 if (arg2
== NULL
) SWIG_fail
;
13376 arg3
= (int)(SWIG_As_int(obj2
));
13377 if (SWIG_arg_fail(3)) SWIG_fail
;
13380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13381 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
13383 wxPyEndAllowThreads(__tstate
);
13384 if (PyErr_Occurred()) SWIG_fail
;
13386 Py_INCREF(Py_None
); resultobj
= Py_None
;
13401 static PyObject
*_wrap_Image_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13402 PyObject
*resultobj
;
13403 wxImage
*arg1
= (wxImage
*) 0 ;
13404 wxString
*arg2
= 0 ;
13406 bool temp2
= false ;
13407 PyObject
* obj0
= 0 ;
13408 PyObject
* obj1
= 0 ;
13409 char *kwnames
[] = {
13410 (char *) "self",(char *) "name", NULL
13413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
13414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13415 if (SWIG_arg_fail(1)) SWIG_fail
;
13417 arg2
= wxString_in_helper(obj1
);
13418 if (arg2
== NULL
) SWIG_fail
;
13422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13423 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
13425 wxPyEndAllowThreads(__tstate
);
13426 if (PyErr_Occurred()) SWIG_fail
;
13430 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13432 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13449 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13450 PyObject
*resultobj
;
13451 wxImage
*arg1
= (wxImage
*) 0 ;
13452 wxString
*arg2
= 0 ;
13454 bool temp2
= false ;
13455 PyObject
* obj0
= 0 ;
13456 PyObject
* obj1
= 0 ;
13457 char *kwnames
[] = {
13458 (char *) "self",(char *) "name", NULL
13461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13463 if (SWIG_arg_fail(1)) SWIG_fail
;
13465 arg2
= wxString_in_helper(obj1
);
13466 if (arg2
== NULL
) SWIG_fail
;
13470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13471 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
13473 wxPyEndAllowThreads(__tstate
);
13474 if (PyErr_Occurred()) SWIG_fail
;
13477 resultobj
= SWIG_From_int((int)(result
));
13493 static PyObject
*_wrap_Image_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13494 PyObject
*resultobj
;
13495 wxImage
*arg1
= (wxImage
*) 0 ;
13496 wxString
*arg2
= 0 ;
13498 bool temp2
= false ;
13499 PyObject
* obj0
= 0 ;
13500 PyObject
* obj1
= 0 ;
13501 char *kwnames
[] = {
13502 (char *) "self",(char *) "name", NULL
13505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
13506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13507 if (SWIG_arg_fail(1)) SWIG_fail
;
13509 arg2
= wxString_in_helper(obj1
);
13510 if (arg2
== NULL
) SWIG_fail
;
13514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13515 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
13517 wxPyEndAllowThreads(__tstate
);
13518 if (PyErr_Occurred()) SWIG_fail
;
13521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13537 static PyObject
*_wrap_Image_CountColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13538 PyObject
*resultobj
;
13539 wxImage
*arg1
= (wxImage
*) 0 ;
13540 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
13541 unsigned long result
;
13542 PyObject
* obj0
= 0 ;
13543 PyObject
* obj1
= 0 ;
13544 char *kwnames
[] = {
13545 (char *) "self",(char *) "stopafter", NULL
13548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
13549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13550 if (SWIG_arg_fail(1)) SWIG_fail
;
13553 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
13554 if (SWIG_arg_fail(2)) SWIG_fail
;
13558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13559 result
= (unsigned long)(arg1
)->CountColours(arg2
);
13561 wxPyEndAllowThreads(__tstate
);
13562 if (PyErr_Occurred()) SWIG_fail
;
13565 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13573 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13574 PyObject
*resultobj
;
13575 wxImage
*arg1
= (wxImage
*) 0 ;
13576 wxImageHistogram
*arg2
= 0 ;
13577 unsigned long result
;
13578 PyObject
* obj0
= 0 ;
13579 PyObject
* obj1
= 0 ;
13580 char *kwnames
[] = {
13581 (char *) "self",(char *) "h", NULL
13584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
13585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13586 if (SWIG_arg_fail(1)) SWIG_fail
;
13588 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
13589 if (SWIG_arg_fail(2)) SWIG_fail
;
13590 if (arg2
== NULL
) {
13591 SWIG_null_ref("wxImageHistogram");
13593 if (SWIG_arg_fail(2)) SWIG_fail
;
13596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13597 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
13599 wxPyEndAllowThreads(__tstate
);
13600 if (PyErr_Occurred()) SWIG_fail
;
13603 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13611 static PyObject
*_wrap_Image_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13612 PyObject
*resultobj
;
13613 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13614 PyObject
* obj0
= 0 ;
13615 char *kwnames
[] = {
13616 (char *) "handler", NULL
13619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
13620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13621 if (SWIG_arg_fail(1)) SWIG_fail
;
13623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13624 wxImage::AddHandler(arg1
);
13626 wxPyEndAllowThreads(__tstate
);
13627 if (PyErr_Occurred()) SWIG_fail
;
13629 Py_INCREF(Py_None
); resultobj
= Py_None
;
13636 static PyObject
*_wrap_Image_InsertHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13637 PyObject
*resultobj
;
13638 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13639 PyObject
* obj0
= 0 ;
13640 char *kwnames
[] = {
13641 (char *) "handler", NULL
13644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
13645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13646 if (SWIG_arg_fail(1)) SWIG_fail
;
13648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13649 wxImage::InsertHandler(arg1
);
13651 wxPyEndAllowThreads(__tstate
);
13652 if (PyErr_Occurred()) SWIG_fail
;
13654 Py_INCREF(Py_None
); resultobj
= Py_None
;
13661 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13662 PyObject
*resultobj
;
13663 wxString
*arg1
= 0 ;
13665 bool temp1
= false ;
13666 PyObject
* obj0
= 0 ;
13667 char *kwnames
[] = {
13668 (char *) "name", NULL
13671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
13673 arg1
= wxString_in_helper(obj0
);
13674 if (arg1
== NULL
) SWIG_fail
;
13678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13679 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
13681 wxPyEndAllowThreads(__tstate
);
13682 if (PyErr_Occurred()) SWIG_fail
;
13685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13701 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13702 PyObject
*resultobj
;
13704 char *kwnames
[] = {
13708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
13710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13711 result
= wxImage::GetImageExtWildcard();
13713 wxPyEndAllowThreads(__tstate
);
13714 if (PyErr_Occurred()) SWIG_fail
;
13718 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13720 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13729 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13730 PyObject
*resultobj
;
13731 wxImage
*arg1
= (wxImage
*) 0 ;
13732 int arg2
= (int) -1 ;
13734 PyObject
* obj0
= 0 ;
13735 PyObject
* obj1
= 0 ;
13736 char *kwnames
[] = {
13737 (char *) "self",(char *) "depth", NULL
13740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13742 if (SWIG_arg_fail(1)) SWIG_fail
;
13745 arg2
= (int)(SWIG_As_int(obj1
));
13746 if (SWIG_arg_fail(2)) SWIG_fail
;
13750 if (!wxPyCheckForApp()) SWIG_fail
;
13751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13752 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
13754 wxPyEndAllowThreads(__tstate
);
13755 if (PyErr_Occurred()) SWIG_fail
;
13758 wxBitmap
* resultptr
;
13759 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13760 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13768 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13769 PyObject
*resultobj
;
13770 wxImage
*arg1
= (wxImage
*) 0 ;
13775 PyObject
* obj0
= 0 ;
13776 PyObject
* obj1
= 0 ;
13777 PyObject
* obj2
= 0 ;
13778 PyObject
* obj3
= 0 ;
13779 char *kwnames
[] = {
13780 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
13783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13785 if (SWIG_arg_fail(1)) SWIG_fail
;
13787 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
13788 if (SWIG_arg_fail(2)) SWIG_fail
;
13791 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
13792 if (SWIG_arg_fail(3)) SWIG_fail
;
13795 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
13796 if (SWIG_arg_fail(4)) SWIG_fail
;
13799 if (!wxPyCheckForApp()) SWIG_fail
;
13800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13801 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
13803 wxPyEndAllowThreads(__tstate
);
13804 if (PyErr_Occurred()) SWIG_fail
;
13807 wxBitmap
* resultptr
;
13808 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13809 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13817 static PyObject
* Image_swigregister(PyObject
*, PyObject
*args
) {
13819 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13820 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
13822 return Py_BuildValue((char *)"");
13824 static int _wrap_NullImage_set(PyObject
*) {
13825 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
13830 static PyObject
*_wrap_NullImage_get(void) {
13833 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
13838 static int _wrap_IMAGE_OPTION_FILENAME_set(PyObject
*) {
13839 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_FILENAME is read-only.");
13844 static PyObject
*_wrap_IMAGE_OPTION_FILENAME_get(void) {
13849 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
13851 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
13858 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
13859 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
13864 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get(void) {
13869 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13871 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13878 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
13879 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
13884 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get(void) {
13889 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13891 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13898 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
13899 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
13904 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get(void) {
13909 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13911 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13918 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
13919 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
13924 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get(void) {
13929 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13931 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13938 static int _wrap_IMAGE_OPTION_RESOLUTIONX_set(PyObject
*) {
13939 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONX is read-only.");
13944 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONX_get(void) {
13949 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
13951 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
13958 static int _wrap_IMAGE_OPTION_RESOLUTIONY_set(PyObject
*) {
13959 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONY is read-only.");
13964 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONY_get(void) {
13969 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
13971 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
13978 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
13979 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
13984 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get(void) {
13989 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
13991 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
13998 static int _wrap_IMAGE_OPTION_QUALITY_set(PyObject
*) {
13999 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_QUALITY is read-only.");
14004 static PyObject
*_wrap_IMAGE_OPTION_QUALITY_get(void) {
14009 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
14011 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
14018 static int _wrap_IMAGE_OPTION_BITSPERSAMPLE_set(PyObject
*) {
14019 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BITSPERSAMPLE is read-only.");
14024 static PyObject
*_wrap_IMAGE_OPTION_BITSPERSAMPLE_get(void) {
14029 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
14031 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
14038 static int _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set(PyObject
*) {
14039 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_SAMPLESPERPIXEL is read-only.");
14044 static PyObject
*_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get(void) {
14049 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
14051 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
14058 static int _wrap_IMAGE_OPTION_COMPRESSION_set(PyObject
*) {
14059 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_COMPRESSION is read-only.");
14064 static PyObject
*_wrap_IMAGE_OPTION_COMPRESSION_get(void) {
14069 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
14071 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
14078 static int _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set(PyObject
*) {
14079 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_IMAGEDESCRIPTOR is read-only.");
14084 static PyObject
*_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get(void) {
14089 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
14091 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
14098 static int _wrap_IMAGE_OPTION_PNG_FORMAT_set(PyObject
*) {
14099 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_PNG_FORMAT is read-only.");
14104 static PyObject
*_wrap_IMAGE_OPTION_PNG_FORMAT_get(void) {
14109 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
14111 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
14118 static int _wrap_IMAGE_OPTION_PNG_BITDEPTH_set(PyObject
*) {
14119 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_PNG_BITDEPTH is read-only.");
14124 static PyObject
*_wrap_IMAGE_OPTION_PNG_BITDEPTH_get(void) {
14129 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
14131 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
14138 static PyObject
*_wrap_new_BMPHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14139 PyObject
*resultobj
;
14140 wxBMPHandler
*result
;
14141 char *kwnames
[] = {
14145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
14147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14148 result
= (wxBMPHandler
*)new wxBMPHandler();
14150 wxPyEndAllowThreads(__tstate
);
14151 if (PyErr_Occurred()) SWIG_fail
;
14153 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
14160 static PyObject
* BMPHandler_swigregister(PyObject
*, PyObject
*args
) {
14162 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14163 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
14165 return Py_BuildValue((char *)"");
14167 static PyObject
*_wrap_new_ICOHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14168 PyObject
*resultobj
;
14169 wxICOHandler
*result
;
14170 char *kwnames
[] = {
14174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
14176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14177 result
= (wxICOHandler
*)new wxICOHandler();
14179 wxPyEndAllowThreads(__tstate
);
14180 if (PyErr_Occurred()) SWIG_fail
;
14182 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
14189 static PyObject
* ICOHandler_swigregister(PyObject
*, PyObject
*args
) {
14191 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14192 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
14194 return Py_BuildValue((char *)"");
14196 static PyObject
*_wrap_new_CURHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14197 PyObject
*resultobj
;
14198 wxCURHandler
*result
;
14199 char *kwnames
[] = {
14203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
14205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14206 result
= (wxCURHandler
*)new wxCURHandler();
14208 wxPyEndAllowThreads(__tstate
);
14209 if (PyErr_Occurred()) SWIG_fail
;
14211 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
14218 static PyObject
* CURHandler_swigregister(PyObject
*, PyObject
*args
) {
14220 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14221 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
14223 return Py_BuildValue((char *)"");
14225 static PyObject
*_wrap_new_ANIHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14226 PyObject
*resultobj
;
14227 wxANIHandler
*result
;
14228 char *kwnames
[] = {
14232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
14234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14235 result
= (wxANIHandler
*)new wxANIHandler();
14237 wxPyEndAllowThreads(__tstate
);
14238 if (PyErr_Occurred()) SWIG_fail
;
14240 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
14247 static PyObject
* ANIHandler_swigregister(PyObject
*, PyObject
*args
) {
14249 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14250 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
14252 return Py_BuildValue((char *)"");
14254 static PyObject
*_wrap_new_PNGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14255 PyObject
*resultobj
;
14256 wxPNGHandler
*result
;
14257 char *kwnames
[] = {
14261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
14263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14264 result
= (wxPNGHandler
*)new wxPNGHandler();
14266 wxPyEndAllowThreads(__tstate
);
14267 if (PyErr_Occurred()) SWIG_fail
;
14269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
14276 static PyObject
* PNGHandler_swigregister(PyObject
*, PyObject
*args
) {
14278 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14279 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
14281 return Py_BuildValue((char *)"");
14283 static PyObject
*_wrap_new_GIFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14284 PyObject
*resultobj
;
14285 wxGIFHandler
*result
;
14286 char *kwnames
[] = {
14290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
14292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14293 result
= (wxGIFHandler
*)new wxGIFHandler();
14295 wxPyEndAllowThreads(__tstate
);
14296 if (PyErr_Occurred()) SWIG_fail
;
14298 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
14305 static PyObject
* GIFHandler_swigregister(PyObject
*, PyObject
*args
) {
14307 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14308 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
14310 return Py_BuildValue((char *)"");
14312 static PyObject
*_wrap_new_PCXHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14313 PyObject
*resultobj
;
14314 wxPCXHandler
*result
;
14315 char *kwnames
[] = {
14319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
14321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14322 result
= (wxPCXHandler
*)new wxPCXHandler();
14324 wxPyEndAllowThreads(__tstate
);
14325 if (PyErr_Occurred()) SWIG_fail
;
14327 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
14334 static PyObject
* PCXHandler_swigregister(PyObject
*, PyObject
*args
) {
14336 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14337 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
14339 return Py_BuildValue((char *)"");
14341 static PyObject
*_wrap_new_JPEGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14342 PyObject
*resultobj
;
14343 wxJPEGHandler
*result
;
14344 char *kwnames
[] = {
14348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
14350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14351 result
= (wxJPEGHandler
*)new wxJPEGHandler();
14353 wxPyEndAllowThreads(__tstate
);
14354 if (PyErr_Occurred()) SWIG_fail
;
14356 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
14363 static PyObject
* JPEGHandler_swigregister(PyObject
*, PyObject
*args
) {
14365 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14366 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
14368 return Py_BuildValue((char *)"");
14370 static PyObject
*_wrap_new_PNMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14371 PyObject
*resultobj
;
14372 wxPNMHandler
*result
;
14373 char *kwnames
[] = {
14377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
14379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14380 result
= (wxPNMHandler
*)new wxPNMHandler();
14382 wxPyEndAllowThreads(__tstate
);
14383 if (PyErr_Occurred()) SWIG_fail
;
14385 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
14392 static PyObject
* PNMHandler_swigregister(PyObject
*, PyObject
*args
) {
14394 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14395 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
14397 return Py_BuildValue((char *)"");
14399 static PyObject
*_wrap_new_XPMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14400 PyObject
*resultobj
;
14401 wxXPMHandler
*result
;
14402 char *kwnames
[] = {
14406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
14408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14409 result
= (wxXPMHandler
*)new wxXPMHandler();
14411 wxPyEndAllowThreads(__tstate
);
14412 if (PyErr_Occurred()) SWIG_fail
;
14414 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
14421 static PyObject
* XPMHandler_swigregister(PyObject
*, PyObject
*args
) {
14423 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14424 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
14426 return Py_BuildValue((char *)"");
14428 static PyObject
*_wrap_new_TIFFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14429 PyObject
*resultobj
;
14430 wxTIFFHandler
*result
;
14431 char *kwnames
[] = {
14435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
14437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14438 result
= (wxTIFFHandler
*)new wxTIFFHandler();
14440 wxPyEndAllowThreads(__tstate
);
14441 if (PyErr_Occurred()) SWIG_fail
;
14443 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
14450 static PyObject
* TIFFHandler_swigregister(PyObject
*, PyObject
*args
) {
14452 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14453 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
14455 return Py_BuildValue((char *)"");
14457 static PyObject
*_wrap_Quantize_Quantize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14458 PyObject
*resultobj
;
14459 wxImage
*arg1
= 0 ;
14460 wxImage
*arg2
= 0 ;
14461 int arg3
= (int) 236 ;
14462 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
14464 PyObject
* obj0
= 0 ;
14465 PyObject
* obj1
= 0 ;
14466 PyObject
* obj2
= 0 ;
14467 PyObject
* obj3
= 0 ;
14468 char *kwnames
[] = {
14469 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
14472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14475 if (SWIG_arg_fail(1)) SWIG_fail
;
14476 if (arg1
== NULL
) {
14477 SWIG_null_ref("wxImage");
14479 if (SWIG_arg_fail(1)) SWIG_fail
;
14482 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14483 if (SWIG_arg_fail(2)) SWIG_fail
;
14484 if (arg2
== NULL
) {
14485 SWIG_null_ref("wxImage");
14487 if (SWIG_arg_fail(2)) SWIG_fail
;
14491 arg3
= (int)(SWIG_As_int(obj2
));
14492 if (SWIG_arg_fail(3)) SWIG_fail
;
14497 arg4
= (int)(SWIG_As_int(obj3
));
14498 if (SWIG_arg_fail(4)) SWIG_fail
;
14502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14503 result
= (bool)Quantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
14505 wxPyEndAllowThreads(__tstate
);
14506 if (PyErr_Occurred()) SWIG_fail
;
14509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14517 static PyObject
* Quantize_swigregister(PyObject
*, PyObject
*args
) {
14519 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14520 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
);
14522 return Py_BuildValue((char *)"");
14524 static PyObject
*_wrap_new_EvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14525 PyObject
*resultobj
;
14526 wxEvtHandler
*result
;
14527 char *kwnames
[] = {
14531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
14533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14534 result
= (wxEvtHandler
*)new wxEvtHandler();
14536 wxPyEndAllowThreads(__tstate
);
14537 if (PyErr_Occurred()) SWIG_fail
;
14539 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
14546 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14547 PyObject
*resultobj
;
14548 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14549 wxEvtHandler
*result
;
14550 PyObject
* obj0
= 0 ;
14551 char *kwnames
[] = {
14552 (char *) "self", NULL
14555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
14556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14557 if (SWIG_arg_fail(1)) SWIG_fail
;
14559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14560 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
14562 wxPyEndAllowThreads(__tstate
);
14563 if (PyErr_Occurred()) SWIG_fail
;
14566 resultobj
= wxPyMake_wxObject(result
, 0);
14574 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14575 PyObject
*resultobj
;
14576 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14577 wxEvtHandler
*result
;
14578 PyObject
* obj0
= 0 ;
14579 char *kwnames
[] = {
14580 (char *) "self", NULL
14583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
14584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14585 if (SWIG_arg_fail(1)) SWIG_fail
;
14587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14588 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
14590 wxPyEndAllowThreads(__tstate
);
14591 if (PyErr_Occurred()) SWIG_fail
;
14594 resultobj
= wxPyMake_wxObject(result
, 0);
14602 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14603 PyObject
*resultobj
;
14604 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14605 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
14606 PyObject
* obj0
= 0 ;
14607 PyObject
* obj1
= 0 ;
14608 char *kwnames
[] = {
14609 (char *) "self",(char *) "handler", NULL
14612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
14613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14614 if (SWIG_arg_fail(1)) SWIG_fail
;
14615 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14616 if (SWIG_arg_fail(2)) SWIG_fail
;
14618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14619 (arg1
)->SetNextHandler(arg2
);
14621 wxPyEndAllowThreads(__tstate
);
14622 if (PyErr_Occurred()) SWIG_fail
;
14624 Py_INCREF(Py_None
); resultobj
= Py_None
;
14631 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14632 PyObject
*resultobj
;
14633 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14634 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
14635 PyObject
* obj0
= 0 ;
14636 PyObject
* obj1
= 0 ;
14637 char *kwnames
[] = {
14638 (char *) "self",(char *) "handler", NULL
14641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
14642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14643 if (SWIG_arg_fail(1)) SWIG_fail
;
14644 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14645 if (SWIG_arg_fail(2)) SWIG_fail
;
14647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14648 (arg1
)->SetPreviousHandler(arg2
);
14650 wxPyEndAllowThreads(__tstate
);
14651 if (PyErr_Occurred()) SWIG_fail
;
14653 Py_INCREF(Py_None
); resultobj
= Py_None
;
14660 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14661 PyObject
*resultobj
;
14662 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14664 PyObject
* obj0
= 0 ;
14665 char *kwnames
[] = {
14666 (char *) "self", NULL
14669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
14670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14671 if (SWIG_arg_fail(1)) SWIG_fail
;
14673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14674 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
14676 wxPyEndAllowThreads(__tstate
);
14677 if (PyErr_Occurred()) SWIG_fail
;
14680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14688 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14689 PyObject
*resultobj
;
14690 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14692 PyObject
* obj0
= 0 ;
14693 PyObject
* obj1
= 0 ;
14694 char *kwnames
[] = {
14695 (char *) "self",(char *) "enabled", NULL
14698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
14699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14700 if (SWIG_arg_fail(1)) SWIG_fail
;
14702 arg2
= (bool)(SWIG_As_bool(obj1
));
14703 if (SWIG_arg_fail(2)) SWIG_fail
;
14706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14707 (arg1
)->SetEvtHandlerEnabled(arg2
);
14709 wxPyEndAllowThreads(__tstate
);
14710 if (PyErr_Occurred()) SWIG_fail
;
14712 Py_INCREF(Py_None
); resultobj
= Py_None
;
14719 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14720 PyObject
*resultobj
;
14721 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14722 wxEvent
*arg2
= 0 ;
14724 PyObject
* obj0
= 0 ;
14725 PyObject
* obj1
= 0 ;
14726 char *kwnames
[] = {
14727 (char *) "self",(char *) "event", NULL
14730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14732 if (SWIG_arg_fail(1)) SWIG_fail
;
14734 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14735 if (SWIG_arg_fail(2)) SWIG_fail
;
14736 if (arg2
== NULL
) {
14737 SWIG_null_ref("wxEvent");
14739 if (SWIG_arg_fail(2)) SWIG_fail
;
14742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14743 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
14745 wxPyEndAllowThreads(__tstate
);
14746 if (PyErr_Occurred()) SWIG_fail
;
14749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14757 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14758 PyObject
*resultobj
;
14759 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14760 wxEvent
*arg2
= 0 ;
14761 PyObject
* obj0
= 0 ;
14762 PyObject
* obj1
= 0 ;
14763 char *kwnames
[] = {
14764 (char *) "self",(char *) "event", NULL
14767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14769 if (SWIG_arg_fail(1)) SWIG_fail
;
14771 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14772 if (SWIG_arg_fail(2)) SWIG_fail
;
14773 if (arg2
== NULL
) {
14774 SWIG_null_ref("wxEvent");
14776 if (SWIG_arg_fail(2)) SWIG_fail
;
14779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14780 (arg1
)->AddPendingEvent(*arg2
);
14782 wxPyEndAllowThreads(__tstate
);
14783 if (PyErr_Occurred()) SWIG_fail
;
14785 Py_INCREF(Py_None
); resultobj
= Py_None
;
14792 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14793 PyObject
*resultobj
;
14794 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14795 PyObject
* obj0
= 0 ;
14796 char *kwnames
[] = {
14797 (char *) "self", NULL
14800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
14801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14802 if (SWIG_arg_fail(1)) SWIG_fail
;
14804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14805 (arg1
)->ProcessPendingEvents();
14807 wxPyEndAllowThreads(__tstate
);
14808 if (PyErr_Occurred()) SWIG_fail
;
14810 Py_INCREF(Py_None
); resultobj
= Py_None
;
14817 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14818 PyObject
*resultobj
;
14819 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14823 PyObject
*arg5
= (PyObject
*) 0 ;
14824 PyObject
* obj0
= 0 ;
14825 PyObject
* obj1
= 0 ;
14826 PyObject
* obj2
= 0 ;
14827 PyObject
* obj3
= 0 ;
14828 PyObject
* obj4
= 0 ;
14829 char *kwnames
[] = {
14830 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
14833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14835 if (SWIG_arg_fail(1)) SWIG_fail
;
14837 arg2
= (int)(SWIG_As_int(obj1
));
14838 if (SWIG_arg_fail(2)) SWIG_fail
;
14841 arg3
= (int)(SWIG_As_int(obj2
));
14842 if (SWIG_arg_fail(3)) SWIG_fail
;
14845 arg4
= (int)(SWIG_As_int(obj3
));
14846 if (SWIG_arg_fail(4)) SWIG_fail
;
14850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14851 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
14853 wxPyEndAllowThreads(__tstate
);
14854 if (PyErr_Occurred()) SWIG_fail
;
14856 Py_INCREF(Py_None
); resultobj
= Py_None
;
14863 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14864 PyObject
*resultobj
;
14865 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14867 int arg3
= (int) -1 ;
14868 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
14870 PyObject
* obj0
= 0 ;
14871 PyObject
* obj1
= 0 ;
14872 PyObject
* obj2
= 0 ;
14873 PyObject
* obj3
= 0 ;
14874 char *kwnames
[] = {
14875 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
14878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14880 if (SWIG_arg_fail(1)) SWIG_fail
;
14882 arg2
= (int)(SWIG_As_int(obj1
));
14883 if (SWIG_arg_fail(2)) SWIG_fail
;
14887 arg3
= (int)(SWIG_As_int(obj2
));
14888 if (SWIG_arg_fail(3)) SWIG_fail
;
14893 arg4
= (wxEventType
)(SWIG_As_int(obj3
));
14894 if (SWIG_arg_fail(4)) SWIG_fail
;
14898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14899 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
14901 wxPyEndAllowThreads(__tstate
);
14902 if (PyErr_Occurred()) SWIG_fail
;
14905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14913 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14914 PyObject
*resultobj
;
14915 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14916 PyObject
*arg2
= (PyObject
*) 0 ;
14917 bool arg3
= (bool) true ;
14918 PyObject
* obj0
= 0 ;
14919 PyObject
* obj1
= 0 ;
14920 PyObject
* obj2
= 0 ;
14921 char *kwnames
[] = {
14922 (char *) "self",(char *) "_self",(char *) "incref", NULL
14925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14927 if (SWIG_arg_fail(1)) SWIG_fail
;
14931 arg3
= (bool)(SWIG_As_bool(obj2
));
14932 if (SWIG_arg_fail(3)) SWIG_fail
;
14936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14937 wxEvtHandler__setOORInfo(arg1
,arg2
,arg3
);
14939 wxPyEndAllowThreads(__tstate
);
14940 if (PyErr_Occurred()) SWIG_fail
;
14942 Py_INCREF(Py_None
); resultobj
= Py_None
;
14949 static PyObject
* EvtHandler_swigregister(PyObject
*, PyObject
*args
) {
14951 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14952 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
14954 return Py_BuildValue((char *)"");
14956 static PyObject
*_wrap_NewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14957 PyObject
*resultobj
;
14958 wxEventType result
;
14959 char *kwnames
[] = {
14963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
14965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14966 result
= (wxEventType
)wxNewEventType();
14968 wxPyEndAllowThreads(__tstate
);
14969 if (PyErr_Occurred()) SWIG_fail
;
14972 resultobj
= SWIG_From_int((int)(result
));
14980 static PyObject
*_wrap_delete_Event(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14981 PyObject
*resultobj
;
14982 wxEvent
*arg1
= (wxEvent
*) 0 ;
14983 PyObject
* obj0
= 0 ;
14984 char *kwnames
[] = {
14985 (char *) "self", NULL
14988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
14989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14990 if (SWIG_arg_fail(1)) SWIG_fail
;
14992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14995 wxPyEndAllowThreads(__tstate
);
14996 if (PyErr_Occurred()) SWIG_fail
;
14998 Py_INCREF(Py_None
); resultobj
= Py_None
;
15005 static PyObject
*_wrap_Event_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15006 PyObject
*resultobj
;
15007 wxEvent
*arg1
= (wxEvent
*) 0 ;
15009 PyObject
* obj0
= 0 ;
15010 PyObject
* obj1
= 0 ;
15011 char *kwnames
[] = {
15012 (char *) "self",(char *) "typ", NULL
15015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
15016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15017 if (SWIG_arg_fail(1)) SWIG_fail
;
15019 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
15020 if (SWIG_arg_fail(2)) SWIG_fail
;
15023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15024 (arg1
)->SetEventType(arg2
);
15026 wxPyEndAllowThreads(__tstate
);
15027 if (PyErr_Occurred()) SWIG_fail
;
15029 Py_INCREF(Py_None
); resultobj
= Py_None
;
15036 static PyObject
*_wrap_Event_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15037 PyObject
*resultobj
;
15038 wxEvent
*arg1
= (wxEvent
*) 0 ;
15039 wxEventType result
;
15040 PyObject
* obj0
= 0 ;
15041 char *kwnames
[] = {
15042 (char *) "self", NULL
15045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
15046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15047 if (SWIG_arg_fail(1)) SWIG_fail
;
15049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15050 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
15052 wxPyEndAllowThreads(__tstate
);
15053 if (PyErr_Occurred()) SWIG_fail
;
15056 resultobj
= SWIG_From_int((int)(result
));
15064 static PyObject
*_wrap_Event_GetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15065 PyObject
*resultobj
;
15066 wxEvent
*arg1
= (wxEvent
*) 0 ;
15068 PyObject
* obj0
= 0 ;
15069 char *kwnames
[] = {
15070 (char *) "self", NULL
15073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
15074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15075 if (SWIG_arg_fail(1)) SWIG_fail
;
15077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15078 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
15080 wxPyEndAllowThreads(__tstate
);
15081 if (PyErr_Occurred()) SWIG_fail
;
15084 resultobj
= wxPyMake_wxObject(result
, 0);
15092 static PyObject
*_wrap_Event_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15093 PyObject
*resultobj
;
15094 wxEvent
*arg1
= (wxEvent
*) 0 ;
15095 wxObject
*arg2
= (wxObject
*) 0 ;
15096 PyObject
* obj0
= 0 ;
15097 PyObject
* obj1
= 0 ;
15098 char *kwnames
[] = {
15099 (char *) "self",(char *) "obj", NULL
15102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
15103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15104 if (SWIG_arg_fail(1)) SWIG_fail
;
15105 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
15106 if (SWIG_arg_fail(2)) SWIG_fail
;
15108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15109 (arg1
)->SetEventObject(arg2
);
15111 wxPyEndAllowThreads(__tstate
);
15112 if (PyErr_Occurred()) SWIG_fail
;
15114 Py_INCREF(Py_None
); resultobj
= Py_None
;
15121 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15122 PyObject
*resultobj
;
15123 wxEvent
*arg1
= (wxEvent
*) 0 ;
15125 PyObject
* obj0
= 0 ;
15126 char *kwnames
[] = {
15127 (char *) "self", NULL
15130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
15131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15132 if (SWIG_arg_fail(1)) SWIG_fail
;
15134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15135 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
15137 wxPyEndAllowThreads(__tstate
);
15138 if (PyErr_Occurred()) SWIG_fail
;
15141 resultobj
= SWIG_From_long((long)(result
));
15149 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15150 PyObject
*resultobj
;
15151 wxEvent
*arg1
= (wxEvent
*) 0 ;
15152 long arg2
= (long) 0 ;
15153 PyObject
* obj0
= 0 ;
15154 PyObject
* obj1
= 0 ;
15155 char *kwnames
[] = {
15156 (char *) "self",(char *) "ts", NULL
15159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
15160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15161 if (SWIG_arg_fail(1)) SWIG_fail
;
15164 arg2
= (long)(SWIG_As_long(obj1
));
15165 if (SWIG_arg_fail(2)) SWIG_fail
;
15169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15170 (arg1
)->SetTimestamp(arg2
);
15172 wxPyEndAllowThreads(__tstate
);
15173 if (PyErr_Occurred()) SWIG_fail
;
15175 Py_INCREF(Py_None
); resultobj
= Py_None
;
15182 static PyObject
*_wrap_Event_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15183 PyObject
*resultobj
;
15184 wxEvent
*arg1
= (wxEvent
*) 0 ;
15186 PyObject
* obj0
= 0 ;
15187 char *kwnames
[] = {
15188 (char *) "self", NULL
15191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
15192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15193 if (SWIG_arg_fail(1)) SWIG_fail
;
15195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15196 result
= (int)((wxEvent
const *)arg1
)->GetId();
15198 wxPyEndAllowThreads(__tstate
);
15199 if (PyErr_Occurred()) SWIG_fail
;
15202 resultobj
= SWIG_From_int((int)(result
));
15210 static PyObject
*_wrap_Event_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15211 PyObject
*resultobj
;
15212 wxEvent
*arg1
= (wxEvent
*) 0 ;
15214 PyObject
* obj0
= 0 ;
15215 PyObject
* obj1
= 0 ;
15216 char *kwnames
[] = {
15217 (char *) "self",(char *) "Id", NULL
15220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
15221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15222 if (SWIG_arg_fail(1)) SWIG_fail
;
15224 arg2
= (int)(SWIG_As_int(obj1
));
15225 if (SWIG_arg_fail(2)) SWIG_fail
;
15228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15229 (arg1
)->SetId(arg2
);
15231 wxPyEndAllowThreads(__tstate
);
15232 if (PyErr_Occurred()) SWIG_fail
;
15234 Py_INCREF(Py_None
); resultobj
= Py_None
;
15241 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15242 PyObject
*resultobj
;
15243 wxEvent
*arg1
= (wxEvent
*) 0 ;
15245 PyObject
* obj0
= 0 ;
15246 char *kwnames
[] = {
15247 (char *) "self", NULL
15250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
15251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15252 if (SWIG_arg_fail(1)) SWIG_fail
;
15254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15255 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
15257 wxPyEndAllowThreads(__tstate
);
15258 if (PyErr_Occurred()) SWIG_fail
;
15261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15269 static PyObject
*_wrap_Event_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15270 PyObject
*resultobj
;
15271 wxEvent
*arg1
= (wxEvent
*) 0 ;
15272 bool arg2
= (bool) true ;
15273 PyObject
* obj0
= 0 ;
15274 PyObject
* obj1
= 0 ;
15275 char *kwnames
[] = {
15276 (char *) "self",(char *) "skip", NULL
15279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
15280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15281 if (SWIG_arg_fail(1)) SWIG_fail
;
15284 arg2
= (bool)(SWIG_As_bool(obj1
));
15285 if (SWIG_arg_fail(2)) SWIG_fail
;
15289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15290 (arg1
)->Skip(arg2
);
15292 wxPyEndAllowThreads(__tstate
);
15293 if (PyErr_Occurred()) SWIG_fail
;
15295 Py_INCREF(Py_None
); resultobj
= Py_None
;
15302 static PyObject
*_wrap_Event_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15303 PyObject
*resultobj
;
15304 wxEvent
*arg1
= (wxEvent
*) 0 ;
15306 PyObject
* obj0
= 0 ;
15307 char *kwnames
[] = {
15308 (char *) "self", NULL
15311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
15312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15313 if (SWIG_arg_fail(1)) SWIG_fail
;
15315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15316 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
15318 wxPyEndAllowThreads(__tstate
);
15319 if (PyErr_Occurred()) SWIG_fail
;
15322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15330 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15331 PyObject
*resultobj
;
15332 wxEvent
*arg1
= (wxEvent
*) 0 ;
15334 PyObject
* obj0
= 0 ;
15335 char *kwnames
[] = {
15336 (char *) "self", NULL
15339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
15340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15341 if (SWIG_arg_fail(1)) SWIG_fail
;
15343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15344 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
15346 wxPyEndAllowThreads(__tstate
);
15347 if (PyErr_Occurred()) SWIG_fail
;
15350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15358 static PyObject
*_wrap_Event_StopPropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15359 PyObject
*resultobj
;
15360 wxEvent
*arg1
= (wxEvent
*) 0 ;
15362 PyObject
* obj0
= 0 ;
15363 char *kwnames
[] = {
15364 (char *) "self", NULL
15367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
15368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15369 if (SWIG_arg_fail(1)) SWIG_fail
;
15371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15372 result
= (int)(arg1
)->StopPropagation();
15374 wxPyEndAllowThreads(__tstate
);
15375 if (PyErr_Occurred()) SWIG_fail
;
15378 resultobj
= SWIG_From_int((int)(result
));
15386 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15387 PyObject
*resultobj
;
15388 wxEvent
*arg1
= (wxEvent
*) 0 ;
15390 PyObject
* obj0
= 0 ;
15391 PyObject
* obj1
= 0 ;
15392 char *kwnames
[] = {
15393 (char *) "self",(char *) "propagationLevel", NULL
15396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
15397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15398 if (SWIG_arg_fail(1)) SWIG_fail
;
15400 arg2
= (int)(SWIG_As_int(obj1
));
15401 if (SWIG_arg_fail(2)) SWIG_fail
;
15404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15405 (arg1
)->ResumePropagation(arg2
);
15407 wxPyEndAllowThreads(__tstate
);
15408 if (PyErr_Occurred()) SWIG_fail
;
15410 Py_INCREF(Py_None
); resultobj
= Py_None
;
15417 static PyObject
*_wrap_Event_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15418 PyObject
*resultobj
;
15419 wxEvent
*arg1
= (wxEvent
*) 0 ;
15421 PyObject
* obj0
= 0 ;
15422 char *kwnames
[] = {
15423 (char *) "self", NULL
15426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
15427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15428 if (SWIG_arg_fail(1)) SWIG_fail
;
15430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15431 result
= (wxEvent
*)(arg1
)->Clone();
15433 wxPyEndAllowThreads(__tstate
);
15434 if (PyErr_Occurred()) SWIG_fail
;
15436 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
15443 static PyObject
* Event_swigregister(PyObject
*, PyObject
*args
) {
15445 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15446 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
15448 return Py_BuildValue((char *)"");
15450 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15451 PyObject
*resultobj
;
15452 wxEvent
*arg1
= 0 ;
15453 wxPropagationDisabler
*result
;
15454 PyObject
* obj0
= 0 ;
15455 char *kwnames
[] = {
15456 (char *) "event", NULL
15459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
15461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15462 if (SWIG_arg_fail(1)) SWIG_fail
;
15463 if (arg1
== NULL
) {
15464 SWIG_null_ref("wxEvent");
15466 if (SWIG_arg_fail(1)) SWIG_fail
;
15469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15470 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
15472 wxPyEndAllowThreads(__tstate
);
15473 if (PyErr_Occurred()) SWIG_fail
;
15475 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
15482 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15483 PyObject
*resultobj
;
15484 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
15485 PyObject
* obj0
= 0 ;
15486 char *kwnames
[] = {
15487 (char *) "self", NULL
15490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
15491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagationDisabler
, SWIG_POINTER_EXCEPTION
| 0);
15492 if (SWIG_arg_fail(1)) SWIG_fail
;
15494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15497 wxPyEndAllowThreads(__tstate
);
15498 if (PyErr_Occurred()) SWIG_fail
;
15500 Py_INCREF(Py_None
); resultobj
= Py_None
;
15507 static PyObject
* PropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
15509 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15510 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
15512 return Py_BuildValue((char *)"");
15514 static PyObject
*_wrap_new_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15515 PyObject
*resultobj
;
15516 wxEvent
*arg1
= 0 ;
15517 wxPropagateOnce
*result
;
15518 PyObject
* obj0
= 0 ;
15519 char *kwnames
[] = {
15520 (char *) "event", NULL
15523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
15525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15526 if (SWIG_arg_fail(1)) SWIG_fail
;
15527 if (arg1
== NULL
) {
15528 SWIG_null_ref("wxEvent");
15530 if (SWIG_arg_fail(1)) SWIG_fail
;
15533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15534 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
15536 wxPyEndAllowThreads(__tstate
);
15537 if (PyErr_Occurred()) SWIG_fail
;
15539 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
15546 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15547 PyObject
*resultobj
;
15548 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
15549 PyObject
* obj0
= 0 ;
15550 char *kwnames
[] = {
15551 (char *) "self", NULL
15554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
15555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagateOnce
, SWIG_POINTER_EXCEPTION
| 0);
15556 if (SWIG_arg_fail(1)) SWIG_fail
;
15558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15561 wxPyEndAllowThreads(__tstate
);
15562 if (PyErr_Occurred()) SWIG_fail
;
15564 Py_INCREF(Py_None
); resultobj
= Py_None
;
15571 static PyObject
* PropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
15573 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15574 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
15576 return Py_BuildValue((char *)"");
15578 static PyObject
*_wrap_new_CommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15579 PyObject
*resultobj
;
15580 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15581 int arg2
= (int) 0 ;
15582 wxCommandEvent
*result
;
15583 PyObject
* obj0
= 0 ;
15584 PyObject
* obj1
= 0 ;
15585 char *kwnames
[] = {
15586 (char *) "commandType",(char *) "winid", NULL
15589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15592 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15593 if (SWIG_arg_fail(1)) SWIG_fail
;
15598 arg2
= (int)(SWIG_As_int(obj1
));
15599 if (SWIG_arg_fail(2)) SWIG_fail
;
15603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15604 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
15606 wxPyEndAllowThreads(__tstate
);
15607 if (PyErr_Occurred()) SWIG_fail
;
15609 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
15616 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15617 PyObject
*resultobj
;
15618 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15620 PyObject
* obj0
= 0 ;
15621 char *kwnames
[] = {
15622 (char *) "self", NULL
15625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
15626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15627 if (SWIG_arg_fail(1)) SWIG_fail
;
15629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15630 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
15632 wxPyEndAllowThreads(__tstate
);
15633 if (PyErr_Occurred()) SWIG_fail
;
15636 resultobj
= SWIG_From_int((int)(result
));
15644 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15645 PyObject
*resultobj
;
15646 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15647 wxString
*arg2
= 0 ;
15648 bool temp2
= false ;
15649 PyObject
* obj0
= 0 ;
15650 PyObject
* obj1
= 0 ;
15651 char *kwnames
[] = {
15652 (char *) "self",(char *) "s", NULL
15655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
15656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15657 if (SWIG_arg_fail(1)) SWIG_fail
;
15659 arg2
= wxString_in_helper(obj1
);
15660 if (arg2
== NULL
) SWIG_fail
;
15664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15665 (arg1
)->SetString((wxString
const &)*arg2
);
15667 wxPyEndAllowThreads(__tstate
);
15668 if (PyErr_Occurred()) SWIG_fail
;
15670 Py_INCREF(Py_None
); resultobj
= Py_None
;
15685 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15686 PyObject
*resultobj
;
15687 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15689 PyObject
* obj0
= 0 ;
15690 char *kwnames
[] = {
15691 (char *) "self", NULL
15694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
15695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15696 if (SWIG_arg_fail(1)) SWIG_fail
;
15698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15699 result
= ((wxCommandEvent
const *)arg1
)->GetString();
15701 wxPyEndAllowThreads(__tstate
);
15702 if (PyErr_Occurred()) SWIG_fail
;
15706 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15708 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15717 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15718 PyObject
*resultobj
;
15719 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15721 PyObject
* obj0
= 0 ;
15722 char *kwnames
[] = {
15723 (char *) "self", NULL
15726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
15727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15728 if (SWIG_arg_fail(1)) SWIG_fail
;
15730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15731 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
15733 wxPyEndAllowThreads(__tstate
);
15734 if (PyErr_Occurred()) SWIG_fail
;
15737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15745 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15746 PyObject
*resultobj
;
15747 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15749 PyObject
* obj0
= 0 ;
15750 char *kwnames
[] = {
15751 (char *) "self", NULL
15754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
15755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15756 if (SWIG_arg_fail(1)) SWIG_fail
;
15758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15759 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
15761 wxPyEndAllowThreads(__tstate
);
15762 if (PyErr_Occurred()) SWIG_fail
;
15765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15773 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15774 PyObject
*resultobj
;
15775 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15777 PyObject
* obj0
= 0 ;
15778 PyObject
* obj1
= 0 ;
15779 char *kwnames
[] = {
15780 (char *) "self",(char *) "extraLong", NULL
15783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
15784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15785 if (SWIG_arg_fail(1)) SWIG_fail
;
15787 arg2
= (long)(SWIG_As_long(obj1
));
15788 if (SWIG_arg_fail(2)) SWIG_fail
;
15791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15792 (arg1
)->SetExtraLong(arg2
);
15794 wxPyEndAllowThreads(__tstate
);
15795 if (PyErr_Occurred()) SWIG_fail
;
15797 Py_INCREF(Py_None
); resultobj
= Py_None
;
15804 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15805 PyObject
*resultobj
;
15806 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15808 PyObject
* obj0
= 0 ;
15809 char *kwnames
[] = {
15810 (char *) "self", NULL
15813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
15814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15815 if (SWIG_arg_fail(1)) SWIG_fail
;
15817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15818 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
15820 wxPyEndAllowThreads(__tstate
);
15821 if (PyErr_Occurred()) SWIG_fail
;
15824 resultobj
= SWIG_From_long((long)(result
));
15832 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15833 PyObject
*resultobj
;
15834 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15836 PyObject
* obj0
= 0 ;
15837 PyObject
* obj1
= 0 ;
15838 char *kwnames
[] = {
15839 (char *) "self",(char *) "i", NULL
15842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
15843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15844 if (SWIG_arg_fail(1)) SWIG_fail
;
15846 arg2
= (int)(SWIG_As_int(obj1
));
15847 if (SWIG_arg_fail(2)) SWIG_fail
;
15850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15851 (arg1
)->SetInt(arg2
);
15853 wxPyEndAllowThreads(__tstate
);
15854 if (PyErr_Occurred()) SWIG_fail
;
15856 Py_INCREF(Py_None
); resultobj
= Py_None
;
15863 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15864 PyObject
*resultobj
;
15865 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15867 PyObject
* obj0
= 0 ;
15868 char *kwnames
[] = {
15869 (char *) "self", NULL
15872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
15873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15874 if (SWIG_arg_fail(1)) SWIG_fail
;
15876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15877 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
15879 wxPyEndAllowThreads(__tstate
);
15880 if (PyErr_Occurred()) SWIG_fail
;
15883 resultobj
= SWIG_From_long((long)(result
));
15891 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15892 PyObject
*resultobj
;
15893 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15895 PyObject
* obj0
= 0 ;
15896 char *kwnames
[] = {
15897 (char *) "self", NULL
15900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
15901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15902 if (SWIG_arg_fail(1)) SWIG_fail
;
15904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15905 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
15907 wxPyEndAllowThreads(__tstate
);
15908 if (PyErr_Occurred()) SWIG_fail
;
15910 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
15917 static PyObject
* CommandEvent_swigregister(PyObject
*, PyObject
*args
) {
15919 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15920 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
15922 return Py_BuildValue((char *)"");
15924 static PyObject
*_wrap_new_NotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15925 PyObject
*resultobj
;
15926 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15927 int arg2
= (int) 0 ;
15928 wxNotifyEvent
*result
;
15929 PyObject
* obj0
= 0 ;
15930 PyObject
* obj1
= 0 ;
15931 char *kwnames
[] = {
15932 (char *) "commandType",(char *) "winid", NULL
15935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15938 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15939 if (SWIG_arg_fail(1)) SWIG_fail
;
15944 arg2
= (int)(SWIG_As_int(obj1
));
15945 if (SWIG_arg_fail(2)) SWIG_fail
;
15949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15950 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
15952 wxPyEndAllowThreads(__tstate
);
15953 if (PyErr_Occurred()) SWIG_fail
;
15955 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
15962 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15963 PyObject
*resultobj
;
15964 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15965 PyObject
* obj0
= 0 ;
15966 char *kwnames
[] = {
15967 (char *) "self", NULL
15970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
15971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15972 if (SWIG_arg_fail(1)) SWIG_fail
;
15974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15977 wxPyEndAllowThreads(__tstate
);
15978 if (PyErr_Occurred()) SWIG_fail
;
15980 Py_INCREF(Py_None
); resultobj
= Py_None
;
15987 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15988 PyObject
*resultobj
;
15989 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15990 PyObject
* obj0
= 0 ;
15991 char *kwnames
[] = {
15992 (char *) "self", NULL
15995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
15996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15997 if (SWIG_arg_fail(1)) SWIG_fail
;
15999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16002 wxPyEndAllowThreads(__tstate
);
16003 if (PyErr_Occurred()) SWIG_fail
;
16005 Py_INCREF(Py_None
); resultobj
= Py_None
;
16012 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16013 PyObject
*resultobj
;
16014 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
16016 PyObject
* obj0
= 0 ;
16017 char *kwnames
[] = {
16018 (char *) "self", NULL
16021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
16022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
16023 if (SWIG_arg_fail(1)) SWIG_fail
;
16025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16026 result
= (bool)(arg1
)->IsAllowed();
16028 wxPyEndAllowThreads(__tstate
);
16029 if (PyErr_Occurred()) SWIG_fail
;
16032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16040 static PyObject
* NotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
16042 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16043 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
16045 return Py_BuildValue((char *)"");
16047 static PyObject
*_wrap_new_ScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16048 PyObject
*resultobj
;
16049 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16050 int arg2
= (int) 0 ;
16051 int arg3
= (int) 0 ;
16052 int arg4
= (int) 0 ;
16053 wxScrollEvent
*result
;
16054 PyObject
* obj0
= 0 ;
16055 PyObject
* obj1
= 0 ;
16056 PyObject
* obj2
= 0 ;
16057 PyObject
* obj3
= 0 ;
16058 char *kwnames
[] = {
16059 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
16062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16065 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16066 if (SWIG_arg_fail(1)) SWIG_fail
;
16071 arg2
= (int)(SWIG_As_int(obj1
));
16072 if (SWIG_arg_fail(2)) SWIG_fail
;
16077 arg3
= (int)(SWIG_As_int(obj2
));
16078 if (SWIG_arg_fail(3)) SWIG_fail
;
16083 arg4
= (int)(SWIG_As_int(obj3
));
16084 if (SWIG_arg_fail(4)) SWIG_fail
;
16088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16089 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
16091 wxPyEndAllowThreads(__tstate
);
16092 if (PyErr_Occurred()) SWIG_fail
;
16094 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
16101 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16102 PyObject
*resultobj
;
16103 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16105 PyObject
* obj0
= 0 ;
16106 char *kwnames
[] = {
16107 (char *) "self", NULL
16110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
16111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16112 if (SWIG_arg_fail(1)) SWIG_fail
;
16114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16115 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
16117 wxPyEndAllowThreads(__tstate
);
16118 if (PyErr_Occurred()) SWIG_fail
;
16121 resultobj
= SWIG_From_int((int)(result
));
16129 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16130 PyObject
*resultobj
;
16131 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16133 PyObject
* obj0
= 0 ;
16134 char *kwnames
[] = {
16135 (char *) "self", NULL
16138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16140 if (SWIG_arg_fail(1)) SWIG_fail
;
16142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16143 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
16145 wxPyEndAllowThreads(__tstate
);
16146 if (PyErr_Occurred()) SWIG_fail
;
16149 resultobj
= SWIG_From_int((int)(result
));
16157 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16158 PyObject
*resultobj
;
16159 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16161 PyObject
* obj0
= 0 ;
16162 PyObject
* obj1
= 0 ;
16163 char *kwnames
[] = {
16164 (char *) "self",(char *) "orient", NULL
16167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16169 if (SWIG_arg_fail(1)) SWIG_fail
;
16171 arg2
= (int)(SWIG_As_int(obj1
));
16172 if (SWIG_arg_fail(2)) SWIG_fail
;
16175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16176 (arg1
)->SetOrientation(arg2
);
16178 wxPyEndAllowThreads(__tstate
);
16179 if (PyErr_Occurred()) SWIG_fail
;
16181 Py_INCREF(Py_None
); resultobj
= Py_None
;
16188 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16189 PyObject
*resultobj
;
16190 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16192 PyObject
* obj0
= 0 ;
16193 PyObject
* obj1
= 0 ;
16194 char *kwnames
[] = {
16195 (char *) "self",(char *) "pos", NULL
16198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16200 if (SWIG_arg_fail(1)) SWIG_fail
;
16202 arg2
= (int)(SWIG_As_int(obj1
));
16203 if (SWIG_arg_fail(2)) SWIG_fail
;
16206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16207 (arg1
)->SetPosition(arg2
);
16209 wxPyEndAllowThreads(__tstate
);
16210 if (PyErr_Occurred()) SWIG_fail
;
16212 Py_INCREF(Py_None
); resultobj
= Py_None
;
16219 static PyObject
* ScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
16221 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16222 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
16224 return Py_BuildValue((char *)"");
16226 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16227 PyObject
*resultobj
;
16228 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16229 int arg2
= (int) 0 ;
16230 int arg3
= (int) 0 ;
16231 wxScrollWinEvent
*result
;
16232 PyObject
* obj0
= 0 ;
16233 PyObject
* obj1
= 0 ;
16234 PyObject
* obj2
= 0 ;
16235 char *kwnames
[] = {
16236 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
16239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16242 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16243 if (SWIG_arg_fail(1)) SWIG_fail
;
16248 arg2
= (int)(SWIG_As_int(obj1
));
16249 if (SWIG_arg_fail(2)) SWIG_fail
;
16254 arg3
= (int)(SWIG_As_int(obj2
));
16255 if (SWIG_arg_fail(3)) SWIG_fail
;
16259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16260 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
16262 wxPyEndAllowThreads(__tstate
);
16263 if (PyErr_Occurred()) SWIG_fail
;
16265 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
16272 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16273 PyObject
*resultobj
;
16274 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16276 PyObject
* obj0
= 0 ;
16277 char *kwnames
[] = {
16278 (char *) "self", NULL
16281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
16282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16283 if (SWIG_arg_fail(1)) SWIG_fail
;
16285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16286 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
16288 wxPyEndAllowThreads(__tstate
);
16289 if (PyErr_Occurred()) SWIG_fail
;
16292 resultobj
= SWIG_From_int((int)(result
));
16300 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16301 PyObject
*resultobj
;
16302 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16304 PyObject
* obj0
= 0 ;
16305 char *kwnames
[] = {
16306 (char *) "self", NULL
16309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16311 if (SWIG_arg_fail(1)) SWIG_fail
;
16313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16314 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
16316 wxPyEndAllowThreads(__tstate
);
16317 if (PyErr_Occurred()) SWIG_fail
;
16320 resultobj
= SWIG_From_int((int)(result
));
16328 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16329 PyObject
*resultobj
;
16330 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16332 PyObject
* obj0
= 0 ;
16333 PyObject
* obj1
= 0 ;
16334 char *kwnames
[] = {
16335 (char *) "self",(char *) "orient", NULL
16338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16340 if (SWIG_arg_fail(1)) SWIG_fail
;
16342 arg2
= (int)(SWIG_As_int(obj1
));
16343 if (SWIG_arg_fail(2)) SWIG_fail
;
16346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16347 (arg1
)->SetOrientation(arg2
);
16349 wxPyEndAllowThreads(__tstate
);
16350 if (PyErr_Occurred()) SWIG_fail
;
16352 Py_INCREF(Py_None
); resultobj
= Py_None
;
16359 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16360 PyObject
*resultobj
;
16361 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16363 PyObject
* obj0
= 0 ;
16364 PyObject
* obj1
= 0 ;
16365 char *kwnames
[] = {
16366 (char *) "self",(char *) "pos", NULL
16369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16371 if (SWIG_arg_fail(1)) SWIG_fail
;
16373 arg2
= (int)(SWIG_As_int(obj1
));
16374 if (SWIG_arg_fail(2)) SWIG_fail
;
16377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16378 (arg1
)->SetPosition(arg2
);
16380 wxPyEndAllowThreads(__tstate
);
16381 if (PyErr_Occurred()) SWIG_fail
;
16383 Py_INCREF(Py_None
); resultobj
= Py_None
;
16390 static PyObject
* ScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
16392 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16393 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
16395 return Py_BuildValue((char *)"");
16397 static PyObject
*_wrap_new_MouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16398 PyObject
*resultobj
;
16399 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16400 wxMouseEvent
*result
;
16401 PyObject
* obj0
= 0 ;
16402 char *kwnames
[] = {
16403 (char *) "mouseType", NULL
16406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
16409 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16410 if (SWIG_arg_fail(1)) SWIG_fail
;
16414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16415 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
16417 wxPyEndAllowThreads(__tstate
);
16418 if (PyErr_Occurred()) SWIG_fail
;
16421 resultobj
= wxPyMake_wxObject(result
, 1);
16429 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16430 PyObject
*resultobj
;
16431 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16433 PyObject
* obj0
= 0 ;
16434 char *kwnames
[] = {
16435 (char *) "self", NULL
16438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
16439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16440 if (SWIG_arg_fail(1)) SWIG_fail
;
16442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16443 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
16445 wxPyEndAllowThreads(__tstate
);
16446 if (PyErr_Occurred()) SWIG_fail
;
16449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16457 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16458 PyObject
*resultobj
;
16459 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16460 int arg2
= (int) wxMOUSE_BTN_ANY
;
16462 PyObject
* obj0
= 0 ;
16463 PyObject
* obj1
= 0 ;
16464 char *kwnames
[] = {
16465 (char *) "self",(char *) "but", NULL
16468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
16469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16470 if (SWIG_arg_fail(1)) SWIG_fail
;
16473 arg2
= (int)(SWIG_As_int(obj1
));
16474 if (SWIG_arg_fail(2)) SWIG_fail
;
16478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16479 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
16481 wxPyEndAllowThreads(__tstate
);
16482 if (PyErr_Occurred()) SWIG_fail
;
16485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16493 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16494 PyObject
*resultobj
;
16495 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16496 int arg2
= (int) wxMOUSE_BTN_ANY
;
16498 PyObject
* obj0
= 0 ;
16499 PyObject
* obj1
= 0 ;
16500 char *kwnames
[] = {
16501 (char *) "self",(char *) "but", NULL
16504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
16505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16506 if (SWIG_arg_fail(1)) SWIG_fail
;
16509 arg2
= (int)(SWIG_As_int(obj1
));
16510 if (SWIG_arg_fail(2)) SWIG_fail
;
16514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16515 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
16517 wxPyEndAllowThreads(__tstate
);
16518 if (PyErr_Occurred()) SWIG_fail
;
16521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16529 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16530 PyObject
*resultobj
;
16531 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16532 int arg2
= (int) wxMOUSE_BTN_ANY
;
16534 PyObject
* obj0
= 0 ;
16535 PyObject
* obj1
= 0 ;
16536 char *kwnames
[] = {
16537 (char *) "self",(char *) "but", NULL
16540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
16541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16542 if (SWIG_arg_fail(1)) SWIG_fail
;
16545 arg2
= (int)(SWIG_As_int(obj1
));
16546 if (SWIG_arg_fail(2)) SWIG_fail
;
16550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16551 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
16553 wxPyEndAllowThreads(__tstate
);
16554 if (PyErr_Occurred()) SWIG_fail
;
16557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16565 static PyObject
*_wrap_MouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16566 PyObject
*resultobj
;
16567 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16570 PyObject
* obj0
= 0 ;
16571 PyObject
* obj1
= 0 ;
16572 char *kwnames
[] = {
16573 (char *) "self",(char *) "button", NULL
16576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
16577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16578 if (SWIG_arg_fail(1)) SWIG_fail
;
16580 arg2
= (int)(SWIG_As_int(obj1
));
16581 if (SWIG_arg_fail(2)) SWIG_fail
;
16584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16585 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
16587 wxPyEndAllowThreads(__tstate
);
16588 if (PyErr_Occurred()) SWIG_fail
;
16591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16599 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16600 PyObject
*resultobj
;
16601 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16604 PyObject
* obj0
= 0 ;
16605 PyObject
* obj1
= 0 ;
16606 char *kwnames
[] = {
16607 (char *) "self",(char *) "but", NULL
16610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
16611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16612 if (SWIG_arg_fail(1)) SWIG_fail
;
16614 arg2
= (int)(SWIG_As_int(obj1
));
16615 if (SWIG_arg_fail(2)) SWIG_fail
;
16618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16619 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
16621 wxPyEndAllowThreads(__tstate
);
16622 if (PyErr_Occurred()) SWIG_fail
;
16625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16633 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16634 PyObject
*resultobj
;
16635 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16637 PyObject
* obj0
= 0 ;
16638 char *kwnames
[] = {
16639 (char *) "self", NULL
16642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
16643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16644 if (SWIG_arg_fail(1)) SWIG_fail
;
16646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16647 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
16649 wxPyEndAllowThreads(__tstate
);
16650 if (PyErr_Occurred()) SWIG_fail
;
16653 resultobj
= SWIG_From_int((int)(result
));
16661 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16662 PyObject
*resultobj
;
16663 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16665 PyObject
* obj0
= 0 ;
16666 char *kwnames
[] = {
16667 (char *) "self", NULL
16670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
16671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16672 if (SWIG_arg_fail(1)) SWIG_fail
;
16674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16675 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
16677 wxPyEndAllowThreads(__tstate
);
16678 if (PyErr_Occurred()) SWIG_fail
;
16681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16689 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16690 PyObject
*resultobj
;
16691 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16693 PyObject
* obj0
= 0 ;
16694 char *kwnames
[] = {
16695 (char *) "self", NULL
16698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
16699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16700 if (SWIG_arg_fail(1)) SWIG_fail
;
16702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16703 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
16705 wxPyEndAllowThreads(__tstate
);
16706 if (PyErr_Occurred()) SWIG_fail
;
16709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16717 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16718 PyObject
*resultobj
;
16719 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16721 PyObject
* obj0
= 0 ;
16722 char *kwnames
[] = {
16723 (char *) "self", NULL
16726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
16727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16728 if (SWIG_arg_fail(1)) SWIG_fail
;
16730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16731 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
16733 wxPyEndAllowThreads(__tstate
);
16734 if (PyErr_Occurred()) SWIG_fail
;
16737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16745 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16746 PyObject
*resultobj
;
16747 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16749 PyObject
* obj0
= 0 ;
16750 char *kwnames
[] = {
16751 (char *) "self", NULL
16754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
16755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16756 if (SWIG_arg_fail(1)) SWIG_fail
;
16758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16759 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
16761 wxPyEndAllowThreads(__tstate
);
16762 if (PyErr_Occurred()) SWIG_fail
;
16765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16773 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16774 PyObject
*resultobj
;
16775 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16777 PyObject
* obj0
= 0 ;
16778 char *kwnames
[] = {
16779 (char *) "self", NULL
16782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
16783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16784 if (SWIG_arg_fail(1)) SWIG_fail
;
16786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16787 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
16789 wxPyEndAllowThreads(__tstate
);
16790 if (PyErr_Occurred()) SWIG_fail
;
16793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16801 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16802 PyObject
*resultobj
;
16803 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16805 PyObject
* obj0
= 0 ;
16806 char *kwnames
[] = {
16807 (char *) "self", NULL
16810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
16811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16812 if (SWIG_arg_fail(1)) SWIG_fail
;
16814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16815 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
16817 wxPyEndAllowThreads(__tstate
);
16818 if (PyErr_Occurred()) SWIG_fail
;
16821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16829 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16830 PyObject
*resultobj
;
16831 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16833 PyObject
* obj0
= 0 ;
16834 char *kwnames
[] = {
16835 (char *) "self", NULL
16838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
16839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16840 if (SWIG_arg_fail(1)) SWIG_fail
;
16842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16843 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
16845 wxPyEndAllowThreads(__tstate
);
16846 if (PyErr_Occurred()) SWIG_fail
;
16849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16857 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16858 PyObject
*resultobj
;
16859 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16861 PyObject
* obj0
= 0 ;
16862 char *kwnames
[] = {
16863 (char *) "self", NULL
16866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
16867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16868 if (SWIG_arg_fail(1)) SWIG_fail
;
16870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16871 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
16873 wxPyEndAllowThreads(__tstate
);
16874 if (PyErr_Occurred()) SWIG_fail
;
16877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16885 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16886 PyObject
*resultobj
;
16887 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16889 PyObject
* obj0
= 0 ;
16890 char *kwnames
[] = {
16891 (char *) "self", NULL
16894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
16895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16896 if (SWIG_arg_fail(1)) SWIG_fail
;
16898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16899 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
16901 wxPyEndAllowThreads(__tstate
);
16902 if (PyErr_Occurred()) SWIG_fail
;
16905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16913 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16914 PyObject
*resultobj
;
16915 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16917 PyObject
* obj0
= 0 ;
16918 char *kwnames
[] = {
16919 (char *) "self", NULL
16922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
16923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16924 if (SWIG_arg_fail(1)) SWIG_fail
;
16926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16927 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
16929 wxPyEndAllowThreads(__tstate
);
16930 if (PyErr_Occurred()) SWIG_fail
;
16933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16941 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16942 PyObject
*resultobj
;
16943 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16945 PyObject
* obj0
= 0 ;
16946 char *kwnames
[] = {
16947 (char *) "self", NULL
16950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
16951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16952 if (SWIG_arg_fail(1)) SWIG_fail
;
16954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16955 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
16957 wxPyEndAllowThreads(__tstate
);
16958 if (PyErr_Occurred()) SWIG_fail
;
16961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16969 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16970 PyObject
*resultobj
;
16971 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16973 PyObject
* obj0
= 0 ;
16974 char *kwnames
[] = {
16975 (char *) "self", NULL
16978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
16979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16980 if (SWIG_arg_fail(1)) SWIG_fail
;
16982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16983 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
16985 wxPyEndAllowThreads(__tstate
);
16986 if (PyErr_Occurred()) SWIG_fail
;
16989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16997 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16998 PyObject
*resultobj
;
16999 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17001 PyObject
* obj0
= 0 ;
17002 char *kwnames
[] = {
17003 (char *) "self", NULL
17006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
17007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17008 if (SWIG_arg_fail(1)) SWIG_fail
;
17010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17011 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
17013 wxPyEndAllowThreads(__tstate
);
17014 if (PyErr_Occurred()) SWIG_fail
;
17017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17025 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17026 PyObject
*resultobj
;
17027 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17029 PyObject
* obj0
= 0 ;
17030 char *kwnames
[] = {
17031 (char *) "self", NULL
17034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
17035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17036 if (SWIG_arg_fail(1)) SWIG_fail
;
17038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17039 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
17041 wxPyEndAllowThreads(__tstate
);
17042 if (PyErr_Occurred()) SWIG_fail
;
17045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17053 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17054 PyObject
*resultobj
;
17055 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17057 PyObject
* obj0
= 0 ;
17058 char *kwnames
[] = {
17059 (char *) "self", NULL
17062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
17063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17064 if (SWIG_arg_fail(1)) SWIG_fail
;
17066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17067 result
= (bool)(arg1
)->LeftIsDown();
17069 wxPyEndAllowThreads(__tstate
);
17070 if (PyErr_Occurred()) SWIG_fail
;
17073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17081 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17082 PyObject
*resultobj
;
17083 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17085 PyObject
* obj0
= 0 ;
17086 char *kwnames
[] = {
17087 (char *) "self", NULL
17090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
17091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17092 if (SWIG_arg_fail(1)) SWIG_fail
;
17094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17095 result
= (bool)(arg1
)->MiddleIsDown();
17097 wxPyEndAllowThreads(__tstate
);
17098 if (PyErr_Occurred()) SWIG_fail
;
17101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17109 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17110 PyObject
*resultobj
;
17111 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17113 PyObject
* obj0
= 0 ;
17114 char *kwnames
[] = {
17115 (char *) "self", NULL
17118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
17119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17120 if (SWIG_arg_fail(1)) SWIG_fail
;
17122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17123 result
= (bool)(arg1
)->RightIsDown();
17125 wxPyEndAllowThreads(__tstate
);
17126 if (PyErr_Occurred()) SWIG_fail
;
17129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17137 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17138 PyObject
*resultobj
;
17139 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17141 PyObject
* obj0
= 0 ;
17142 char *kwnames
[] = {
17143 (char *) "self", NULL
17146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
17147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17148 if (SWIG_arg_fail(1)) SWIG_fail
;
17150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17151 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
17153 wxPyEndAllowThreads(__tstate
);
17154 if (PyErr_Occurred()) SWIG_fail
;
17157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17165 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17166 PyObject
*resultobj
;
17167 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17169 PyObject
* obj0
= 0 ;
17170 char *kwnames
[] = {
17171 (char *) "self", NULL
17174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
17175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17176 if (SWIG_arg_fail(1)) SWIG_fail
;
17178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17179 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
17181 wxPyEndAllowThreads(__tstate
);
17182 if (PyErr_Occurred()) SWIG_fail
;
17185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17193 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17194 PyObject
*resultobj
;
17195 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17197 PyObject
* obj0
= 0 ;
17198 char *kwnames
[] = {
17199 (char *) "self", NULL
17202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
17203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17204 if (SWIG_arg_fail(1)) SWIG_fail
;
17206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17207 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
17209 wxPyEndAllowThreads(__tstate
);
17210 if (PyErr_Occurred()) SWIG_fail
;
17213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17221 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17222 PyObject
*resultobj
;
17223 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17225 PyObject
* obj0
= 0 ;
17226 char *kwnames
[] = {
17227 (char *) "self", NULL
17230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
17231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17232 if (SWIG_arg_fail(1)) SWIG_fail
;
17234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17235 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
17237 wxPyEndAllowThreads(__tstate
);
17238 if (PyErr_Occurred()) SWIG_fail
;
17241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17249 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17250 PyObject
*resultobj
;
17251 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17253 PyObject
* obj0
= 0 ;
17254 char *kwnames
[] = {
17255 (char *) "self", NULL
17258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17260 if (SWIG_arg_fail(1)) SWIG_fail
;
17262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17263 result
= (arg1
)->GetPosition();
17265 wxPyEndAllowThreads(__tstate
);
17266 if (PyErr_Occurred()) SWIG_fail
;
17269 wxPoint
* resultptr
;
17270 resultptr
= new wxPoint((wxPoint
&)(result
));
17271 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17279 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17280 PyObject
*resultobj
;
17281 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17282 long *arg2
= (long *) 0 ;
17283 long *arg3
= (long *) 0 ;
17288 PyObject
* obj0
= 0 ;
17289 char *kwnames
[] = {
17290 (char *) "self", NULL
17293 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17294 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
17296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17297 if (SWIG_arg_fail(1)) SWIG_fail
;
17299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17300 (arg1
)->GetPosition(arg2
,arg3
);
17302 wxPyEndAllowThreads(__tstate
);
17303 if (PyErr_Occurred()) SWIG_fail
;
17305 Py_INCREF(Py_None
); resultobj
= Py_None
;
17306 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17307 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
17308 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17309 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
17316 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17317 PyObject
*resultobj
;
17318 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17321 PyObject
* obj0
= 0 ;
17322 PyObject
* obj1
= 0 ;
17323 char *kwnames
[] = {
17324 (char *) "self",(char *) "dc", NULL
17327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
17328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17329 if (SWIG_arg_fail(1)) SWIG_fail
;
17331 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17332 if (SWIG_arg_fail(2)) SWIG_fail
;
17333 if (arg2
== NULL
) {
17334 SWIG_null_ref("wxDC");
17336 if (SWIG_arg_fail(2)) SWIG_fail
;
17339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17340 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
17342 wxPyEndAllowThreads(__tstate
);
17343 if (PyErr_Occurred()) SWIG_fail
;
17346 wxPoint
* resultptr
;
17347 resultptr
= new wxPoint((wxPoint
&)(result
));
17348 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17356 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17357 PyObject
*resultobj
;
17358 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17360 PyObject
* obj0
= 0 ;
17361 char *kwnames
[] = {
17362 (char *) "self", NULL
17365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
17366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17367 if (SWIG_arg_fail(1)) SWIG_fail
;
17369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17370 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
17372 wxPyEndAllowThreads(__tstate
);
17373 if (PyErr_Occurred()) SWIG_fail
;
17376 resultobj
= SWIG_From_int((int)(result
));
17384 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17385 PyObject
*resultobj
;
17386 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17388 PyObject
* obj0
= 0 ;
17389 char *kwnames
[] = {
17390 (char *) "self", NULL
17393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
17394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17395 if (SWIG_arg_fail(1)) SWIG_fail
;
17397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17398 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
17400 wxPyEndAllowThreads(__tstate
);
17401 if (PyErr_Occurred()) SWIG_fail
;
17404 resultobj
= SWIG_From_int((int)(result
));
17412 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17413 PyObject
*resultobj
;
17414 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17416 PyObject
* obj0
= 0 ;
17417 char *kwnames
[] = {
17418 (char *) "self", NULL
17421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
17422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17423 if (SWIG_arg_fail(1)) SWIG_fail
;
17425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17426 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
17428 wxPyEndAllowThreads(__tstate
);
17429 if (PyErr_Occurred()) SWIG_fail
;
17432 resultobj
= SWIG_From_int((int)(result
));
17440 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17441 PyObject
*resultobj
;
17442 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17444 PyObject
* obj0
= 0 ;
17445 char *kwnames
[] = {
17446 (char *) "self", NULL
17449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
17450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17451 if (SWIG_arg_fail(1)) SWIG_fail
;
17453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17454 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
17456 wxPyEndAllowThreads(__tstate
);
17457 if (PyErr_Occurred()) SWIG_fail
;
17460 resultobj
= SWIG_From_int((int)(result
));
17468 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17469 PyObject
*resultobj
;
17470 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17472 PyObject
* obj0
= 0 ;
17473 char *kwnames
[] = {
17474 (char *) "self", NULL
17477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
17478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17479 if (SWIG_arg_fail(1)) SWIG_fail
;
17481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17482 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
17484 wxPyEndAllowThreads(__tstate
);
17485 if (PyErr_Occurred()) SWIG_fail
;
17488 resultobj
= SWIG_From_int((int)(result
));
17496 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17497 PyObject
*resultobj
;
17498 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17500 PyObject
* obj0
= 0 ;
17501 char *kwnames
[] = {
17502 (char *) "self", NULL
17505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
17506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17507 if (SWIG_arg_fail(1)) SWIG_fail
;
17509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17510 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
17512 wxPyEndAllowThreads(__tstate
);
17513 if (PyErr_Occurred()) SWIG_fail
;
17516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17524 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17525 PyObject
*resultobj
;
17526 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17528 PyObject
* obj0
= 0 ;
17529 PyObject
* obj1
= 0 ;
17530 char *kwnames
[] = {
17531 (char *) "self",(char *) "m_x", NULL
17534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17536 if (SWIG_arg_fail(1)) SWIG_fail
;
17538 arg2
= (int)(SWIG_As_int(obj1
));
17539 if (SWIG_arg_fail(2)) SWIG_fail
;
17541 if (arg1
) (arg1
)->m_x
= arg2
;
17543 Py_INCREF(Py_None
); resultobj
= Py_None
;
17550 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17551 PyObject
*resultobj
;
17552 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17554 PyObject
* obj0
= 0 ;
17555 char *kwnames
[] = {
17556 (char *) "self", NULL
17559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
17560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17561 if (SWIG_arg_fail(1)) SWIG_fail
;
17562 result
= (int) ((arg1
)->m_x
);
17565 resultobj
= SWIG_From_int((int)(result
));
17573 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17574 PyObject
*resultobj
;
17575 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17577 PyObject
* obj0
= 0 ;
17578 PyObject
* obj1
= 0 ;
17579 char *kwnames
[] = {
17580 (char *) "self",(char *) "m_y", NULL
17583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17585 if (SWIG_arg_fail(1)) SWIG_fail
;
17587 arg2
= (int)(SWIG_As_int(obj1
));
17588 if (SWIG_arg_fail(2)) SWIG_fail
;
17590 if (arg1
) (arg1
)->m_y
= arg2
;
17592 Py_INCREF(Py_None
); resultobj
= Py_None
;
17599 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17600 PyObject
*resultobj
;
17601 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17603 PyObject
* obj0
= 0 ;
17604 char *kwnames
[] = {
17605 (char *) "self", NULL
17608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
17609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17610 if (SWIG_arg_fail(1)) SWIG_fail
;
17611 result
= (int) ((arg1
)->m_y
);
17614 resultobj
= SWIG_From_int((int)(result
));
17622 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17623 PyObject
*resultobj
;
17624 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17626 PyObject
* obj0
= 0 ;
17627 PyObject
* obj1
= 0 ;
17628 char *kwnames
[] = {
17629 (char *) "self",(char *) "m_leftDown", NULL
17632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17634 if (SWIG_arg_fail(1)) SWIG_fail
;
17636 arg2
= (bool)(SWIG_As_bool(obj1
));
17637 if (SWIG_arg_fail(2)) SWIG_fail
;
17639 if (arg1
) (arg1
)->m_leftDown
= arg2
;
17641 Py_INCREF(Py_None
); resultobj
= Py_None
;
17648 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17649 PyObject
*resultobj
;
17650 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17652 PyObject
* obj0
= 0 ;
17653 char *kwnames
[] = {
17654 (char *) "self", NULL
17657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
17658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17659 if (SWIG_arg_fail(1)) SWIG_fail
;
17660 result
= (bool) ((arg1
)->m_leftDown
);
17663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17671 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17672 PyObject
*resultobj
;
17673 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17675 PyObject
* obj0
= 0 ;
17676 PyObject
* obj1
= 0 ;
17677 char *kwnames
[] = {
17678 (char *) "self",(char *) "m_middleDown", NULL
17681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17683 if (SWIG_arg_fail(1)) SWIG_fail
;
17685 arg2
= (bool)(SWIG_As_bool(obj1
));
17686 if (SWIG_arg_fail(2)) SWIG_fail
;
17688 if (arg1
) (arg1
)->m_middleDown
= arg2
;
17690 Py_INCREF(Py_None
); resultobj
= Py_None
;
17697 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17698 PyObject
*resultobj
;
17699 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17701 PyObject
* obj0
= 0 ;
17702 char *kwnames
[] = {
17703 (char *) "self", NULL
17706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
17707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17708 if (SWIG_arg_fail(1)) SWIG_fail
;
17709 result
= (bool) ((arg1
)->m_middleDown
);
17712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17720 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17721 PyObject
*resultobj
;
17722 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17724 PyObject
* obj0
= 0 ;
17725 PyObject
* obj1
= 0 ;
17726 char *kwnames
[] = {
17727 (char *) "self",(char *) "m_rightDown", NULL
17730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17732 if (SWIG_arg_fail(1)) SWIG_fail
;
17734 arg2
= (bool)(SWIG_As_bool(obj1
));
17735 if (SWIG_arg_fail(2)) SWIG_fail
;
17737 if (arg1
) (arg1
)->m_rightDown
= arg2
;
17739 Py_INCREF(Py_None
); resultobj
= Py_None
;
17746 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17747 PyObject
*resultobj
;
17748 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17750 PyObject
* obj0
= 0 ;
17751 char *kwnames
[] = {
17752 (char *) "self", NULL
17755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
17756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17757 if (SWIG_arg_fail(1)) SWIG_fail
;
17758 result
= (bool) ((arg1
)->m_rightDown
);
17761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17769 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17770 PyObject
*resultobj
;
17771 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17773 PyObject
* obj0
= 0 ;
17774 PyObject
* obj1
= 0 ;
17775 char *kwnames
[] = {
17776 (char *) "self",(char *) "m_controlDown", NULL
17779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17781 if (SWIG_arg_fail(1)) SWIG_fail
;
17783 arg2
= (bool)(SWIG_As_bool(obj1
));
17784 if (SWIG_arg_fail(2)) SWIG_fail
;
17786 if (arg1
) (arg1
)->m_controlDown
= arg2
;
17788 Py_INCREF(Py_None
); resultobj
= Py_None
;
17795 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17796 PyObject
*resultobj
;
17797 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17799 PyObject
* obj0
= 0 ;
17800 char *kwnames
[] = {
17801 (char *) "self", NULL
17804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
17805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17806 if (SWIG_arg_fail(1)) SWIG_fail
;
17807 result
= (bool) ((arg1
)->m_controlDown
);
17810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17818 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17819 PyObject
*resultobj
;
17820 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17822 PyObject
* obj0
= 0 ;
17823 PyObject
* obj1
= 0 ;
17824 char *kwnames
[] = {
17825 (char *) "self",(char *) "m_shiftDown", NULL
17828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17830 if (SWIG_arg_fail(1)) SWIG_fail
;
17832 arg2
= (bool)(SWIG_As_bool(obj1
));
17833 if (SWIG_arg_fail(2)) SWIG_fail
;
17835 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
17837 Py_INCREF(Py_None
); resultobj
= Py_None
;
17844 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17845 PyObject
*resultobj
;
17846 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17848 PyObject
* obj0
= 0 ;
17849 char *kwnames
[] = {
17850 (char *) "self", NULL
17853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
17854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17855 if (SWIG_arg_fail(1)) SWIG_fail
;
17856 result
= (bool) ((arg1
)->m_shiftDown
);
17859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17867 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17868 PyObject
*resultobj
;
17869 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17871 PyObject
* obj0
= 0 ;
17872 PyObject
* obj1
= 0 ;
17873 char *kwnames
[] = {
17874 (char *) "self",(char *) "m_altDown", NULL
17877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17879 if (SWIG_arg_fail(1)) SWIG_fail
;
17881 arg2
= (bool)(SWIG_As_bool(obj1
));
17882 if (SWIG_arg_fail(2)) SWIG_fail
;
17884 if (arg1
) (arg1
)->m_altDown
= arg2
;
17886 Py_INCREF(Py_None
); resultobj
= Py_None
;
17893 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17894 PyObject
*resultobj
;
17895 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17897 PyObject
* obj0
= 0 ;
17898 char *kwnames
[] = {
17899 (char *) "self", NULL
17902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
17903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17904 if (SWIG_arg_fail(1)) SWIG_fail
;
17905 result
= (bool) ((arg1
)->m_altDown
);
17908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17916 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17917 PyObject
*resultobj
;
17918 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17920 PyObject
* obj0
= 0 ;
17921 PyObject
* obj1
= 0 ;
17922 char *kwnames
[] = {
17923 (char *) "self",(char *) "m_metaDown", NULL
17926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17928 if (SWIG_arg_fail(1)) SWIG_fail
;
17930 arg2
= (bool)(SWIG_As_bool(obj1
));
17931 if (SWIG_arg_fail(2)) SWIG_fail
;
17933 if (arg1
) (arg1
)->m_metaDown
= arg2
;
17935 Py_INCREF(Py_None
); resultobj
= Py_None
;
17942 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17943 PyObject
*resultobj
;
17944 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17946 PyObject
* obj0
= 0 ;
17947 char *kwnames
[] = {
17948 (char *) "self", NULL
17951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
17952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17953 if (SWIG_arg_fail(1)) SWIG_fail
;
17954 result
= (bool) ((arg1
)->m_metaDown
);
17957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17965 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17966 PyObject
*resultobj
;
17967 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17969 PyObject
* obj0
= 0 ;
17970 PyObject
* obj1
= 0 ;
17971 char *kwnames
[] = {
17972 (char *) "self",(char *) "m_wheelRotation", NULL
17975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17977 if (SWIG_arg_fail(1)) SWIG_fail
;
17979 arg2
= (int)(SWIG_As_int(obj1
));
17980 if (SWIG_arg_fail(2)) SWIG_fail
;
17982 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
17984 Py_INCREF(Py_None
); resultobj
= Py_None
;
17991 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17992 PyObject
*resultobj
;
17993 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17995 PyObject
* obj0
= 0 ;
17996 char *kwnames
[] = {
17997 (char *) "self", NULL
18000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
18001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18002 if (SWIG_arg_fail(1)) SWIG_fail
;
18003 result
= (int) ((arg1
)->m_wheelRotation
);
18006 resultobj
= SWIG_From_int((int)(result
));
18014 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18015 PyObject
*resultobj
;
18016 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18018 PyObject
* obj0
= 0 ;
18019 PyObject
* obj1
= 0 ;
18020 char *kwnames
[] = {
18021 (char *) "self",(char *) "m_wheelDelta", NULL
18024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18026 if (SWIG_arg_fail(1)) SWIG_fail
;
18028 arg2
= (int)(SWIG_As_int(obj1
));
18029 if (SWIG_arg_fail(2)) SWIG_fail
;
18031 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
18033 Py_INCREF(Py_None
); resultobj
= Py_None
;
18040 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18041 PyObject
*resultobj
;
18042 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18044 PyObject
* obj0
= 0 ;
18045 char *kwnames
[] = {
18046 (char *) "self", NULL
18049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
18050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18051 if (SWIG_arg_fail(1)) SWIG_fail
;
18052 result
= (int) ((arg1
)->m_wheelDelta
);
18055 resultobj
= SWIG_From_int((int)(result
));
18063 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18064 PyObject
*resultobj
;
18065 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18067 PyObject
* obj0
= 0 ;
18068 PyObject
* obj1
= 0 ;
18069 char *kwnames
[] = {
18070 (char *) "self",(char *) "m_linesPerAction", NULL
18073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18075 if (SWIG_arg_fail(1)) SWIG_fail
;
18077 arg2
= (int)(SWIG_As_int(obj1
));
18078 if (SWIG_arg_fail(2)) SWIG_fail
;
18080 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
18082 Py_INCREF(Py_None
); resultobj
= Py_None
;
18089 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18090 PyObject
*resultobj
;
18091 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18093 PyObject
* obj0
= 0 ;
18094 char *kwnames
[] = {
18095 (char *) "self", NULL
18098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
18099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18100 if (SWIG_arg_fail(1)) SWIG_fail
;
18101 result
= (int) ((arg1
)->m_linesPerAction
);
18104 resultobj
= SWIG_From_int((int)(result
));
18112 static PyObject
* MouseEvent_swigregister(PyObject
*, PyObject
*args
) {
18114 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18115 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
18117 return Py_BuildValue((char *)"");
18119 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18120 PyObject
*resultobj
;
18121 int arg1
= (int) 0 ;
18122 int arg2
= (int) 0 ;
18123 wxSetCursorEvent
*result
;
18124 PyObject
* obj0
= 0 ;
18125 PyObject
* obj1
= 0 ;
18126 char *kwnames
[] = {
18127 (char *) "x",(char *) "y", NULL
18130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18133 arg1
= (int)(SWIG_As_int(obj0
));
18134 if (SWIG_arg_fail(1)) SWIG_fail
;
18139 arg2
= (int)(SWIG_As_int(obj1
));
18140 if (SWIG_arg_fail(2)) SWIG_fail
;
18144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18145 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
18147 wxPyEndAllowThreads(__tstate
);
18148 if (PyErr_Occurred()) SWIG_fail
;
18150 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
18157 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18158 PyObject
*resultobj
;
18159 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18161 PyObject
* obj0
= 0 ;
18162 char *kwnames
[] = {
18163 (char *) "self", NULL
18166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
18167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18168 if (SWIG_arg_fail(1)) SWIG_fail
;
18170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18171 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
18173 wxPyEndAllowThreads(__tstate
);
18174 if (PyErr_Occurred()) SWIG_fail
;
18177 resultobj
= SWIG_From_int((int)(result
));
18185 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18186 PyObject
*resultobj
;
18187 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18189 PyObject
* obj0
= 0 ;
18190 char *kwnames
[] = {
18191 (char *) "self", NULL
18194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
18195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18196 if (SWIG_arg_fail(1)) SWIG_fail
;
18198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18199 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
18201 wxPyEndAllowThreads(__tstate
);
18202 if (PyErr_Occurred()) SWIG_fail
;
18205 resultobj
= SWIG_From_int((int)(result
));
18213 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18214 PyObject
*resultobj
;
18215 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18216 wxCursor
*arg2
= 0 ;
18217 PyObject
* obj0
= 0 ;
18218 PyObject
* obj1
= 0 ;
18219 char *kwnames
[] = {
18220 (char *) "self",(char *) "cursor", NULL
18223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
18224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18225 if (SWIG_arg_fail(1)) SWIG_fail
;
18227 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
18228 if (SWIG_arg_fail(2)) SWIG_fail
;
18229 if (arg2
== NULL
) {
18230 SWIG_null_ref("wxCursor");
18232 if (SWIG_arg_fail(2)) SWIG_fail
;
18235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18236 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
18238 wxPyEndAllowThreads(__tstate
);
18239 if (PyErr_Occurred()) SWIG_fail
;
18241 Py_INCREF(Py_None
); resultobj
= Py_None
;
18248 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18249 PyObject
*resultobj
;
18250 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18252 PyObject
* obj0
= 0 ;
18253 char *kwnames
[] = {
18254 (char *) "self", NULL
18257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
18258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18259 if (SWIG_arg_fail(1)) SWIG_fail
;
18261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18263 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
18264 result
= (wxCursor
*) &_result_ref
;
18267 wxPyEndAllowThreads(__tstate
);
18268 if (PyErr_Occurred()) SWIG_fail
;
18271 wxCursor
* resultptr
= new wxCursor(*result
);
18272 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
18280 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18281 PyObject
*resultobj
;
18282 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18284 PyObject
* obj0
= 0 ;
18285 char *kwnames
[] = {
18286 (char *) "self", NULL
18289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
18290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18291 if (SWIG_arg_fail(1)) SWIG_fail
;
18293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18294 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
18296 wxPyEndAllowThreads(__tstate
);
18297 if (PyErr_Occurred()) SWIG_fail
;
18300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18308 static PyObject
* SetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
18310 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18311 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
18313 return Py_BuildValue((char *)"");
18315 static PyObject
*_wrap_new_KeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18316 PyObject
*resultobj
;
18317 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18318 wxKeyEvent
*result
;
18319 PyObject
* obj0
= 0 ;
18320 char *kwnames
[] = {
18321 (char *) "eventType", NULL
18324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
18327 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
18328 if (SWIG_arg_fail(1)) SWIG_fail
;
18332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18333 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
18335 wxPyEndAllowThreads(__tstate
);
18336 if (PyErr_Occurred()) SWIG_fail
;
18338 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
18345 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18346 PyObject
*resultobj
;
18347 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18349 PyObject
* obj0
= 0 ;
18350 char *kwnames
[] = {
18351 (char *) "self", NULL
18354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
18355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18356 if (SWIG_arg_fail(1)) SWIG_fail
;
18358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18359 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
18361 wxPyEndAllowThreads(__tstate
);
18362 if (PyErr_Occurred()) SWIG_fail
;
18365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18373 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18374 PyObject
*resultobj
;
18375 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18377 PyObject
* obj0
= 0 ;
18378 char *kwnames
[] = {
18379 (char *) "self", NULL
18382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
18383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18384 if (SWIG_arg_fail(1)) SWIG_fail
;
18386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18387 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
18389 wxPyEndAllowThreads(__tstate
);
18390 if (PyErr_Occurred()) SWIG_fail
;
18393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18401 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18402 PyObject
*resultobj
;
18403 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18405 PyObject
* obj0
= 0 ;
18406 char *kwnames
[] = {
18407 (char *) "self", NULL
18410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
18411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18412 if (SWIG_arg_fail(1)) SWIG_fail
;
18414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18415 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
18417 wxPyEndAllowThreads(__tstate
);
18418 if (PyErr_Occurred()) SWIG_fail
;
18421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18429 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18430 PyObject
*resultobj
;
18431 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18433 PyObject
* obj0
= 0 ;
18434 char *kwnames
[] = {
18435 (char *) "self", NULL
18438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
18439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18440 if (SWIG_arg_fail(1)) SWIG_fail
;
18442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18443 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
18445 wxPyEndAllowThreads(__tstate
);
18446 if (PyErr_Occurred()) SWIG_fail
;
18449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18457 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18458 PyObject
*resultobj
;
18459 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18461 PyObject
* obj0
= 0 ;
18462 char *kwnames
[] = {
18463 (char *) "self", NULL
18466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
18467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18468 if (SWIG_arg_fail(1)) SWIG_fail
;
18470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18471 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
18473 wxPyEndAllowThreads(__tstate
);
18474 if (PyErr_Occurred()) SWIG_fail
;
18477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18485 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18486 PyObject
*resultobj
;
18487 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18489 PyObject
* obj0
= 0 ;
18490 char *kwnames
[] = {
18491 (char *) "self", NULL
18494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
18495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18496 if (SWIG_arg_fail(1)) SWIG_fail
;
18498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18499 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
18501 wxPyEndAllowThreads(__tstate
);
18502 if (PyErr_Occurred()) SWIG_fail
;
18505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18513 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18514 PyObject
*resultobj
;
18515 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18517 PyObject
* obj0
= 0 ;
18518 char *kwnames
[] = {
18519 (char *) "self", NULL
18522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
18523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18524 if (SWIG_arg_fail(1)) SWIG_fail
;
18526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18527 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
18529 wxPyEndAllowThreads(__tstate
);
18530 if (PyErr_Occurred()) SWIG_fail
;
18533 resultobj
= SWIG_From_int((int)(result
));
18541 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18542 PyObject
*resultobj
;
18543 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18545 PyObject
* obj0
= 0 ;
18546 char *kwnames
[] = {
18547 (char *) "self", NULL
18550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
18551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18552 if (SWIG_arg_fail(1)) SWIG_fail
;
18554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18555 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
18557 wxPyEndAllowThreads(__tstate
);
18558 if (PyErr_Occurred()) SWIG_fail
;
18561 resultobj
= SWIG_From_int((int)(result
));
18569 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18570 PyObject
*resultobj
;
18571 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18572 unsigned int result
;
18573 PyObject
* obj0
= 0 ;
18574 char *kwnames
[] = {
18575 (char *) "self", NULL
18578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
18579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18580 if (SWIG_arg_fail(1)) SWIG_fail
;
18582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18583 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
18585 wxPyEndAllowThreads(__tstate
);
18586 if (PyErr_Occurred()) SWIG_fail
;
18589 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18597 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18598 PyObject
*resultobj
;
18599 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18600 unsigned int result
;
18601 PyObject
* obj0
= 0 ;
18602 char *kwnames
[] = {
18603 (char *) "self", NULL
18606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
18607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18608 if (SWIG_arg_fail(1)) SWIG_fail
;
18610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18611 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
18613 wxPyEndAllowThreads(__tstate
);
18614 if (PyErr_Occurred()) SWIG_fail
;
18617 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18625 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18626 PyObject
*resultobj
;
18627 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18629 PyObject
* obj0
= 0 ;
18630 char *kwnames
[] = {
18631 (char *) "self", NULL
18634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18636 if (SWIG_arg_fail(1)) SWIG_fail
;
18638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18639 result
= (arg1
)->GetPosition();
18641 wxPyEndAllowThreads(__tstate
);
18642 if (PyErr_Occurred()) SWIG_fail
;
18645 wxPoint
* resultptr
;
18646 resultptr
= new wxPoint((wxPoint
&)(result
));
18647 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18655 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18656 PyObject
*resultobj
;
18657 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18658 long *arg2
= (long *) 0 ;
18659 long *arg3
= (long *) 0 ;
18664 PyObject
* obj0
= 0 ;
18665 char *kwnames
[] = {
18666 (char *) "self", NULL
18669 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18670 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
18672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18673 if (SWIG_arg_fail(1)) SWIG_fail
;
18675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18676 (arg1
)->GetPosition(arg2
,arg3
);
18678 wxPyEndAllowThreads(__tstate
);
18679 if (PyErr_Occurred()) SWIG_fail
;
18681 Py_INCREF(Py_None
); resultobj
= Py_None
;
18682 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18683 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
18684 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18685 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
18692 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18693 PyObject
*resultobj
;
18694 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18696 PyObject
* obj0
= 0 ;
18697 char *kwnames
[] = {
18698 (char *) "self", NULL
18701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
18702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18703 if (SWIG_arg_fail(1)) SWIG_fail
;
18705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18706 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
18708 wxPyEndAllowThreads(__tstate
);
18709 if (PyErr_Occurred()) SWIG_fail
;
18712 resultobj
= SWIG_From_int((int)(result
));
18720 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18721 PyObject
*resultobj
;
18722 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18724 PyObject
* obj0
= 0 ;
18725 char *kwnames
[] = {
18726 (char *) "self", NULL
18729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
18730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18731 if (SWIG_arg_fail(1)) SWIG_fail
;
18733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18734 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
18736 wxPyEndAllowThreads(__tstate
);
18737 if (PyErr_Occurred()) SWIG_fail
;
18740 resultobj
= SWIG_From_int((int)(result
));
18748 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18749 PyObject
*resultobj
;
18750 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18752 PyObject
* obj0
= 0 ;
18753 PyObject
* obj1
= 0 ;
18754 char *kwnames
[] = {
18755 (char *) "self",(char *) "m_x", NULL
18758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18760 if (SWIG_arg_fail(1)) SWIG_fail
;
18762 arg2
= (int)(SWIG_As_int(obj1
));
18763 if (SWIG_arg_fail(2)) SWIG_fail
;
18765 if (arg1
) (arg1
)->m_x
= arg2
;
18767 Py_INCREF(Py_None
); resultobj
= Py_None
;
18774 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18775 PyObject
*resultobj
;
18776 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18778 PyObject
* obj0
= 0 ;
18779 char *kwnames
[] = {
18780 (char *) "self", NULL
18783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
18784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18785 if (SWIG_arg_fail(1)) SWIG_fail
;
18786 result
= (int) ((arg1
)->m_x
);
18789 resultobj
= SWIG_From_int((int)(result
));
18797 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18798 PyObject
*resultobj
;
18799 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18801 PyObject
* obj0
= 0 ;
18802 PyObject
* obj1
= 0 ;
18803 char *kwnames
[] = {
18804 (char *) "self",(char *) "m_y", NULL
18807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18809 if (SWIG_arg_fail(1)) SWIG_fail
;
18811 arg2
= (int)(SWIG_As_int(obj1
));
18812 if (SWIG_arg_fail(2)) SWIG_fail
;
18814 if (arg1
) (arg1
)->m_y
= arg2
;
18816 Py_INCREF(Py_None
); resultobj
= Py_None
;
18823 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18824 PyObject
*resultobj
;
18825 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18827 PyObject
* obj0
= 0 ;
18828 char *kwnames
[] = {
18829 (char *) "self", NULL
18832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
18833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18834 if (SWIG_arg_fail(1)) SWIG_fail
;
18835 result
= (int) ((arg1
)->m_y
);
18838 resultobj
= SWIG_From_int((int)(result
));
18846 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18847 PyObject
*resultobj
;
18848 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18850 PyObject
* obj0
= 0 ;
18851 PyObject
* obj1
= 0 ;
18852 char *kwnames
[] = {
18853 (char *) "self",(char *) "m_keyCode", NULL
18856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18858 if (SWIG_arg_fail(1)) SWIG_fail
;
18860 arg2
= (long)(SWIG_As_long(obj1
));
18861 if (SWIG_arg_fail(2)) SWIG_fail
;
18863 if (arg1
) (arg1
)->m_keyCode
= arg2
;
18865 Py_INCREF(Py_None
); resultobj
= Py_None
;
18872 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18873 PyObject
*resultobj
;
18874 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18876 PyObject
* obj0
= 0 ;
18877 char *kwnames
[] = {
18878 (char *) "self", NULL
18881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
18882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18883 if (SWIG_arg_fail(1)) SWIG_fail
;
18884 result
= (long) ((arg1
)->m_keyCode
);
18887 resultobj
= SWIG_From_long((long)(result
));
18895 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18896 PyObject
*resultobj
;
18897 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18899 PyObject
* obj0
= 0 ;
18900 PyObject
* obj1
= 0 ;
18901 char *kwnames
[] = {
18902 (char *) "self",(char *) "m_controlDown", NULL
18905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18907 if (SWIG_arg_fail(1)) SWIG_fail
;
18909 arg2
= (bool)(SWIG_As_bool(obj1
));
18910 if (SWIG_arg_fail(2)) SWIG_fail
;
18912 if (arg1
) (arg1
)->m_controlDown
= arg2
;
18914 Py_INCREF(Py_None
); resultobj
= Py_None
;
18921 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18922 PyObject
*resultobj
;
18923 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18925 PyObject
* obj0
= 0 ;
18926 char *kwnames
[] = {
18927 (char *) "self", NULL
18930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
18931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18932 if (SWIG_arg_fail(1)) SWIG_fail
;
18933 result
= (bool) ((arg1
)->m_controlDown
);
18936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18944 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18945 PyObject
*resultobj
;
18946 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18948 PyObject
* obj0
= 0 ;
18949 PyObject
* obj1
= 0 ;
18950 char *kwnames
[] = {
18951 (char *) "self",(char *) "m_shiftDown", NULL
18954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18956 if (SWIG_arg_fail(1)) SWIG_fail
;
18958 arg2
= (bool)(SWIG_As_bool(obj1
));
18959 if (SWIG_arg_fail(2)) SWIG_fail
;
18961 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
18963 Py_INCREF(Py_None
); resultobj
= Py_None
;
18970 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18971 PyObject
*resultobj
;
18972 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18974 PyObject
* obj0
= 0 ;
18975 char *kwnames
[] = {
18976 (char *) "self", NULL
18979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
18980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18981 if (SWIG_arg_fail(1)) SWIG_fail
;
18982 result
= (bool) ((arg1
)->m_shiftDown
);
18985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18993 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18994 PyObject
*resultobj
;
18995 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18997 PyObject
* obj0
= 0 ;
18998 PyObject
* obj1
= 0 ;
18999 char *kwnames
[] = {
19000 (char *) "self",(char *) "m_altDown", NULL
19003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19005 if (SWIG_arg_fail(1)) SWIG_fail
;
19007 arg2
= (bool)(SWIG_As_bool(obj1
));
19008 if (SWIG_arg_fail(2)) SWIG_fail
;
19010 if (arg1
) (arg1
)->m_altDown
= arg2
;
19012 Py_INCREF(Py_None
); resultobj
= Py_None
;
19019 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19020 PyObject
*resultobj
;
19021 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19023 PyObject
* obj0
= 0 ;
19024 char *kwnames
[] = {
19025 (char *) "self", NULL
19028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
19029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19030 if (SWIG_arg_fail(1)) SWIG_fail
;
19031 result
= (bool) ((arg1
)->m_altDown
);
19034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19042 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19043 PyObject
*resultobj
;
19044 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19046 PyObject
* obj0
= 0 ;
19047 PyObject
* obj1
= 0 ;
19048 char *kwnames
[] = {
19049 (char *) "self",(char *) "m_metaDown", NULL
19052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19054 if (SWIG_arg_fail(1)) SWIG_fail
;
19056 arg2
= (bool)(SWIG_As_bool(obj1
));
19057 if (SWIG_arg_fail(2)) SWIG_fail
;
19059 if (arg1
) (arg1
)->m_metaDown
= arg2
;
19061 Py_INCREF(Py_None
); resultobj
= Py_None
;
19068 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19069 PyObject
*resultobj
;
19070 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19072 PyObject
* obj0
= 0 ;
19073 char *kwnames
[] = {
19074 (char *) "self", NULL
19077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
19078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19079 if (SWIG_arg_fail(1)) SWIG_fail
;
19080 result
= (bool) ((arg1
)->m_metaDown
);
19083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19091 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19092 PyObject
*resultobj
;
19093 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19095 PyObject
* obj0
= 0 ;
19096 PyObject
* obj1
= 0 ;
19097 char *kwnames
[] = {
19098 (char *) "self",(char *) "m_scanCode", NULL
19101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19103 if (SWIG_arg_fail(1)) SWIG_fail
;
19105 arg2
= (bool)(SWIG_As_bool(obj1
));
19106 if (SWIG_arg_fail(2)) SWIG_fail
;
19108 if (arg1
) (arg1
)->m_scanCode
= arg2
;
19110 Py_INCREF(Py_None
); resultobj
= Py_None
;
19117 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19118 PyObject
*resultobj
;
19119 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19121 PyObject
* obj0
= 0 ;
19122 char *kwnames
[] = {
19123 (char *) "self", NULL
19126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
19127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19128 if (SWIG_arg_fail(1)) SWIG_fail
;
19129 result
= (bool) ((arg1
)->m_scanCode
);
19132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19140 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19141 PyObject
*resultobj
;
19142 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19143 unsigned int arg2
;
19144 PyObject
* obj0
= 0 ;
19145 PyObject
* obj1
= 0 ;
19146 char *kwnames
[] = {
19147 (char *) "self",(char *) "m_rawCode", NULL
19150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19152 if (SWIG_arg_fail(1)) SWIG_fail
;
19154 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
19155 if (SWIG_arg_fail(2)) SWIG_fail
;
19157 if (arg1
) (arg1
)->m_rawCode
= arg2
;
19159 Py_INCREF(Py_None
); resultobj
= Py_None
;
19166 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19167 PyObject
*resultobj
;
19168 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19169 unsigned int result
;
19170 PyObject
* obj0
= 0 ;
19171 char *kwnames
[] = {
19172 (char *) "self", NULL
19175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
19176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19177 if (SWIG_arg_fail(1)) SWIG_fail
;
19178 result
= (unsigned int) ((arg1
)->m_rawCode
);
19181 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
19189 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19190 PyObject
*resultobj
;
19191 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19192 unsigned int arg2
;
19193 PyObject
* obj0
= 0 ;
19194 PyObject
* obj1
= 0 ;
19195 char *kwnames
[] = {
19196 (char *) "self",(char *) "m_rawFlags", NULL
19199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19201 if (SWIG_arg_fail(1)) SWIG_fail
;
19203 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
19204 if (SWIG_arg_fail(2)) SWIG_fail
;
19206 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
19208 Py_INCREF(Py_None
); resultobj
= Py_None
;
19215 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19216 PyObject
*resultobj
;
19217 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19218 unsigned int result
;
19219 PyObject
* obj0
= 0 ;
19220 char *kwnames
[] = {
19221 (char *) "self", NULL
19224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
19225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19226 if (SWIG_arg_fail(1)) SWIG_fail
;
19227 result
= (unsigned int) ((arg1
)->m_rawFlags
);
19230 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
19238 static PyObject
* KeyEvent_swigregister(PyObject
*, PyObject
*args
) {
19240 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19241 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
19243 return Py_BuildValue((char *)"");
19245 static PyObject
*_wrap_new_SizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19246 PyObject
*resultobj
;
19247 wxSize
const &arg1_defvalue
= wxDefaultSize
;
19248 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
19249 int arg2
= (int) 0 ;
19250 wxSizeEvent
*result
;
19252 PyObject
* obj0
= 0 ;
19253 PyObject
* obj1
= 0 ;
19254 char *kwnames
[] = {
19255 (char *) "sz",(char *) "winid", NULL
19258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19262 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
19267 arg2
= (int)(SWIG_As_int(obj1
));
19268 if (SWIG_arg_fail(2)) SWIG_fail
;
19272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19273 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
19275 wxPyEndAllowThreads(__tstate
);
19276 if (PyErr_Occurred()) SWIG_fail
;
19278 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
19285 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19286 PyObject
*resultobj
;
19287 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19289 PyObject
* obj0
= 0 ;
19290 char *kwnames
[] = {
19291 (char *) "self", NULL
19294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
19295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19296 if (SWIG_arg_fail(1)) SWIG_fail
;
19298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19299 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
19301 wxPyEndAllowThreads(__tstate
);
19302 if (PyErr_Occurred()) SWIG_fail
;
19305 wxSize
* resultptr
;
19306 resultptr
= new wxSize((wxSize
&)(result
));
19307 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19315 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19316 PyObject
*resultobj
;
19317 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19319 PyObject
* obj0
= 0 ;
19320 char *kwnames
[] = {
19321 (char *) "self", NULL
19324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
19325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19326 if (SWIG_arg_fail(1)) SWIG_fail
;
19328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19329 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
19331 wxPyEndAllowThreads(__tstate
);
19332 if (PyErr_Occurred()) SWIG_fail
;
19335 wxRect
* resultptr
;
19336 resultptr
= new wxRect((wxRect
&)(result
));
19337 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
19345 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19346 PyObject
*resultobj
;
19347 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19349 PyObject
* obj0
= 0 ;
19350 PyObject
* obj1
= 0 ;
19351 char *kwnames
[] = {
19352 (char *) "self",(char *) "rect", NULL
19355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
19356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19357 if (SWIG_arg_fail(1)) SWIG_fail
;
19360 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
);
19361 if (SWIG_arg_fail(2)) SWIG_fail
;
19362 if (argp
== NULL
) {
19363 SWIG_null_ref("wxRect");
19365 if (SWIG_arg_fail(2)) SWIG_fail
;
19369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19370 (arg1
)->SetRect(arg2
);
19372 wxPyEndAllowThreads(__tstate
);
19373 if (PyErr_Occurred()) SWIG_fail
;
19375 Py_INCREF(Py_None
); resultobj
= Py_None
;
19382 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19383 PyObject
*resultobj
;
19384 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19386 PyObject
* obj0
= 0 ;
19387 PyObject
* obj1
= 0 ;
19388 char *kwnames
[] = {
19389 (char *) "self",(char *) "size", NULL
19392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19394 if (SWIG_arg_fail(1)) SWIG_fail
;
19397 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
19398 if (SWIG_arg_fail(2)) SWIG_fail
;
19399 if (argp
== NULL
) {
19400 SWIG_null_ref("wxSize");
19402 if (SWIG_arg_fail(2)) SWIG_fail
;
19406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19407 wxSizeEvent_SetSize(arg1
,arg2
);
19409 wxPyEndAllowThreads(__tstate
);
19410 if (PyErr_Occurred()) SWIG_fail
;
19412 Py_INCREF(Py_None
); resultobj
= Py_None
;
19419 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19420 PyObject
*resultobj
;
19421 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19422 wxSize
*arg2
= (wxSize
*) 0 ;
19423 PyObject
* obj0
= 0 ;
19424 PyObject
* obj1
= 0 ;
19425 char *kwnames
[] = {
19426 (char *) "self",(char *) "m_size", NULL
19429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19431 if (SWIG_arg_fail(1)) SWIG_fail
;
19432 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
19433 if (SWIG_arg_fail(2)) SWIG_fail
;
19434 if (arg1
) (arg1
)->m_size
= *arg2
;
19436 Py_INCREF(Py_None
); resultobj
= Py_None
;
19443 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19444 PyObject
*resultobj
;
19445 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19447 PyObject
* obj0
= 0 ;
19448 char *kwnames
[] = {
19449 (char *) "self", NULL
19452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
19453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19454 if (SWIG_arg_fail(1)) SWIG_fail
;
19455 result
= (wxSize
*)& ((arg1
)->m_size
);
19457 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
19464 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19465 PyObject
*resultobj
;
19466 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19467 wxRect
*arg2
= (wxRect
*) 0 ;
19468 PyObject
* obj0
= 0 ;
19469 PyObject
* obj1
= 0 ;
19470 char *kwnames
[] = {
19471 (char *) "self",(char *) "m_rect", NULL
19474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19476 if (SWIG_arg_fail(1)) SWIG_fail
;
19477 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
19478 if (SWIG_arg_fail(2)) SWIG_fail
;
19479 if (arg1
) (arg1
)->m_rect
= *arg2
;
19481 Py_INCREF(Py_None
); resultobj
= Py_None
;
19488 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19489 PyObject
*resultobj
;
19490 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19492 PyObject
* obj0
= 0 ;
19493 char *kwnames
[] = {
19494 (char *) "self", NULL
19497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
19498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19499 if (SWIG_arg_fail(1)) SWIG_fail
;
19500 result
= (wxRect
*)& ((arg1
)->m_rect
);
19502 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
19509 static PyObject
* SizeEvent_swigregister(PyObject
*, PyObject
*args
) {
19511 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19512 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
19514 return Py_BuildValue((char *)"");
19516 static PyObject
*_wrap_new_MoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19517 PyObject
*resultobj
;
19518 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
19519 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
19520 int arg2
= (int) 0 ;
19521 wxMoveEvent
*result
;
19523 PyObject
* obj0
= 0 ;
19524 PyObject
* obj1
= 0 ;
19525 char *kwnames
[] = {
19526 (char *) "pos",(char *) "winid", NULL
19529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19533 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
19538 arg2
= (int)(SWIG_As_int(obj1
));
19539 if (SWIG_arg_fail(2)) SWIG_fail
;
19543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19544 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
19546 wxPyEndAllowThreads(__tstate
);
19547 if (PyErr_Occurred()) SWIG_fail
;
19549 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
19556 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19557 PyObject
*resultobj
;
19558 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19560 PyObject
* obj0
= 0 ;
19561 char *kwnames
[] = {
19562 (char *) "self", NULL
19565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19567 if (SWIG_arg_fail(1)) SWIG_fail
;
19569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19570 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
19572 wxPyEndAllowThreads(__tstate
);
19573 if (PyErr_Occurred()) SWIG_fail
;
19576 wxPoint
* resultptr
;
19577 resultptr
= new wxPoint((wxPoint
&)(result
));
19578 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19586 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19587 PyObject
*resultobj
;
19588 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19590 PyObject
* obj0
= 0 ;
19591 char *kwnames
[] = {
19592 (char *) "self", NULL
19595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
19596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19597 if (SWIG_arg_fail(1)) SWIG_fail
;
19599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19600 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
19602 wxPyEndAllowThreads(__tstate
);
19603 if (PyErr_Occurred()) SWIG_fail
;
19606 wxRect
* resultptr
;
19607 resultptr
= new wxRect((wxRect
&)(result
));
19608 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
19616 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19617 PyObject
*resultobj
;
19618 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19621 PyObject
* obj0
= 0 ;
19622 PyObject
* obj1
= 0 ;
19623 char *kwnames
[] = {
19624 (char *) "self",(char *) "rect", NULL
19627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
19628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19629 if (SWIG_arg_fail(1)) SWIG_fail
;
19632 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19636 (arg1
)->SetRect((wxRect
const &)*arg2
);
19638 wxPyEndAllowThreads(__tstate
);
19639 if (PyErr_Occurred()) SWIG_fail
;
19641 Py_INCREF(Py_None
); resultobj
= Py_None
;
19648 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19649 PyObject
*resultobj
;
19650 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19651 wxPoint
*arg2
= 0 ;
19653 PyObject
* obj0
= 0 ;
19654 PyObject
* obj1
= 0 ;
19655 char *kwnames
[] = {
19656 (char *) "self",(char *) "pos", NULL
19659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
19660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19661 if (SWIG_arg_fail(1)) SWIG_fail
;
19664 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19668 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19670 wxPyEndAllowThreads(__tstate
);
19671 if (PyErr_Occurred()) SWIG_fail
;
19673 Py_INCREF(Py_None
); resultobj
= Py_None
;
19680 static PyObject
* MoveEvent_swigregister(PyObject
*, PyObject
*args
) {
19682 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19683 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
19685 return Py_BuildValue((char *)"");
19687 static PyObject
*_wrap_new_PaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19688 PyObject
*resultobj
;
19689 int arg1
= (int) 0 ;
19690 wxPaintEvent
*result
;
19691 PyObject
* obj0
= 0 ;
19692 char *kwnames
[] = {
19693 (char *) "Id", NULL
19696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
19699 arg1
= (int)(SWIG_As_int(obj0
));
19700 if (SWIG_arg_fail(1)) SWIG_fail
;
19704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19705 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
19707 wxPyEndAllowThreads(__tstate
);
19708 if (PyErr_Occurred()) SWIG_fail
;
19710 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
19717 static PyObject
* PaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19719 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19720 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
19722 return Py_BuildValue((char *)"");
19724 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19725 PyObject
*resultobj
;
19726 int arg1
= (int) 0 ;
19727 wxNcPaintEvent
*result
;
19728 PyObject
* obj0
= 0 ;
19729 char *kwnames
[] = {
19730 (char *) "winid", NULL
19733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
19736 arg1
= (int)(SWIG_As_int(obj0
));
19737 if (SWIG_arg_fail(1)) SWIG_fail
;
19741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19742 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
19744 wxPyEndAllowThreads(__tstate
);
19745 if (PyErr_Occurred()) SWIG_fail
;
19747 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
19754 static PyObject
* NcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19756 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19757 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
19759 return Py_BuildValue((char *)"");
19761 static PyObject
*_wrap_new_EraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19762 PyObject
*resultobj
;
19763 int arg1
= (int) 0 ;
19764 wxDC
*arg2
= (wxDC
*) NULL
;
19765 wxEraseEvent
*result
;
19766 PyObject
* obj0
= 0 ;
19767 PyObject
* obj1
= 0 ;
19768 char *kwnames
[] = {
19769 (char *) "Id",(char *) "dc", NULL
19772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19775 arg1
= (int)(SWIG_As_int(obj0
));
19776 if (SWIG_arg_fail(1)) SWIG_fail
;
19780 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
19781 if (SWIG_arg_fail(2)) SWIG_fail
;
19784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19785 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
19787 wxPyEndAllowThreads(__tstate
);
19788 if (PyErr_Occurred()) SWIG_fail
;
19790 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
19797 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19798 PyObject
*resultobj
;
19799 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
19801 PyObject
* obj0
= 0 ;
19802 char *kwnames
[] = {
19803 (char *) "self", NULL
19806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
19807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEraseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19808 if (SWIG_arg_fail(1)) SWIG_fail
;
19810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19811 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
19813 wxPyEndAllowThreads(__tstate
);
19814 if (PyErr_Occurred()) SWIG_fail
;
19817 resultobj
= wxPyMake_wxObject(result
, 0);
19825 static PyObject
* EraseEvent_swigregister(PyObject
*, PyObject
*args
) {
19827 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19828 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
19830 return Py_BuildValue((char *)"");
19832 static PyObject
*_wrap_new_FocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19833 PyObject
*resultobj
;
19834 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19835 int arg2
= (int) 0 ;
19836 wxFocusEvent
*result
;
19837 PyObject
* obj0
= 0 ;
19838 PyObject
* obj1
= 0 ;
19839 char *kwnames
[] = {
19840 (char *) "type",(char *) "winid", NULL
19843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19846 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19847 if (SWIG_arg_fail(1)) SWIG_fail
;
19852 arg2
= (int)(SWIG_As_int(obj1
));
19853 if (SWIG_arg_fail(2)) SWIG_fail
;
19857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19858 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
19860 wxPyEndAllowThreads(__tstate
);
19861 if (PyErr_Occurred()) SWIG_fail
;
19863 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
19870 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19871 PyObject
*resultobj
;
19872 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19874 PyObject
* obj0
= 0 ;
19875 char *kwnames
[] = {
19876 (char *) "self", NULL
19879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19881 if (SWIG_arg_fail(1)) SWIG_fail
;
19883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19884 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
19886 wxPyEndAllowThreads(__tstate
);
19887 if (PyErr_Occurred()) SWIG_fail
;
19890 resultobj
= wxPyMake_wxObject(result
, 0);
19898 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19899 PyObject
*resultobj
;
19900 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19901 wxWindow
*arg2
= (wxWindow
*) 0 ;
19902 PyObject
* obj0
= 0 ;
19903 PyObject
* obj1
= 0 ;
19904 char *kwnames
[] = {
19905 (char *) "self",(char *) "win", NULL
19908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
19909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19910 if (SWIG_arg_fail(1)) SWIG_fail
;
19911 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19912 if (SWIG_arg_fail(2)) SWIG_fail
;
19914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19915 (arg1
)->SetWindow(arg2
);
19917 wxPyEndAllowThreads(__tstate
);
19918 if (PyErr_Occurred()) SWIG_fail
;
19920 Py_INCREF(Py_None
); resultobj
= Py_None
;
19927 static PyObject
* FocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19929 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19930 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
19932 return Py_BuildValue((char *)"");
19934 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19935 PyObject
*resultobj
;
19936 wxWindow
*arg1
= (wxWindow
*) NULL
;
19937 wxChildFocusEvent
*result
;
19938 PyObject
* obj0
= 0 ;
19939 char *kwnames
[] = {
19940 (char *) "win", NULL
19943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
19945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19946 if (SWIG_arg_fail(1)) SWIG_fail
;
19949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19950 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
19952 wxPyEndAllowThreads(__tstate
);
19953 if (PyErr_Occurred()) SWIG_fail
;
19955 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
19962 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19963 PyObject
*resultobj
;
19964 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
19966 PyObject
* obj0
= 0 ;
19967 char *kwnames
[] = {
19968 (char *) "self", NULL
19971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChildFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19973 if (SWIG_arg_fail(1)) SWIG_fail
;
19975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19976 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
19978 wxPyEndAllowThreads(__tstate
);
19979 if (PyErr_Occurred()) SWIG_fail
;
19982 resultobj
= wxPyMake_wxObject(result
, 0);
19990 static PyObject
* ChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19992 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19993 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
19995 return Py_BuildValue((char *)"");
19997 static PyObject
*_wrap_new_ActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19998 PyObject
*resultobj
;
19999 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20000 bool arg2
= (bool) true ;
20001 int arg3
= (int) 0 ;
20002 wxActivateEvent
*result
;
20003 PyObject
* obj0
= 0 ;
20004 PyObject
* obj1
= 0 ;
20005 PyObject
* obj2
= 0 ;
20006 char *kwnames
[] = {
20007 (char *) "type",(char *) "active",(char *) "Id", NULL
20010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20013 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20014 if (SWIG_arg_fail(1)) SWIG_fail
;
20019 arg2
= (bool)(SWIG_As_bool(obj1
));
20020 if (SWIG_arg_fail(2)) SWIG_fail
;
20025 arg3
= (int)(SWIG_As_int(obj2
));
20026 if (SWIG_arg_fail(3)) SWIG_fail
;
20030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20031 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
20033 wxPyEndAllowThreads(__tstate
);
20034 if (PyErr_Occurred()) SWIG_fail
;
20036 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
20043 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20044 PyObject
*resultobj
;
20045 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
20047 PyObject
* obj0
= 0 ;
20048 char *kwnames
[] = {
20049 (char *) "self", NULL
20052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
20053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxActivateEvent
, SWIG_POINTER_EXCEPTION
| 0);
20054 if (SWIG_arg_fail(1)) SWIG_fail
;
20056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20057 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
20059 wxPyEndAllowThreads(__tstate
);
20060 if (PyErr_Occurred()) SWIG_fail
;
20063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20071 static PyObject
* ActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
20073 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20074 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
20076 return Py_BuildValue((char *)"");
20078 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20079 PyObject
*resultobj
;
20080 int arg1
= (int) 0 ;
20081 wxInitDialogEvent
*result
;
20082 PyObject
* obj0
= 0 ;
20083 char *kwnames
[] = {
20084 (char *) "Id", NULL
20087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
20090 arg1
= (int)(SWIG_As_int(obj0
));
20091 if (SWIG_arg_fail(1)) SWIG_fail
;
20095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20096 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
20098 wxPyEndAllowThreads(__tstate
);
20099 if (PyErr_Occurred()) SWIG_fail
;
20101 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
20108 static PyObject
* InitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
20110 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20111 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
20113 return Py_BuildValue((char *)"");
20115 static PyObject
*_wrap_new_MenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20116 PyObject
*resultobj
;
20117 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20118 int arg2
= (int) 0 ;
20119 wxMenu
*arg3
= (wxMenu
*) NULL
;
20120 wxMenuEvent
*result
;
20121 PyObject
* obj0
= 0 ;
20122 PyObject
* obj1
= 0 ;
20123 PyObject
* obj2
= 0 ;
20124 char *kwnames
[] = {
20125 (char *) "type",(char *) "winid",(char *) "menu", NULL
20128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20131 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20132 if (SWIG_arg_fail(1)) SWIG_fail
;
20137 arg2
= (int)(SWIG_As_int(obj1
));
20138 if (SWIG_arg_fail(2)) SWIG_fail
;
20142 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
20143 if (SWIG_arg_fail(3)) SWIG_fail
;
20146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20147 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
20149 wxPyEndAllowThreads(__tstate
);
20150 if (PyErr_Occurred()) SWIG_fail
;
20152 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
20159 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20160 PyObject
*resultobj
;
20161 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20163 PyObject
* obj0
= 0 ;
20164 char *kwnames
[] = {
20165 (char *) "self", NULL
20168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
20169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20170 if (SWIG_arg_fail(1)) SWIG_fail
;
20172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20173 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
20175 wxPyEndAllowThreads(__tstate
);
20176 if (PyErr_Occurred()) SWIG_fail
;
20179 resultobj
= SWIG_From_int((int)(result
));
20187 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20188 PyObject
*resultobj
;
20189 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20191 PyObject
* obj0
= 0 ;
20192 char *kwnames
[] = {
20193 (char *) "self", NULL
20196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
20197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20198 if (SWIG_arg_fail(1)) SWIG_fail
;
20200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20201 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
20203 wxPyEndAllowThreads(__tstate
);
20204 if (PyErr_Occurred()) SWIG_fail
;
20207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20215 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20216 PyObject
*resultobj
;
20217 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20219 PyObject
* obj0
= 0 ;
20220 char *kwnames
[] = {
20221 (char *) "self", NULL
20224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
20225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20226 if (SWIG_arg_fail(1)) SWIG_fail
;
20228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20229 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
20231 wxPyEndAllowThreads(__tstate
);
20232 if (PyErr_Occurred()) SWIG_fail
;
20235 resultobj
= wxPyMake_wxObject(result
, 0);
20243 static PyObject
* MenuEvent_swigregister(PyObject
*, PyObject
*args
) {
20245 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20246 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
20248 return Py_BuildValue((char *)"");
20250 static PyObject
*_wrap_new_CloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20251 PyObject
*resultobj
;
20252 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20253 int arg2
= (int) 0 ;
20254 wxCloseEvent
*result
;
20255 PyObject
* obj0
= 0 ;
20256 PyObject
* obj1
= 0 ;
20257 char *kwnames
[] = {
20258 (char *) "type",(char *) "winid", NULL
20261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20264 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20265 if (SWIG_arg_fail(1)) SWIG_fail
;
20270 arg2
= (int)(SWIG_As_int(obj1
));
20271 if (SWIG_arg_fail(2)) SWIG_fail
;
20275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20276 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
20278 wxPyEndAllowThreads(__tstate
);
20279 if (PyErr_Occurred()) SWIG_fail
;
20281 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
20288 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20289 PyObject
*resultobj
;
20290 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20292 PyObject
* obj0
= 0 ;
20293 PyObject
* obj1
= 0 ;
20294 char *kwnames
[] = {
20295 (char *) "self",(char *) "logOff", NULL
20298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
20299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20300 if (SWIG_arg_fail(1)) SWIG_fail
;
20302 arg2
= (bool)(SWIG_As_bool(obj1
));
20303 if (SWIG_arg_fail(2)) SWIG_fail
;
20306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20307 (arg1
)->SetLoggingOff(arg2
);
20309 wxPyEndAllowThreads(__tstate
);
20310 if (PyErr_Occurred()) SWIG_fail
;
20312 Py_INCREF(Py_None
); resultobj
= Py_None
;
20319 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20320 PyObject
*resultobj
;
20321 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20323 PyObject
* obj0
= 0 ;
20324 char *kwnames
[] = {
20325 (char *) "self", NULL
20328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
20329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20330 if (SWIG_arg_fail(1)) SWIG_fail
;
20332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20333 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
20335 wxPyEndAllowThreads(__tstate
);
20336 if (PyErr_Occurred()) SWIG_fail
;
20339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20347 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20348 PyObject
*resultobj
;
20349 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20350 bool arg2
= (bool) true ;
20351 PyObject
* obj0
= 0 ;
20352 PyObject
* obj1
= 0 ;
20353 char *kwnames
[] = {
20354 (char *) "self",(char *) "veto", NULL
20357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
20358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20359 if (SWIG_arg_fail(1)) SWIG_fail
;
20362 arg2
= (bool)(SWIG_As_bool(obj1
));
20363 if (SWIG_arg_fail(2)) SWIG_fail
;
20367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20368 (arg1
)->Veto(arg2
);
20370 wxPyEndAllowThreads(__tstate
);
20371 if (PyErr_Occurred()) SWIG_fail
;
20373 Py_INCREF(Py_None
); resultobj
= Py_None
;
20380 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20381 PyObject
*resultobj
;
20382 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20384 PyObject
* obj0
= 0 ;
20385 char *kwnames
[] = {
20386 (char *) "self", NULL
20389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
20390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20391 if (SWIG_arg_fail(1)) SWIG_fail
;
20393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20394 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
20396 wxPyEndAllowThreads(__tstate
);
20397 if (PyErr_Occurred()) SWIG_fail
;
20400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20408 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20409 PyObject
*resultobj
;
20410 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20412 PyObject
* obj0
= 0 ;
20413 PyObject
* obj1
= 0 ;
20414 char *kwnames
[] = {
20415 (char *) "self",(char *) "canVeto", NULL
20418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
20419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20420 if (SWIG_arg_fail(1)) SWIG_fail
;
20422 arg2
= (bool)(SWIG_As_bool(obj1
));
20423 if (SWIG_arg_fail(2)) SWIG_fail
;
20426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20427 (arg1
)->SetCanVeto(arg2
);
20429 wxPyEndAllowThreads(__tstate
);
20430 if (PyErr_Occurred()) SWIG_fail
;
20432 Py_INCREF(Py_None
); resultobj
= Py_None
;
20439 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20440 PyObject
*resultobj
;
20441 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20443 PyObject
* obj0
= 0 ;
20444 char *kwnames
[] = {
20445 (char *) "self", NULL
20448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
20449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20450 if (SWIG_arg_fail(1)) SWIG_fail
;
20452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20453 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
20455 wxPyEndAllowThreads(__tstate
);
20456 if (PyErr_Occurred()) SWIG_fail
;
20459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20467 static PyObject
* CloseEvent_swigregister(PyObject
*, PyObject
*args
) {
20469 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20470 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
20472 return Py_BuildValue((char *)"");
20474 static PyObject
*_wrap_new_ShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20475 PyObject
*resultobj
;
20476 int arg1
= (int) 0 ;
20477 bool arg2
= (bool) false ;
20478 wxShowEvent
*result
;
20479 PyObject
* obj0
= 0 ;
20480 PyObject
* obj1
= 0 ;
20481 char *kwnames
[] = {
20482 (char *) "winid",(char *) "show", NULL
20485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20488 arg1
= (int)(SWIG_As_int(obj0
));
20489 if (SWIG_arg_fail(1)) SWIG_fail
;
20494 arg2
= (bool)(SWIG_As_bool(obj1
));
20495 if (SWIG_arg_fail(2)) SWIG_fail
;
20499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20500 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
20502 wxPyEndAllowThreads(__tstate
);
20503 if (PyErr_Occurred()) SWIG_fail
;
20505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
20512 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20513 PyObject
*resultobj
;
20514 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
20516 PyObject
* obj0
= 0 ;
20517 PyObject
* obj1
= 0 ;
20518 char *kwnames
[] = {
20519 (char *) "self",(char *) "show", NULL
20522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
20523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
20524 if (SWIG_arg_fail(1)) SWIG_fail
;
20526 arg2
= (bool)(SWIG_As_bool(obj1
));
20527 if (SWIG_arg_fail(2)) SWIG_fail
;
20530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20531 (arg1
)->SetShow(arg2
);
20533 wxPyEndAllowThreads(__tstate
);
20534 if (PyErr_Occurred()) SWIG_fail
;
20536 Py_INCREF(Py_None
); resultobj
= Py_None
;
20543 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20544 PyObject
*resultobj
;
20545 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
20547 PyObject
* obj0
= 0 ;
20548 char *kwnames
[] = {
20549 (char *) "self", NULL
20552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
20553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
20554 if (SWIG_arg_fail(1)) SWIG_fail
;
20556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20557 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
20559 wxPyEndAllowThreads(__tstate
);
20560 if (PyErr_Occurred()) SWIG_fail
;
20563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20571 static PyObject
* ShowEvent_swigregister(PyObject
*, PyObject
*args
) {
20573 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20574 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
20576 return Py_BuildValue((char *)"");
20578 static PyObject
*_wrap_new_IconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20579 PyObject
*resultobj
;
20580 int arg1
= (int) 0 ;
20581 bool arg2
= (bool) true ;
20582 wxIconizeEvent
*result
;
20583 PyObject
* obj0
= 0 ;
20584 PyObject
* obj1
= 0 ;
20585 char *kwnames
[] = {
20586 (char *) "id",(char *) "iconized", NULL
20589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20592 arg1
= (int)(SWIG_As_int(obj0
));
20593 if (SWIG_arg_fail(1)) SWIG_fail
;
20598 arg2
= (bool)(SWIG_As_bool(obj1
));
20599 if (SWIG_arg_fail(2)) SWIG_fail
;
20603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20604 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
20606 wxPyEndAllowThreads(__tstate
);
20607 if (PyErr_Occurred()) SWIG_fail
;
20609 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
20616 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20617 PyObject
*resultobj
;
20618 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
20620 PyObject
* obj0
= 0 ;
20621 char *kwnames
[] = {
20622 (char *) "self", NULL
20625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
20626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
20627 if (SWIG_arg_fail(1)) SWIG_fail
;
20629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20630 result
= (bool)(arg1
)->Iconized();
20632 wxPyEndAllowThreads(__tstate
);
20633 if (PyErr_Occurred()) SWIG_fail
;
20636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20644 static PyObject
* IconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20646 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20647 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
20649 return Py_BuildValue((char *)"");
20651 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20652 PyObject
*resultobj
;
20653 int arg1
= (int) 0 ;
20654 wxMaximizeEvent
*result
;
20655 PyObject
* obj0
= 0 ;
20656 char *kwnames
[] = {
20657 (char *) "id", NULL
20660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
20663 arg1
= (int)(SWIG_As_int(obj0
));
20664 if (SWIG_arg_fail(1)) SWIG_fail
;
20668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20669 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
20671 wxPyEndAllowThreads(__tstate
);
20672 if (PyErr_Occurred()) SWIG_fail
;
20674 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
20681 static PyObject
* MaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20683 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20684 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
20686 return Py_BuildValue((char *)"");
20688 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20689 PyObject
*resultobj
;
20690 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20692 PyObject
* obj0
= 0 ;
20693 char *kwnames
[] = {
20694 (char *) "self", NULL
20697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
20698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20699 if (SWIG_arg_fail(1)) SWIG_fail
;
20701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20702 result
= (arg1
)->GetPosition();
20704 wxPyEndAllowThreads(__tstate
);
20705 if (PyErr_Occurred()) SWIG_fail
;
20708 wxPoint
* resultptr
;
20709 resultptr
= new wxPoint((wxPoint
&)(result
));
20710 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20718 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20719 PyObject
*resultobj
;
20720 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20722 PyObject
* obj0
= 0 ;
20723 char *kwnames
[] = {
20724 (char *) "self", NULL
20727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
20728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20729 if (SWIG_arg_fail(1)) SWIG_fail
;
20731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20732 result
= (int)(arg1
)->GetNumberOfFiles();
20734 wxPyEndAllowThreads(__tstate
);
20735 if (PyErr_Occurred()) SWIG_fail
;
20738 resultobj
= SWIG_From_int((int)(result
));
20746 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20747 PyObject
*resultobj
;
20748 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20750 PyObject
* obj0
= 0 ;
20751 char *kwnames
[] = {
20752 (char *) "self", NULL
20755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
20756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20757 if (SWIG_arg_fail(1)) SWIG_fail
;
20759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20760 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
20762 wxPyEndAllowThreads(__tstate
);
20763 if (PyErr_Occurred()) SWIG_fail
;
20765 resultobj
= result
;
20772 static PyObject
* DropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
20774 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20775 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
20777 return Py_BuildValue((char *)"");
20779 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20780 PyObject
*resultobj
;
20781 int arg1
= (int) 0 ;
20782 wxUpdateUIEvent
*result
;
20783 PyObject
* obj0
= 0 ;
20784 char *kwnames
[] = {
20785 (char *) "commandId", NULL
20788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
20791 arg1
= (int)(SWIG_As_int(obj0
));
20792 if (SWIG_arg_fail(1)) SWIG_fail
;
20796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20797 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
20799 wxPyEndAllowThreads(__tstate
);
20800 if (PyErr_Occurred()) SWIG_fail
;
20802 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
20809 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20810 PyObject
*resultobj
;
20811 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20813 PyObject
* obj0
= 0 ;
20814 char *kwnames
[] = {
20815 (char *) "self", NULL
20818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
20819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20820 if (SWIG_arg_fail(1)) SWIG_fail
;
20822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20823 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
20825 wxPyEndAllowThreads(__tstate
);
20826 if (PyErr_Occurred()) SWIG_fail
;
20829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20837 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20838 PyObject
*resultobj
;
20839 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20841 PyObject
* obj0
= 0 ;
20842 char *kwnames
[] = {
20843 (char *) "self", NULL
20846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
20847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20848 if (SWIG_arg_fail(1)) SWIG_fail
;
20850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20851 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
20853 wxPyEndAllowThreads(__tstate
);
20854 if (PyErr_Occurred()) SWIG_fail
;
20857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20865 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20866 PyObject
*resultobj
;
20867 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20869 PyObject
* obj0
= 0 ;
20870 char *kwnames
[] = {
20871 (char *) "self", NULL
20874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
20875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20876 if (SWIG_arg_fail(1)) SWIG_fail
;
20878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20879 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
20881 wxPyEndAllowThreads(__tstate
);
20882 if (PyErr_Occurred()) SWIG_fail
;
20886 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20888 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20897 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20898 PyObject
*resultobj
;
20899 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20901 PyObject
* obj0
= 0 ;
20902 char *kwnames
[] = {
20903 (char *) "self", NULL
20906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
20907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20908 if (SWIG_arg_fail(1)) SWIG_fail
;
20910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20911 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
20913 wxPyEndAllowThreads(__tstate
);
20914 if (PyErr_Occurred()) SWIG_fail
;
20917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20925 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20926 PyObject
*resultobj
;
20927 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20929 PyObject
* obj0
= 0 ;
20930 char *kwnames
[] = {
20931 (char *) "self", NULL
20934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
20935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20936 if (SWIG_arg_fail(1)) SWIG_fail
;
20938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20939 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
20941 wxPyEndAllowThreads(__tstate
);
20942 if (PyErr_Occurred()) SWIG_fail
;
20945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20953 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20954 PyObject
*resultobj
;
20955 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20957 PyObject
* obj0
= 0 ;
20958 char *kwnames
[] = {
20959 (char *) "self", NULL
20962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
20963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20964 if (SWIG_arg_fail(1)) SWIG_fail
;
20966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20967 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
20969 wxPyEndAllowThreads(__tstate
);
20970 if (PyErr_Occurred()) SWIG_fail
;
20973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20981 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20982 PyObject
*resultobj
;
20983 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20985 PyObject
* obj0
= 0 ;
20986 PyObject
* obj1
= 0 ;
20987 char *kwnames
[] = {
20988 (char *) "self",(char *) "check", NULL
20991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
20992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20993 if (SWIG_arg_fail(1)) SWIG_fail
;
20995 arg2
= (bool)(SWIG_As_bool(obj1
));
20996 if (SWIG_arg_fail(2)) SWIG_fail
;
20999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21000 (arg1
)->Check(arg2
);
21002 wxPyEndAllowThreads(__tstate
);
21003 if (PyErr_Occurred()) SWIG_fail
;
21005 Py_INCREF(Py_None
); resultobj
= Py_None
;
21012 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21013 PyObject
*resultobj
;
21014 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21016 PyObject
* obj0
= 0 ;
21017 PyObject
* obj1
= 0 ;
21018 char *kwnames
[] = {
21019 (char *) "self",(char *) "enable", NULL
21022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
21023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21024 if (SWIG_arg_fail(1)) SWIG_fail
;
21026 arg2
= (bool)(SWIG_As_bool(obj1
));
21027 if (SWIG_arg_fail(2)) SWIG_fail
;
21030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21031 (arg1
)->Enable(arg2
);
21033 wxPyEndAllowThreads(__tstate
);
21034 if (PyErr_Occurred()) SWIG_fail
;
21036 Py_INCREF(Py_None
); resultobj
= Py_None
;
21043 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21044 PyObject
*resultobj
;
21045 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21046 wxString
*arg2
= 0 ;
21047 bool temp2
= false ;
21048 PyObject
* obj0
= 0 ;
21049 PyObject
* obj1
= 0 ;
21050 char *kwnames
[] = {
21051 (char *) "self",(char *) "text", NULL
21054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
21055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21056 if (SWIG_arg_fail(1)) SWIG_fail
;
21058 arg2
= wxString_in_helper(obj1
);
21059 if (arg2
== NULL
) SWIG_fail
;
21063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21064 (arg1
)->SetText((wxString
const &)*arg2
);
21066 wxPyEndAllowThreads(__tstate
);
21067 if (PyErr_Occurred()) SWIG_fail
;
21069 Py_INCREF(Py_None
); resultobj
= Py_None
;
21084 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21085 PyObject
*resultobj
;
21087 PyObject
* obj0
= 0 ;
21088 char *kwnames
[] = {
21089 (char *) "updateInterval", NULL
21092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
21094 arg1
= (long)(SWIG_As_long(obj0
));
21095 if (SWIG_arg_fail(1)) SWIG_fail
;
21098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21099 wxUpdateUIEvent::SetUpdateInterval(arg1
);
21101 wxPyEndAllowThreads(__tstate
);
21102 if (PyErr_Occurred()) SWIG_fail
;
21104 Py_INCREF(Py_None
); resultobj
= Py_None
;
21111 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21112 PyObject
*resultobj
;
21114 char *kwnames
[] = {
21118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
21120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21121 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
21123 wxPyEndAllowThreads(__tstate
);
21124 if (PyErr_Occurred()) SWIG_fail
;
21127 resultobj
= SWIG_From_long((long)(result
));
21135 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21136 PyObject
*resultobj
;
21137 wxWindow
*arg1
= (wxWindow
*) 0 ;
21139 PyObject
* obj0
= 0 ;
21140 char *kwnames
[] = {
21141 (char *) "win", NULL
21144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
21145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21146 if (SWIG_arg_fail(1)) SWIG_fail
;
21148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21149 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
21151 wxPyEndAllowThreads(__tstate
);
21152 if (PyErr_Occurred()) SWIG_fail
;
21155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21163 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21164 PyObject
*resultobj
;
21165 char *kwnames
[] = {
21169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
21171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21172 wxUpdateUIEvent::ResetUpdateTime();
21174 wxPyEndAllowThreads(__tstate
);
21175 if (PyErr_Occurred()) SWIG_fail
;
21177 Py_INCREF(Py_None
); resultobj
= Py_None
;
21184 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21185 PyObject
*resultobj
;
21186 wxUpdateUIMode arg1
;
21187 PyObject
* obj0
= 0 ;
21188 char *kwnames
[] = {
21189 (char *) "mode", NULL
21192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
21194 arg1
= (wxUpdateUIMode
)(SWIG_As_int(obj0
));
21195 if (SWIG_arg_fail(1)) SWIG_fail
;
21198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21199 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
21201 wxPyEndAllowThreads(__tstate
);
21202 if (PyErr_Occurred()) SWIG_fail
;
21204 Py_INCREF(Py_None
); resultobj
= Py_None
;
21211 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21212 PyObject
*resultobj
;
21213 wxUpdateUIMode result
;
21214 char *kwnames
[] = {
21218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
21220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21221 result
= (wxUpdateUIMode
)wxUpdateUIEvent::GetMode();
21223 wxPyEndAllowThreads(__tstate
);
21224 if (PyErr_Occurred()) SWIG_fail
;
21226 resultobj
= SWIG_From_int((result
));
21233 static PyObject
* UpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
21235 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21236 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
21238 return Py_BuildValue((char *)"");
21240 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21241 PyObject
*resultobj
;
21242 wxSysColourChangedEvent
*result
;
21243 char *kwnames
[] = {
21247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
21249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21250 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
21252 wxPyEndAllowThreads(__tstate
);
21253 if (PyErr_Occurred()) SWIG_fail
;
21255 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
21262 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21264 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21265 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
21267 return Py_BuildValue((char *)"");
21269 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21270 PyObject
*resultobj
;
21271 int arg1
= (int) 0 ;
21272 wxWindow
*arg2
= (wxWindow
*) NULL
;
21273 wxMouseCaptureChangedEvent
*result
;
21274 PyObject
* obj0
= 0 ;
21275 PyObject
* obj1
= 0 ;
21276 char *kwnames
[] = {
21277 (char *) "winid",(char *) "gainedCapture", NULL
21280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21283 arg1
= (int)(SWIG_As_int(obj0
));
21284 if (SWIG_arg_fail(1)) SWIG_fail
;
21288 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21289 if (SWIG_arg_fail(2)) SWIG_fail
;
21292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21293 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
21295 wxPyEndAllowThreads(__tstate
);
21296 if (PyErr_Occurred()) SWIG_fail
;
21298 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
21305 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21306 PyObject
*resultobj
;
21307 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
21309 PyObject
* obj0
= 0 ;
21310 char *kwnames
[] = {
21311 (char *) "self", NULL
21314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
21315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseCaptureChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21316 if (SWIG_arg_fail(1)) SWIG_fail
;
21318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21319 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
21321 wxPyEndAllowThreads(__tstate
);
21322 if (PyErr_Occurred()) SWIG_fail
;
21325 resultobj
= wxPyMake_wxObject(result
, 0);
21333 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21335 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21336 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
21338 return Py_BuildValue((char *)"");
21340 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21341 PyObject
*resultobj
;
21342 wxDisplayChangedEvent
*result
;
21343 char *kwnames
[] = {
21347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
21349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21350 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
21352 wxPyEndAllowThreads(__tstate
);
21353 if (PyErr_Occurred()) SWIG_fail
;
21355 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
21362 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21364 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21365 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
21367 return Py_BuildValue((char *)"");
21369 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21370 PyObject
*resultobj
;
21371 int arg1
= (int) 0 ;
21372 wxPaletteChangedEvent
*result
;
21373 PyObject
* obj0
= 0 ;
21374 char *kwnames
[] = {
21375 (char *) "id", NULL
21378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
21381 arg1
= (int)(SWIG_As_int(obj0
));
21382 if (SWIG_arg_fail(1)) SWIG_fail
;
21386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21387 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
21389 wxPyEndAllowThreads(__tstate
);
21390 if (PyErr_Occurred()) SWIG_fail
;
21392 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
21399 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21400 PyObject
*resultobj
;
21401 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
21402 wxWindow
*arg2
= (wxWindow
*) 0 ;
21403 PyObject
* obj0
= 0 ;
21404 PyObject
* obj1
= 0 ;
21405 char *kwnames
[] = {
21406 (char *) "self",(char *) "win", NULL
21409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
21410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21411 if (SWIG_arg_fail(1)) SWIG_fail
;
21412 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21413 if (SWIG_arg_fail(2)) SWIG_fail
;
21415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21416 (arg1
)->SetChangedWindow(arg2
);
21418 wxPyEndAllowThreads(__tstate
);
21419 if (PyErr_Occurred()) SWIG_fail
;
21421 Py_INCREF(Py_None
); resultobj
= Py_None
;
21428 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21429 PyObject
*resultobj
;
21430 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
21432 PyObject
* obj0
= 0 ;
21433 char *kwnames
[] = {
21434 (char *) "self", NULL
21437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
21438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21439 if (SWIG_arg_fail(1)) SWIG_fail
;
21441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21442 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
21444 wxPyEndAllowThreads(__tstate
);
21445 if (PyErr_Occurred()) SWIG_fail
;
21448 resultobj
= wxPyMake_wxObject(result
, 0);
21456 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21458 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21459 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
21461 return Py_BuildValue((char *)"");
21463 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21464 PyObject
*resultobj
;
21465 int arg1
= (int) 0 ;
21466 wxQueryNewPaletteEvent
*result
;
21467 PyObject
* obj0
= 0 ;
21468 char *kwnames
[] = {
21469 (char *) "winid", NULL
21472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
21475 arg1
= (int)(SWIG_As_int(obj0
));
21476 if (SWIG_arg_fail(1)) SWIG_fail
;
21480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21481 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
21483 wxPyEndAllowThreads(__tstate
);
21484 if (PyErr_Occurred()) SWIG_fail
;
21486 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
21493 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21494 PyObject
*resultobj
;
21495 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
21497 PyObject
* obj0
= 0 ;
21498 PyObject
* obj1
= 0 ;
21499 char *kwnames
[] = {
21500 (char *) "self",(char *) "realized", NULL
21503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
21504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
21505 if (SWIG_arg_fail(1)) SWIG_fail
;
21507 arg2
= (bool)(SWIG_As_bool(obj1
));
21508 if (SWIG_arg_fail(2)) SWIG_fail
;
21511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21512 (arg1
)->SetPaletteRealized(arg2
);
21514 wxPyEndAllowThreads(__tstate
);
21515 if (PyErr_Occurred()) SWIG_fail
;
21517 Py_INCREF(Py_None
); resultobj
= Py_None
;
21524 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21525 PyObject
*resultobj
;
21526 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
21528 PyObject
* obj0
= 0 ;
21529 char *kwnames
[] = {
21530 (char *) "self", NULL
21533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
21534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
21535 if (SWIG_arg_fail(1)) SWIG_fail
;
21537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21538 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
21540 wxPyEndAllowThreads(__tstate
);
21541 if (PyErr_Occurred()) SWIG_fail
;
21544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21552 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
21554 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21555 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
21557 return Py_BuildValue((char *)"");
21559 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21560 PyObject
*resultobj
;
21561 wxNavigationKeyEvent
*result
;
21562 char *kwnames
[] = {
21566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
21568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21569 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
21571 wxPyEndAllowThreads(__tstate
);
21572 if (PyErr_Occurred()) SWIG_fail
;
21574 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
21581 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21582 PyObject
*resultobj
;
21583 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21585 PyObject
* obj0
= 0 ;
21586 char *kwnames
[] = {
21587 (char *) "self", NULL
21590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
21591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21592 if (SWIG_arg_fail(1)) SWIG_fail
;
21594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21595 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
21597 wxPyEndAllowThreads(__tstate
);
21598 if (PyErr_Occurred()) SWIG_fail
;
21601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21609 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21610 PyObject
*resultobj
;
21611 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21613 PyObject
* obj0
= 0 ;
21614 PyObject
* obj1
= 0 ;
21615 char *kwnames
[] = {
21616 (char *) "self",(char *) "forward", NULL
21619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
21620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21621 if (SWIG_arg_fail(1)) SWIG_fail
;
21623 arg2
= (bool)(SWIG_As_bool(obj1
));
21624 if (SWIG_arg_fail(2)) SWIG_fail
;
21627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21628 (arg1
)->SetDirection(arg2
);
21630 wxPyEndAllowThreads(__tstate
);
21631 if (PyErr_Occurred()) SWIG_fail
;
21633 Py_INCREF(Py_None
); resultobj
= Py_None
;
21640 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21641 PyObject
*resultobj
;
21642 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21644 PyObject
* obj0
= 0 ;
21645 char *kwnames
[] = {
21646 (char *) "self", NULL
21649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
21650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21651 if (SWIG_arg_fail(1)) SWIG_fail
;
21653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21654 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
21656 wxPyEndAllowThreads(__tstate
);
21657 if (PyErr_Occurred()) SWIG_fail
;
21660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21668 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21669 PyObject
*resultobj
;
21670 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21672 PyObject
* obj0
= 0 ;
21673 PyObject
* obj1
= 0 ;
21674 char *kwnames
[] = {
21675 (char *) "self",(char *) "ischange", NULL
21678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
21679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21680 if (SWIG_arg_fail(1)) SWIG_fail
;
21682 arg2
= (bool)(SWIG_As_bool(obj1
));
21683 if (SWIG_arg_fail(2)) SWIG_fail
;
21686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21687 (arg1
)->SetWindowChange(arg2
);
21689 wxPyEndAllowThreads(__tstate
);
21690 if (PyErr_Occurred()) SWIG_fail
;
21692 Py_INCREF(Py_None
); resultobj
= Py_None
;
21699 static PyObject
*_wrap_NavigationKeyEvent_IsFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21700 PyObject
*resultobj
;
21701 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21703 PyObject
* obj0
= 0 ;
21704 char *kwnames
[] = {
21705 (char *) "self", NULL
21708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsFromTab",kwnames
,&obj0
)) goto fail
;
21709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21710 if (SWIG_arg_fail(1)) SWIG_fail
;
21712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21713 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsFromTab();
21715 wxPyEndAllowThreads(__tstate
);
21716 if (PyErr_Occurred()) SWIG_fail
;
21719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21727 static PyObject
*_wrap_NavigationKeyEvent_SetFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21728 PyObject
*resultobj
;
21729 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21731 PyObject
* obj0
= 0 ;
21732 PyObject
* obj1
= 0 ;
21733 char *kwnames
[] = {
21734 (char *) "self",(char *) "bIs", NULL
21737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFromTab",kwnames
,&obj0
,&obj1
)) goto fail
;
21738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21739 if (SWIG_arg_fail(1)) SWIG_fail
;
21741 arg2
= (bool)(SWIG_As_bool(obj1
));
21742 if (SWIG_arg_fail(2)) SWIG_fail
;
21745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21746 (arg1
)->SetFromTab(arg2
);
21748 wxPyEndAllowThreads(__tstate
);
21749 if (PyErr_Occurred()) SWIG_fail
;
21751 Py_INCREF(Py_None
); resultobj
= Py_None
;
21758 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21759 PyObject
*resultobj
;
21760 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21762 PyObject
* obj0
= 0 ;
21763 PyObject
* obj1
= 0 ;
21764 char *kwnames
[] = {
21765 (char *) "self",(char *) "flags", NULL
21768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
21769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21770 if (SWIG_arg_fail(1)) SWIG_fail
;
21772 arg2
= (long)(SWIG_As_long(obj1
));
21773 if (SWIG_arg_fail(2)) SWIG_fail
;
21776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21777 (arg1
)->SetFlags(arg2
);
21779 wxPyEndAllowThreads(__tstate
);
21780 if (PyErr_Occurred()) SWIG_fail
;
21782 Py_INCREF(Py_None
); resultobj
= Py_None
;
21789 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21790 PyObject
*resultobj
;
21791 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21793 PyObject
* obj0
= 0 ;
21794 char *kwnames
[] = {
21795 (char *) "self", NULL
21798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
21799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21800 if (SWIG_arg_fail(1)) SWIG_fail
;
21802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21803 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
21805 wxPyEndAllowThreads(__tstate
);
21806 if (PyErr_Occurred()) SWIG_fail
;
21809 resultobj
= wxPyMake_wxObject(result
, 0);
21817 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21818 PyObject
*resultobj
;
21819 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21820 wxWindow
*arg2
= (wxWindow
*) 0 ;
21821 PyObject
* obj0
= 0 ;
21822 PyObject
* obj1
= 0 ;
21823 char *kwnames
[] = {
21824 (char *) "self",(char *) "win", NULL
21827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
21828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21829 if (SWIG_arg_fail(1)) SWIG_fail
;
21830 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21831 if (SWIG_arg_fail(2)) SWIG_fail
;
21833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21834 (arg1
)->SetCurrentFocus(arg2
);
21836 wxPyEndAllowThreads(__tstate
);
21837 if (PyErr_Occurred()) SWIG_fail
;
21839 Py_INCREF(Py_None
); resultobj
= Py_None
;
21846 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
21848 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21849 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
21851 return Py_BuildValue((char *)"");
21853 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21854 PyObject
*resultobj
;
21855 wxWindow
*arg1
= (wxWindow
*) NULL
;
21856 wxWindowCreateEvent
*result
;
21857 PyObject
* obj0
= 0 ;
21858 char *kwnames
[] = {
21859 (char *) "win", NULL
21862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
21864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21865 if (SWIG_arg_fail(1)) SWIG_fail
;
21868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21869 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
21871 wxPyEndAllowThreads(__tstate
);
21872 if (PyErr_Occurred()) SWIG_fail
;
21874 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
21881 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21882 PyObject
*resultobj
;
21883 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
21885 PyObject
* obj0
= 0 ;
21886 char *kwnames
[] = {
21887 (char *) "self", NULL
21890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowCreateEvent
, SWIG_POINTER_EXCEPTION
| 0);
21892 if (SWIG_arg_fail(1)) SWIG_fail
;
21894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21895 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
21897 wxPyEndAllowThreads(__tstate
);
21898 if (PyErr_Occurred()) SWIG_fail
;
21901 resultobj
= wxPyMake_wxObject(result
, 0);
21909 static PyObject
* WindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
21911 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21912 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
21914 return Py_BuildValue((char *)"");
21916 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21917 PyObject
*resultobj
;
21918 wxWindow
*arg1
= (wxWindow
*) NULL
;
21919 wxWindowDestroyEvent
*result
;
21920 PyObject
* obj0
= 0 ;
21921 char *kwnames
[] = {
21922 (char *) "win", NULL
21925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
21927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21928 if (SWIG_arg_fail(1)) SWIG_fail
;
21931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21932 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
21934 wxPyEndAllowThreads(__tstate
);
21935 if (PyErr_Occurred()) SWIG_fail
;
21937 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
21944 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21945 PyObject
*resultobj
;
21946 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
21948 PyObject
* obj0
= 0 ;
21949 char *kwnames
[] = {
21950 (char *) "self", NULL
21953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDestroyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21955 if (SWIG_arg_fail(1)) SWIG_fail
;
21957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21958 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
21960 wxPyEndAllowThreads(__tstate
);
21961 if (PyErr_Occurred()) SWIG_fail
;
21964 resultobj
= wxPyMake_wxObject(result
, 0);
21972 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
21974 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21975 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
21977 return Py_BuildValue((char *)"");
21979 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21980 PyObject
*resultobj
;
21981 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21982 int arg2
= (int) 0 ;
21983 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21984 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21985 wxContextMenuEvent
*result
;
21987 PyObject
* obj0
= 0 ;
21988 PyObject
* obj1
= 0 ;
21989 PyObject
* obj2
= 0 ;
21990 char *kwnames
[] = {
21991 (char *) "type",(char *) "winid",(char *) "pt", NULL
21994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21997 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
21998 if (SWIG_arg_fail(1)) SWIG_fail
;
22003 arg2
= (int)(SWIG_As_int(obj1
));
22004 if (SWIG_arg_fail(2)) SWIG_fail
;
22010 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22015 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
22017 wxPyEndAllowThreads(__tstate
);
22018 if (PyErr_Occurred()) SWIG_fail
;
22020 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
22027 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22028 PyObject
*resultobj
;
22029 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
22031 PyObject
* obj0
= 0 ;
22032 char *kwnames
[] = {
22033 (char *) "self", NULL
22036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
22037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
22038 if (SWIG_arg_fail(1)) SWIG_fail
;
22040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22042 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
22043 result
= (wxPoint
*) &_result_ref
;
22046 wxPyEndAllowThreads(__tstate
);
22047 if (PyErr_Occurred()) SWIG_fail
;
22049 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
22056 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22057 PyObject
*resultobj
;
22058 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
22059 wxPoint
*arg2
= 0 ;
22061 PyObject
* obj0
= 0 ;
22062 PyObject
* obj1
= 0 ;
22063 char *kwnames
[] = {
22064 (char *) "self",(char *) "pos", NULL
22067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
22068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
22069 if (SWIG_arg_fail(1)) SWIG_fail
;
22072 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22076 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
22078 wxPyEndAllowThreads(__tstate
);
22079 if (PyErr_Occurred()) SWIG_fail
;
22081 Py_INCREF(Py_None
); resultobj
= Py_None
;
22088 static PyObject
* ContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
22090 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22091 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
22093 return Py_BuildValue((char *)"");
22095 static PyObject
*_wrap_new_IdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22096 PyObject
*resultobj
;
22097 wxIdleEvent
*result
;
22098 char *kwnames
[] = {
22102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
22104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22105 result
= (wxIdleEvent
*)new wxIdleEvent();
22107 wxPyEndAllowThreads(__tstate
);
22108 if (PyErr_Occurred()) SWIG_fail
;
22110 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
22117 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22118 PyObject
*resultobj
;
22119 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
22120 bool arg2
= (bool) true ;
22121 PyObject
* obj0
= 0 ;
22122 PyObject
* obj1
= 0 ;
22123 char *kwnames
[] = {
22124 (char *) "self",(char *) "needMore", NULL
22127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
22128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
22129 if (SWIG_arg_fail(1)) SWIG_fail
;
22132 arg2
= (bool)(SWIG_As_bool(obj1
));
22133 if (SWIG_arg_fail(2)) SWIG_fail
;
22137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22138 (arg1
)->RequestMore(arg2
);
22140 wxPyEndAllowThreads(__tstate
);
22141 if (PyErr_Occurred()) SWIG_fail
;
22143 Py_INCREF(Py_None
); resultobj
= Py_None
;
22150 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22151 PyObject
*resultobj
;
22152 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
22154 PyObject
* obj0
= 0 ;
22155 char *kwnames
[] = {
22156 (char *) "self", NULL
22159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
22160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
22161 if (SWIG_arg_fail(1)) SWIG_fail
;
22163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22164 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
22166 wxPyEndAllowThreads(__tstate
);
22167 if (PyErr_Occurred()) SWIG_fail
;
22170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22178 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22179 PyObject
*resultobj
;
22181 PyObject
* obj0
= 0 ;
22182 char *kwnames
[] = {
22183 (char *) "mode", NULL
22186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
22188 arg1
= (wxIdleMode
)(SWIG_As_int(obj0
));
22189 if (SWIG_arg_fail(1)) SWIG_fail
;
22192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22193 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
22195 wxPyEndAllowThreads(__tstate
);
22196 if (PyErr_Occurred()) SWIG_fail
;
22198 Py_INCREF(Py_None
); resultobj
= Py_None
;
22205 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22206 PyObject
*resultobj
;
22208 char *kwnames
[] = {
22212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
22214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22215 result
= (wxIdleMode
)wxIdleEvent::GetMode();
22217 wxPyEndAllowThreads(__tstate
);
22218 if (PyErr_Occurred()) SWIG_fail
;
22220 resultobj
= SWIG_From_int((result
));
22227 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22228 PyObject
*resultobj
;
22229 wxWindow
*arg1
= (wxWindow
*) 0 ;
22231 PyObject
* obj0
= 0 ;
22232 char *kwnames
[] = {
22233 (char *) "win", NULL
22236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
22237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22238 if (SWIG_arg_fail(1)) SWIG_fail
;
22240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22241 result
= (bool)wxIdleEvent::CanSend(arg1
);
22243 wxPyEndAllowThreads(__tstate
);
22244 if (PyErr_Occurred()) SWIG_fail
;
22247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22255 static PyObject
* IdleEvent_swigregister(PyObject
*, PyObject
*args
) {
22257 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22258 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
22260 return Py_BuildValue((char *)"");
22262 static PyObject
*_wrap_new_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22263 PyObject
*resultobj
;
22264 int arg1
= (int) 0 ;
22265 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
22267 PyObject
* obj0
= 0 ;
22268 PyObject
* obj1
= 0 ;
22269 char *kwnames
[] = {
22270 (char *) "winid",(char *) "eventType", NULL
22273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
22276 arg1
= (int)(SWIG_As_int(obj0
));
22277 if (SWIG_arg_fail(1)) SWIG_fail
;
22282 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
22283 if (SWIG_arg_fail(2)) SWIG_fail
;
22287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22288 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
22290 wxPyEndAllowThreads(__tstate
);
22291 if (PyErr_Occurred()) SWIG_fail
;
22293 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
22300 static PyObject
*_wrap_delete_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22301 PyObject
*resultobj
;
22302 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22303 PyObject
* obj0
= 0 ;
22304 char *kwnames
[] = {
22305 (char *) "self", NULL
22308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
22309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22310 if (SWIG_arg_fail(1)) SWIG_fail
;
22312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22315 wxPyEndAllowThreads(__tstate
);
22316 if (PyErr_Occurred()) SWIG_fail
;
22318 Py_INCREF(Py_None
); resultobj
= Py_None
;
22325 static PyObject
*_wrap_PyEvent__SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22326 PyObject
*resultobj
;
22327 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22328 PyObject
*arg2
= (PyObject
*) 0 ;
22329 PyObject
* obj0
= 0 ;
22330 PyObject
* obj1
= 0 ;
22331 char *kwnames
[] = {
22332 (char *) "self",(char *) "self", NULL
22335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent__SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
22336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22337 if (SWIG_arg_fail(1)) SWIG_fail
;
22340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22341 (arg1
)->SetSelf(arg2
);
22343 wxPyEndAllowThreads(__tstate
);
22344 if (PyErr_Occurred()) SWIG_fail
;
22346 Py_INCREF(Py_None
); resultobj
= Py_None
;
22353 static PyObject
*_wrap_PyEvent__GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22354 PyObject
*resultobj
;
22355 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22357 PyObject
* obj0
= 0 ;
22358 char *kwnames
[] = {
22359 (char *) "self", NULL
22362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent__GetSelf",kwnames
,&obj0
)) goto fail
;
22363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22364 if (SWIG_arg_fail(1)) SWIG_fail
;
22366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22367 result
= (PyObject
*)(arg1
)->GetSelf();
22369 wxPyEndAllowThreads(__tstate
);
22370 if (PyErr_Occurred()) SWIG_fail
;
22372 resultobj
= result
;
22379 static PyObject
* PyEvent_swigregister(PyObject
*, PyObject
*args
) {
22381 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22382 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
22384 return Py_BuildValue((char *)"");
22386 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22387 PyObject
*resultobj
;
22388 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22389 int arg2
= (int) 0 ;
22390 wxPyCommandEvent
*result
;
22391 PyObject
* obj0
= 0 ;
22392 PyObject
* obj1
= 0 ;
22393 char *kwnames
[] = {
22394 (char *) "eventType",(char *) "id", NULL
22397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
22400 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
22401 if (SWIG_arg_fail(1)) SWIG_fail
;
22406 arg2
= (int)(SWIG_As_int(obj1
));
22407 if (SWIG_arg_fail(2)) SWIG_fail
;
22411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22412 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
22414 wxPyEndAllowThreads(__tstate
);
22415 if (PyErr_Occurred()) SWIG_fail
;
22417 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
22424 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22425 PyObject
*resultobj
;
22426 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22427 PyObject
* obj0
= 0 ;
22428 char *kwnames
[] = {
22429 (char *) "self", NULL
22432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
22433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22434 if (SWIG_arg_fail(1)) SWIG_fail
;
22436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22439 wxPyEndAllowThreads(__tstate
);
22440 if (PyErr_Occurred()) SWIG_fail
;
22442 Py_INCREF(Py_None
); resultobj
= Py_None
;
22449 static PyObject
*_wrap_PyCommandEvent__SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22450 PyObject
*resultobj
;
22451 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22452 PyObject
*arg2
= (PyObject
*) 0 ;
22453 PyObject
* obj0
= 0 ;
22454 PyObject
* obj1
= 0 ;
22455 char *kwnames
[] = {
22456 (char *) "self",(char *) "self", NULL
22459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent__SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
22460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22461 if (SWIG_arg_fail(1)) SWIG_fail
;
22464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22465 (arg1
)->SetSelf(arg2
);
22467 wxPyEndAllowThreads(__tstate
);
22468 if (PyErr_Occurred()) SWIG_fail
;
22470 Py_INCREF(Py_None
); resultobj
= Py_None
;
22477 static PyObject
*_wrap_PyCommandEvent__GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22478 PyObject
*resultobj
;
22479 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22481 PyObject
* obj0
= 0 ;
22482 char *kwnames
[] = {
22483 (char *) "self", NULL
22486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent__GetSelf",kwnames
,&obj0
)) goto fail
;
22487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22488 if (SWIG_arg_fail(1)) SWIG_fail
;
22490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22491 result
= (PyObject
*)(arg1
)->GetSelf();
22493 wxPyEndAllowThreads(__tstate
);
22494 if (PyErr_Occurred()) SWIG_fail
;
22496 resultobj
= result
;
22503 static PyObject
* PyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
22505 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22506 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
22508 return Py_BuildValue((char *)"");
22510 static PyObject
*_wrap_new_DateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22511 PyObject
*resultobj
;
22512 wxWindow
*arg1
= (wxWindow
*) 0 ;
22513 wxDateTime
*arg2
= 0 ;
22515 wxDateEvent
*result
;
22516 PyObject
* obj0
= 0 ;
22517 PyObject
* obj1
= 0 ;
22518 PyObject
* obj2
= 0 ;
22519 char *kwnames
[] = {
22520 (char *) "win",(char *) "dt",(char *) "type", NULL
22523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_DateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22525 if (SWIG_arg_fail(1)) SWIG_fail
;
22527 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22528 if (SWIG_arg_fail(2)) SWIG_fail
;
22529 if (arg2
== NULL
) {
22530 SWIG_null_ref("wxDateTime");
22532 if (SWIG_arg_fail(2)) SWIG_fail
;
22535 arg3
= (wxEventType
)(SWIG_As_int(obj2
));
22536 if (SWIG_arg_fail(3)) SWIG_fail
;
22539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22540 result
= (wxDateEvent
*)new wxDateEvent(arg1
,(wxDateTime
const &)*arg2
,arg3
);
22542 wxPyEndAllowThreads(__tstate
);
22543 if (PyErr_Occurred()) SWIG_fail
;
22545 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateEvent
, 1);
22552 static PyObject
*_wrap_DateEvent_GetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22553 PyObject
*resultobj
;
22554 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
22555 wxDateTime
*result
;
22556 PyObject
* obj0
= 0 ;
22557 char *kwnames
[] = {
22558 (char *) "self", NULL
22561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateEvent_GetDate",kwnames
,&obj0
)) goto fail
;
22562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
22563 if (SWIG_arg_fail(1)) SWIG_fail
;
22565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22567 wxDateTime
const &_result_ref
= ((wxDateEvent
const *)arg1
)->GetDate();
22568 result
= (wxDateTime
*) &_result_ref
;
22571 wxPyEndAllowThreads(__tstate
);
22572 if (PyErr_Occurred()) SWIG_fail
;
22574 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22581 static PyObject
*_wrap_DateEvent_SetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22582 PyObject
*resultobj
;
22583 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
22584 wxDateTime
*arg2
= 0 ;
22585 PyObject
* obj0
= 0 ;
22586 PyObject
* obj1
= 0 ;
22587 char *kwnames
[] = {
22588 (char *) "self",(char *) "date", NULL
22591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateEvent_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
;
22592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
22593 if (SWIG_arg_fail(1)) SWIG_fail
;
22595 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22596 if (SWIG_arg_fail(2)) SWIG_fail
;
22597 if (arg2
== NULL
) {
22598 SWIG_null_ref("wxDateTime");
22600 if (SWIG_arg_fail(2)) SWIG_fail
;
22603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22604 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
22606 wxPyEndAllowThreads(__tstate
);
22607 if (PyErr_Occurred()) SWIG_fail
;
22609 Py_INCREF(Py_None
); resultobj
= Py_None
;
22616 static PyObject
* DateEvent_swigregister(PyObject
*, PyObject
*args
) {
22618 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22619 SWIG_TypeClientData(SWIGTYPE_p_wxDateEvent
, obj
);
22621 return Py_BuildValue((char *)"");
22623 static PyObject
*_wrap_new_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22624 PyObject
*resultobj
;
22626 char *kwnames
[] = {
22630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
22632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22633 result
= (wxPyApp
*)new_wxPyApp();
22635 wxPyEndAllowThreads(__tstate
);
22636 if (PyErr_Occurred()) SWIG_fail
;
22638 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
22645 static PyObject
*_wrap_delete_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22646 PyObject
*resultobj
;
22647 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22648 PyObject
* obj0
= 0 ;
22649 char *kwnames
[] = {
22650 (char *) "self", NULL
22653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
22654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22655 if (SWIG_arg_fail(1)) SWIG_fail
;
22657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22660 wxPyEndAllowThreads(__tstate
);
22661 if (PyErr_Occurred()) SWIG_fail
;
22663 Py_INCREF(Py_None
); resultobj
= Py_None
;
22670 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22671 PyObject
*resultobj
;
22672 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22673 PyObject
*arg2
= (PyObject
*) 0 ;
22674 PyObject
*arg3
= (PyObject
*) 0 ;
22676 PyObject
* obj0
= 0 ;
22677 PyObject
* obj1
= 0 ;
22678 PyObject
* obj2
= 0 ;
22679 PyObject
* obj3
= 0 ;
22680 char *kwnames
[] = {
22681 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
22684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22686 if (SWIG_arg_fail(1)) SWIG_fail
;
22690 arg4
= (bool)(SWIG_As_bool(obj3
));
22691 if (SWIG_arg_fail(4)) SWIG_fail
;
22694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22695 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
22697 wxPyEndAllowThreads(__tstate
);
22698 if (PyErr_Occurred()) SWIG_fail
;
22700 Py_INCREF(Py_None
); resultobj
= Py_None
;
22707 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22708 PyObject
*resultobj
;
22709 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22711 PyObject
* obj0
= 0 ;
22712 char *kwnames
[] = {
22713 (char *) "self", NULL
22716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
22717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22718 if (SWIG_arg_fail(1)) SWIG_fail
;
22720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22721 result
= ((wxPyApp
const *)arg1
)->GetAppName();
22723 wxPyEndAllowThreads(__tstate
);
22724 if (PyErr_Occurred()) SWIG_fail
;
22728 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22730 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22739 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22740 PyObject
*resultobj
;
22741 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22742 wxString
*arg2
= 0 ;
22743 bool temp2
= false ;
22744 PyObject
* obj0
= 0 ;
22745 PyObject
* obj1
= 0 ;
22746 char *kwnames
[] = {
22747 (char *) "self",(char *) "name", NULL
22750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
22751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22752 if (SWIG_arg_fail(1)) SWIG_fail
;
22754 arg2
= wxString_in_helper(obj1
);
22755 if (arg2
== NULL
) SWIG_fail
;
22759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22760 (arg1
)->SetAppName((wxString
const &)*arg2
);
22762 wxPyEndAllowThreads(__tstate
);
22763 if (PyErr_Occurred()) SWIG_fail
;
22765 Py_INCREF(Py_None
); resultobj
= Py_None
;
22780 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22781 PyObject
*resultobj
;
22782 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22784 PyObject
* obj0
= 0 ;
22785 char *kwnames
[] = {
22786 (char *) "self", NULL
22789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
22790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22791 if (SWIG_arg_fail(1)) SWIG_fail
;
22793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22794 result
= ((wxPyApp
const *)arg1
)->GetClassName();
22796 wxPyEndAllowThreads(__tstate
);
22797 if (PyErr_Occurred()) SWIG_fail
;
22801 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22803 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22812 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22813 PyObject
*resultobj
;
22814 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22815 wxString
*arg2
= 0 ;
22816 bool temp2
= false ;
22817 PyObject
* obj0
= 0 ;
22818 PyObject
* obj1
= 0 ;
22819 char *kwnames
[] = {
22820 (char *) "self",(char *) "name", NULL
22823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
22824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22825 if (SWIG_arg_fail(1)) SWIG_fail
;
22827 arg2
= wxString_in_helper(obj1
);
22828 if (arg2
== NULL
) SWIG_fail
;
22832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22833 (arg1
)->SetClassName((wxString
const &)*arg2
);
22835 wxPyEndAllowThreads(__tstate
);
22836 if (PyErr_Occurred()) SWIG_fail
;
22838 Py_INCREF(Py_None
); resultobj
= Py_None
;
22853 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22854 PyObject
*resultobj
;
22855 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22857 PyObject
* obj0
= 0 ;
22858 char *kwnames
[] = {
22859 (char *) "self", NULL
22862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
22863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22864 if (SWIG_arg_fail(1)) SWIG_fail
;
22866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22868 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
22869 result
= (wxString
*) &_result_ref
;
22872 wxPyEndAllowThreads(__tstate
);
22873 if (PyErr_Occurred()) SWIG_fail
;
22877 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22879 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22888 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22889 PyObject
*resultobj
;
22890 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22891 wxString
*arg2
= 0 ;
22892 bool temp2
= false ;
22893 PyObject
* obj0
= 0 ;
22894 PyObject
* obj1
= 0 ;
22895 char *kwnames
[] = {
22896 (char *) "self",(char *) "name", NULL
22899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
22900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22901 if (SWIG_arg_fail(1)) SWIG_fail
;
22903 arg2
= wxString_in_helper(obj1
);
22904 if (arg2
== NULL
) SWIG_fail
;
22908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22909 (arg1
)->SetVendorName((wxString
const &)*arg2
);
22911 wxPyEndAllowThreads(__tstate
);
22912 if (PyErr_Occurred()) SWIG_fail
;
22914 Py_INCREF(Py_None
); resultobj
= Py_None
;
22929 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22930 PyObject
*resultobj
;
22931 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22932 wxAppTraits
*result
;
22933 PyObject
* obj0
= 0 ;
22934 char *kwnames
[] = {
22935 (char *) "self", NULL
22938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
22939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22940 if (SWIG_arg_fail(1)) SWIG_fail
;
22942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22943 result
= (wxAppTraits
*)(arg1
)->GetTraits();
22945 wxPyEndAllowThreads(__tstate
);
22946 if (PyErr_Occurred()) SWIG_fail
;
22948 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
22955 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22956 PyObject
*resultobj
;
22957 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22958 PyObject
* obj0
= 0 ;
22959 char *kwnames
[] = {
22960 (char *) "self", NULL
22963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
22964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22965 if (SWIG_arg_fail(1)) SWIG_fail
;
22967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22968 (arg1
)->ProcessPendingEvents();
22970 wxPyEndAllowThreads(__tstate
);
22971 if (PyErr_Occurred()) SWIG_fail
;
22973 Py_INCREF(Py_None
); resultobj
= Py_None
;
22980 static PyObject
*_wrap_PyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22981 PyObject
*resultobj
;
22982 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22983 bool arg2
= (bool) false ;
22985 PyObject
* obj0
= 0 ;
22986 PyObject
* obj1
= 0 ;
22987 char *kwnames
[] = {
22988 (char *) "self",(char *) "onlyIfNeeded", NULL
22991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
22992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22993 if (SWIG_arg_fail(1)) SWIG_fail
;
22996 arg2
= (bool)(SWIG_As_bool(obj1
));
22997 if (SWIG_arg_fail(2)) SWIG_fail
;
23001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23002 result
= (bool)(arg1
)->Yield(arg2
);
23004 wxPyEndAllowThreads(__tstate
);
23005 if (PyErr_Occurred()) SWIG_fail
;
23008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23016 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23017 PyObject
*resultobj
;
23018 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23019 PyObject
* obj0
= 0 ;
23020 char *kwnames
[] = {
23021 (char *) "self", NULL
23024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
23025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23026 if (SWIG_arg_fail(1)) SWIG_fail
;
23028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23029 (arg1
)->WakeUpIdle();
23031 wxPyEndAllowThreads(__tstate
);
23032 if (PyErr_Occurred()) SWIG_fail
;
23034 Py_INCREF(Py_None
); resultobj
= Py_None
;
23041 static PyObject
*_wrap_PyApp_IsMainLoopRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23042 PyObject
*resultobj
;
23044 char *kwnames
[] = {
23048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_IsMainLoopRunning",kwnames
)) goto fail
;
23050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23051 result
= (bool)wxPyApp::IsMainLoopRunning();
23053 wxPyEndAllowThreads(__tstate
);
23054 if (PyErr_Occurred()) SWIG_fail
;
23057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23065 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23066 PyObject
*resultobj
;
23067 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23069 PyObject
* obj0
= 0 ;
23070 char *kwnames
[] = {
23071 (char *) "self", NULL
23074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
23075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23076 if (SWIG_arg_fail(1)) SWIG_fail
;
23078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23079 result
= (int)(arg1
)->MainLoop();
23081 wxPyEndAllowThreads(__tstate
);
23082 if (PyErr_Occurred()) SWIG_fail
;
23085 resultobj
= SWIG_From_int((int)(result
));
23093 static PyObject
*_wrap_PyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23094 PyObject
*resultobj
;
23095 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23096 PyObject
* obj0
= 0 ;
23097 char *kwnames
[] = {
23098 (char *) "self", NULL
23101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
23102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23103 if (SWIG_arg_fail(1)) SWIG_fail
;
23105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23108 wxPyEndAllowThreads(__tstate
);
23109 if (PyErr_Occurred()) SWIG_fail
;
23111 Py_INCREF(Py_None
); resultobj
= Py_None
;
23118 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23119 PyObject
*resultobj
;
23120 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23121 PyObject
* obj0
= 0 ;
23122 char *kwnames
[] = {
23123 (char *) "self", NULL
23126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
23127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23128 if (SWIG_arg_fail(1)) SWIG_fail
;
23130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23131 (arg1
)->ExitMainLoop();
23133 wxPyEndAllowThreads(__tstate
);
23134 if (PyErr_Occurred()) SWIG_fail
;
23136 Py_INCREF(Py_None
); resultobj
= Py_None
;
23143 static PyObject
*_wrap_PyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23144 PyObject
*resultobj
;
23145 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23147 PyObject
* obj0
= 0 ;
23148 char *kwnames
[] = {
23149 (char *) "self", NULL
23152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
23153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23154 if (SWIG_arg_fail(1)) SWIG_fail
;
23156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23157 result
= (bool)(arg1
)->Pending();
23159 wxPyEndAllowThreads(__tstate
);
23160 if (PyErr_Occurred()) SWIG_fail
;
23163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23171 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23172 PyObject
*resultobj
;
23173 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23175 PyObject
* obj0
= 0 ;
23176 char *kwnames
[] = {
23177 (char *) "self", NULL
23180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
23181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23182 if (SWIG_arg_fail(1)) SWIG_fail
;
23184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23185 result
= (bool)(arg1
)->Dispatch();
23187 wxPyEndAllowThreads(__tstate
);
23188 if (PyErr_Occurred()) SWIG_fail
;
23191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23199 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23200 PyObject
*resultobj
;
23201 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23203 PyObject
* obj0
= 0 ;
23204 char *kwnames
[] = {
23205 (char *) "self", NULL
23208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
23209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23210 if (SWIG_arg_fail(1)) SWIG_fail
;
23212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23213 result
= (bool)(arg1
)->ProcessIdle();
23215 wxPyEndAllowThreads(__tstate
);
23216 if (PyErr_Occurred()) SWIG_fail
;
23219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23227 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23228 PyObject
*resultobj
;
23229 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23230 wxWindow
*arg2
= (wxWindow
*) 0 ;
23231 wxIdleEvent
*arg3
= 0 ;
23233 PyObject
* obj0
= 0 ;
23234 PyObject
* obj1
= 0 ;
23235 PyObject
* obj2
= 0 ;
23236 char *kwnames
[] = {
23237 (char *) "self",(char *) "win",(char *) "event", NULL
23240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23242 if (SWIG_arg_fail(1)) SWIG_fail
;
23243 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23244 if (SWIG_arg_fail(2)) SWIG_fail
;
23246 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
23247 if (SWIG_arg_fail(3)) SWIG_fail
;
23248 if (arg3
== NULL
) {
23249 SWIG_null_ref("wxIdleEvent");
23251 if (SWIG_arg_fail(3)) SWIG_fail
;
23254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23255 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
23257 wxPyEndAllowThreads(__tstate
);
23258 if (PyErr_Occurred()) SWIG_fail
;
23261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23269 static PyObject
*_wrap_PyApp_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23270 PyObject
*resultobj
;
23271 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23273 PyObject
* obj0
= 0 ;
23274 char *kwnames
[] = {
23275 (char *) "self", NULL
23278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
23279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23280 if (SWIG_arg_fail(1)) SWIG_fail
;
23282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23283 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
23285 wxPyEndAllowThreads(__tstate
);
23286 if (PyErr_Occurred()) SWIG_fail
;
23289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23297 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23298 PyObject
*resultobj
;
23299 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23300 wxWindow
*arg2
= (wxWindow
*) 0 ;
23301 PyObject
* obj0
= 0 ;
23302 PyObject
* obj1
= 0 ;
23303 char *kwnames
[] = {
23304 (char *) "self",(char *) "win", NULL
23307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
23308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23309 if (SWIG_arg_fail(1)) SWIG_fail
;
23310 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23311 if (SWIG_arg_fail(2)) SWIG_fail
;
23313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23314 (arg1
)->SetTopWindow(arg2
);
23316 wxPyEndAllowThreads(__tstate
);
23317 if (PyErr_Occurred()) SWIG_fail
;
23319 Py_INCREF(Py_None
); resultobj
= Py_None
;
23326 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23327 PyObject
*resultobj
;
23328 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23330 PyObject
* obj0
= 0 ;
23331 char *kwnames
[] = {
23332 (char *) "self", NULL
23335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
23336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23337 if (SWIG_arg_fail(1)) SWIG_fail
;
23339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23340 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
23342 wxPyEndAllowThreads(__tstate
);
23343 if (PyErr_Occurred()) SWIG_fail
;
23346 resultobj
= wxPyMake_wxObject(result
, 0);
23354 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23355 PyObject
*resultobj
;
23356 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23358 PyObject
* obj0
= 0 ;
23359 PyObject
* obj1
= 0 ;
23360 char *kwnames
[] = {
23361 (char *) "self",(char *) "flag", NULL
23364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
23365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23366 if (SWIG_arg_fail(1)) SWIG_fail
;
23368 arg2
= (bool)(SWIG_As_bool(obj1
));
23369 if (SWIG_arg_fail(2)) SWIG_fail
;
23372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23373 (arg1
)->SetExitOnFrameDelete(arg2
);
23375 wxPyEndAllowThreads(__tstate
);
23376 if (PyErr_Occurred()) SWIG_fail
;
23378 Py_INCREF(Py_None
); resultobj
= Py_None
;
23385 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23386 PyObject
*resultobj
;
23387 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23389 PyObject
* obj0
= 0 ;
23390 char *kwnames
[] = {
23391 (char *) "self", NULL
23394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
23395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23396 if (SWIG_arg_fail(1)) SWIG_fail
;
23398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23399 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
23401 wxPyEndAllowThreads(__tstate
);
23402 if (PyErr_Occurred()) SWIG_fail
;
23405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23413 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23414 PyObject
*resultobj
;
23415 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23417 PyObject
* obj0
= 0 ;
23418 PyObject
* obj1
= 0 ;
23419 char *kwnames
[] = {
23420 (char *) "self",(char *) "flag", NULL
23423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
23424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23425 if (SWIG_arg_fail(1)) SWIG_fail
;
23427 arg2
= (bool)(SWIG_As_bool(obj1
));
23428 if (SWIG_arg_fail(2)) SWIG_fail
;
23431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23432 (arg1
)->SetUseBestVisual(arg2
);
23434 wxPyEndAllowThreads(__tstate
);
23435 if (PyErr_Occurred()) SWIG_fail
;
23437 Py_INCREF(Py_None
); resultobj
= Py_None
;
23444 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23445 PyObject
*resultobj
;
23446 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23448 PyObject
* obj0
= 0 ;
23449 char *kwnames
[] = {
23450 (char *) "self", NULL
23453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
23454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23455 if (SWIG_arg_fail(1)) SWIG_fail
;
23457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23458 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
23460 wxPyEndAllowThreads(__tstate
);
23461 if (PyErr_Occurred()) SWIG_fail
;
23464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23472 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23473 PyObject
*resultobj
;
23474 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23476 PyObject
* obj0
= 0 ;
23477 PyObject
* obj1
= 0 ;
23478 char *kwnames
[] = {
23479 (char *) "self",(char *) "mode", NULL
23482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
23483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23484 if (SWIG_arg_fail(1)) SWIG_fail
;
23486 arg2
= (int)(SWIG_As_int(obj1
));
23487 if (SWIG_arg_fail(2)) SWIG_fail
;
23490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23491 (arg1
)->SetPrintMode(arg2
);
23493 wxPyEndAllowThreads(__tstate
);
23494 if (PyErr_Occurred()) SWIG_fail
;
23496 Py_INCREF(Py_None
); resultobj
= Py_None
;
23503 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23504 PyObject
*resultobj
;
23505 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23507 PyObject
* obj0
= 0 ;
23508 char *kwnames
[] = {
23509 (char *) "self", NULL
23512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
23513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23514 if (SWIG_arg_fail(1)) SWIG_fail
;
23516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23517 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
23519 wxPyEndAllowThreads(__tstate
);
23520 if (PyErr_Occurred()) SWIG_fail
;
23523 resultobj
= SWIG_From_int((int)(result
));
23531 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23532 PyObject
*resultobj
;
23533 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23535 PyObject
* obj0
= 0 ;
23536 PyObject
* obj1
= 0 ;
23537 char *kwnames
[] = {
23538 (char *) "self",(char *) "mode", NULL
23541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
23542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23543 if (SWIG_arg_fail(1)) SWIG_fail
;
23545 arg2
= (int)(SWIG_As_int(obj1
));
23546 if (SWIG_arg_fail(2)) SWIG_fail
;
23549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23550 (arg1
)->SetAssertMode(arg2
);
23552 wxPyEndAllowThreads(__tstate
);
23553 if (PyErr_Occurred()) SWIG_fail
;
23555 Py_INCREF(Py_None
); resultobj
= Py_None
;
23562 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23563 PyObject
*resultobj
;
23564 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23566 PyObject
* obj0
= 0 ;
23567 char *kwnames
[] = {
23568 (char *) "self", NULL
23571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
23572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23573 if (SWIG_arg_fail(1)) SWIG_fail
;
23575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23576 result
= (int)(arg1
)->GetAssertMode();
23578 wxPyEndAllowThreads(__tstate
);
23579 if (PyErr_Occurred()) SWIG_fail
;
23582 resultobj
= SWIG_From_int((int)(result
));
23590 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23591 PyObject
*resultobj
;
23593 char *kwnames
[] = {
23597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
23599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23600 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
23602 wxPyEndAllowThreads(__tstate
);
23603 if (PyErr_Occurred()) SWIG_fail
;
23606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23614 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23615 PyObject
*resultobj
;
23617 char *kwnames
[] = {
23621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
23623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23624 result
= (long)wxPyApp::GetMacAboutMenuItemId();
23626 wxPyEndAllowThreads(__tstate
);
23627 if (PyErr_Occurred()) SWIG_fail
;
23630 resultobj
= SWIG_From_long((long)(result
));
23638 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23639 PyObject
*resultobj
;
23641 char *kwnames
[] = {
23645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
23647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23648 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
23650 wxPyEndAllowThreads(__tstate
);
23651 if (PyErr_Occurred()) SWIG_fail
;
23654 resultobj
= SWIG_From_long((long)(result
));
23662 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23663 PyObject
*resultobj
;
23665 char *kwnames
[] = {
23669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
23671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23672 result
= (long)wxPyApp::GetMacExitMenuItemId();
23674 wxPyEndAllowThreads(__tstate
);
23675 if (PyErr_Occurred()) SWIG_fail
;
23678 resultobj
= SWIG_From_long((long)(result
));
23686 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23687 PyObject
*resultobj
;
23689 char *kwnames
[] = {
23693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
23695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23696 result
= wxPyApp::GetMacHelpMenuTitleName();
23698 wxPyEndAllowThreads(__tstate
);
23699 if (PyErr_Occurred()) SWIG_fail
;
23703 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23705 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23714 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23715 PyObject
*resultobj
;
23717 PyObject
* obj0
= 0 ;
23718 char *kwnames
[] = {
23719 (char *) "val", NULL
23722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
23724 arg1
= (bool)(SWIG_As_bool(obj0
));
23725 if (SWIG_arg_fail(1)) SWIG_fail
;
23728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23729 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
23731 wxPyEndAllowThreads(__tstate
);
23732 if (PyErr_Occurred()) SWIG_fail
;
23734 Py_INCREF(Py_None
); resultobj
= Py_None
;
23741 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23742 PyObject
*resultobj
;
23744 PyObject
* obj0
= 0 ;
23745 char *kwnames
[] = {
23746 (char *) "val", NULL
23749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
23751 arg1
= (long)(SWIG_As_long(obj0
));
23752 if (SWIG_arg_fail(1)) SWIG_fail
;
23755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23756 wxPyApp::SetMacAboutMenuItemId(arg1
);
23758 wxPyEndAllowThreads(__tstate
);
23759 if (PyErr_Occurred()) SWIG_fail
;
23761 Py_INCREF(Py_None
); resultobj
= Py_None
;
23768 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23769 PyObject
*resultobj
;
23771 PyObject
* obj0
= 0 ;
23772 char *kwnames
[] = {
23773 (char *) "val", NULL
23776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
23778 arg1
= (long)(SWIG_As_long(obj0
));
23779 if (SWIG_arg_fail(1)) SWIG_fail
;
23782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23783 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
23785 wxPyEndAllowThreads(__tstate
);
23786 if (PyErr_Occurred()) SWIG_fail
;
23788 Py_INCREF(Py_None
); resultobj
= Py_None
;
23795 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23796 PyObject
*resultobj
;
23798 PyObject
* obj0
= 0 ;
23799 char *kwnames
[] = {
23800 (char *) "val", NULL
23803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
23805 arg1
= (long)(SWIG_As_long(obj0
));
23806 if (SWIG_arg_fail(1)) SWIG_fail
;
23809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23810 wxPyApp::SetMacExitMenuItemId(arg1
);
23812 wxPyEndAllowThreads(__tstate
);
23813 if (PyErr_Occurred()) SWIG_fail
;
23815 Py_INCREF(Py_None
); resultobj
= Py_None
;
23822 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23823 PyObject
*resultobj
;
23824 wxString
*arg1
= 0 ;
23825 bool temp1
= false ;
23826 PyObject
* obj0
= 0 ;
23827 char *kwnames
[] = {
23828 (char *) "val", NULL
23831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
23833 arg1
= wxString_in_helper(obj0
);
23834 if (arg1
== NULL
) SWIG_fail
;
23838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23839 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
23841 wxPyEndAllowThreads(__tstate
);
23842 if (PyErr_Occurred()) SWIG_fail
;
23844 Py_INCREF(Py_None
); resultobj
= Py_None
;
23859 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23860 PyObject
*resultobj
;
23861 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23862 PyObject
* obj0
= 0 ;
23863 char *kwnames
[] = {
23864 (char *) "self", NULL
23867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
23868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23869 if (SWIG_arg_fail(1)) SWIG_fail
;
23871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23872 (arg1
)->_BootstrapApp();
23874 wxPyEndAllowThreads(__tstate
);
23875 if (PyErr_Occurred()) SWIG_fail
;
23877 Py_INCREF(Py_None
); resultobj
= Py_None
;
23884 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23885 PyObject
*resultobj
;
23887 char *kwnames
[] = {
23891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
23893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23894 result
= (int)wxPyApp::GetComCtl32Version();
23896 wxPyEndAllowThreads(__tstate
);
23897 if (PyErr_Occurred()) SWIG_fail
;
23900 resultobj
= SWIG_From_int((int)(result
));
23908 static PyObject
* PyApp_swigregister(PyObject
*, PyObject
*args
) {
23910 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23911 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
23913 return Py_BuildValue((char *)"");
23915 static PyObject
*_wrap_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23916 PyObject
*resultobj
;
23917 char *kwnames
[] = {
23921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
23923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23926 wxPyEndAllowThreads(__tstate
);
23927 if (PyErr_Occurred()) SWIG_fail
;
23929 Py_INCREF(Py_None
); resultobj
= Py_None
;
23936 static PyObject
*_wrap_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23937 PyObject
*resultobj
;
23939 char *kwnames
[] = {
23943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
23945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23946 result
= (bool)wxYield();
23948 wxPyEndAllowThreads(__tstate
);
23949 if (PyErr_Occurred()) SWIG_fail
;
23952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23960 static PyObject
*_wrap_YieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23961 PyObject
*resultobj
;
23963 char *kwnames
[] = {
23967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
23969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23970 result
= (bool)wxYieldIfNeeded();
23972 wxPyEndAllowThreads(__tstate
);
23973 if (PyErr_Occurred()) SWIG_fail
;
23976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23984 static PyObject
*_wrap_SafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23985 PyObject
*resultobj
;
23986 wxWindow
*arg1
= (wxWindow
*) NULL
;
23987 bool arg2
= (bool) false ;
23989 PyObject
* obj0
= 0 ;
23990 PyObject
* obj1
= 0 ;
23991 char *kwnames
[] = {
23992 (char *) "win",(char *) "onlyIfNeeded", NULL
23995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
23997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23998 if (SWIG_arg_fail(1)) SWIG_fail
;
24002 arg2
= (bool)(SWIG_As_bool(obj1
));
24003 if (SWIG_arg_fail(2)) SWIG_fail
;
24007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24008 result
= (bool)wxSafeYield(arg1
,arg2
);
24010 wxPyEndAllowThreads(__tstate
);
24011 if (PyErr_Occurred()) SWIG_fail
;
24014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24022 static PyObject
*_wrap_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24023 PyObject
*resultobj
;
24024 char *kwnames
[] = {
24028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
24030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24033 wxPyEndAllowThreads(__tstate
);
24034 if (PyErr_Occurred()) SWIG_fail
;
24036 Py_INCREF(Py_None
); resultobj
= Py_None
;
24043 static PyObject
*_wrap_PostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24044 PyObject
*resultobj
;
24045 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
24046 wxEvent
*arg2
= 0 ;
24047 PyObject
* obj0
= 0 ;
24048 PyObject
* obj1
= 0 ;
24049 char *kwnames
[] = {
24050 (char *) "dest",(char *) "event", NULL
24053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
24055 if (SWIG_arg_fail(1)) SWIG_fail
;
24057 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
24058 if (SWIG_arg_fail(2)) SWIG_fail
;
24059 if (arg2
== NULL
) {
24060 SWIG_null_ref("wxEvent");
24062 if (SWIG_arg_fail(2)) SWIG_fail
;
24065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24066 wxPostEvent(arg1
,*arg2
);
24068 wxPyEndAllowThreads(__tstate
);
24069 if (PyErr_Occurred()) SWIG_fail
;
24071 Py_INCREF(Py_None
); resultobj
= Py_None
;
24078 static PyObject
*_wrap_App_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24079 PyObject
*resultobj
;
24080 char *kwnames
[] = {
24084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
24086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24089 wxPyEndAllowThreads(__tstate
);
24090 if (PyErr_Occurred()) SWIG_fail
;
24092 Py_INCREF(Py_None
); resultobj
= Py_None
;
24099 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24100 PyObject
*resultobj
;
24102 char *kwnames
[] = {
24106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
24108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24109 result
= (wxPyApp
*)wxPyGetApp();
24111 wxPyEndAllowThreads(__tstate
);
24112 if (PyErr_Occurred()) SWIG_fail
;
24115 resultobj
= wxPyMake_wxObject(result
, 0);
24123 static PyObject
*_wrap_SetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24124 PyObject
*resultobj
;
24125 char *arg1
= (char *) 0 ;
24126 PyObject
* obj0
= 0 ;
24127 char *kwnames
[] = {
24128 (char *) "encoding", NULL
24131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetDefaultPyEncoding",kwnames
,&obj0
)) goto fail
;
24132 if (!SWIG_AsCharPtr(obj0
, (char**)&arg1
)) {
24133 SWIG_arg_fail(1);SWIG_fail
;
24136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24137 wxSetDefaultPyEncoding((char const *)arg1
);
24139 wxPyEndAllowThreads(__tstate
);
24140 if (PyErr_Occurred()) SWIG_fail
;
24142 Py_INCREF(Py_None
); resultobj
= Py_None
;
24149 static PyObject
*_wrap_GetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24150 PyObject
*resultobj
;
24152 char *kwnames
[] = {
24156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDefaultPyEncoding",kwnames
)) goto fail
;
24158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24159 result
= (char *)wxGetDefaultPyEncoding();
24161 wxPyEndAllowThreads(__tstate
);
24162 if (PyErr_Occurred()) SWIG_fail
;
24164 resultobj
= SWIG_FromCharPtr(result
);
24171 static PyObject
*_wrap_new_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24172 PyObject
*resultobj
;
24173 wxEventLoop
*result
;
24174 char *kwnames
[] = {
24178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EventLoop",kwnames
)) goto fail
;
24180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24181 result
= (wxEventLoop
*)new wxEventLoop();
24183 wxPyEndAllowThreads(__tstate
);
24184 if (PyErr_Occurred()) SWIG_fail
;
24186 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 1);
24193 static PyObject
*_wrap_delete_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24194 PyObject
*resultobj
;
24195 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24196 PyObject
* obj0
= 0 ;
24197 char *kwnames
[] = {
24198 (char *) "self", NULL
24201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EventLoop",kwnames
,&obj0
)) goto fail
;
24202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24203 if (SWIG_arg_fail(1)) SWIG_fail
;
24205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24208 wxPyEndAllowThreads(__tstate
);
24209 if (PyErr_Occurred()) SWIG_fail
;
24211 Py_INCREF(Py_None
); resultobj
= Py_None
;
24218 static PyObject
*_wrap_EventLoop_Run(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24219 PyObject
*resultobj
;
24220 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24222 PyObject
* obj0
= 0 ;
24223 char *kwnames
[] = {
24224 (char *) "self", NULL
24227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Run",kwnames
,&obj0
)) goto fail
;
24228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24229 if (SWIG_arg_fail(1)) SWIG_fail
;
24231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24232 result
= (int)(arg1
)->Run();
24234 wxPyEndAllowThreads(__tstate
);
24235 if (PyErr_Occurred()) SWIG_fail
;
24238 resultobj
= SWIG_From_int((int)(result
));
24246 static PyObject
*_wrap_EventLoop_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24247 PyObject
*resultobj
;
24248 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24249 int arg2
= (int) 0 ;
24250 PyObject
* obj0
= 0 ;
24251 PyObject
* obj1
= 0 ;
24252 char *kwnames
[] = {
24253 (char *) "self",(char *) "rc", NULL
24256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) goto fail
;
24257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24258 if (SWIG_arg_fail(1)) SWIG_fail
;
24261 arg2
= (int)(SWIG_As_int(obj1
));
24262 if (SWIG_arg_fail(2)) SWIG_fail
;
24266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24267 (arg1
)->Exit(arg2
);
24269 wxPyEndAllowThreads(__tstate
);
24270 if (PyErr_Occurred()) SWIG_fail
;
24272 Py_INCREF(Py_None
); resultobj
= Py_None
;
24279 static PyObject
*_wrap_EventLoop_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24280 PyObject
*resultobj
;
24281 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24283 PyObject
* obj0
= 0 ;
24284 char *kwnames
[] = {
24285 (char *) "self", NULL
24288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Pending",kwnames
,&obj0
)) goto fail
;
24289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24290 if (SWIG_arg_fail(1)) SWIG_fail
;
24292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24293 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
24295 wxPyEndAllowThreads(__tstate
);
24296 if (PyErr_Occurred()) SWIG_fail
;
24299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24307 static PyObject
*_wrap_EventLoop_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24308 PyObject
*resultobj
;
24309 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24311 PyObject
* obj0
= 0 ;
24312 char *kwnames
[] = {
24313 (char *) "self", NULL
24316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Dispatch",kwnames
,&obj0
)) goto fail
;
24317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24318 if (SWIG_arg_fail(1)) SWIG_fail
;
24320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24321 result
= (bool)(arg1
)->Dispatch();
24323 wxPyEndAllowThreads(__tstate
);
24324 if (PyErr_Occurred()) SWIG_fail
;
24327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24335 static PyObject
*_wrap_EventLoop_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24336 PyObject
*resultobj
;
24337 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24339 PyObject
* obj0
= 0 ;
24340 char *kwnames
[] = {
24341 (char *) "self", NULL
24344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_IsRunning",kwnames
,&obj0
)) goto fail
;
24345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24346 if (SWIG_arg_fail(1)) SWIG_fail
;
24348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24349 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
24351 wxPyEndAllowThreads(__tstate
);
24352 if (PyErr_Occurred()) SWIG_fail
;
24355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24363 static PyObject
*_wrap_EventLoop_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24364 PyObject
*resultobj
;
24365 wxEventLoop
*result
;
24366 char *kwnames
[] = {
24370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EventLoop_GetActive",kwnames
)) goto fail
;
24372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24373 result
= (wxEventLoop
*)wxEventLoop::GetActive();
24375 wxPyEndAllowThreads(__tstate
);
24376 if (PyErr_Occurred()) SWIG_fail
;
24378 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 0);
24385 static PyObject
*_wrap_EventLoop_SetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24386 PyObject
*resultobj
;
24387 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24388 PyObject
* obj0
= 0 ;
24389 char *kwnames
[] = {
24390 (char *) "loop", NULL
24393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) goto fail
;
24394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24395 if (SWIG_arg_fail(1)) SWIG_fail
;
24397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24398 wxEventLoop::SetActive(arg1
);
24400 wxPyEndAllowThreads(__tstate
);
24401 if (PyErr_Occurred()) SWIG_fail
;
24403 Py_INCREF(Py_None
); resultobj
= Py_None
;
24410 static PyObject
* EventLoop_swigregister(PyObject
*, PyObject
*args
) {
24412 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24413 SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop
, obj
);
24415 return Py_BuildValue((char *)"");
24417 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24418 PyObject
*resultobj
;
24419 int arg1
= (int) 0 ;
24420 int arg2
= (int) 0 ;
24421 int arg3
= (int) 0 ;
24422 wxAcceleratorEntry
*result
;
24423 PyObject
* obj0
= 0 ;
24424 PyObject
* obj1
= 0 ;
24425 PyObject
* obj2
= 0 ;
24426 char *kwnames
[] = {
24427 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
24430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24433 arg1
= (int)(SWIG_As_int(obj0
));
24434 if (SWIG_arg_fail(1)) SWIG_fail
;
24439 arg2
= (int)(SWIG_As_int(obj1
));
24440 if (SWIG_arg_fail(2)) SWIG_fail
;
24445 arg3
= (int)(SWIG_As_int(obj2
));
24446 if (SWIG_arg_fail(3)) SWIG_fail
;
24450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24451 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
24453 wxPyEndAllowThreads(__tstate
);
24454 if (PyErr_Occurred()) SWIG_fail
;
24456 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
24463 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24464 PyObject
*resultobj
;
24465 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24466 PyObject
* obj0
= 0 ;
24467 char *kwnames
[] = {
24468 (char *) "self", NULL
24471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
24472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24473 if (SWIG_arg_fail(1)) SWIG_fail
;
24475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24478 wxPyEndAllowThreads(__tstate
);
24479 if (PyErr_Occurred()) SWIG_fail
;
24481 Py_INCREF(Py_None
); resultobj
= Py_None
;
24488 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24489 PyObject
*resultobj
;
24490 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24494 PyObject
* obj0
= 0 ;
24495 PyObject
* obj1
= 0 ;
24496 PyObject
* obj2
= 0 ;
24497 PyObject
* obj3
= 0 ;
24498 char *kwnames
[] = {
24499 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
24502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24504 if (SWIG_arg_fail(1)) SWIG_fail
;
24506 arg2
= (int)(SWIG_As_int(obj1
));
24507 if (SWIG_arg_fail(2)) SWIG_fail
;
24510 arg3
= (int)(SWIG_As_int(obj2
));
24511 if (SWIG_arg_fail(3)) SWIG_fail
;
24514 arg4
= (int)(SWIG_As_int(obj3
));
24515 if (SWIG_arg_fail(4)) SWIG_fail
;
24518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24519 (arg1
)->Set(arg2
,arg3
,arg4
);
24521 wxPyEndAllowThreads(__tstate
);
24522 if (PyErr_Occurred()) SWIG_fail
;
24524 Py_INCREF(Py_None
); resultobj
= Py_None
;
24531 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24532 PyObject
*resultobj
;
24533 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24535 PyObject
* obj0
= 0 ;
24536 char *kwnames
[] = {
24537 (char *) "self", NULL
24540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
24541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24542 if (SWIG_arg_fail(1)) SWIG_fail
;
24544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24545 result
= (int)(arg1
)->GetFlags();
24547 wxPyEndAllowThreads(__tstate
);
24548 if (PyErr_Occurred()) SWIG_fail
;
24551 resultobj
= SWIG_From_int((int)(result
));
24559 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24560 PyObject
*resultobj
;
24561 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24563 PyObject
* obj0
= 0 ;
24564 char *kwnames
[] = {
24565 (char *) "self", NULL
24568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24570 if (SWIG_arg_fail(1)) SWIG_fail
;
24572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24573 result
= (int)(arg1
)->GetKeyCode();
24575 wxPyEndAllowThreads(__tstate
);
24576 if (PyErr_Occurred()) SWIG_fail
;
24579 resultobj
= SWIG_From_int((int)(result
));
24587 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24588 PyObject
*resultobj
;
24589 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24591 PyObject
* obj0
= 0 ;
24592 char *kwnames
[] = {
24593 (char *) "self", NULL
24596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
24597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24598 if (SWIG_arg_fail(1)) SWIG_fail
;
24600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24601 result
= (int)(arg1
)->GetCommand();
24603 wxPyEndAllowThreads(__tstate
);
24604 if (PyErr_Occurred()) SWIG_fail
;
24607 resultobj
= SWIG_From_int((int)(result
));
24615 static PyObject
* AcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
24617 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24618 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
24620 return Py_BuildValue((char *)"");
24622 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24623 PyObject
*resultobj
;
24625 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
24626 wxAcceleratorTable
*result
;
24627 PyObject
* obj0
= 0 ;
24628 char *kwnames
[] = {
24632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
24634 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
24635 if (arg2
) arg1
= PyList_Size(obj0
);
24639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24640 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
24642 wxPyEndAllowThreads(__tstate
);
24643 if (PyErr_Occurred()) SWIG_fail
;
24645 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
24658 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24659 PyObject
*resultobj
;
24660 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
24661 PyObject
* obj0
= 0 ;
24662 char *kwnames
[] = {
24663 (char *) "self", NULL
24666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
24667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
24668 if (SWIG_arg_fail(1)) SWIG_fail
;
24670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24673 wxPyEndAllowThreads(__tstate
);
24674 if (PyErr_Occurred()) SWIG_fail
;
24676 Py_INCREF(Py_None
); resultobj
= Py_None
;
24683 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24684 PyObject
*resultobj
;
24685 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
24687 PyObject
* obj0
= 0 ;
24688 char *kwnames
[] = {
24689 (char *) "self", NULL
24692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
24693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
24694 if (SWIG_arg_fail(1)) SWIG_fail
;
24696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24697 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
24699 wxPyEndAllowThreads(__tstate
);
24700 if (PyErr_Occurred()) SWIG_fail
;
24703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24711 static PyObject
* AcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
24713 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24714 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
24716 return Py_BuildValue((char *)"");
24718 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
24719 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
24724 static PyObject
*_wrap_NullAcceleratorTable_get(void) {
24727 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
24732 static PyObject
*_wrap_GetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24733 PyObject
*resultobj
;
24734 wxString
*arg1
= 0 ;
24735 wxAcceleratorEntry
*result
;
24736 bool temp1
= false ;
24737 PyObject
* obj0
= 0 ;
24738 char *kwnames
[] = {
24739 (char *) "label", NULL
24742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
24744 arg1
= wxString_in_helper(obj0
);
24745 if (arg1
== NULL
) SWIG_fail
;
24749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24750 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
24752 wxPyEndAllowThreads(__tstate
);
24753 if (PyErr_Occurred()) SWIG_fail
;
24755 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
24770 static int _wrap_PanelNameStr_set(PyObject
*) {
24771 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
24776 static PyObject
*_wrap_PanelNameStr_get(void) {
24781 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24783 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24790 static PyObject
*_wrap_new_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24791 PyObject
*resultobj
;
24792 wxVisualAttributes
*result
;
24793 char *kwnames
[] = {
24797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
24799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24800 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
24802 wxPyEndAllowThreads(__tstate
);
24803 if (PyErr_Occurred()) SWIG_fail
;
24805 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
24812 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24813 PyObject
*resultobj
;
24814 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24815 PyObject
* obj0
= 0 ;
24816 char *kwnames
[] = {
24817 (char *) "self", NULL
24820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
24821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24822 if (SWIG_arg_fail(1)) SWIG_fail
;
24824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24825 delete_wxVisualAttributes(arg1
);
24827 wxPyEndAllowThreads(__tstate
);
24828 if (PyErr_Occurred()) SWIG_fail
;
24830 Py_INCREF(Py_None
); resultobj
= Py_None
;
24837 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24838 PyObject
*resultobj
;
24839 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24840 wxFont
*arg2
= (wxFont
*) 0 ;
24841 PyObject
* obj0
= 0 ;
24842 PyObject
* obj1
= 0 ;
24843 char *kwnames
[] = {
24844 (char *) "self",(char *) "font", NULL
24847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) 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 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
24851 if (SWIG_arg_fail(2)) SWIG_fail
;
24852 if (arg1
) (arg1
)->font
= *arg2
;
24854 Py_INCREF(Py_None
); resultobj
= Py_None
;
24861 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24862 PyObject
*resultobj
;
24863 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24865 PyObject
* obj0
= 0 ;
24866 char *kwnames
[] = {
24867 (char *) "self", NULL
24870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
24871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24872 if (SWIG_arg_fail(1)) SWIG_fail
;
24873 result
= (wxFont
*)& ((arg1
)->font
);
24875 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
24882 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24883 PyObject
*resultobj
;
24884 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24885 wxColour
*arg2
= (wxColour
*) 0 ;
24886 PyObject
* obj0
= 0 ;
24887 PyObject
* obj1
= 0 ;
24888 char *kwnames
[] = {
24889 (char *) "self",(char *) "colFg", NULL
24892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) 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 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24896 if (SWIG_arg_fail(2)) SWIG_fail
;
24897 if (arg1
) (arg1
)->colFg
= *arg2
;
24899 Py_INCREF(Py_None
); resultobj
= Py_None
;
24906 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24907 PyObject
*resultobj
;
24908 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24910 PyObject
* obj0
= 0 ;
24911 char *kwnames
[] = {
24912 (char *) "self", NULL
24915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
24916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24917 if (SWIG_arg_fail(1)) SWIG_fail
;
24918 result
= (wxColour
*)& ((arg1
)->colFg
);
24920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24927 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24928 PyObject
*resultobj
;
24929 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24930 wxColour
*arg2
= (wxColour
*) 0 ;
24931 PyObject
* obj0
= 0 ;
24932 PyObject
* obj1
= 0 ;
24933 char *kwnames
[] = {
24934 (char *) "self",(char *) "colBg", NULL
24937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) 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 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24941 if (SWIG_arg_fail(2)) SWIG_fail
;
24942 if (arg1
) (arg1
)->colBg
= *arg2
;
24944 Py_INCREF(Py_None
); resultobj
= Py_None
;
24951 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24952 PyObject
*resultobj
;
24953 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24955 PyObject
* obj0
= 0 ;
24956 char *kwnames
[] = {
24957 (char *) "self", NULL
24960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
24961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24962 if (SWIG_arg_fail(1)) SWIG_fail
;
24963 result
= (wxColour
*)& ((arg1
)->colBg
);
24965 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24972 static PyObject
* VisualAttributes_swigregister(PyObject
*, PyObject
*args
) {
24974 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24975 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
24977 return Py_BuildValue((char *)"");
24979 static PyObject
*_wrap_new_Window(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24980 PyObject
*resultobj
;
24981 wxWindow
*arg1
= (wxWindow
*) 0 ;
24982 int arg2
= (int) (int)-1 ;
24983 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24984 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24985 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24986 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24987 long arg5
= (long) 0 ;
24988 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
24989 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
24993 bool temp6
= false ;
24994 PyObject
* obj0
= 0 ;
24995 PyObject
* obj1
= 0 ;
24996 PyObject
* obj2
= 0 ;
24997 PyObject
* obj3
= 0 ;
24998 PyObject
* obj4
= 0 ;
24999 PyObject
* obj5
= 0 ;
25000 char *kwnames
[] = {
25001 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25006 if (SWIG_arg_fail(1)) SWIG_fail
;
25009 arg2
= (int const)(SWIG_As_int(obj1
));
25010 if (SWIG_arg_fail(2)) SWIG_fail
;
25016 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25022 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25027 arg5
= (long)(SWIG_As_long(obj4
));
25028 if (SWIG_arg_fail(5)) SWIG_fail
;
25033 arg6
= wxString_in_helper(obj5
);
25034 if (arg6
== NULL
) SWIG_fail
;
25039 if (!wxPyCheckForApp()) SWIG_fail
;
25040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25041 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25043 wxPyEndAllowThreads(__tstate
);
25044 if (PyErr_Occurred()) SWIG_fail
;
25046 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
25061 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25062 PyObject
*resultobj
;
25064 char *kwnames
[] = {
25068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
25070 if (!wxPyCheckForApp()) SWIG_fail
;
25071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25072 result
= (wxWindow
*)new wxWindow();
25074 wxPyEndAllowThreads(__tstate
);
25075 if (PyErr_Occurred()) SWIG_fail
;
25077 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
25084 static PyObject
*_wrap_Window_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25085 PyObject
*resultobj
;
25086 wxWindow
*arg1
= (wxWindow
*) 0 ;
25087 wxWindow
*arg2
= (wxWindow
*) 0 ;
25088 int arg3
= (int) (int)-1 ;
25089 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25090 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25091 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25092 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25093 long arg6
= (long) 0 ;
25094 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
25095 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25099 bool temp7
= false ;
25100 PyObject
* obj0
= 0 ;
25101 PyObject
* obj1
= 0 ;
25102 PyObject
* obj2
= 0 ;
25103 PyObject
* obj3
= 0 ;
25104 PyObject
* obj4
= 0 ;
25105 PyObject
* obj5
= 0 ;
25106 PyObject
* obj6
= 0 ;
25107 char *kwnames
[] = {
25108 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25113 if (SWIG_arg_fail(1)) SWIG_fail
;
25114 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25115 if (SWIG_arg_fail(2)) SWIG_fail
;
25118 arg3
= (int const)(SWIG_As_int(obj2
));
25119 if (SWIG_arg_fail(3)) SWIG_fail
;
25125 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25131 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25136 arg6
= (long)(SWIG_As_long(obj5
));
25137 if (SWIG_arg_fail(6)) SWIG_fail
;
25142 arg7
= wxString_in_helper(obj6
);
25143 if (arg7
== NULL
) SWIG_fail
;
25148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25149 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25151 wxPyEndAllowThreads(__tstate
);
25152 if (PyErr_Occurred()) SWIG_fail
;
25155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25171 static PyObject
*_wrap_Window_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25172 PyObject
*resultobj
;
25173 wxWindow
*arg1
= (wxWindow
*) 0 ;
25174 bool arg2
= (bool) false ;
25176 PyObject
* obj0
= 0 ;
25177 PyObject
* obj1
= 0 ;
25178 char *kwnames
[] = {
25179 (char *) "self",(char *) "force", NULL
25182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
25183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25184 if (SWIG_arg_fail(1)) SWIG_fail
;
25187 arg2
= (bool)(SWIG_As_bool(obj1
));
25188 if (SWIG_arg_fail(2)) SWIG_fail
;
25192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25193 result
= (bool)(arg1
)->Close(arg2
);
25195 wxPyEndAllowThreads(__tstate
);
25196 if (PyErr_Occurred()) SWIG_fail
;
25199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25207 static PyObject
*_wrap_Window_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25208 PyObject
*resultobj
;
25209 wxWindow
*arg1
= (wxWindow
*) 0 ;
25211 PyObject
* obj0
= 0 ;
25212 char *kwnames
[] = {
25213 (char *) "self", NULL
25216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
25217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25218 if (SWIG_arg_fail(1)) SWIG_fail
;
25220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25221 result
= (bool)(arg1
)->Destroy();
25223 wxPyEndAllowThreads(__tstate
);
25224 if (PyErr_Occurred()) SWIG_fail
;
25227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25235 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25236 PyObject
*resultobj
;
25237 wxWindow
*arg1
= (wxWindow
*) 0 ;
25239 PyObject
* obj0
= 0 ;
25240 char *kwnames
[] = {
25241 (char *) "self", NULL
25244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
25245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25246 if (SWIG_arg_fail(1)) SWIG_fail
;
25248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25249 result
= (bool)(arg1
)->DestroyChildren();
25251 wxPyEndAllowThreads(__tstate
);
25252 if (PyErr_Occurred()) SWIG_fail
;
25255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25263 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25264 PyObject
*resultobj
;
25265 wxWindow
*arg1
= (wxWindow
*) 0 ;
25267 PyObject
* obj0
= 0 ;
25268 char *kwnames
[] = {
25269 (char *) "self", NULL
25272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
25273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25274 if (SWIG_arg_fail(1)) SWIG_fail
;
25276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25277 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
25279 wxPyEndAllowThreads(__tstate
);
25280 if (PyErr_Occurred()) SWIG_fail
;
25283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25291 static PyObject
*_wrap_Window_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25292 PyObject
*resultobj
;
25293 wxWindow
*arg1
= (wxWindow
*) 0 ;
25294 wxString
*arg2
= 0 ;
25295 bool temp2
= false ;
25296 PyObject
* obj0
= 0 ;
25297 PyObject
* obj1
= 0 ;
25298 char *kwnames
[] = {
25299 (char *) "self",(char *) "title", NULL
25302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
25303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25304 if (SWIG_arg_fail(1)) SWIG_fail
;
25306 arg2
= wxString_in_helper(obj1
);
25307 if (arg2
== NULL
) SWIG_fail
;
25311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25312 (arg1
)->SetTitle((wxString
const &)*arg2
);
25314 wxPyEndAllowThreads(__tstate
);
25315 if (PyErr_Occurred()) SWIG_fail
;
25317 Py_INCREF(Py_None
); resultobj
= Py_None
;
25332 static PyObject
*_wrap_Window_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25333 PyObject
*resultobj
;
25334 wxWindow
*arg1
= (wxWindow
*) 0 ;
25336 PyObject
* obj0
= 0 ;
25337 char *kwnames
[] = {
25338 (char *) "self", NULL
25341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
25342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25343 if (SWIG_arg_fail(1)) SWIG_fail
;
25345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25346 result
= ((wxWindow
const *)arg1
)->GetTitle();
25348 wxPyEndAllowThreads(__tstate
);
25349 if (PyErr_Occurred()) SWIG_fail
;
25353 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25355 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25364 static PyObject
*_wrap_Window_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25365 PyObject
*resultobj
;
25366 wxWindow
*arg1
= (wxWindow
*) 0 ;
25367 wxString
*arg2
= 0 ;
25368 bool temp2
= false ;
25369 PyObject
* obj0
= 0 ;
25370 PyObject
* obj1
= 0 ;
25371 char *kwnames
[] = {
25372 (char *) "self",(char *) "label", NULL
25375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25377 if (SWIG_arg_fail(1)) SWIG_fail
;
25379 arg2
= wxString_in_helper(obj1
);
25380 if (arg2
== NULL
) SWIG_fail
;
25384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25385 (arg1
)->SetLabel((wxString
const &)*arg2
);
25387 wxPyEndAllowThreads(__tstate
);
25388 if (PyErr_Occurred()) SWIG_fail
;
25390 Py_INCREF(Py_None
); resultobj
= Py_None
;
25405 static PyObject
*_wrap_Window_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25406 PyObject
*resultobj
;
25407 wxWindow
*arg1
= (wxWindow
*) 0 ;
25409 PyObject
* obj0
= 0 ;
25410 char *kwnames
[] = {
25411 (char *) "self", NULL
25414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
25415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25416 if (SWIG_arg_fail(1)) SWIG_fail
;
25418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25419 result
= ((wxWindow
const *)arg1
)->GetLabel();
25421 wxPyEndAllowThreads(__tstate
);
25422 if (PyErr_Occurred()) SWIG_fail
;
25426 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25428 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25437 static PyObject
*_wrap_Window_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25438 PyObject
*resultobj
;
25439 wxWindow
*arg1
= (wxWindow
*) 0 ;
25440 wxString
*arg2
= 0 ;
25441 bool temp2
= false ;
25442 PyObject
* obj0
= 0 ;
25443 PyObject
* obj1
= 0 ;
25444 char *kwnames
[] = {
25445 (char *) "self",(char *) "name", NULL
25448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
25449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25450 if (SWIG_arg_fail(1)) SWIG_fail
;
25452 arg2
= wxString_in_helper(obj1
);
25453 if (arg2
== NULL
) SWIG_fail
;
25457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25458 (arg1
)->SetName((wxString
const &)*arg2
);
25460 wxPyEndAllowThreads(__tstate
);
25461 if (PyErr_Occurred()) SWIG_fail
;
25463 Py_INCREF(Py_None
); resultobj
= Py_None
;
25478 static PyObject
*_wrap_Window_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25479 PyObject
*resultobj
;
25480 wxWindow
*arg1
= (wxWindow
*) 0 ;
25482 PyObject
* obj0
= 0 ;
25483 char *kwnames
[] = {
25484 (char *) "self", NULL
25487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
25488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25489 if (SWIG_arg_fail(1)) SWIG_fail
;
25491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25492 result
= ((wxWindow
const *)arg1
)->GetName();
25494 wxPyEndAllowThreads(__tstate
);
25495 if (PyErr_Occurred()) SWIG_fail
;
25499 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25501 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25510 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25511 PyObject
*resultobj
;
25512 wxWindow
*arg1
= (wxWindow
*) 0 ;
25513 wxWindowVariant arg2
;
25514 PyObject
* obj0
= 0 ;
25515 PyObject
* obj1
= 0 ;
25516 char *kwnames
[] = {
25517 (char *) "self",(char *) "variant", NULL
25520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
25521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25522 if (SWIG_arg_fail(1)) SWIG_fail
;
25524 arg2
= (wxWindowVariant
)(SWIG_As_int(obj1
));
25525 if (SWIG_arg_fail(2)) SWIG_fail
;
25528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25529 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
25531 wxPyEndAllowThreads(__tstate
);
25532 if (PyErr_Occurred()) SWIG_fail
;
25534 Py_INCREF(Py_None
); resultobj
= Py_None
;
25541 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25542 PyObject
*resultobj
;
25543 wxWindow
*arg1
= (wxWindow
*) 0 ;
25544 wxWindowVariant result
;
25545 PyObject
* obj0
= 0 ;
25546 char *kwnames
[] = {
25547 (char *) "self", NULL
25550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
25551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25552 if (SWIG_arg_fail(1)) SWIG_fail
;
25554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25555 result
= (wxWindowVariant
)((wxWindow
const *)arg1
)->GetWindowVariant();
25557 wxPyEndAllowThreads(__tstate
);
25558 if (PyErr_Occurred()) SWIG_fail
;
25560 resultobj
= SWIG_From_int((result
));
25567 static PyObject
*_wrap_Window_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25568 PyObject
*resultobj
;
25569 wxWindow
*arg1
= (wxWindow
*) 0 ;
25571 PyObject
* obj0
= 0 ;
25572 PyObject
* obj1
= 0 ;
25573 char *kwnames
[] = {
25574 (char *) "self",(char *) "winid", NULL
25577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
25578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25579 if (SWIG_arg_fail(1)) SWIG_fail
;
25581 arg2
= (int)(SWIG_As_int(obj1
));
25582 if (SWIG_arg_fail(2)) SWIG_fail
;
25585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25586 (arg1
)->SetId(arg2
);
25588 wxPyEndAllowThreads(__tstate
);
25589 if (PyErr_Occurred()) SWIG_fail
;
25591 Py_INCREF(Py_None
); resultobj
= Py_None
;
25598 static PyObject
*_wrap_Window_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25599 PyObject
*resultobj
;
25600 wxWindow
*arg1
= (wxWindow
*) 0 ;
25602 PyObject
* obj0
= 0 ;
25603 char *kwnames
[] = {
25604 (char *) "self", NULL
25607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
25608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25609 if (SWIG_arg_fail(1)) SWIG_fail
;
25611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25612 result
= (int)((wxWindow
const *)arg1
)->GetId();
25614 wxPyEndAllowThreads(__tstate
);
25615 if (PyErr_Occurred()) SWIG_fail
;
25618 resultobj
= SWIG_From_int((int)(result
));
25626 static PyObject
*_wrap_Window_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25627 PyObject
*resultobj
;
25629 char *kwnames
[] = {
25633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
25635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25636 result
= (int)wxWindow::NewControlId();
25638 wxPyEndAllowThreads(__tstate
);
25639 if (PyErr_Occurred()) SWIG_fail
;
25642 resultobj
= SWIG_From_int((int)(result
));
25650 static PyObject
*_wrap_Window_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25651 PyObject
*resultobj
;
25654 PyObject
* obj0
= 0 ;
25655 char *kwnames
[] = {
25656 (char *) "winid", NULL
25659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
25661 arg1
= (int)(SWIG_As_int(obj0
));
25662 if (SWIG_arg_fail(1)) SWIG_fail
;
25665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25666 result
= (int)wxWindow::NextControlId(arg1
);
25668 wxPyEndAllowThreads(__tstate
);
25669 if (PyErr_Occurred()) SWIG_fail
;
25672 resultobj
= SWIG_From_int((int)(result
));
25680 static PyObject
*_wrap_Window_PrevControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25681 PyObject
*resultobj
;
25684 PyObject
* obj0
= 0 ;
25685 char *kwnames
[] = {
25686 (char *) "winid", NULL
25689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
25691 arg1
= (int)(SWIG_As_int(obj0
));
25692 if (SWIG_arg_fail(1)) SWIG_fail
;
25695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25696 result
= (int)wxWindow::PrevControlId(arg1
);
25698 wxPyEndAllowThreads(__tstate
);
25699 if (PyErr_Occurred()) SWIG_fail
;
25702 resultobj
= SWIG_From_int((int)(result
));
25710 static PyObject
*_wrap_Window_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25711 PyObject
*resultobj
;
25712 wxWindow
*arg1
= (wxWindow
*) 0 ;
25715 PyObject
* obj0
= 0 ;
25716 PyObject
* obj1
= 0 ;
25717 char *kwnames
[] = {
25718 (char *) "self",(char *) "size", NULL
25721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25723 if (SWIG_arg_fail(1)) SWIG_fail
;
25726 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25730 (arg1
)->SetSize((wxSize
const &)*arg2
);
25732 wxPyEndAllowThreads(__tstate
);
25733 if (PyErr_Occurred()) SWIG_fail
;
25735 Py_INCREF(Py_None
); resultobj
= Py_None
;
25742 static PyObject
*_wrap_Window_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25743 PyObject
*resultobj
;
25744 wxWindow
*arg1
= (wxWindow
*) 0 ;
25749 int arg6
= (int) wxSIZE_AUTO
;
25750 PyObject
* obj0
= 0 ;
25751 PyObject
* obj1
= 0 ;
25752 PyObject
* obj2
= 0 ;
25753 PyObject
* obj3
= 0 ;
25754 PyObject
* obj4
= 0 ;
25755 PyObject
* obj5
= 0 ;
25756 char *kwnames
[] = {
25757 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
25760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25762 if (SWIG_arg_fail(1)) SWIG_fail
;
25764 arg2
= (int)(SWIG_As_int(obj1
));
25765 if (SWIG_arg_fail(2)) SWIG_fail
;
25768 arg3
= (int)(SWIG_As_int(obj2
));
25769 if (SWIG_arg_fail(3)) SWIG_fail
;
25772 arg4
= (int)(SWIG_As_int(obj3
));
25773 if (SWIG_arg_fail(4)) SWIG_fail
;
25776 arg5
= (int)(SWIG_As_int(obj4
));
25777 if (SWIG_arg_fail(5)) SWIG_fail
;
25781 arg6
= (int)(SWIG_As_int(obj5
));
25782 if (SWIG_arg_fail(6)) SWIG_fail
;
25786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25787 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
25789 wxPyEndAllowThreads(__tstate
);
25790 if (PyErr_Occurred()) SWIG_fail
;
25792 Py_INCREF(Py_None
); resultobj
= Py_None
;
25799 static PyObject
*_wrap_Window_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25800 PyObject
*resultobj
;
25801 wxWindow
*arg1
= (wxWindow
*) 0 ;
25803 int arg3
= (int) wxSIZE_AUTO
;
25805 PyObject
* obj0
= 0 ;
25806 PyObject
* obj1
= 0 ;
25807 PyObject
* obj2
= 0 ;
25808 char *kwnames
[] = {
25809 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
25812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25814 if (SWIG_arg_fail(1)) SWIG_fail
;
25817 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25821 arg3
= (int)(SWIG_As_int(obj2
));
25822 if (SWIG_arg_fail(3)) SWIG_fail
;
25826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25827 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
25829 wxPyEndAllowThreads(__tstate
);
25830 if (PyErr_Occurred()) SWIG_fail
;
25832 Py_INCREF(Py_None
); resultobj
= Py_None
;
25839 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25840 PyObject
*resultobj
;
25841 wxWindow
*arg1
= (wxWindow
*) 0 ;
25844 PyObject
* obj0
= 0 ;
25845 PyObject
* obj1
= 0 ;
25846 PyObject
* obj2
= 0 ;
25847 char *kwnames
[] = {
25848 (char *) "self",(char *) "width",(char *) "height", NULL
25851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25853 if (SWIG_arg_fail(1)) SWIG_fail
;
25855 arg2
= (int)(SWIG_As_int(obj1
));
25856 if (SWIG_arg_fail(2)) SWIG_fail
;
25859 arg3
= (int)(SWIG_As_int(obj2
));
25860 if (SWIG_arg_fail(3)) SWIG_fail
;
25863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25864 (arg1
)->SetSize(arg2
,arg3
);
25866 wxPyEndAllowThreads(__tstate
);
25867 if (PyErr_Occurred()) SWIG_fail
;
25869 Py_INCREF(Py_None
); resultobj
= Py_None
;
25876 static PyObject
*_wrap_Window_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25877 PyObject
*resultobj
;
25878 wxWindow
*arg1
= (wxWindow
*) 0 ;
25879 wxPoint
*arg2
= 0 ;
25880 int arg3
= (int) wxSIZE_USE_EXISTING
;
25882 PyObject
* obj0
= 0 ;
25883 PyObject
* obj1
= 0 ;
25884 PyObject
* obj2
= 0 ;
25885 char *kwnames
[] = {
25886 (char *) "self",(char *) "pt",(char *) "flags", NULL
25889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25891 if (SWIG_arg_fail(1)) SWIG_fail
;
25894 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25898 arg3
= (int)(SWIG_As_int(obj2
));
25899 if (SWIG_arg_fail(3)) SWIG_fail
;
25903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25904 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
25906 wxPyEndAllowThreads(__tstate
);
25907 if (PyErr_Occurred()) SWIG_fail
;
25909 Py_INCREF(Py_None
); resultobj
= Py_None
;
25916 static PyObject
*_wrap_Window_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25917 PyObject
*resultobj
;
25918 wxWindow
*arg1
= (wxWindow
*) 0 ;
25921 int arg4
= (int) wxSIZE_USE_EXISTING
;
25922 PyObject
* obj0
= 0 ;
25923 PyObject
* obj1
= 0 ;
25924 PyObject
* obj2
= 0 ;
25925 PyObject
* obj3
= 0 ;
25926 char *kwnames
[] = {
25927 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
25930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25932 if (SWIG_arg_fail(1)) SWIG_fail
;
25934 arg2
= (int)(SWIG_As_int(obj1
));
25935 if (SWIG_arg_fail(2)) SWIG_fail
;
25938 arg3
= (int)(SWIG_As_int(obj2
));
25939 if (SWIG_arg_fail(3)) SWIG_fail
;
25943 arg4
= (int)(SWIG_As_int(obj3
));
25944 if (SWIG_arg_fail(4)) SWIG_fail
;
25948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25949 (arg1
)->Move(arg2
,arg3
,arg4
);
25951 wxPyEndAllowThreads(__tstate
);
25952 if (PyErr_Occurred()) SWIG_fail
;
25954 Py_INCREF(Py_None
); resultobj
= Py_None
;
25961 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25962 PyObject
*resultobj
;
25963 wxWindow
*arg1
= (wxWindow
*) 0 ;
25964 wxSize
const &arg2_defvalue
= wxDefaultSize
;
25965 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
25967 PyObject
* obj0
= 0 ;
25968 PyObject
* obj1
= 0 ;
25969 char *kwnames
[] = {
25970 (char *) "self",(char *) "size", NULL
25973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25975 if (SWIG_arg_fail(1)) SWIG_fail
;
25979 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25984 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
25986 wxPyEndAllowThreads(__tstate
);
25987 if (PyErr_Occurred()) SWIG_fail
;
25989 Py_INCREF(Py_None
); resultobj
= Py_None
;
25996 static PyObject
*_wrap_Window_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25997 PyObject
*resultobj
;
25998 wxWindow
*arg1
= (wxWindow
*) 0 ;
25999 PyObject
* obj0
= 0 ;
26000 char *kwnames
[] = {
26001 (char *) "self", NULL
26004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
26005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26006 if (SWIG_arg_fail(1)) SWIG_fail
;
26008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26011 wxPyEndAllowThreads(__tstate
);
26012 if (PyErr_Occurred()) SWIG_fail
;
26014 Py_INCREF(Py_None
); resultobj
= Py_None
;
26021 static PyObject
*_wrap_Window_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26022 PyObject
*resultobj
;
26023 wxWindow
*arg1
= (wxWindow
*) 0 ;
26024 PyObject
* obj0
= 0 ;
26025 char *kwnames
[] = {
26026 (char *) "self", NULL
26029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
26030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26031 if (SWIG_arg_fail(1)) SWIG_fail
;
26033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26036 wxPyEndAllowThreads(__tstate
);
26037 if (PyErr_Occurred()) SWIG_fail
;
26039 Py_INCREF(Py_None
); resultobj
= Py_None
;
26046 static PyObject
*_wrap_Window_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26047 PyObject
*resultobj
;
26048 wxWindow
*arg1
= (wxWindow
*) 0 ;
26051 PyObject
* obj0
= 0 ;
26052 PyObject
* obj1
= 0 ;
26053 char *kwnames
[] = {
26054 (char *) "self",(char *) "size", NULL
26057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26059 if (SWIG_arg_fail(1)) SWIG_fail
;
26062 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26066 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
26068 wxPyEndAllowThreads(__tstate
);
26069 if (PyErr_Occurred()) SWIG_fail
;
26071 Py_INCREF(Py_None
); resultobj
= Py_None
;
26078 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26079 PyObject
*resultobj
;
26080 wxWindow
*arg1
= (wxWindow
*) 0 ;
26083 PyObject
* obj0
= 0 ;
26084 PyObject
* obj1
= 0 ;
26085 PyObject
* obj2
= 0 ;
26086 char *kwnames
[] = {
26087 (char *) "self",(char *) "width",(char *) "height", NULL
26090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26092 if (SWIG_arg_fail(1)) SWIG_fail
;
26094 arg2
= (int)(SWIG_As_int(obj1
));
26095 if (SWIG_arg_fail(2)) SWIG_fail
;
26098 arg3
= (int)(SWIG_As_int(obj2
));
26099 if (SWIG_arg_fail(3)) SWIG_fail
;
26102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26103 (arg1
)->SetClientSize(arg2
,arg3
);
26105 wxPyEndAllowThreads(__tstate
);
26106 if (PyErr_Occurred()) SWIG_fail
;
26108 Py_INCREF(Py_None
); resultobj
= Py_None
;
26115 static PyObject
*_wrap_Window_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26116 PyObject
*resultobj
;
26117 wxWindow
*arg1
= (wxWindow
*) 0 ;
26120 PyObject
* obj0
= 0 ;
26121 PyObject
* obj1
= 0 ;
26122 char *kwnames
[] = {
26123 (char *) "self",(char *) "rect", NULL
26126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26128 if (SWIG_arg_fail(1)) SWIG_fail
;
26131 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26135 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
26137 wxPyEndAllowThreads(__tstate
);
26138 if (PyErr_Occurred()) SWIG_fail
;
26140 Py_INCREF(Py_None
); resultobj
= Py_None
;
26147 static PyObject
*_wrap_Window_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26148 PyObject
*resultobj
;
26149 wxWindow
*arg1
= (wxWindow
*) 0 ;
26151 PyObject
* obj0
= 0 ;
26152 char *kwnames
[] = {
26153 (char *) "self", NULL
26156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
26157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26158 if (SWIG_arg_fail(1)) SWIG_fail
;
26160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26161 result
= (arg1
)->GetPosition();
26163 wxPyEndAllowThreads(__tstate
);
26164 if (PyErr_Occurred()) SWIG_fail
;
26167 wxPoint
* resultptr
;
26168 resultptr
= new wxPoint((wxPoint
&)(result
));
26169 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26177 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26178 PyObject
*resultobj
;
26179 wxWindow
*arg1
= (wxWindow
*) 0 ;
26180 int *arg2
= (int *) 0 ;
26181 int *arg3
= (int *) 0 ;
26186 PyObject
* obj0
= 0 ;
26187 char *kwnames
[] = {
26188 (char *) "self", NULL
26191 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26192 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
26194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26195 if (SWIG_arg_fail(1)) SWIG_fail
;
26197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26198 (arg1
)->GetPosition(arg2
,arg3
);
26200 wxPyEndAllowThreads(__tstate
);
26201 if (PyErr_Occurred()) SWIG_fail
;
26203 Py_INCREF(Py_None
); resultobj
= Py_None
;
26204 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26205 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26206 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26207 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26214 static PyObject
*_wrap_Window_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26215 PyObject
*resultobj
;
26216 wxWindow
*arg1
= (wxWindow
*) 0 ;
26218 PyObject
* obj0
= 0 ;
26219 char *kwnames
[] = {
26220 (char *) "self", NULL
26223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
26224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26225 if (SWIG_arg_fail(1)) SWIG_fail
;
26227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26228 result
= ((wxWindow
const *)arg1
)->GetSize();
26230 wxPyEndAllowThreads(__tstate
);
26231 if (PyErr_Occurred()) SWIG_fail
;
26234 wxSize
* resultptr
;
26235 resultptr
= new wxSize((wxSize
&)(result
));
26236 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26244 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26245 PyObject
*resultobj
;
26246 wxWindow
*arg1
= (wxWindow
*) 0 ;
26247 int *arg2
= (int *) 0 ;
26248 int *arg3
= (int *) 0 ;
26253 PyObject
* obj0
= 0 ;
26254 char *kwnames
[] = {
26255 (char *) "self", NULL
26258 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26259 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
26261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26262 if (SWIG_arg_fail(1)) SWIG_fail
;
26264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26265 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
26267 wxPyEndAllowThreads(__tstate
);
26268 if (PyErr_Occurred()) SWIG_fail
;
26270 Py_INCREF(Py_None
); resultobj
= Py_None
;
26271 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26272 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26273 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26274 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26281 static PyObject
*_wrap_Window_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26282 PyObject
*resultobj
;
26283 wxWindow
*arg1
= (wxWindow
*) 0 ;
26285 PyObject
* obj0
= 0 ;
26286 char *kwnames
[] = {
26287 (char *) "self", NULL
26290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
26291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26292 if (SWIG_arg_fail(1)) SWIG_fail
;
26294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26295 result
= ((wxWindow
const *)arg1
)->GetRect();
26297 wxPyEndAllowThreads(__tstate
);
26298 if (PyErr_Occurred()) SWIG_fail
;
26301 wxRect
* resultptr
;
26302 resultptr
= new wxRect((wxRect
&)(result
));
26303 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26311 static PyObject
*_wrap_Window_GetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26312 PyObject
*resultobj
;
26313 wxWindow
*arg1
= (wxWindow
*) 0 ;
26315 PyObject
* obj0
= 0 ;
26316 char *kwnames
[] = {
26317 (char *) "self", NULL
26320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
26321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26322 if (SWIG_arg_fail(1)) SWIG_fail
;
26324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26325 result
= ((wxWindow
const *)arg1
)->GetClientSize();
26327 wxPyEndAllowThreads(__tstate
);
26328 if (PyErr_Occurred()) SWIG_fail
;
26331 wxSize
* resultptr
;
26332 resultptr
= new wxSize((wxSize
&)(result
));
26333 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26341 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26342 PyObject
*resultobj
;
26343 wxWindow
*arg1
= (wxWindow
*) 0 ;
26344 int *arg2
= (int *) 0 ;
26345 int *arg3
= (int *) 0 ;
26350 PyObject
* obj0
= 0 ;
26351 char *kwnames
[] = {
26352 (char *) "self", NULL
26355 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26356 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
26358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26359 if (SWIG_arg_fail(1)) SWIG_fail
;
26361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26362 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
26364 wxPyEndAllowThreads(__tstate
);
26365 if (PyErr_Occurred()) SWIG_fail
;
26367 Py_INCREF(Py_None
); resultobj
= Py_None
;
26368 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26369 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26370 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26371 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26378 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26379 PyObject
*resultobj
;
26380 wxWindow
*arg1
= (wxWindow
*) 0 ;
26382 PyObject
* obj0
= 0 ;
26383 char *kwnames
[] = {
26384 (char *) "self", NULL
26387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
26388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26389 if (SWIG_arg_fail(1)) SWIG_fail
;
26391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26392 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
26394 wxPyEndAllowThreads(__tstate
);
26395 if (PyErr_Occurred()) SWIG_fail
;
26398 wxPoint
* resultptr
;
26399 resultptr
= new wxPoint((wxPoint
&)(result
));
26400 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26408 static PyObject
*_wrap_Window_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26409 PyObject
*resultobj
;
26410 wxWindow
*arg1
= (wxWindow
*) 0 ;
26412 PyObject
* obj0
= 0 ;
26413 char *kwnames
[] = {
26414 (char *) "self", NULL
26417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
26418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26419 if (SWIG_arg_fail(1)) SWIG_fail
;
26421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26422 result
= ((wxWindow
const *)arg1
)->GetClientRect();
26424 wxPyEndAllowThreads(__tstate
);
26425 if (PyErr_Occurred()) SWIG_fail
;
26428 wxRect
* resultptr
;
26429 resultptr
= new wxRect((wxRect
&)(result
));
26430 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26438 static PyObject
*_wrap_Window_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26439 PyObject
*resultobj
;
26440 wxWindow
*arg1
= (wxWindow
*) 0 ;
26442 PyObject
* obj0
= 0 ;
26443 char *kwnames
[] = {
26444 (char *) "self", NULL
26447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
26448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26449 if (SWIG_arg_fail(1)) SWIG_fail
;
26451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26452 result
= ((wxWindow
const *)arg1
)->GetBestSize();
26454 wxPyEndAllowThreads(__tstate
);
26455 if (PyErr_Occurred()) SWIG_fail
;
26458 wxSize
* resultptr
;
26459 resultptr
= new wxSize((wxSize
&)(result
));
26460 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26468 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26469 PyObject
*resultobj
;
26470 wxWindow
*arg1
= (wxWindow
*) 0 ;
26471 int *arg2
= (int *) 0 ;
26472 int *arg3
= (int *) 0 ;
26477 PyObject
* obj0
= 0 ;
26478 char *kwnames
[] = {
26479 (char *) "self", NULL
26482 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26483 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
26485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26486 if (SWIG_arg_fail(1)) SWIG_fail
;
26488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26489 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
26491 wxPyEndAllowThreads(__tstate
);
26492 if (PyErr_Occurred()) SWIG_fail
;
26494 Py_INCREF(Py_None
); resultobj
= Py_None
;
26495 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26496 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26497 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26498 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26505 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26506 PyObject
*resultobj
;
26507 wxWindow
*arg1
= (wxWindow
*) 0 ;
26508 PyObject
* obj0
= 0 ;
26509 char *kwnames
[] = {
26510 (char *) "self", NULL
26513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
26514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26515 if (SWIG_arg_fail(1)) SWIG_fail
;
26517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26518 (arg1
)->InvalidateBestSize();
26520 wxPyEndAllowThreads(__tstate
);
26521 if (PyErr_Occurred()) SWIG_fail
;
26523 Py_INCREF(Py_None
); resultobj
= Py_None
;
26530 static PyObject
*_wrap_Window_CacheBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26531 PyObject
*resultobj
;
26532 wxWindow
*arg1
= (wxWindow
*) 0 ;
26535 PyObject
* obj0
= 0 ;
26536 PyObject
* obj1
= 0 ;
26537 char *kwnames
[] = {
26538 (char *) "self",(char *) "size", NULL
26541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_CacheBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26543 if (SWIG_arg_fail(1)) SWIG_fail
;
26546 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26550 ((wxWindow
const *)arg1
)->CacheBestSize((wxSize
const &)*arg2
);
26552 wxPyEndAllowThreads(__tstate
);
26553 if (PyErr_Occurred()) SWIG_fail
;
26555 Py_INCREF(Py_None
); resultobj
= Py_None
;
26562 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26563 PyObject
*resultobj
;
26564 wxWindow
*arg1
= (wxWindow
*) 0 ;
26566 PyObject
* obj0
= 0 ;
26567 char *kwnames
[] = {
26568 (char *) "self", NULL
26571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
26572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26573 if (SWIG_arg_fail(1)) SWIG_fail
;
26575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26576 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
26578 wxPyEndAllowThreads(__tstate
);
26579 if (PyErr_Occurred()) SWIG_fail
;
26582 wxSize
* resultptr
;
26583 resultptr
= new wxSize((wxSize
&)(result
));
26584 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26592 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26593 PyObject
*resultobj
;
26594 wxWindow
*arg1
= (wxWindow
*) 0 ;
26596 PyObject
* obj0
= 0 ;
26597 char *kwnames
[] = {
26598 (char *) "self", NULL
26601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
26602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26603 if (SWIG_arg_fail(1)) SWIG_fail
;
26605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26606 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
26608 wxPyEndAllowThreads(__tstate
);
26609 if (PyErr_Occurred()) SWIG_fail
;
26612 wxSize
* resultptr
;
26613 resultptr
= new wxSize((wxSize
&)(result
));
26614 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26622 static PyObject
*_wrap_Window_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26623 PyObject
*resultobj
;
26624 wxWindow
*arg1
= (wxWindow
*) 0 ;
26625 int arg2
= (int) wxBOTH
;
26626 PyObject
* obj0
= 0 ;
26627 PyObject
* obj1
= 0 ;
26628 char *kwnames
[] = {
26629 (char *) "self",(char *) "direction", NULL
26632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
26633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26634 if (SWIG_arg_fail(1)) SWIG_fail
;
26637 arg2
= (int)(SWIG_As_int(obj1
));
26638 if (SWIG_arg_fail(2)) SWIG_fail
;
26642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26643 (arg1
)->Center(arg2
);
26645 wxPyEndAllowThreads(__tstate
);
26646 if (PyErr_Occurred()) SWIG_fail
;
26648 Py_INCREF(Py_None
); resultobj
= Py_None
;
26655 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26656 PyObject
*resultobj
;
26657 wxWindow
*arg1
= (wxWindow
*) 0 ;
26658 int arg2
= (int) wxBOTH
;
26659 PyObject
* obj0
= 0 ;
26660 PyObject
* obj1
= 0 ;
26661 char *kwnames
[] = {
26662 (char *) "self",(char *) "dir", NULL
26665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
26666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26667 if (SWIG_arg_fail(1)) SWIG_fail
;
26670 arg2
= (int)(SWIG_As_int(obj1
));
26671 if (SWIG_arg_fail(2)) SWIG_fail
;
26675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26676 (arg1
)->CenterOnScreen(arg2
);
26678 wxPyEndAllowThreads(__tstate
);
26679 if (PyErr_Occurred()) SWIG_fail
;
26681 Py_INCREF(Py_None
); resultobj
= Py_None
;
26688 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26689 PyObject
*resultobj
;
26690 wxWindow
*arg1
= (wxWindow
*) 0 ;
26691 int arg2
= (int) wxBOTH
;
26692 PyObject
* obj0
= 0 ;
26693 PyObject
* obj1
= 0 ;
26694 char *kwnames
[] = {
26695 (char *) "self",(char *) "dir", NULL
26698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26700 if (SWIG_arg_fail(1)) SWIG_fail
;
26703 arg2
= (int)(SWIG_As_int(obj1
));
26704 if (SWIG_arg_fail(2)) SWIG_fail
;
26708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26709 (arg1
)->CenterOnParent(arg2
);
26711 wxPyEndAllowThreads(__tstate
);
26712 if (PyErr_Occurred()) SWIG_fail
;
26714 Py_INCREF(Py_None
); resultobj
= Py_None
;
26721 static PyObject
*_wrap_Window_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26722 PyObject
*resultobj
;
26723 wxWindow
*arg1
= (wxWindow
*) 0 ;
26724 PyObject
* obj0
= 0 ;
26725 char *kwnames
[] = {
26726 (char *) "self", NULL
26729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
26730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26731 if (SWIG_arg_fail(1)) SWIG_fail
;
26733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26736 wxPyEndAllowThreads(__tstate
);
26737 if (PyErr_Occurred()) SWIG_fail
;
26739 Py_INCREF(Py_None
); resultobj
= Py_None
;
26746 static PyObject
*_wrap_Window_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26747 PyObject
*resultobj
;
26748 wxWindow
*arg1
= (wxWindow
*) 0 ;
26749 PyObject
* obj0
= 0 ;
26750 char *kwnames
[] = {
26751 (char *) "self", NULL
26754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
26755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26756 if (SWIG_arg_fail(1)) SWIG_fail
;
26758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26759 (arg1
)->FitInside();
26761 wxPyEndAllowThreads(__tstate
);
26762 if (PyErr_Occurred()) SWIG_fail
;
26764 Py_INCREF(Py_None
); resultobj
= Py_None
;
26771 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26772 PyObject
*resultobj
;
26773 wxWindow
*arg1
= (wxWindow
*) 0 ;
26776 int arg4
= (int) -1 ;
26777 int arg5
= (int) -1 ;
26778 int arg6
= (int) -1 ;
26779 int arg7
= (int) -1 ;
26780 PyObject
* obj0
= 0 ;
26781 PyObject
* obj1
= 0 ;
26782 PyObject
* obj2
= 0 ;
26783 PyObject
* obj3
= 0 ;
26784 PyObject
* obj4
= 0 ;
26785 PyObject
* obj5
= 0 ;
26786 PyObject
* obj6
= 0 ;
26787 char *kwnames
[] = {
26788 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
26791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26793 if (SWIG_arg_fail(1)) SWIG_fail
;
26795 arg2
= (int)(SWIG_As_int(obj1
));
26796 if (SWIG_arg_fail(2)) SWIG_fail
;
26799 arg3
= (int)(SWIG_As_int(obj2
));
26800 if (SWIG_arg_fail(3)) SWIG_fail
;
26804 arg4
= (int)(SWIG_As_int(obj3
));
26805 if (SWIG_arg_fail(4)) SWIG_fail
;
26810 arg5
= (int)(SWIG_As_int(obj4
));
26811 if (SWIG_arg_fail(5)) SWIG_fail
;
26816 arg6
= (int)(SWIG_As_int(obj5
));
26817 if (SWIG_arg_fail(6)) SWIG_fail
;
26822 arg7
= (int)(SWIG_As_int(obj6
));
26823 if (SWIG_arg_fail(7)) SWIG_fail
;
26827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26828 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26830 wxPyEndAllowThreads(__tstate
);
26831 if (PyErr_Occurred()) SWIG_fail
;
26833 Py_INCREF(Py_None
); resultobj
= Py_None
;
26840 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26841 PyObject
*resultobj
;
26842 wxWindow
*arg1
= (wxWindow
*) 0 ;
26844 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26845 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26846 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26847 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26851 PyObject
* obj0
= 0 ;
26852 PyObject
* obj1
= 0 ;
26853 PyObject
* obj2
= 0 ;
26854 PyObject
* obj3
= 0 ;
26855 char *kwnames
[] = {
26856 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
26859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26861 if (SWIG_arg_fail(1)) SWIG_fail
;
26864 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26869 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26875 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26880 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
26882 wxPyEndAllowThreads(__tstate
);
26883 if (PyErr_Occurred()) SWIG_fail
;
26885 Py_INCREF(Py_None
); resultobj
= Py_None
;
26892 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26893 PyObject
*resultobj
;
26894 wxWindow
*arg1
= (wxWindow
*) 0 ;
26897 int arg4
= (int) -1 ;
26898 int arg5
= (int) -1 ;
26899 PyObject
* obj0
= 0 ;
26900 PyObject
* obj1
= 0 ;
26901 PyObject
* obj2
= 0 ;
26902 PyObject
* obj3
= 0 ;
26903 PyObject
* obj4
= 0 ;
26904 char *kwnames
[] = {
26905 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
26908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26910 if (SWIG_arg_fail(1)) SWIG_fail
;
26912 arg2
= (int)(SWIG_As_int(obj1
));
26913 if (SWIG_arg_fail(2)) SWIG_fail
;
26916 arg3
= (int)(SWIG_As_int(obj2
));
26917 if (SWIG_arg_fail(3)) SWIG_fail
;
26921 arg4
= (int)(SWIG_As_int(obj3
));
26922 if (SWIG_arg_fail(4)) SWIG_fail
;
26927 arg5
= (int)(SWIG_As_int(obj4
));
26928 if (SWIG_arg_fail(5)) SWIG_fail
;
26932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26933 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
26935 wxPyEndAllowThreads(__tstate
);
26936 if (PyErr_Occurred()) SWIG_fail
;
26938 Py_INCREF(Py_None
); resultobj
= Py_None
;
26945 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26946 PyObject
*resultobj
;
26947 wxWindow
*arg1
= (wxWindow
*) 0 ;
26949 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26950 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26953 PyObject
* obj0
= 0 ;
26954 PyObject
* obj1
= 0 ;
26955 PyObject
* obj2
= 0 ;
26956 char *kwnames
[] = {
26957 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
26960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26962 if (SWIG_arg_fail(1)) SWIG_fail
;
26965 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26970 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26975 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
26977 wxPyEndAllowThreads(__tstate
);
26978 if (PyErr_Occurred()) SWIG_fail
;
26980 Py_INCREF(Py_None
); resultobj
= Py_None
;
26987 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26988 PyObject
*resultobj
;
26989 wxWindow
*arg1
= (wxWindow
*) 0 ;
26991 PyObject
* obj0
= 0 ;
26992 char *kwnames
[] = {
26993 (char *) "self", NULL
26996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
26997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26998 if (SWIG_arg_fail(1)) SWIG_fail
;
27000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27001 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
27003 wxPyEndAllowThreads(__tstate
);
27004 if (PyErr_Occurred()) SWIG_fail
;
27007 wxSize
* resultptr
;
27008 resultptr
= new wxSize((wxSize
&)(result
));
27009 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27017 static PyObject
*_wrap_Window_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27018 PyObject
*resultobj
;
27019 wxWindow
*arg1
= (wxWindow
*) 0 ;
27021 PyObject
* obj0
= 0 ;
27022 char *kwnames
[] = {
27023 (char *) "self", NULL
27026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
27027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27028 if (SWIG_arg_fail(1)) SWIG_fail
;
27030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27031 result
= ((wxWindow
const *)arg1
)->GetMinSize();
27033 wxPyEndAllowThreads(__tstate
);
27034 if (PyErr_Occurred()) SWIG_fail
;
27037 wxSize
* resultptr
;
27038 resultptr
= new wxSize((wxSize
&)(result
));
27039 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27047 static PyObject
*_wrap_Window_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27048 PyObject
*resultobj
;
27049 wxWindow
*arg1
= (wxWindow
*) 0 ;
27052 PyObject
* obj0
= 0 ;
27053 PyObject
* obj1
= 0 ;
27054 char *kwnames
[] = {
27055 (char *) "self",(char *) "minSize", NULL
27058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27060 if (SWIG_arg_fail(1)) SWIG_fail
;
27063 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27067 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
27069 wxPyEndAllowThreads(__tstate
);
27070 if (PyErr_Occurred()) SWIG_fail
;
27072 Py_INCREF(Py_None
); resultobj
= Py_None
;
27079 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27080 PyObject
*resultobj
;
27081 wxWindow
*arg1
= (wxWindow
*) 0 ;
27084 PyObject
* obj0
= 0 ;
27085 PyObject
* obj1
= 0 ;
27086 char *kwnames
[] = {
27087 (char *) "self",(char *) "maxSize", NULL
27090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27092 if (SWIG_arg_fail(1)) SWIG_fail
;
27095 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27099 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
27101 wxPyEndAllowThreads(__tstate
);
27102 if (PyErr_Occurred()) SWIG_fail
;
27104 Py_INCREF(Py_None
); resultobj
= Py_None
;
27111 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27112 PyObject
*resultobj
;
27113 wxWindow
*arg1
= (wxWindow
*) 0 ;
27115 PyObject
* obj0
= 0 ;
27116 char *kwnames
[] = {
27117 (char *) "self", NULL
27120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
27121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27122 if (SWIG_arg_fail(1)) SWIG_fail
;
27124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27125 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
27127 wxPyEndAllowThreads(__tstate
);
27128 if (PyErr_Occurred()) SWIG_fail
;
27131 resultobj
= SWIG_From_int((int)(result
));
27139 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27140 PyObject
*resultobj
;
27141 wxWindow
*arg1
= (wxWindow
*) 0 ;
27143 PyObject
* obj0
= 0 ;
27144 char *kwnames
[] = {
27145 (char *) "self", NULL
27148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
27149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27150 if (SWIG_arg_fail(1)) SWIG_fail
;
27152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27153 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
27155 wxPyEndAllowThreads(__tstate
);
27156 if (PyErr_Occurred()) SWIG_fail
;
27159 resultobj
= SWIG_From_int((int)(result
));
27167 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27168 PyObject
*resultobj
;
27169 wxWindow
*arg1
= (wxWindow
*) 0 ;
27171 PyObject
* obj0
= 0 ;
27172 char *kwnames
[] = {
27173 (char *) "self", NULL
27176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
27177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27178 if (SWIG_arg_fail(1)) SWIG_fail
;
27180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27181 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
27183 wxPyEndAllowThreads(__tstate
);
27184 if (PyErr_Occurred()) SWIG_fail
;
27187 resultobj
= SWIG_From_int((int)(result
));
27195 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27196 PyObject
*resultobj
;
27197 wxWindow
*arg1
= (wxWindow
*) 0 ;
27199 PyObject
* obj0
= 0 ;
27200 char *kwnames
[] = {
27201 (char *) "self", NULL
27204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
27205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27206 if (SWIG_arg_fail(1)) SWIG_fail
;
27208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27209 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
27211 wxPyEndAllowThreads(__tstate
);
27212 if (PyErr_Occurred()) SWIG_fail
;
27215 resultobj
= SWIG_From_int((int)(result
));
27223 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27224 PyObject
*resultobj
;
27225 wxWindow
*arg1
= (wxWindow
*) 0 ;
27228 PyObject
* obj0
= 0 ;
27229 PyObject
* obj1
= 0 ;
27230 char *kwnames
[] = {
27231 (char *) "self",(char *) "size", NULL
27234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27236 if (SWIG_arg_fail(1)) SWIG_fail
;
27239 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27243 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
27245 wxPyEndAllowThreads(__tstate
);
27246 if (PyErr_Occurred()) SWIG_fail
;
27248 Py_INCREF(Py_None
); resultobj
= Py_None
;
27255 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27256 PyObject
*resultobj
;
27257 wxWindow
*arg1
= (wxWindow
*) 0 ;
27260 PyObject
* obj0
= 0 ;
27261 PyObject
* obj1
= 0 ;
27262 PyObject
* obj2
= 0 ;
27263 char *kwnames
[] = {
27264 (char *) "self",(char *) "w",(char *) "h", NULL
27267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27269 if (SWIG_arg_fail(1)) SWIG_fail
;
27271 arg2
= (int)(SWIG_As_int(obj1
));
27272 if (SWIG_arg_fail(2)) SWIG_fail
;
27275 arg3
= (int)(SWIG_As_int(obj2
));
27276 if (SWIG_arg_fail(3)) SWIG_fail
;
27279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27280 (arg1
)->SetVirtualSize(arg2
,arg3
);
27282 wxPyEndAllowThreads(__tstate
);
27283 if (PyErr_Occurred()) SWIG_fail
;
27285 Py_INCREF(Py_None
); resultobj
= Py_None
;
27292 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27293 PyObject
*resultobj
;
27294 wxWindow
*arg1
= (wxWindow
*) 0 ;
27296 PyObject
* obj0
= 0 ;
27297 char *kwnames
[] = {
27298 (char *) "self", NULL
27301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
27302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27303 if (SWIG_arg_fail(1)) SWIG_fail
;
27305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27306 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
27308 wxPyEndAllowThreads(__tstate
);
27309 if (PyErr_Occurred()) SWIG_fail
;
27312 wxSize
* resultptr
;
27313 resultptr
= new wxSize((wxSize
&)(result
));
27314 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27322 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27323 PyObject
*resultobj
;
27324 wxWindow
*arg1
= (wxWindow
*) 0 ;
27325 int *arg2
= (int *) 0 ;
27326 int *arg3
= (int *) 0 ;
27331 PyObject
* obj0
= 0 ;
27332 char *kwnames
[] = {
27333 (char *) "self", NULL
27336 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
27337 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
27339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27340 if (SWIG_arg_fail(1)) SWIG_fail
;
27342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27343 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
27345 wxPyEndAllowThreads(__tstate
);
27346 if (PyErr_Occurred()) SWIG_fail
;
27348 Py_INCREF(Py_None
); resultobj
= Py_None
;
27349 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27350 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27351 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27352 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27359 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27360 PyObject
*resultobj
;
27361 wxWindow
*arg1
= (wxWindow
*) 0 ;
27363 PyObject
* obj0
= 0 ;
27364 char *kwnames
[] = {
27365 (char *) "self", NULL
27368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
27369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27370 if (SWIG_arg_fail(1)) SWIG_fail
;
27372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27373 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
27375 wxPyEndAllowThreads(__tstate
);
27376 if (PyErr_Occurred()) SWIG_fail
;
27379 wxSize
* resultptr
;
27380 resultptr
= new wxSize((wxSize
&)(result
));
27381 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27389 static PyObject
*_wrap_Window_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27390 PyObject
*resultobj
;
27391 wxWindow
*arg1
= (wxWindow
*) 0 ;
27392 bool arg2
= (bool) true ;
27394 PyObject
* obj0
= 0 ;
27395 PyObject
* obj1
= 0 ;
27396 char *kwnames
[] = {
27397 (char *) "self",(char *) "show", NULL
27400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
27401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27402 if (SWIG_arg_fail(1)) SWIG_fail
;
27405 arg2
= (bool)(SWIG_As_bool(obj1
));
27406 if (SWIG_arg_fail(2)) SWIG_fail
;
27410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27411 result
= (bool)(arg1
)->Show(arg2
);
27413 wxPyEndAllowThreads(__tstate
);
27414 if (PyErr_Occurred()) SWIG_fail
;
27417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27425 static PyObject
*_wrap_Window_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27426 PyObject
*resultobj
;
27427 wxWindow
*arg1
= (wxWindow
*) 0 ;
27429 PyObject
* obj0
= 0 ;
27430 char *kwnames
[] = {
27431 (char *) "self", NULL
27434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
27435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27436 if (SWIG_arg_fail(1)) SWIG_fail
;
27438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27439 result
= (bool)(arg1
)->Hide();
27441 wxPyEndAllowThreads(__tstate
);
27442 if (PyErr_Occurred()) SWIG_fail
;
27445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27453 static PyObject
*_wrap_Window_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27454 PyObject
*resultobj
;
27455 wxWindow
*arg1
= (wxWindow
*) 0 ;
27456 bool arg2
= (bool) true ;
27458 PyObject
* obj0
= 0 ;
27459 PyObject
* obj1
= 0 ;
27460 char *kwnames
[] = {
27461 (char *) "self",(char *) "enable", NULL
27464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
27465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27466 if (SWIG_arg_fail(1)) SWIG_fail
;
27469 arg2
= (bool)(SWIG_As_bool(obj1
));
27470 if (SWIG_arg_fail(2)) SWIG_fail
;
27474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27475 result
= (bool)(arg1
)->Enable(arg2
);
27477 wxPyEndAllowThreads(__tstate
);
27478 if (PyErr_Occurred()) SWIG_fail
;
27481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27489 static PyObject
*_wrap_Window_Disable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27490 PyObject
*resultobj
;
27491 wxWindow
*arg1
= (wxWindow
*) 0 ;
27493 PyObject
* obj0
= 0 ;
27494 char *kwnames
[] = {
27495 (char *) "self", NULL
27498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
27499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27500 if (SWIG_arg_fail(1)) SWIG_fail
;
27502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27503 result
= (bool)(arg1
)->Disable();
27505 wxPyEndAllowThreads(__tstate
);
27506 if (PyErr_Occurred()) SWIG_fail
;
27509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27517 static PyObject
*_wrap_Window_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27518 PyObject
*resultobj
;
27519 wxWindow
*arg1
= (wxWindow
*) 0 ;
27521 PyObject
* obj0
= 0 ;
27522 char *kwnames
[] = {
27523 (char *) "self", NULL
27526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
27527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27528 if (SWIG_arg_fail(1)) SWIG_fail
;
27530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27531 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
27533 wxPyEndAllowThreads(__tstate
);
27534 if (PyErr_Occurred()) SWIG_fail
;
27537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27545 static PyObject
*_wrap_Window_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27546 PyObject
*resultobj
;
27547 wxWindow
*arg1
= (wxWindow
*) 0 ;
27549 PyObject
* obj0
= 0 ;
27550 char *kwnames
[] = {
27551 (char *) "self", NULL
27554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
27555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27556 if (SWIG_arg_fail(1)) SWIG_fail
;
27558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27559 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
27561 wxPyEndAllowThreads(__tstate
);
27562 if (PyErr_Occurred()) SWIG_fail
;
27565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27573 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27574 PyObject
*resultobj
;
27575 wxWindow
*arg1
= (wxWindow
*) 0 ;
27577 PyObject
* obj0
= 0 ;
27578 PyObject
* obj1
= 0 ;
27579 char *kwnames
[] = {
27580 (char *) "self",(char *) "style", NULL
27583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
27584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27585 if (SWIG_arg_fail(1)) SWIG_fail
;
27587 arg2
= (long)(SWIG_As_long(obj1
));
27588 if (SWIG_arg_fail(2)) SWIG_fail
;
27591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27592 (arg1
)->SetWindowStyleFlag(arg2
);
27594 wxPyEndAllowThreads(__tstate
);
27595 if (PyErr_Occurred()) SWIG_fail
;
27597 Py_INCREF(Py_None
); resultobj
= Py_None
;
27604 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27605 PyObject
*resultobj
;
27606 wxWindow
*arg1
= (wxWindow
*) 0 ;
27608 PyObject
* obj0
= 0 ;
27609 char *kwnames
[] = {
27610 (char *) "self", NULL
27613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
27614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27615 if (SWIG_arg_fail(1)) SWIG_fail
;
27617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27618 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
27620 wxPyEndAllowThreads(__tstate
);
27621 if (PyErr_Occurred()) SWIG_fail
;
27624 resultobj
= SWIG_From_long((long)(result
));
27632 static PyObject
*_wrap_Window_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27633 PyObject
*resultobj
;
27634 wxWindow
*arg1
= (wxWindow
*) 0 ;
27637 PyObject
* obj0
= 0 ;
27638 PyObject
* obj1
= 0 ;
27639 char *kwnames
[] = {
27640 (char *) "self",(char *) "flag", NULL
27643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
27644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27645 if (SWIG_arg_fail(1)) SWIG_fail
;
27647 arg2
= (int)(SWIG_As_int(obj1
));
27648 if (SWIG_arg_fail(2)) SWIG_fail
;
27651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27652 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
27654 wxPyEndAllowThreads(__tstate
);
27655 if (PyErr_Occurred()) SWIG_fail
;
27658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27666 static PyObject
*_wrap_Window_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27667 PyObject
*resultobj
;
27668 wxWindow
*arg1
= (wxWindow
*) 0 ;
27670 PyObject
* obj0
= 0 ;
27671 char *kwnames
[] = {
27672 (char *) "self", NULL
27675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
27676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27677 if (SWIG_arg_fail(1)) SWIG_fail
;
27679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27680 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
27682 wxPyEndAllowThreads(__tstate
);
27683 if (PyErr_Occurred()) SWIG_fail
;
27686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27694 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27695 PyObject
*resultobj
;
27696 wxWindow
*arg1
= (wxWindow
*) 0 ;
27698 PyObject
* obj0
= 0 ;
27699 PyObject
* obj1
= 0 ;
27700 char *kwnames
[] = {
27701 (char *) "self",(char *) "exStyle", NULL
27704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
27705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27706 if (SWIG_arg_fail(1)) SWIG_fail
;
27708 arg2
= (long)(SWIG_As_long(obj1
));
27709 if (SWIG_arg_fail(2)) SWIG_fail
;
27712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27713 (arg1
)->SetExtraStyle(arg2
);
27715 wxPyEndAllowThreads(__tstate
);
27716 if (PyErr_Occurred()) SWIG_fail
;
27718 Py_INCREF(Py_None
); resultobj
= Py_None
;
27725 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27726 PyObject
*resultobj
;
27727 wxWindow
*arg1
= (wxWindow
*) 0 ;
27729 PyObject
* obj0
= 0 ;
27730 char *kwnames
[] = {
27731 (char *) "self", NULL
27734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
27735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27736 if (SWIG_arg_fail(1)) SWIG_fail
;
27738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27739 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
27741 wxPyEndAllowThreads(__tstate
);
27742 if (PyErr_Occurred()) SWIG_fail
;
27745 resultobj
= SWIG_From_long((long)(result
));
27753 static PyObject
*_wrap_Window_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27754 PyObject
*resultobj
;
27755 wxWindow
*arg1
= (wxWindow
*) 0 ;
27756 bool arg2
= (bool) true ;
27757 PyObject
* obj0
= 0 ;
27758 PyObject
* obj1
= 0 ;
27759 char *kwnames
[] = {
27760 (char *) "self",(char *) "modal", NULL
27763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
27764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27765 if (SWIG_arg_fail(1)) SWIG_fail
;
27768 arg2
= (bool)(SWIG_As_bool(obj1
));
27769 if (SWIG_arg_fail(2)) SWIG_fail
;
27773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27774 (arg1
)->MakeModal(arg2
);
27776 wxPyEndAllowThreads(__tstate
);
27777 if (PyErr_Occurred()) SWIG_fail
;
27779 Py_INCREF(Py_None
); resultobj
= Py_None
;
27786 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27787 PyObject
*resultobj
;
27788 wxWindow
*arg1
= (wxWindow
*) 0 ;
27790 PyObject
* obj0
= 0 ;
27791 PyObject
* obj1
= 0 ;
27792 char *kwnames
[] = {
27793 (char *) "self",(char *) "enableTheme", NULL
27796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
27797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27798 if (SWIG_arg_fail(1)) SWIG_fail
;
27800 arg2
= (bool)(SWIG_As_bool(obj1
));
27801 if (SWIG_arg_fail(2)) SWIG_fail
;
27804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27805 (arg1
)->SetThemeEnabled(arg2
);
27807 wxPyEndAllowThreads(__tstate
);
27808 if (PyErr_Occurred()) SWIG_fail
;
27810 Py_INCREF(Py_None
); resultobj
= Py_None
;
27817 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27818 PyObject
*resultobj
;
27819 wxWindow
*arg1
= (wxWindow
*) 0 ;
27821 PyObject
* obj0
= 0 ;
27822 char *kwnames
[] = {
27823 (char *) "self", NULL
27826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
27827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27828 if (SWIG_arg_fail(1)) SWIG_fail
;
27830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27831 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
27833 wxPyEndAllowThreads(__tstate
);
27834 if (PyErr_Occurred()) SWIG_fail
;
27837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27845 static PyObject
*_wrap_Window_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27846 PyObject
*resultobj
;
27847 wxWindow
*arg1
= (wxWindow
*) 0 ;
27848 PyObject
* obj0
= 0 ;
27849 char *kwnames
[] = {
27850 (char *) "self", NULL
27853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
27854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27855 if (SWIG_arg_fail(1)) SWIG_fail
;
27857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27858 (arg1
)->SetFocus();
27860 wxPyEndAllowThreads(__tstate
);
27861 if (PyErr_Occurred()) SWIG_fail
;
27863 Py_INCREF(Py_None
); resultobj
= Py_None
;
27870 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27871 PyObject
*resultobj
;
27872 wxWindow
*arg1
= (wxWindow
*) 0 ;
27873 PyObject
* obj0
= 0 ;
27874 char *kwnames
[] = {
27875 (char *) "self", NULL
27878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
27879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27880 if (SWIG_arg_fail(1)) SWIG_fail
;
27882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27883 (arg1
)->SetFocusFromKbd();
27885 wxPyEndAllowThreads(__tstate
);
27886 if (PyErr_Occurred()) SWIG_fail
;
27888 Py_INCREF(Py_None
); resultobj
= Py_None
;
27895 static PyObject
*_wrap_Window_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27896 PyObject
*resultobj
;
27898 char *kwnames
[] = {
27902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
27904 if (!wxPyCheckForApp()) SWIG_fail
;
27905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27906 result
= (wxWindow
*)wxWindow::FindFocus();
27908 wxPyEndAllowThreads(__tstate
);
27909 if (PyErr_Occurred()) SWIG_fail
;
27912 resultobj
= wxPyMake_wxObject(result
, 0);
27920 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27921 PyObject
*resultobj
;
27922 wxWindow
*arg1
= (wxWindow
*) 0 ;
27924 PyObject
* obj0
= 0 ;
27925 char *kwnames
[] = {
27926 (char *) "self", NULL
27929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
27930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27931 if (SWIG_arg_fail(1)) SWIG_fail
;
27933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27934 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
27936 wxPyEndAllowThreads(__tstate
);
27937 if (PyErr_Occurred()) SWIG_fail
;
27940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27948 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27949 PyObject
*resultobj
;
27950 wxWindow
*arg1
= (wxWindow
*) 0 ;
27952 PyObject
* obj0
= 0 ;
27953 char *kwnames
[] = {
27954 (char *) "self", NULL
27957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
27958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27959 if (SWIG_arg_fail(1)) SWIG_fail
;
27961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27962 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
27964 wxPyEndAllowThreads(__tstate
);
27965 if (PyErr_Occurred()) SWIG_fail
;
27968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27976 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27977 PyObject
*resultobj
;
27978 wxWindow
*arg1
= (wxWindow
*) 0 ;
27980 PyObject
* obj0
= 0 ;
27981 char *kwnames
[] = {
27982 (char *) "self", NULL
27985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
27986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27987 if (SWIG_arg_fail(1)) SWIG_fail
;
27989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27990 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
27992 wxPyEndAllowThreads(__tstate
);
27993 if (PyErr_Occurred()) SWIG_fail
;
27996 resultobj
= wxPyMake_wxObject(result
, 0);
28004 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28005 PyObject
*resultobj
;
28006 wxWindow
*arg1
= (wxWindow
*) 0 ;
28007 wxWindow
*arg2
= (wxWindow
*) 0 ;
28009 PyObject
* obj0
= 0 ;
28010 PyObject
* obj1
= 0 ;
28011 char *kwnames
[] = {
28012 (char *) "self",(char *) "child", NULL
28015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28017 if (SWIG_arg_fail(1)) SWIG_fail
;
28018 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28019 if (SWIG_arg_fail(2)) SWIG_fail
;
28021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28022 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
28024 wxPyEndAllowThreads(__tstate
);
28025 if (PyErr_Occurred()) SWIG_fail
;
28028 resultobj
= wxPyMake_wxObject(result
, 0);
28036 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28037 PyObject
*resultobj
;
28038 wxWindow
*arg1
= (wxWindow
*) 0 ;
28039 wxWindow
*arg2
= (wxWindow
*) 0 ;
28040 PyObject
* obj0
= 0 ;
28041 PyObject
* obj1
= 0 ;
28042 char *kwnames
[] = {
28043 (char *) "self",(char *) "win", NULL
28046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28048 if (SWIG_arg_fail(1)) SWIG_fail
;
28049 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28050 if (SWIG_arg_fail(2)) SWIG_fail
;
28052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28053 (arg1
)->SetTmpDefaultItem(arg2
);
28055 wxPyEndAllowThreads(__tstate
);
28056 if (PyErr_Occurred()) SWIG_fail
;
28058 Py_INCREF(Py_None
); resultobj
= Py_None
;
28065 static PyObject
*_wrap_Window_Navigate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28066 PyObject
*resultobj
;
28067 wxWindow
*arg1
= (wxWindow
*) 0 ;
28068 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
28070 PyObject
* obj0
= 0 ;
28071 PyObject
* obj1
= 0 ;
28072 char *kwnames
[] = {
28073 (char *) "self",(char *) "flags", NULL
28076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
28077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28078 if (SWIG_arg_fail(1)) SWIG_fail
;
28081 arg2
= (int)(SWIG_As_int(obj1
));
28082 if (SWIG_arg_fail(2)) SWIG_fail
;
28086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28087 result
= (bool)(arg1
)->Navigate(arg2
);
28089 wxPyEndAllowThreads(__tstate
);
28090 if (PyErr_Occurred()) SWIG_fail
;
28093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28101 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28102 PyObject
*resultobj
;
28103 wxWindow
*arg1
= (wxWindow
*) 0 ;
28104 wxWindow
*arg2
= (wxWindow
*) 0 ;
28105 PyObject
* obj0
= 0 ;
28106 PyObject
* obj1
= 0 ;
28107 char *kwnames
[] = {
28108 (char *) "self",(char *) "win", NULL
28111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
28112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28113 if (SWIG_arg_fail(1)) SWIG_fail
;
28114 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28115 if (SWIG_arg_fail(2)) SWIG_fail
;
28117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28118 (arg1
)->MoveAfterInTabOrder(arg2
);
28120 wxPyEndAllowThreads(__tstate
);
28121 if (PyErr_Occurred()) SWIG_fail
;
28123 Py_INCREF(Py_None
); resultobj
= Py_None
;
28130 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28131 PyObject
*resultobj
;
28132 wxWindow
*arg1
= (wxWindow
*) 0 ;
28133 wxWindow
*arg2
= (wxWindow
*) 0 ;
28134 PyObject
* obj0
= 0 ;
28135 PyObject
* obj1
= 0 ;
28136 char *kwnames
[] = {
28137 (char *) "self",(char *) "win", NULL
28140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
28141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28142 if (SWIG_arg_fail(1)) SWIG_fail
;
28143 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28144 if (SWIG_arg_fail(2)) SWIG_fail
;
28146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28147 (arg1
)->MoveBeforeInTabOrder(arg2
);
28149 wxPyEndAllowThreads(__tstate
);
28150 if (PyErr_Occurred()) SWIG_fail
;
28152 Py_INCREF(Py_None
); resultobj
= Py_None
;
28159 static PyObject
*_wrap_Window_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28160 PyObject
*resultobj
;
28161 wxWindow
*arg1
= (wxWindow
*) 0 ;
28163 PyObject
* obj0
= 0 ;
28164 char *kwnames
[] = {
28165 (char *) "self", NULL
28168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
28169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28170 if (SWIG_arg_fail(1)) SWIG_fail
;
28172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28173 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
28175 wxPyEndAllowThreads(__tstate
);
28176 if (PyErr_Occurred()) SWIG_fail
;
28178 resultobj
= result
;
28185 static PyObject
*_wrap_Window_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28186 PyObject
*resultobj
;
28187 wxWindow
*arg1
= (wxWindow
*) 0 ;
28189 PyObject
* obj0
= 0 ;
28190 char *kwnames
[] = {
28191 (char *) "self", NULL
28194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
28195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28196 if (SWIG_arg_fail(1)) SWIG_fail
;
28198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28199 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
28201 wxPyEndAllowThreads(__tstate
);
28202 if (PyErr_Occurred()) SWIG_fail
;
28205 resultobj
= wxPyMake_wxObject(result
, 0);
28213 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28214 PyObject
*resultobj
;
28215 wxWindow
*arg1
= (wxWindow
*) 0 ;
28217 PyObject
* obj0
= 0 ;
28218 char *kwnames
[] = {
28219 (char *) "self", NULL
28222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
28223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28224 if (SWIG_arg_fail(1)) SWIG_fail
;
28226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28227 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
28229 wxPyEndAllowThreads(__tstate
);
28230 if (PyErr_Occurred()) SWIG_fail
;
28233 resultobj
= wxPyMake_wxObject(result
, 0);
28241 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28242 PyObject
*resultobj
;
28243 wxWindow
*arg1
= (wxWindow
*) 0 ;
28245 PyObject
* obj0
= 0 ;
28246 char *kwnames
[] = {
28247 (char *) "self", NULL
28250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
28251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28252 if (SWIG_arg_fail(1)) SWIG_fail
;
28254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28255 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
28257 wxPyEndAllowThreads(__tstate
);
28258 if (PyErr_Occurred()) SWIG_fail
;
28261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28269 static PyObject
*_wrap_Window_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28270 PyObject
*resultobj
;
28271 wxWindow
*arg1
= (wxWindow
*) 0 ;
28272 wxWindow
*arg2
= (wxWindow
*) 0 ;
28274 PyObject
* obj0
= 0 ;
28275 PyObject
* obj1
= 0 ;
28276 char *kwnames
[] = {
28277 (char *) "self",(char *) "newParent", NULL
28280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
28281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28282 if (SWIG_arg_fail(1)) SWIG_fail
;
28283 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28284 if (SWIG_arg_fail(2)) SWIG_fail
;
28286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28287 result
= (bool)(arg1
)->Reparent(arg2
);
28289 wxPyEndAllowThreads(__tstate
);
28290 if (PyErr_Occurred()) SWIG_fail
;
28293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28301 static PyObject
*_wrap_Window_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28302 PyObject
*resultobj
;
28303 wxWindow
*arg1
= (wxWindow
*) 0 ;
28304 wxWindow
*arg2
= (wxWindow
*) 0 ;
28305 PyObject
* obj0
= 0 ;
28306 PyObject
* obj1
= 0 ;
28307 char *kwnames
[] = {
28308 (char *) "self",(char *) "child", NULL
28311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28313 if (SWIG_arg_fail(1)) SWIG_fail
;
28314 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28315 if (SWIG_arg_fail(2)) SWIG_fail
;
28317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28318 (arg1
)->AddChild(arg2
);
28320 wxPyEndAllowThreads(__tstate
);
28321 if (PyErr_Occurred()) SWIG_fail
;
28323 Py_INCREF(Py_None
); resultobj
= Py_None
;
28330 static PyObject
*_wrap_Window_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28331 PyObject
*resultobj
;
28332 wxWindow
*arg1
= (wxWindow
*) 0 ;
28333 wxWindow
*arg2
= (wxWindow
*) 0 ;
28334 PyObject
* obj0
= 0 ;
28335 PyObject
* obj1
= 0 ;
28336 char *kwnames
[] = {
28337 (char *) "self",(char *) "child", NULL
28340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28342 if (SWIG_arg_fail(1)) SWIG_fail
;
28343 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28344 if (SWIG_arg_fail(2)) SWIG_fail
;
28346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28347 (arg1
)->RemoveChild(arg2
);
28349 wxPyEndAllowThreads(__tstate
);
28350 if (PyErr_Occurred()) SWIG_fail
;
28352 Py_INCREF(Py_None
); resultobj
= Py_None
;
28359 static PyObject
*_wrap_Window_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28360 PyObject
*resultobj
;
28361 wxWindow
*arg1
= (wxWindow
*) 0 ;
28364 PyObject
* obj0
= 0 ;
28365 PyObject
* obj1
= 0 ;
28366 char *kwnames
[] = {
28367 (char *) "self",(char *) "winid", NULL
28370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
28371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28372 if (SWIG_arg_fail(1)) SWIG_fail
;
28374 arg2
= (long)(SWIG_As_long(obj1
));
28375 if (SWIG_arg_fail(2)) SWIG_fail
;
28378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28379 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
28381 wxPyEndAllowThreads(__tstate
);
28382 if (PyErr_Occurred()) SWIG_fail
;
28385 resultobj
= wxPyMake_wxObject(result
, 0);
28393 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28394 PyObject
*resultobj
;
28395 wxWindow
*arg1
= (wxWindow
*) 0 ;
28396 wxString
*arg2
= 0 ;
28398 bool temp2
= false ;
28399 PyObject
* obj0
= 0 ;
28400 PyObject
* obj1
= 0 ;
28401 char *kwnames
[] = {
28402 (char *) "self",(char *) "name", NULL
28405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
28406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28407 if (SWIG_arg_fail(1)) SWIG_fail
;
28409 arg2
= wxString_in_helper(obj1
);
28410 if (arg2
== NULL
) SWIG_fail
;
28414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28415 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
28417 wxPyEndAllowThreads(__tstate
);
28418 if (PyErr_Occurred()) SWIG_fail
;
28421 resultobj
= wxPyMake_wxObject(result
, 0);
28437 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28438 PyObject
*resultobj
;
28439 wxWindow
*arg1
= (wxWindow
*) 0 ;
28440 wxEvtHandler
*result
;
28441 PyObject
* obj0
= 0 ;
28442 char *kwnames
[] = {
28443 (char *) "self", NULL
28446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
28447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28448 if (SWIG_arg_fail(1)) SWIG_fail
;
28450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28451 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
28453 wxPyEndAllowThreads(__tstate
);
28454 if (PyErr_Occurred()) SWIG_fail
;
28457 resultobj
= wxPyMake_wxObject(result
, 0);
28465 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28466 PyObject
*resultobj
;
28467 wxWindow
*arg1
= (wxWindow
*) 0 ;
28468 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28469 PyObject
* obj0
= 0 ;
28470 PyObject
* obj1
= 0 ;
28471 char *kwnames
[] = {
28472 (char *) "self",(char *) "handler", NULL
28475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28477 if (SWIG_arg_fail(1)) SWIG_fail
;
28478 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28479 if (SWIG_arg_fail(2)) SWIG_fail
;
28481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28482 (arg1
)->SetEventHandler(arg2
);
28484 wxPyEndAllowThreads(__tstate
);
28485 if (PyErr_Occurred()) SWIG_fail
;
28487 Py_INCREF(Py_None
); resultobj
= Py_None
;
28494 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28495 PyObject
*resultobj
;
28496 wxWindow
*arg1
= (wxWindow
*) 0 ;
28497 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28498 PyObject
* obj0
= 0 ;
28499 PyObject
* obj1
= 0 ;
28500 char *kwnames
[] = {
28501 (char *) "self",(char *) "handler", NULL
28504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28506 if (SWIG_arg_fail(1)) SWIG_fail
;
28507 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28508 if (SWIG_arg_fail(2)) SWIG_fail
;
28510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28511 (arg1
)->PushEventHandler(arg2
);
28513 wxPyEndAllowThreads(__tstate
);
28514 if (PyErr_Occurred()) SWIG_fail
;
28516 Py_INCREF(Py_None
); resultobj
= Py_None
;
28523 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28524 PyObject
*resultobj
;
28525 wxWindow
*arg1
= (wxWindow
*) 0 ;
28526 bool arg2
= (bool) false ;
28527 wxEvtHandler
*result
;
28528 PyObject
* obj0
= 0 ;
28529 PyObject
* obj1
= 0 ;
28530 char *kwnames
[] = {
28531 (char *) "self",(char *) "deleteHandler", NULL
28534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28536 if (SWIG_arg_fail(1)) SWIG_fail
;
28539 arg2
= (bool)(SWIG_As_bool(obj1
));
28540 if (SWIG_arg_fail(2)) SWIG_fail
;
28544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28545 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
28547 wxPyEndAllowThreads(__tstate
);
28548 if (PyErr_Occurred()) SWIG_fail
;
28551 resultobj
= wxPyMake_wxObject(result
, 0);
28559 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28560 PyObject
*resultobj
;
28561 wxWindow
*arg1
= (wxWindow
*) 0 ;
28562 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28564 PyObject
* obj0
= 0 ;
28565 PyObject
* obj1
= 0 ;
28566 char *kwnames
[] = {
28567 (char *) "self",(char *) "handler", NULL
28570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28572 if (SWIG_arg_fail(1)) SWIG_fail
;
28573 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28574 if (SWIG_arg_fail(2)) SWIG_fail
;
28576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28577 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
28579 wxPyEndAllowThreads(__tstate
);
28580 if (PyErr_Occurred()) SWIG_fail
;
28583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28591 static PyObject
*_wrap_Window_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28592 PyObject
*resultobj
;
28593 wxWindow
*arg1
= (wxWindow
*) 0 ;
28594 wxValidator
*arg2
= 0 ;
28595 PyObject
* obj0
= 0 ;
28596 PyObject
* obj1
= 0 ;
28597 char *kwnames
[] = {
28598 (char *) "self",(char *) "validator", NULL
28601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
28602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28603 if (SWIG_arg_fail(1)) SWIG_fail
;
28605 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28606 if (SWIG_arg_fail(2)) SWIG_fail
;
28607 if (arg2
== NULL
) {
28608 SWIG_null_ref("wxValidator");
28610 if (SWIG_arg_fail(2)) SWIG_fail
;
28613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28614 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
28616 wxPyEndAllowThreads(__tstate
);
28617 if (PyErr_Occurred()) SWIG_fail
;
28619 Py_INCREF(Py_None
); resultobj
= Py_None
;
28626 static PyObject
*_wrap_Window_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28627 PyObject
*resultobj
;
28628 wxWindow
*arg1
= (wxWindow
*) 0 ;
28629 wxValidator
*result
;
28630 PyObject
* obj0
= 0 ;
28631 char *kwnames
[] = {
28632 (char *) "self", NULL
28635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
28636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28637 if (SWIG_arg_fail(1)) SWIG_fail
;
28639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28640 result
= (wxValidator
*)(arg1
)->GetValidator();
28642 wxPyEndAllowThreads(__tstate
);
28643 if (PyErr_Occurred()) SWIG_fail
;
28646 resultobj
= wxPyMake_wxObject(result
, 0);
28654 static PyObject
*_wrap_Window_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28655 PyObject
*resultobj
;
28656 wxWindow
*arg1
= (wxWindow
*) 0 ;
28658 PyObject
* obj0
= 0 ;
28659 char *kwnames
[] = {
28660 (char *) "self", NULL
28663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
28664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28665 if (SWIG_arg_fail(1)) SWIG_fail
;
28667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28668 result
= (bool)(arg1
)->Validate();
28670 wxPyEndAllowThreads(__tstate
);
28671 if (PyErr_Occurred()) SWIG_fail
;
28674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28682 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28683 PyObject
*resultobj
;
28684 wxWindow
*arg1
= (wxWindow
*) 0 ;
28686 PyObject
* obj0
= 0 ;
28687 char *kwnames
[] = {
28688 (char *) "self", NULL
28691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",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 result
= (bool)(arg1
)->TransferDataToWindow();
28698 wxPyEndAllowThreads(__tstate
);
28699 if (PyErr_Occurred()) SWIG_fail
;
28702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28710 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28711 PyObject
*resultobj
;
28712 wxWindow
*arg1
= (wxWindow
*) 0 ;
28714 PyObject
* obj0
= 0 ;
28715 char *kwnames
[] = {
28716 (char *) "self", NULL
28719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
28720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28721 if (SWIG_arg_fail(1)) SWIG_fail
;
28723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28724 result
= (bool)(arg1
)->TransferDataFromWindow();
28726 wxPyEndAllowThreads(__tstate
);
28727 if (PyErr_Occurred()) SWIG_fail
;
28730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28738 static PyObject
*_wrap_Window_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28739 PyObject
*resultobj
;
28740 wxWindow
*arg1
= (wxWindow
*) 0 ;
28741 PyObject
* obj0
= 0 ;
28742 char *kwnames
[] = {
28743 (char *) "self", NULL
28746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
28747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28748 if (SWIG_arg_fail(1)) SWIG_fail
;
28750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28751 (arg1
)->InitDialog();
28753 wxPyEndAllowThreads(__tstate
);
28754 if (PyErr_Occurred()) SWIG_fail
;
28756 Py_INCREF(Py_None
); resultobj
= Py_None
;
28763 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28764 PyObject
*resultobj
;
28765 wxWindow
*arg1
= (wxWindow
*) 0 ;
28766 wxAcceleratorTable
*arg2
= 0 ;
28767 PyObject
* obj0
= 0 ;
28768 PyObject
* obj1
= 0 ;
28769 char *kwnames
[] = {
28770 (char *) "self",(char *) "accel", NULL
28773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
28774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28775 if (SWIG_arg_fail(1)) SWIG_fail
;
28777 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
28778 if (SWIG_arg_fail(2)) SWIG_fail
;
28779 if (arg2
== NULL
) {
28780 SWIG_null_ref("wxAcceleratorTable");
28782 if (SWIG_arg_fail(2)) SWIG_fail
;
28785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28786 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
28788 wxPyEndAllowThreads(__tstate
);
28789 if (PyErr_Occurred()) SWIG_fail
;
28791 Py_INCREF(Py_None
); resultobj
= Py_None
;
28798 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28799 PyObject
*resultobj
;
28800 wxWindow
*arg1
= (wxWindow
*) 0 ;
28801 wxAcceleratorTable
*result
;
28802 PyObject
* obj0
= 0 ;
28803 char *kwnames
[] = {
28804 (char *) "self", NULL
28807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
28808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28809 if (SWIG_arg_fail(1)) SWIG_fail
;
28811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28812 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
28814 wxPyEndAllowThreads(__tstate
);
28815 if (PyErr_Occurred()) SWIG_fail
;
28817 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
28824 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28825 PyObject
*resultobj
;
28826 wxWindow
*arg1
= (wxWindow
*) 0 ;
28831 PyObject
* obj0
= 0 ;
28832 PyObject
* obj1
= 0 ;
28833 PyObject
* obj2
= 0 ;
28834 PyObject
* obj3
= 0 ;
28835 char *kwnames
[] = {
28836 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
28839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28841 if (SWIG_arg_fail(1)) SWIG_fail
;
28843 arg2
= (int)(SWIG_As_int(obj1
));
28844 if (SWIG_arg_fail(2)) SWIG_fail
;
28847 arg3
= (int)(SWIG_As_int(obj2
));
28848 if (SWIG_arg_fail(3)) SWIG_fail
;
28851 arg4
= (int)(SWIG_As_int(obj3
));
28852 if (SWIG_arg_fail(4)) SWIG_fail
;
28855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28856 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
28858 wxPyEndAllowThreads(__tstate
);
28859 if (PyErr_Occurred()) SWIG_fail
;
28862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28870 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28871 PyObject
*resultobj
;
28872 wxWindow
*arg1
= (wxWindow
*) 0 ;
28875 PyObject
* obj0
= 0 ;
28876 PyObject
* obj1
= 0 ;
28877 char *kwnames
[] = {
28878 (char *) "self",(char *) "hotkeyId", NULL
28881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
28882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28883 if (SWIG_arg_fail(1)) SWIG_fail
;
28885 arg2
= (int)(SWIG_As_int(obj1
));
28886 if (SWIG_arg_fail(2)) SWIG_fail
;
28889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28890 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
28892 wxPyEndAllowThreads(__tstate
);
28893 if (PyErr_Occurred()) SWIG_fail
;
28896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28904 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28905 PyObject
*resultobj
;
28906 wxWindow
*arg1
= (wxWindow
*) 0 ;
28907 wxPoint
*arg2
= 0 ;
28910 PyObject
* obj0
= 0 ;
28911 PyObject
* obj1
= 0 ;
28912 char *kwnames
[] = {
28913 (char *) "self",(char *) "pt", NULL
28916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28918 if (SWIG_arg_fail(1)) SWIG_fail
;
28921 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28925 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28927 wxPyEndAllowThreads(__tstate
);
28928 if (PyErr_Occurred()) SWIG_fail
;
28931 wxPoint
* resultptr
;
28932 resultptr
= new wxPoint((wxPoint
&)(result
));
28933 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28941 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28942 PyObject
*resultobj
;
28943 wxWindow
*arg1
= (wxWindow
*) 0 ;
28947 PyObject
* obj0
= 0 ;
28948 PyObject
* obj1
= 0 ;
28949 char *kwnames
[] = {
28950 (char *) "self",(char *) "sz", NULL
28953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28955 if (SWIG_arg_fail(1)) SWIG_fail
;
28958 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28962 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
28964 wxPyEndAllowThreads(__tstate
);
28965 if (PyErr_Occurred()) SWIG_fail
;
28968 wxSize
* resultptr
;
28969 resultptr
= new wxSize((wxSize
&)(result
));
28970 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28978 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28979 PyObject
*resultobj
;
28980 wxWindow
*arg1
= (wxWindow
*) 0 ;
28981 wxPoint
*arg2
= 0 ;
28984 PyObject
* obj0
= 0 ;
28985 PyObject
* obj1
= 0 ;
28986 char *kwnames
[] = {
28987 (char *) "self",(char *) "pt", NULL
28990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
28991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28992 if (SWIG_arg_fail(1)) SWIG_fail
;
28995 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28999 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
29001 wxPyEndAllowThreads(__tstate
);
29002 if (PyErr_Occurred()) SWIG_fail
;
29005 wxPoint
* resultptr
;
29006 resultptr
= new wxPoint((wxPoint
&)(result
));
29007 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29015 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29016 PyObject
*resultobj
;
29017 wxWindow
*arg1
= (wxWindow
*) 0 ;
29021 PyObject
* obj0
= 0 ;
29022 PyObject
* obj1
= 0 ;
29023 char *kwnames
[] = {
29024 (char *) "self",(char *) "sz", NULL
29027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
29028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29029 if (SWIG_arg_fail(1)) SWIG_fail
;
29032 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29036 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
29038 wxPyEndAllowThreads(__tstate
);
29039 if (PyErr_Occurred()) SWIG_fail
;
29042 wxSize
* resultptr
;
29043 resultptr
= new wxSize((wxSize
&)(result
));
29044 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29052 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29053 PyObject
*resultobj
;
29054 wxWindow
*arg1
= (wxWindow
*) 0 ;
29055 wxPoint
*arg2
= 0 ;
29058 PyObject
* obj0
= 0 ;
29059 PyObject
* obj1
= 0 ;
29060 char *kwnames
[] = {
29061 (char *) "self",(char *) "pt", NULL
29064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
29065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29066 if (SWIG_arg_fail(1)) SWIG_fail
;
29069 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29073 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
29075 wxPyEndAllowThreads(__tstate
);
29076 if (PyErr_Occurred()) SWIG_fail
;
29079 wxPoint
* resultptr
;
29080 resultptr
= new wxPoint((wxPoint
&)(result
));
29081 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29089 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29090 PyObject
*resultobj
;
29091 wxWindow
*arg1
= (wxWindow
*) 0 ;
29095 PyObject
* obj0
= 0 ;
29096 PyObject
* obj1
= 0 ;
29097 char *kwnames
[] = {
29098 (char *) "self",(char *) "sz", NULL
29101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
29102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29103 if (SWIG_arg_fail(1)) SWIG_fail
;
29106 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29110 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
29112 wxPyEndAllowThreads(__tstate
);
29113 if (PyErr_Occurred()) SWIG_fail
;
29116 wxSize
* resultptr
;
29117 resultptr
= new wxSize((wxSize
&)(result
));
29118 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29126 static PyObject
*_wrap_Window_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29127 PyObject
*resultobj
;
29128 wxWindow
*arg1
= (wxWindow
*) 0 ;
29131 PyObject
* obj0
= 0 ;
29132 PyObject
* obj1
= 0 ;
29133 PyObject
* obj2
= 0 ;
29134 char *kwnames
[] = {
29135 (char *) "self",(char *) "x",(char *) "y", NULL
29138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29140 if (SWIG_arg_fail(1)) SWIG_fail
;
29142 arg2
= (int)(SWIG_As_int(obj1
));
29143 if (SWIG_arg_fail(2)) SWIG_fail
;
29146 arg3
= (int)(SWIG_As_int(obj2
));
29147 if (SWIG_arg_fail(3)) SWIG_fail
;
29150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29151 (arg1
)->WarpPointer(arg2
,arg3
);
29153 wxPyEndAllowThreads(__tstate
);
29154 if (PyErr_Occurred()) SWIG_fail
;
29156 Py_INCREF(Py_None
); resultobj
= Py_None
;
29163 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29164 PyObject
*resultobj
;
29165 wxWindow
*arg1
= (wxWindow
*) 0 ;
29166 PyObject
* obj0
= 0 ;
29167 char *kwnames
[] = {
29168 (char *) "self", NULL
29171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
29172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29173 if (SWIG_arg_fail(1)) SWIG_fail
;
29175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29176 (arg1
)->CaptureMouse();
29178 wxPyEndAllowThreads(__tstate
);
29179 if (PyErr_Occurred()) SWIG_fail
;
29181 Py_INCREF(Py_None
); resultobj
= Py_None
;
29188 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29189 PyObject
*resultobj
;
29190 wxWindow
*arg1
= (wxWindow
*) 0 ;
29191 PyObject
* obj0
= 0 ;
29192 char *kwnames
[] = {
29193 (char *) "self", NULL
29196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
29197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29198 if (SWIG_arg_fail(1)) SWIG_fail
;
29200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29201 (arg1
)->ReleaseMouse();
29203 wxPyEndAllowThreads(__tstate
);
29204 if (PyErr_Occurred()) SWIG_fail
;
29206 Py_INCREF(Py_None
); resultobj
= Py_None
;
29213 static PyObject
*_wrap_Window_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29214 PyObject
*resultobj
;
29216 char *kwnames
[] = {
29220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
29222 if (!wxPyCheckForApp()) SWIG_fail
;
29223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29224 result
= (wxWindow
*)wxWindow::GetCapture();
29226 wxPyEndAllowThreads(__tstate
);
29227 if (PyErr_Occurred()) SWIG_fail
;
29230 resultobj
= wxPyMake_wxObject(result
, 0);
29238 static PyObject
*_wrap_Window_HasCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29239 PyObject
*resultobj
;
29240 wxWindow
*arg1
= (wxWindow
*) 0 ;
29242 PyObject
* obj0
= 0 ;
29243 char *kwnames
[] = {
29244 (char *) "self", NULL
29247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
29248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29249 if (SWIG_arg_fail(1)) SWIG_fail
;
29251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29252 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
29254 wxPyEndAllowThreads(__tstate
);
29255 if (PyErr_Occurred()) SWIG_fail
;
29258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29266 static PyObject
*_wrap_Window_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29267 PyObject
*resultobj
;
29268 wxWindow
*arg1
= (wxWindow
*) 0 ;
29269 bool arg2
= (bool) true ;
29270 wxRect
*arg3
= (wxRect
*) NULL
;
29271 PyObject
* obj0
= 0 ;
29272 PyObject
* obj1
= 0 ;
29273 PyObject
* obj2
= 0 ;
29274 char *kwnames
[] = {
29275 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
29278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29280 if (SWIG_arg_fail(1)) SWIG_fail
;
29283 arg2
= (bool)(SWIG_As_bool(obj1
));
29284 if (SWIG_arg_fail(2)) SWIG_fail
;
29288 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
29289 if (SWIG_arg_fail(3)) SWIG_fail
;
29292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29293 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
29295 wxPyEndAllowThreads(__tstate
);
29296 if (PyErr_Occurred()) SWIG_fail
;
29298 Py_INCREF(Py_None
); resultobj
= Py_None
;
29305 static PyObject
*_wrap_Window_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29306 PyObject
*resultobj
;
29307 wxWindow
*arg1
= (wxWindow
*) 0 ;
29309 bool arg3
= (bool) true ;
29311 PyObject
* obj0
= 0 ;
29312 PyObject
* obj1
= 0 ;
29313 PyObject
* obj2
= 0 ;
29314 char *kwnames
[] = {
29315 (char *) "self",(char *) "rect",(char *) "eraseBackground", NULL
29318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_RefreshRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29320 if (SWIG_arg_fail(1)) SWIG_fail
;
29323 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29327 arg3
= (bool)(SWIG_As_bool(obj2
));
29328 if (SWIG_arg_fail(3)) SWIG_fail
;
29332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29333 (arg1
)->RefreshRect((wxRect
const &)*arg2
,arg3
);
29335 wxPyEndAllowThreads(__tstate
);
29336 if (PyErr_Occurred()) SWIG_fail
;
29338 Py_INCREF(Py_None
); resultobj
= Py_None
;
29345 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29346 PyObject
*resultobj
;
29347 wxWindow
*arg1
= (wxWindow
*) 0 ;
29348 PyObject
* obj0
= 0 ;
29349 char *kwnames
[] = {
29350 (char *) "self", NULL
29353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
29354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29355 if (SWIG_arg_fail(1)) SWIG_fail
;
29357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29360 wxPyEndAllowThreads(__tstate
);
29361 if (PyErr_Occurred()) SWIG_fail
;
29363 Py_INCREF(Py_None
); resultobj
= Py_None
;
29370 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29371 PyObject
*resultobj
;
29372 wxWindow
*arg1
= (wxWindow
*) 0 ;
29373 PyObject
* obj0
= 0 ;
29374 char *kwnames
[] = {
29375 (char *) "self", NULL
29378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
29379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29380 if (SWIG_arg_fail(1)) SWIG_fail
;
29382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29383 (arg1
)->ClearBackground();
29385 wxPyEndAllowThreads(__tstate
);
29386 if (PyErr_Occurred()) SWIG_fail
;
29388 Py_INCREF(Py_None
); resultobj
= Py_None
;
29395 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29396 PyObject
*resultobj
;
29397 wxWindow
*arg1
= (wxWindow
*) 0 ;
29398 PyObject
* obj0
= 0 ;
29399 char *kwnames
[] = {
29400 (char *) "self", NULL
29403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
29404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29405 if (SWIG_arg_fail(1)) SWIG_fail
;
29407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29410 wxPyEndAllowThreads(__tstate
);
29411 if (PyErr_Occurred()) SWIG_fail
;
29413 Py_INCREF(Py_None
); resultobj
= Py_None
;
29420 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29421 PyObject
*resultobj
;
29422 wxWindow
*arg1
= (wxWindow
*) 0 ;
29423 PyObject
* obj0
= 0 ;
29424 char *kwnames
[] = {
29425 (char *) "self", NULL
29428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
29429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29430 if (SWIG_arg_fail(1)) SWIG_fail
;
29432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29435 wxPyEndAllowThreads(__tstate
);
29436 if (PyErr_Occurred()) SWIG_fail
;
29438 Py_INCREF(Py_None
); resultobj
= Py_None
;
29445 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29446 PyObject
*resultobj
;
29447 wxWindow
*arg1
= (wxWindow
*) 0 ;
29449 PyObject
* obj0
= 0 ;
29450 PyObject
* obj1
= 0 ;
29451 char *kwnames
[] = {
29452 (char *) "self",(char *) "dc", NULL
29455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
29456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29457 if (SWIG_arg_fail(1)) SWIG_fail
;
29459 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
29460 if (SWIG_arg_fail(2)) SWIG_fail
;
29461 if (arg2
== NULL
) {
29462 SWIG_null_ref("wxDC");
29464 if (SWIG_arg_fail(2)) SWIG_fail
;
29467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29468 (arg1
)->PrepareDC(*arg2
);
29470 wxPyEndAllowThreads(__tstate
);
29471 if (PyErr_Occurred()) SWIG_fail
;
29473 Py_INCREF(Py_None
); resultobj
= Py_None
;
29480 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29481 PyObject
*resultobj
;
29482 wxWindow
*arg1
= (wxWindow
*) 0 ;
29484 PyObject
* obj0
= 0 ;
29485 char *kwnames
[] = {
29486 (char *) "self", NULL
29489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
29490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29491 if (SWIG_arg_fail(1)) SWIG_fail
;
29493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29495 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
29496 result
= (wxRegion
*) &_result_ref
;
29499 wxPyEndAllowThreads(__tstate
);
29500 if (PyErr_Occurred()) SWIG_fail
;
29502 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
29509 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29510 PyObject
*resultobj
;
29511 wxWindow
*arg1
= (wxWindow
*) 0 ;
29513 PyObject
* obj0
= 0 ;
29514 char *kwnames
[] = {
29515 (char *) "self", NULL
29518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
29519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29520 if (SWIG_arg_fail(1)) SWIG_fail
;
29522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29523 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
29525 wxPyEndAllowThreads(__tstate
);
29526 if (PyErr_Occurred()) SWIG_fail
;
29529 wxRect
* resultptr
;
29530 resultptr
= new wxRect((wxRect
&)(result
));
29531 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
29539 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29540 PyObject
*resultobj
;
29541 wxWindow
*arg1
= (wxWindow
*) 0 ;
29544 int arg4
= (int) 1 ;
29545 int arg5
= (int) 1 ;
29547 PyObject
* obj0
= 0 ;
29548 PyObject
* obj1
= 0 ;
29549 PyObject
* obj2
= 0 ;
29550 PyObject
* obj3
= 0 ;
29551 PyObject
* obj4
= 0 ;
29552 char *kwnames
[] = {
29553 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29558 if (SWIG_arg_fail(1)) SWIG_fail
;
29560 arg2
= (int)(SWIG_As_int(obj1
));
29561 if (SWIG_arg_fail(2)) SWIG_fail
;
29564 arg3
= (int)(SWIG_As_int(obj2
));
29565 if (SWIG_arg_fail(3)) SWIG_fail
;
29569 arg4
= (int)(SWIG_As_int(obj3
));
29570 if (SWIG_arg_fail(4)) SWIG_fail
;
29575 arg5
= (int)(SWIG_As_int(obj4
));
29576 if (SWIG_arg_fail(5)) SWIG_fail
;
29580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29581 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
29583 wxPyEndAllowThreads(__tstate
);
29584 if (PyErr_Occurred()) SWIG_fail
;
29587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29595 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29596 PyObject
*resultobj
;
29597 wxWindow
*arg1
= (wxWindow
*) 0 ;
29598 wxPoint
*arg2
= 0 ;
29601 PyObject
* obj0
= 0 ;
29602 PyObject
* obj1
= 0 ;
29603 char *kwnames
[] = {
29604 (char *) "self",(char *) "pt", NULL
29607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
29608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29609 if (SWIG_arg_fail(1)) SWIG_fail
;
29612 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29616 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
29618 wxPyEndAllowThreads(__tstate
);
29619 if (PyErr_Occurred()) SWIG_fail
;
29622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29630 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29631 PyObject
*resultobj
;
29632 wxWindow
*arg1
= (wxWindow
*) 0 ;
29636 PyObject
* obj0
= 0 ;
29637 PyObject
* obj1
= 0 ;
29638 char *kwnames
[] = {
29639 (char *) "self",(char *) "rect", NULL
29642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
29643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29644 if (SWIG_arg_fail(1)) SWIG_fail
;
29647 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29651 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
29653 wxPyEndAllowThreads(__tstate
);
29654 if (PyErr_Occurred()) SWIG_fail
;
29657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29665 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29666 PyObject
*resultobj
;
29667 wxWindow
*arg1
= (wxWindow
*) 0 ;
29668 wxVisualAttributes result
;
29669 PyObject
* obj0
= 0 ;
29670 char *kwnames
[] = {
29671 (char *) "self", NULL
29674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29676 if (SWIG_arg_fail(1)) SWIG_fail
;
29678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29679 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
29681 wxPyEndAllowThreads(__tstate
);
29682 if (PyErr_Occurred()) SWIG_fail
;
29685 wxVisualAttributes
* resultptr
;
29686 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
29687 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29695 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29696 PyObject
*resultobj
;
29697 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
29698 wxVisualAttributes result
;
29699 PyObject
* obj0
= 0 ;
29700 char *kwnames
[] = {
29701 (char *) "variant", NULL
29704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29707 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
29708 if (SWIG_arg_fail(1)) SWIG_fail
;
29712 if (!wxPyCheckForApp()) SWIG_fail
;
29713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29714 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
29716 wxPyEndAllowThreads(__tstate
);
29717 if (PyErr_Occurred()) SWIG_fail
;
29720 wxVisualAttributes
* resultptr
;
29721 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
29722 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29730 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29731 PyObject
*resultobj
;
29732 wxWindow
*arg1
= (wxWindow
*) 0 ;
29733 wxColour
*arg2
= 0 ;
29736 PyObject
* obj0
= 0 ;
29737 PyObject
* obj1
= 0 ;
29738 char *kwnames
[] = {
29739 (char *) "self",(char *) "colour", NULL
29742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29744 if (SWIG_arg_fail(1)) SWIG_fail
;
29747 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29751 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
29753 wxPyEndAllowThreads(__tstate
);
29754 if (PyErr_Occurred()) SWIG_fail
;
29757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29765 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29766 PyObject
*resultobj
;
29767 wxWindow
*arg1
= (wxWindow
*) 0 ;
29768 wxColour
*arg2
= 0 ;
29770 PyObject
* obj0
= 0 ;
29771 PyObject
* obj1
= 0 ;
29772 char *kwnames
[] = {
29773 (char *) "self",(char *) "colour", NULL
29776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29778 if (SWIG_arg_fail(1)) SWIG_fail
;
29781 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29785 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
29787 wxPyEndAllowThreads(__tstate
);
29788 if (PyErr_Occurred()) SWIG_fail
;
29790 Py_INCREF(Py_None
); resultobj
= Py_None
;
29797 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29798 PyObject
*resultobj
;
29799 wxWindow
*arg1
= (wxWindow
*) 0 ;
29800 wxColour
*arg2
= 0 ;
29803 PyObject
* obj0
= 0 ;
29804 PyObject
* obj1
= 0 ;
29805 char *kwnames
[] = {
29806 (char *) "self",(char *) "colour", NULL
29809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29811 if (SWIG_arg_fail(1)) SWIG_fail
;
29814 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29818 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
29820 wxPyEndAllowThreads(__tstate
);
29821 if (PyErr_Occurred()) SWIG_fail
;
29824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29832 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29833 PyObject
*resultobj
;
29834 wxWindow
*arg1
= (wxWindow
*) 0 ;
29835 wxColour
*arg2
= 0 ;
29837 PyObject
* obj0
= 0 ;
29838 PyObject
* obj1
= 0 ;
29839 char *kwnames
[] = {
29840 (char *) "self",(char *) "colour", NULL
29843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29845 if (SWIG_arg_fail(1)) SWIG_fail
;
29848 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29852 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
29854 wxPyEndAllowThreads(__tstate
);
29855 if (PyErr_Occurred()) SWIG_fail
;
29857 Py_INCREF(Py_None
); resultobj
= Py_None
;
29864 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29865 PyObject
*resultobj
;
29866 wxWindow
*arg1
= (wxWindow
*) 0 ;
29868 PyObject
* obj0
= 0 ;
29869 char *kwnames
[] = {
29870 (char *) "self", NULL
29873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
29874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29875 if (SWIG_arg_fail(1)) SWIG_fail
;
29877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29878 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
29880 wxPyEndAllowThreads(__tstate
);
29881 if (PyErr_Occurred()) SWIG_fail
;
29884 wxColour
* resultptr
;
29885 resultptr
= new wxColour((wxColour
&)(result
));
29886 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29894 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29895 PyObject
*resultobj
;
29896 wxWindow
*arg1
= (wxWindow
*) 0 ;
29898 PyObject
* obj0
= 0 ;
29899 char *kwnames
[] = {
29900 (char *) "self", NULL
29903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
29904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29905 if (SWIG_arg_fail(1)) SWIG_fail
;
29907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29908 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
29910 wxPyEndAllowThreads(__tstate
);
29911 if (PyErr_Occurred()) SWIG_fail
;
29914 wxColour
* resultptr
;
29915 resultptr
= new wxColour((wxColour
&)(result
));
29916 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29924 static PyObject
*_wrap_Window_InheritsBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29925 PyObject
*resultobj
;
29926 wxWindow
*arg1
= (wxWindow
*) 0 ;
29928 PyObject
* obj0
= 0 ;
29929 char *kwnames
[] = {
29930 (char *) "self", NULL
29933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritsBackgroundColour",kwnames
,&obj0
)) goto fail
;
29934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29935 if (SWIG_arg_fail(1)) SWIG_fail
;
29937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29938 result
= (bool)((wxWindow
const *)arg1
)->InheritsBackgroundColour();
29940 wxPyEndAllowThreads(__tstate
);
29941 if (PyErr_Occurred()) SWIG_fail
;
29944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29952 static PyObject
*_wrap_Window_UseBgCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29953 PyObject
*resultobj
;
29954 wxWindow
*arg1
= (wxWindow
*) 0 ;
29956 PyObject
* obj0
= 0 ;
29957 char *kwnames
[] = {
29958 (char *) "self", NULL
29961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_UseBgCol",kwnames
,&obj0
)) goto fail
;
29962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29963 if (SWIG_arg_fail(1)) SWIG_fail
;
29965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29966 result
= (bool)((wxWindow
const *)arg1
)->UseBgCol();
29968 wxPyEndAllowThreads(__tstate
);
29969 if (PyErr_Occurred()) SWIG_fail
;
29972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29980 static PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29981 PyObject
*resultobj
;
29982 wxWindow
*arg1
= (wxWindow
*) 0 ;
29983 wxBackgroundStyle arg2
;
29985 PyObject
* obj0
= 0 ;
29986 PyObject
* obj1
= 0 ;
29987 char *kwnames
[] = {
29988 (char *) "self",(char *) "style", NULL
29991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
29992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29993 if (SWIG_arg_fail(1)) SWIG_fail
;
29995 arg2
= (wxBackgroundStyle
)(SWIG_As_int(obj1
));
29996 if (SWIG_arg_fail(2)) SWIG_fail
;
29999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30000 result
= (bool)(arg1
)->SetBackgroundStyle((wxBackgroundStyle
)arg2
);
30002 wxPyEndAllowThreads(__tstate
);
30003 if (PyErr_Occurred()) SWIG_fail
;
30006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30014 static PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30015 PyObject
*resultobj
;
30016 wxWindow
*arg1
= (wxWindow
*) 0 ;
30017 wxBackgroundStyle result
;
30018 PyObject
* obj0
= 0 ;
30019 char *kwnames
[] = {
30020 (char *) "self", NULL
30023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundStyle",kwnames
,&obj0
)) goto fail
;
30024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30025 if (SWIG_arg_fail(1)) SWIG_fail
;
30027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30028 result
= (wxBackgroundStyle
)((wxWindow
const *)arg1
)->GetBackgroundStyle();
30030 wxPyEndAllowThreads(__tstate
);
30031 if (PyErr_Occurred()) SWIG_fail
;
30033 resultobj
= SWIG_From_int((result
));
30040 static PyObject
*_wrap_Window_HasTransparentBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30041 PyObject
*resultobj
;
30042 wxWindow
*arg1
= (wxWindow
*) 0 ;
30044 PyObject
* obj0
= 0 ;
30045 char *kwnames
[] = {
30046 (char *) "self", NULL
30049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasTransparentBackground",kwnames
,&obj0
)) goto fail
;
30050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30051 if (SWIG_arg_fail(1)) SWIG_fail
;
30053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30054 result
= (bool)(arg1
)->HasTransparentBackground();
30056 wxPyEndAllowThreads(__tstate
);
30057 if (PyErr_Occurred()) SWIG_fail
;
30060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30068 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30069 PyObject
*resultobj
;
30070 wxWindow
*arg1
= (wxWindow
*) 0 ;
30071 wxCursor
*arg2
= 0 ;
30073 PyObject
* obj0
= 0 ;
30074 PyObject
* obj1
= 0 ;
30075 char *kwnames
[] = {
30076 (char *) "self",(char *) "cursor", NULL
30079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
30080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30081 if (SWIG_arg_fail(1)) SWIG_fail
;
30083 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
30084 if (SWIG_arg_fail(2)) SWIG_fail
;
30085 if (arg2
== NULL
) {
30086 SWIG_null_ref("wxCursor");
30088 if (SWIG_arg_fail(2)) SWIG_fail
;
30091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30092 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
30094 wxPyEndAllowThreads(__tstate
);
30095 if (PyErr_Occurred()) SWIG_fail
;
30098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30106 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30107 PyObject
*resultobj
;
30108 wxWindow
*arg1
= (wxWindow
*) 0 ;
30110 PyObject
* obj0
= 0 ;
30111 char *kwnames
[] = {
30112 (char *) "self", NULL
30115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
30116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30117 if (SWIG_arg_fail(1)) SWIG_fail
;
30119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30120 result
= (arg1
)->GetCursor();
30122 wxPyEndAllowThreads(__tstate
);
30123 if (PyErr_Occurred()) SWIG_fail
;
30126 wxCursor
* resultptr
;
30127 resultptr
= new wxCursor((wxCursor
&)(result
));
30128 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
30136 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30137 PyObject
*resultobj
;
30138 wxWindow
*arg1
= (wxWindow
*) 0 ;
30141 PyObject
* obj0
= 0 ;
30142 PyObject
* obj1
= 0 ;
30143 char *kwnames
[] = {
30144 (char *) "self",(char *) "font", NULL
30147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
30148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30149 if (SWIG_arg_fail(1)) SWIG_fail
;
30151 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30152 if (SWIG_arg_fail(2)) SWIG_fail
;
30153 if (arg2
== NULL
) {
30154 SWIG_null_ref("wxFont");
30156 if (SWIG_arg_fail(2)) SWIG_fail
;
30159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30160 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
30162 wxPyEndAllowThreads(__tstate
);
30163 if (PyErr_Occurred()) SWIG_fail
;
30166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30174 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30175 PyObject
*resultobj
;
30176 wxWindow
*arg1
= (wxWindow
*) 0 ;
30178 PyObject
* obj0
= 0 ;
30179 PyObject
* obj1
= 0 ;
30180 char *kwnames
[] = {
30181 (char *) "self",(char *) "font", NULL
30184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
30185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30186 if (SWIG_arg_fail(1)) SWIG_fail
;
30188 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30189 if (SWIG_arg_fail(2)) SWIG_fail
;
30190 if (arg2
== NULL
) {
30191 SWIG_null_ref("wxFont");
30193 if (SWIG_arg_fail(2)) SWIG_fail
;
30196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30197 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
30199 wxPyEndAllowThreads(__tstate
);
30200 if (PyErr_Occurred()) SWIG_fail
;
30202 Py_INCREF(Py_None
); resultobj
= Py_None
;
30209 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30210 PyObject
*resultobj
;
30211 wxWindow
*arg1
= (wxWindow
*) 0 ;
30213 PyObject
* obj0
= 0 ;
30214 char *kwnames
[] = {
30215 (char *) "self", NULL
30218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
30219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30220 if (SWIG_arg_fail(1)) SWIG_fail
;
30222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30223 result
= (arg1
)->GetFont();
30225 wxPyEndAllowThreads(__tstate
);
30226 if (PyErr_Occurred()) SWIG_fail
;
30229 wxFont
* resultptr
;
30230 resultptr
= new wxFont((wxFont
&)(result
));
30231 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
30239 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30240 PyObject
*resultobj
;
30241 wxWindow
*arg1
= (wxWindow
*) 0 ;
30242 wxCaret
*arg2
= (wxCaret
*) 0 ;
30243 PyObject
* obj0
= 0 ;
30244 PyObject
* obj1
= 0 ;
30245 char *kwnames
[] = {
30246 (char *) "self",(char *) "caret", NULL
30249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
30250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30251 if (SWIG_arg_fail(1)) SWIG_fail
;
30252 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
30253 if (SWIG_arg_fail(2)) SWIG_fail
;
30255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30256 (arg1
)->SetCaret(arg2
);
30258 wxPyEndAllowThreads(__tstate
);
30259 if (PyErr_Occurred()) SWIG_fail
;
30261 Py_INCREF(Py_None
); resultobj
= Py_None
;
30268 static PyObject
*_wrap_Window_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30269 PyObject
*resultobj
;
30270 wxWindow
*arg1
= (wxWindow
*) 0 ;
30272 PyObject
* obj0
= 0 ;
30273 char *kwnames
[] = {
30274 (char *) "self", NULL
30277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
30278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30279 if (SWIG_arg_fail(1)) SWIG_fail
;
30281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30282 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
30284 wxPyEndAllowThreads(__tstate
);
30285 if (PyErr_Occurred()) SWIG_fail
;
30287 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
30294 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30295 PyObject
*resultobj
;
30296 wxWindow
*arg1
= (wxWindow
*) 0 ;
30298 PyObject
* obj0
= 0 ;
30299 char *kwnames
[] = {
30300 (char *) "self", NULL
30303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
30304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30305 if (SWIG_arg_fail(1)) SWIG_fail
;
30307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30308 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
30310 wxPyEndAllowThreads(__tstate
);
30311 if (PyErr_Occurred()) SWIG_fail
;
30314 resultobj
= SWIG_From_int((int)(result
));
30322 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30323 PyObject
*resultobj
;
30324 wxWindow
*arg1
= (wxWindow
*) 0 ;
30326 PyObject
* obj0
= 0 ;
30327 char *kwnames
[] = {
30328 (char *) "self", NULL
30331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
30332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30333 if (SWIG_arg_fail(1)) SWIG_fail
;
30335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30336 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
30338 wxPyEndAllowThreads(__tstate
);
30339 if (PyErr_Occurred()) SWIG_fail
;
30342 resultobj
= SWIG_From_int((int)(result
));
30350 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30351 PyObject
*resultobj
;
30352 wxWindow
*arg1
= (wxWindow
*) 0 ;
30353 wxString
*arg2
= 0 ;
30354 int *arg3
= (int *) 0 ;
30355 int *arg4
= (int *) 0 ;
30356 bool temp2
= false ;
30361 PyObject
* obj0
= 0 ;
30362 PyObject
* obj1
= 0 ;
30363 char *kwnames
[] = {
30364 (char *) "self",(char *) "string", NULL
30367 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30368 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
30369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
30370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30371 if (SWIG_arg_fail(1)) SWIG_fail
;
30373 arg2
= wxString_in_helper(obj1
);
30374 if (arg2
== NULL
) SWIG_fail
;
30378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30379 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
30381 wxPyEndAllowThreads(__tstate
);
30382 if (PyErr_Occurred()) SWIG_fail
;
30384 Py_INCREF(Py_None
); resultobj
= Py_None
;
30385 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30386 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30387 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
30388 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
30403 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30404 PyObject
*resultobj
;
30405 wxWindow
*arg1
= (wxWindow
*) 0 ;
30406 wxString
*arg2
= 0 ;
30407 int *arg3
= (int *) 0 ;
30408 int *arg4
= (int *) 0 ;
30409 int *arg5
= (int *) 0 ;
30410 int *arg6
= (int *) 0 ;
30411 wxFont
*arg7
= (wxFont
*) NULL
;
30412 bool temp2
= false ;
30421 PyObject
* obj0
= 0 ;
30422 PyObject
* obj1
= 0 ;
30423 PyObject
* obj2
= 0 ;
30424 char *kwnames
[] = {
30425 (char *) "self",(char *) "string",(char *) "font", NULL
30428 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30429 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
30430 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
30431 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
30432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30434 if (SWIG_arg_fail(1)) SWIG_fail
;
30436 arg2
= wxString_in_helper(obj1
);
30437 if (arg2
== NULL
) SWIG_fail
;
30441 SWIG_Python_ConvertPtr(obj2
, (void **)&arg7
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30442 if (SWIG_arg_fail(7)) SWIG_fail
;
30445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30446 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
30448 wxPyEndAllowThreads(__tstate
);
30449 if (PyErr_Occurred()) SWIG_fail
;
30451 Py_INCREF(Py_None
); resultobj
= Py_None
;
30452 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30453 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30454 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
30455 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
30456 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
30457 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
30458 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
30459 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
30474 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30475 PyObject
*resultobj
;
30476 wxWindow
*arg1
= (wxWindow
*) 0 ;
30477 int *arg2
= (int *) 0 ;
30478 int *arg3
= (int *) 0 ;
30483 PyObject
* obj0
= 0 ;
30484 PyObject
* obj1
= 0 ;
30485 PyObject
* obj2
= 0 ;
30486 char *kwnames
[] = {
30487 (char *) "self",(char *) "x",(char *) "y", NULL
30490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30492 if (SWIG_arg_fail(1)) SWIG_fail
;
30494 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
30495 temp2
= SWIG_As_int(obj1
);
30496 if (SWIG_arg_fail(2)) SWIG_fail
;
30498 res2
= SWIG_NEWOBJ
;
30502 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
30503 temp3
= SWIG_As_int(obj2
);
30504 if (SWIG_arg_fail(3)) SWIG_fail
;
30506 res3
= SWIG_NEWOBJ
;
30510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30511 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
30513 wxPyEndAllowThreads(__tstate
);
30514 if (PyErr_Occurred()) SWIG_fail
;
30516 Py_INCREF(Py_None
); resultobj
= Py_None
;
30517 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30518 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30519 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30520 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30527 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30528 PyObject
*resultobj
;
30529 wxWindow
*arg1
= (wxWindow
*) 0 ;
30530 int *arg2
= (int *) 0 ;
30531 int *arg3
= (int *) 0 ;
30536 PyObject
* obj0
= 0 ;
30537 PyObject
* obj1
= 0 ;
30538 PyObject
* obj2
= 0 ;
30539 char *kwnames
[] = {
30540 (char *) "self",(char *) "x",(char *) "y", NULL
30543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30545 if (SWIG_arg_fail(1)) SWIG_fail
;
30547 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
30548 temp2
= SWIG_As_int(obj1
);
30549 if (SWIG_arg_fail(2)) SWIG_fail
;
30551 res2
= SWIG_NEWOBJ
;
30555 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
30556 temp3
= SWIG_As_int(obj2
);
30557 if (SWIG_arg_fail(3)) SWIG_fail
;
30559 res3
= SWIG_NEWOBJ
;
30563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30564 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
30566 wxPyEndAllowThreads(__tstate
);
30567 if (PyErr_Occurred()) SWIG_fail
;
30569 Py_INCREF(Py_None
); resultobj
= Py_None
;
30570 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30571 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30572 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30573 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30580 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30581 PyObject
*resultobj
;
30582 wxWindow
*arg1
= (wxWindow
*) 0 ;
30583 wxPoint
*arg2
= 0 ;
30586 PyObject
* obj0
= 0 ;
30587 PyObject
* obj1
= 0 ;
30588 char *kwnames
[] = {
30589 (char *) "self",(char *) "pt", NULL
30592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
30593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30594 if (SWIG_arg_fail(1)) SWIG_fail
;
30597 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30601 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
30603 wxPyEndAllowThreads(__tstate
);
30604 if (PyErr_Occurred()) SWIG_fail
;
30607 wxPoint
* resultptr
;
30608 resultptr
= new wxPoint((wxPoint
&)(result
));
30609 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30617 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30618 PyObject
*resultobj
;
30619 wxWindow
*arg1
= (wxWindow
*) 0 ;
30620 wxPoint
*arg2
= 0 ;
30623 PyObject
* obj0
= 0 ;
30624 PyObject
* obj1
= 0 ;
30625 char *kwnames
[] = {
30626 (char *) "self",(char *) "pt", NULL
30629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
30630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30631 if (SWIG_arg_fail(1)) SWIG_fail
;
30634 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30638 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
30640 wxPyEndAllowThreads(__tstate
);
30641 if (PyErr_Occurred()) SWIG_fail
;
30644 wxPoint
* resultptr
;
30645 resultptr
= new wxPoint((wxPoint
&)(result
));
30646 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30654 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30655 PyObject
*resultobj
;
30656 wxWindow
*arg1
= (wxWindow
*) 0 ;
30660 PyObject
* obj0
= 0 ;
30661 PyObject
* obj1
= 0 ;
30662 PyObject
* obj2
= 0 ;
30663 char *kwnames
[] = {
30664 (char *) "self",(char *) "x",(char *) "y", NULL
30667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30669 if (SWIG_arg_fail(1)) SWIG_fail
;
30671 arg2
= (int)(SWIG_As_int(obj1
));
30672 if (SWIG_arg_fail(2)) SWIG_fail
;
30675 arg3
= (int)(SWIG_As_int(obj2
));
30676 if (SWIG_arg_fail(3)) SWIG_fail
;
30679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30680 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
30682 wxPyEndAllowThreads(__tstate
);
30683 if (PyErr_Occurred()) SWIG_fail
;
30685 resultobj
= SWIG_From_int((result
));
30692 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30693 PyObject
*resultobj
;
30694 wxWindow
*arg1
= (wxWindow
*) 0 ;
30695 wxPoint
*arg2
= 0 ;
30698 PyObject
* obj0
= 0 ;
30699 PyObject
* obj1
= 0 ;
30700 char *kwnames
[] = {
30701 (char *) "self",(char *) "pt", NULL
30704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
30705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30706 if (SWIG_arg_fail(1)) SWIG_fail
;
30709 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30713 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
30715 wxPyEndAllowThreads(__tstate
);
30716 if (PyErr_Occurred()) SWIG_fail
;
30718 resultobj
= SWIG_From_int((result
));
30725 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
30726 PyObject
*resultobj
;
30727 wxWindow
*arg1
= (wxWindow
*) 0 ;
30730 PyObject
* obj0
= 0 ;
30731 PyObject
* obj1
= 0 ;
30733 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
30734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30735 if (SWIG_arg_fail(1)) SWIG_fail
;
30737 arg2
= (long)(SWIG_As_long(obj1
));
30738 if (SWIG_arg_fail(2)) SWIG_fail
;
30741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30742 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder(arg2
);
30744 wxPyEndAllowThreads(__tstate
);
30745 if (PyErr_Occurred()) SWIG_fail
;
30747 resultobj
= SWIG_From_int((result
));
30754 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
30755 PyObject
*resultobj
;
30756 wxWindow
*arg1
= (wxWindow
*) 0 ;
30758 PyObject
* obj0
= 0 ;
30760 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
30761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30762 if (SWIG_arg_fail(1)) SWIG_fail
;
30764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30765 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder();
30767 wxPyEndAllowThreads(__tstate
);
30768 if (PyErr_Occurred()) SWIG_fail
;
30770 resultobj
= SWIG_From_int((result
));
30777 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
30782 argc
= PyObject_Length(args
);
30783 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
30784 argv
[ii
] = PyTuple_GetItem(args
,ii
);
30790 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
30798 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
30805 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
30813 _v
= SWIG_Check_long(argv
[1]);
30815 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
30820 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'Window_GetBorder'");
30825 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30826 PyObject
*resultobj
;
30827 wxWindow
*arg1
= (wxWindow
*) 0 ;
30828 long arg2
= (long) wxUPDATE_UI_NONE
;
30829 PyObject
* obj0
= 0 ;
30830 PyObject
* obj1
= 0 ;
30831 char *kwnames
[] = {
30832 (char *) "self",(char *) "flags", NULL
30835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
30836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30837 if (SWIG_arg_fail(1)) SWIG_fail
;
30840 arg2
= (long)(SWIG_As_long(obj1
));
30841 if (SWIG_arg_fail(2)) SWIG_fail
;
30845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30846 (arg1
)->UpdateWindowUI(arg2
);
30848 wxPyEndAllowThreads(__tstate
);
30849 if (PyErr_Occurred()) SWIG_fail
;
30851 Py_INCREF(Py_None
); resultobj
= Py_None
;
30858 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30859 PyObject
*resultobj
;
30860 wxWindow
*arg1
= (wxWindow
*) 0 ;
30861 wxMenu
*arg2
= (wxMenu
*) 0 ;
30862 int arg3
= (int) -1 ;
30863 int arg4
= (int) -1 ;
30865 PyObject
* obj0
= 0 ;
30866 PyObject
* obj1
= 0 ;
30867 PyObject
* obj2
= 0 ;
30868 PyObject
* obj3
= 0 ;
30869 char *kwnames
[] = {
30870 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
30873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30875 if (SWIG_arg_fail(1)) SWIG_fail
;
30876 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30877 if (SWIG_arg_fail(2)) SWIG_fail
;
30880 arg3
= (int)(SWIG_As_int(obj2
));
30881 if (SWIG_arg_fail(3)) SWIG_fail
;
30886 arg4
= (int)(SWIG_As_int(obj3
));
30887 if (SWIG_arg_fail(4)) SWIG_fail
;
30891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30892 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
30894 wxPyEndAllowThreads(__tstate
);
30895 if (PyErr_Occurred()) SWIG_fail
;
30898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30906 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30907 PyObject
*resultobj
;
30908 wxWindow
*arg1
= (wxWindow
*) 0 ;
30909 wxMenu
*arg2
= (wxMenu
*) 0 ;
30910 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30911 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30914 PyObject
* obj0
= 0 ;
30915 PyObject
* obj1
= 0 ;
30916 PyObject
* obj2
= 0 ;
30917 char *kwnames
[] = {
30918 (char *) "self",(char *) "menu",(char *) "pos", NULL
30921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30923 if (SWIG_arg_fail(1)) SWIG_fail
;
30924 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30925 if (SWIG_arg_fail(2)) SWIG_fail
;
30929 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30934 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
30936 wxPyEndAllowThreads(__tstate
);
30937 if (PyErr_Occurred()) SWIG_fail
;
30940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30948 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30949 PyObject
*resultobj
;
30950 wxWindow
*arg1
= (wxWindow
*) 0 ;
30952 PyObject
* obj0
= 0 ;
30953 char *kwnames
[] = {
30954 (char *) "self", NULL
30957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
30958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30959 if (SWIG_arg_fail(1)) SWIG_fail
;
30961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30962 result
= (long)wxWindow_GetHandle(arg1
);
30964 wxPyEndAllowThreads(__tstate
);
30965 if (PyErr_Occurred()) SWIG_fail
;
30968 resultobj
= SWIG_From_long((long)(result
));
30976 static PyObject
*_wrap_Window_AssociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30977 PyObject
*resultobj
;
30978 wxWindow
*arg1
= (wxWindow
*) 0 ;
30980 PyObject
* obj0
= 0 ;
30981 PyObject
* obj1
= 0 ;
30982 char *kwnames
[] = {
30983 (char *) "self",(char *) "handle", NULL
30986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
30987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30988 if (SWIG_arg_fail(1)) SWIG_fail
;
30990 arg2
= (long)(SWIG_As_long(obj1
));
30991 if (SWIG_arg_fail(2)) SWIG_fail
;
30994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30995 wxWindow_AssociateHandle(arg1
,arg2
);
30997 wxPyEndAllowThreads(__tstate
);
30998 if (PyErr_Occurred()) SWIG_fail
;
31000 Py_INCREF(Py_None
); resultobj
= Py_None
;
31007 static PyObject
*_wrap_Window_DissociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31008 PyObject
*resultobj
;
31009 wxWindow
*arg1
= (wxWindow
*) 0 ;
31010 PyObject
* obj0
= 0 ;
31011 char *kwnames
[] = {
31012 (char *) "self", NULL
31015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DissociateHandle",kwnames
,&obj0
)) goto fail
;
31016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31017 if (SWIG_arg_fail(1)) SWIG_fail
;
31019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31020 (arg1
)->DissociateHandle();
31022 wxPyEndAllowThreads(__tstate
);
31023 if (PyErr_Occurred()) SWIG_fail
;
31025 Py_INCREF(Py_None
); resultobj
= Py_None
;
31032 static PyObject
*_wrap_Window_OnPaint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31033 PyObject
*resultobj
;
31034 wxWindow
*arg1
= (wxWindow
*) 0 ;
31035 wxPaintEvent
*arg2
= 0 ;
31036 PyObject
* obj0
= 0 ;
31037 PyObject
* obj1
= 0 ;
31038 char *kwnames
[] = {
31039 (char *) "self",(char *) "event", NULL
31042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_OnPaint",kwnames
,&obj0
,&obj1
)) goto fail
;
31043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31044 if (SWIG_arg_fail(1)) SWIG_fail
;
31046 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPaintEvent
, SWIG_POINTER_EXCEPTION
| 0);
31047 if (SWIG_arg_fail(2)) SWIG_fail
;
31048 if (arg2
== NULL
) {
31049 SWIG_null_ref("wxPaintEvent");
31051 if (SWIG_arg_fail(2)) SWIG_fail
;
31054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31055 (arg1
)->OnPaint(*arg2
);
31057 wxPyEndAllowThreads(__tstate
);
31058 if (PyErr_Occurred()) SWIG_fail
;
31060 Py_INCREF(Py_None
); resultobj
= Py_None
;
31067 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31068 PyObject
*resultobj
;
31069 wxWindow
*arg1
= (wxWindow
*) 0 ;
31072 PyObject
* obj0
= 0 ;
31073 PyObject
* obj1
= 0 ;
31074 char *kwnames
[] = {
31075 (char *) "self",(char *) "orient", NULL
31078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
31079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31080 if (SWIG_arg_fail(1)) SWIG_fail
;
31082 arg2
= (int)(SWIG_As_int(obj1
));
31083 if (SWIG_arg_fail(2)) SWIG_fail
;
31086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31087 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
31089 wxPyEndAllowThreads(__tstate
);
31090 if (PyErr_Occurred()) SWIG_fail
;
31093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31101 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31102 PyObject
*resultobj
;
31103 wxWindow
*arg1
= (wxWindow
*) 0 ;
31108 bool arg6
= (bool) true ;
31109 PyObject
* obj0
= 0 ;
31110 PyObject
* obj1
= 0 ;
31111 PyObject
* obj2
= 0 ;
31112 PyObject
* obj3
= 0 ;
31113 PyObject
* obj4
= 0 ;
31114 PyObject
* obj5
= 0 ;
31115 char *kwnames
[] = {
31116 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
31119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31121 if (SWIG_arg_fail(1)) SWIG_fail
;
31123 arg2
= (int)(SWIG_As_int(obj1
));
31124 if (SWIG_arg_fail(2)) SWIG_fail
;
31127 arg3
= (int)(SWIG_As_int(obj2
));
31128 if (SWIG_arg_fail(3)) SWIG_fail
;
31131 arg4
= (int)(SWIG_As_int(obj3
));
31132 if (SWIG_arg_fail(4)) SWIG_fail
;
31135 arg5
= (int)(SWIG_As_int(obj4
));
31136 if (SWIG_arg_fail(5)) SWIG_fail
;
31140 arg6
= (bool)(SWIG_As_bool(obj5
));
31141 if (SWIG_arg_fail(6)) SWIG_fail
;
31145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31146 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
31148 wxPyEndAllowThreads(__tstate
);
31149 if (PyErr_Occurred()) SWIG_fail
;
31151 Py_INCREF(Py_None
); resultobj
= Py_None
;
31158 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31159 PyObject
*resultobj
;
31160 wxWindow
*arg1
= (wxWindow
*) 0 ;
31163 bool arg4
= (bool) true ;
31164 PyObject
* obj0
= 0 ;
31165 PyObject
* obj1
= 0 ;
31166 PyObject
* obj2
= 0 ;
31167 PyObject
* obj3
= 0 ;
31168 char *kwnames
[] = {
31169 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
31172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31174 if (SWIG_arg_fail(1)) SWIG_fail
;
31176 arg2
= (int)(SWIG_As_int(obj1
));
31177 if (SWIG_arg_fail(2)) SWIG_fail
;
31180 arg3
= (int)(SWIG_As_int(obj2
));
31181 if (SWIG_arg_fail(3)) SWIG_fail
;
31185 arg4
= (bool)(SWIG_As_bool(obj3
));
31186 if (SWIG_arg_fail(4)) SWIG_fail
;
31190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31191 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
31193 wxPyEndAllowThreads(__tstate
);
31194 if (PyErr_Occurred()) SWIG_fail
;
31196 Py_INCREF(Py_None
); resultobj
= Py_None
;
31203 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31204 PyObject
*resultobj
;
31205 wxWindow
*arg1
= (wxWindow
*) 0 ;
31208 PyObject
* obj0
= 0 ;
31209 PyObject
* obj1
= 0 ;
31210 char *kwnames
[] = {
31211 (char *) "self",(char *) "orientation", NULL
31214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
31215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31216 if (SWIG_arg_fail(1)) SWIG_fail
;
31218 arg2
= (int)(SWIG_As_int(obj1
));
31219 if (SWIG_arg_fail(2)) SWIG_fail
;
31222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31223 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
31225 wxPyEndAllowThreads(__tstate
);
31226 if (PyErr_Occurred()) SWIG_fail
;
31229 resultobj
= SWIG_From_int((int)(result
));
31237 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31238 PyObject
*resultobj
;
31239 wxWindow
*arg1
= (wxWindow
*) 0 ;
31242 PyObject
* obj0
= 0 ;
31243 PyObject
* obj1
= 0 ;
31244 char *kwnames
[] = {
31245 (char *) "self",(char *) "orientation", NULL
31248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
31249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31250 if (SWIG_arg_fail(1)) SWIG_fail
;
31252 arg2
= (int)(SWIG_As_int(obj1
));
31253 if (SWIG_arg_fail(2)) SWIG_fail
;
31256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31257 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
31259 wxPyEndAllowThreads(__tstate
);
31260 if (PyErr_Occurred()) SWIG_fail
;
31263 resultobj
= SWIG_From_int((int)(result
));
31271 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31272 PyObject
*resultobj
;
31273 wxWindow
*arg1
= (wxWindow
*) 0 ;
31276 PyObject
* obj0
= 0 ;
31277 PyObject
* obj1
= 0 ;
31278 char *kwnames
[] = {
31279 (char *) "self",(char *) "orientation", NULL
31282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
31283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31284 if (SWIG_arg_fail(1)) SWIG_fail
;
31286 arg2
= (int)(SWIG_As_int(obj1
));
31287 if (SWIG_arg_fail(2)) SWIG_fail
;
31290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31291 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
31293 wxPyEndAllowThreads(__tstate
);
31294 if (PyErr_Occurred()) SWIG_fail
;
31297 resultobj
= SWIG_From_int((int)(result
));
31305 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31306 PyObject
*resultobj
;
31307 wxWindow
*arg1
= (wxWindow
*) 0 ;
31310 wxRect
*arg4
= (wxRect
*) NULL
;
31311 PyObject
* obj0
= 0 ;
31312 PyObject
* obj1
= 0 ;
31313 PyObject
* obj2
= 0 ;
31314 PyObject
* obj3
= 0 ;
31315 char *kwnames
[] = {
31316 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
31319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31321 if (SWIG_arg_fail(1)) SWIG_fail
;
31323 arg2
= (int)(SWIG_As_int(obj1
));
31324 if (SWIG_arg_fail(2)) SWIG_fail
;
31327 arg3
= (int)(SWIG_As_int(obj2
));
31328 if (SWIG_arg_fail(3)) SWIG_fail
;
31331 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
31332 if (SWIG_arg_fail(4)) SWIG_fail
;
31335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31336 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
31338 wxPyEndAllowThreads(__tstate
);
31339 if (PyErr_Occurred()) SWIG_fail
;
31341 Py_INCREF(Py_None
); resultobj
= Py_None
;
31348 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31349 PyObject
*resultobj
;
31350 wxWindow
*arg1
= (wxWindow
*) 0 ;
31353 PyObject
* obj0
= 0 ;
31354 PyObject
* obj1
= 0 ;
31355 char *kwnames
[] = {
31356 (char *) "self",(char *) "lines", NULL
31359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
31360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31361 if (SWIG_arg_fail(1)) SWIG_fail
;
31363 arg2
= (int)(SWIG_As_int(obj1
));
31364 if (SWIG_arg_fail(2)) SWIG_fail
;
31367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31368 result
= (bool)(arg1
)->ScrollLines(arg2
);
31370 wxPyEndAllowThreads(__tstate
);
31371 if (PyErr_Occurred()) SWIG_fail
;
31374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31382 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31383 PyObject
*resultobj
;
31384 wxWindow
*arg1
= (wxWindow
*) 0 ;
31387 PyObject
* obj0
= 0 ;
31388 PyObject
* obj1
= 0 ;
31389 char *kwnames
[] = {
31390 (char *) "self",(char *) "pages", NULL
31393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
31394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31395 if (SWIG_arg_fail(1)) SWIG_fail
;
31397 arg2
= (int)(SWIG_As_int(obj1
));
31398 if (SWIG_arg_fail(2)) SWIG_fail
;
31401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31402 result
= (bool)(arg1
)->ScrollPages(arg2
);
31404 wxPyEndAllowThreads(__tstate
);
31405 if (PyErr_Occurred()) SWIG_fail
;
31408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31416 static PyObject
*_wrap_Window_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31417 PyObject
*resultobj
;
31418 wxWindow
*arg1
= (wxWindow
*) 0 ;
31420 PyObject
* obj0
= 0 ;
31421 char *kwnames
[] = {
31422 (char *) "self", NULL
31425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
31426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31427 if (SWIG_arg_fail(1)) SWIG_fail
;
31429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31430 result
= (bool)(arg1
)->LineUp();
31432 wxPyEndAllowThreads(__tstate
);
31433 if (PyErr_Occurred()) SWIG_fail
;
31436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31444 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31445 PyObject
*resultobj
;
31446 wxWindow
*arg1
= (wxWindow
*) 0 ;
31448 PyObject
* obj0
= 0 ;
31449 char *kwnames
[] = {
31450 (char *) "self", NULL
31453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
31454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31455 if (SWIG_arg_fail(1)) SWIG_fail
;
31457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31458 result
= (bool)(arg1
)->LineDown();
31460 wxPyEndAllowThreads(__tstate
);
31461 if (PyErr_Occurred()) SWIG_fail
;
31464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31472 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31473 PyObject
*resultobj
;
31474 wxWindow
*arg1
= (wxWindow
*) 0 ;
31476 PyObject
* obj0
= 0 ;
31477 char *kwnames
[] = {
31478 (char *) "self", NULL
31481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
31482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31483 if (SWIG_arg_fail(1)) SWIG_fail
;
31485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31486 result
= (bool)(arg1
)->PageUp();
31488 wxPyEndAllowThreads(__tstate
);
31489 if (PyErr_Occurred()) SWIG_fail
;
31492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31500 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31501 PyObject
*resultobj
;
31502 wxWindow
*arg1
= (wxWindow
*) 0 ;
31504 PyObject
* obj0
= 0 ;
31505 char *kwnames
[] = {
31506 (char *) "self", NULL
31509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
31510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31511 if (SWIG_arg_fail(1)) SWIG_fail
;
31513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31514 result
= (bool)(arg1
)->PageDown();
31516 wxPyEndAllowThreads(__tstate
);
31517 if (PyErr_Occurred()) SWIG_fail
;
31520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31528 static PyObject
*_wrap_Window_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31529 PyObject
*resultobj
;
31530 wxWindow
*arg1
= (wxWindow
*) 0 ;
31531 wxString
*arg2
= 0 ;
31532 bool temp2
= false ;
31533 PyObject
* obj0
= 0 ;
31534 PyObject
* obj1
= 0 ;
31535 char *kwnames
[] = {
31536 (char *) "self",(char *) "text", NULL
31539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
31540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31541 if (SWIG_arg_fail(1)) SWIG_fail
;
31543 arg2
= wxString_in_helper(obj1
);
31544 if (arg2
== NULL
) SWIG_fail
;
31548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31549 (arg1
)->SetHelpText((wxString
const &)*arg2
);
31551 wxPyEndAllowThreads(__tstate
);
31552 if (PyErr_Occurred()) SWIG_fail
;
31554 Py_INCREF(Py_None
); resultobj
= Py_None
;
31569 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31570 PyObject
*resultobj
;
31571 wxWindow
*arg1
= (wxWindow
*) 0 ;
31572 wxString
*arg2
= 0 ;
31573 bool temp2
= false ;
31574 PyObject
* obj0
= 0 ;
31575 PyObject
* obj1
= 0 ;
31576 char *kwnames
[] = {
31577 (char *) "self",(char *) "text", NULL
31580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
31581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31582 if (SWIG_arg_fail(1)) SWIG_fail
;
31584 arg2
= wxString_in_helper(obj1
);
31585 if (arg2
== NULL
) SWIG_fail
;
31589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31590 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
31592 wxPyEndAllowThreads(__tstate
);
31593 if (PyErr_Occurred()) SWIG_fail
;
31595 Py_INCREF(Py_None
); resultobj
= Py_None
;
31610 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31611 PyObject
*resultobj
;
31612 wxWindow
*arg1
= (wxWindow
*) 0 ;
31614 PyObject
* obj0
= 0 ;
31615 char *kwnames
[] = {
31616 (char *) "self", NULL
31619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
31620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31621 if (SWIG_arg_fail(1)) SWIG_fail
;
31623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31624 result
= ((wxWindow
const *)arg1
)->GetHelpText();
31626 wxPyEndAllowThreads(__tstate
);
31627 if (PyErr_Occurred()) SWIG_fail
;
31631 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31633 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31642 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31643 PyObject
*resultobj
;
31644 wxWindow
*arg1
= (wxWindow
*) 0 ;
31645 wxString
*arg2
= 0 ;
31646 bool temp2
= false ;
31647 PyObject
* obj0
= 0 ;
31648 PyObject
* obj1
= 0 ;
31649 char *kwnames
[] = {
31650 (char *) "self",(char *) "tip", NULL
31653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
31654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31655 if (SWIG_arg_fail(1)) SWIG_fail
;
31657 arg2
= wxString_in_helper(obj1
);
31658 if (arg2
== NULL
) SWIG_fail
;
31662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31663 (arg1
)->SetToolTip((wxString
const &)*arg2
);
31665 wxPyEndAllowThreads(__tstate
);
31666 if (PyErr_Occurred()) SWIG_fail
;
31668 Py_INCREF(Py_None
); resultobj
= Py_None
;
31683 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31684 PyObject
*resultobj
;
31685 wxWindow
*arg1
= (wxWindow
*) 0 ;
31686 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
31687 PyObject
* obj0
= 0 ;
31688 PyObject
* obj1
= 0 ;
31689 char *kwnames
[] = {
31690 (char *) "self",(char *) "tip", NULL
31693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
31694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31695 if (SWIG_arg_fail(1)) SWIG_fail
;
31696 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
31697 if (SWIG_arg_fail(2)) SWIG_fail
;
31699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31700 (arg1
)->SetToolTip(arg2
);
31702 wxPyEndAllowThreads(__tstate
);
31703 if (PyErr_Occurred()) SWIG_fail
;
31705 Py_INCREF(Py_None
); resultobj
= Py_None
;
31712 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31713 PyObject
*resultobj
;
31714 wxWindow
*arg1
= (wxWindow
*) 0 ;
31716 PyObject
* obj0
= 0 ;
31717 char *kwnames
[] = {
31718 (char *) "self", NULL
31721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
31722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31723 if (SWIG_arg_fail(1)) SWIG_fail
;
31725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31726 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
31728 wxPyEndAllowThreads(__tstate
);
31729 if (PyErr_Occurred()) SWIG_fail
;
31732 resultobj
= wxPyMake_wxObject(result
, 0);
31740 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31741 PyObject
*resultobj
;
31742 wxWindow
*arg1
= (wxWindow
*) 0 ;
31743 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
31744 PyObject
* obj0
= 0 ;
31745 PyObject
* obj1
= 0 ;
31746 char *kwnames
[] = {
31747 (char *) "self",(char *) "dropTarget", NULL
31750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",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
;
31753 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31754 if (SWIG_arg_fail(2)) SWIG_fail
;
31756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31757 (arg1
)->SetDropTarget(arg2
);
31759 wxPyEndAllowThreads(__tstate
);
31760 if (PyErr_Occurred()) SWIG_fail
;
31762 Py_INCREF(Py_None
); resultobj
= Py_None
;
31769 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31770 PyObject
*resultobj
;
31771 wxWindow
*arg1
= (wxWindow
*) 0 ;
31772 wxPyDropTarget
*result
;
31773 PyObject
* obj0
= 0 ;
31774 char *kwnames
[] = {
31775 (char *) "self", NULL
31778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
31779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31780 if (SWIG_arg_fail(1)) SWIG_fail
;
31782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31783 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
31785 wxPyEndAllowThreads(__tstate
);
31786 if (PyErr_Occurred()) SWIG_fail
;
31788 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
31795 static PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31796 PyObject
*resultobj
;
31797 wxWindow
*arg1
= (wxWindow
*) 0 ;
31799 PyObject
* obj0
= 0 ;
31800 PyObject
* obj1
= 0 ;
31801 char *kwnames
[] = {
31802 (char *) "self",(char *) "accept", NULL
31805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) goto fail
;
31806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31807 if (SWIG_arg_fail(1)) SWIG_fail
;
31809 arg2
= (bool)(SWIG_As_bool(obj1
));
31810 if (SWIG_arg_fail(2)) SWIG_fail
;
31813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31814 (arg1
)->DragAcceptFiles(arg2
);
31816 wxPyEndAllowThreads(__tstate
);
31817 if (PyErr_Occurred()) SWIG_fail
;
31819 Py_INCREF(Py_None
); resultobj
= Py_None
;
31826 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31827 PyObject
*resultobj
;
31828 wxWindow
*arg1
= (wxWindow
*) 0 ;
31829 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
31830 PyObject
* obj0
= 0 ;
31831 PyObject
* obj1
= 0 ;
31832 char *kwnames
[] = {
31833 (char *) "self",(char *) "constraints", NULL
31836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",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
;
31839 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
31840 if (SWIG_arg_fail(2)) SWIG_fail
;
31842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31843 (arg1
)->SetConstraints(arg2
);
31845 wxPyEndAllowThreads(__tstate
);
31846 if (PyErr_Occurred()) SWIG_fail
;
31848 Py_INCREF(Py_None
); resultobj
= Py_None
;
31855 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31856 PyObject
*resultobj
;
31857 wxWindow
*arg1
= (wxWindow
*) 0 ;
31858 wxLayoutConstraints
*result
;
31859 PyObject
* obj0
= 0 ;
31860 char *kwnames
[] = {
31861 (char *) "self", NULL
31864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
31865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31866 if (SWIG_arg_fail(1)) SWIG_fail
;
31868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31869 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
31871 wxPyEndAllowThreads(__tstate
);
31872 if (PyErr_Occurred()) SWIG_fail
;
31874 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
31881 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31882 PyObject
*resultobj
;
31883 wxWindow
*arg1
= (wxWindow
*) 0 ;
31885 PyObject
* obj0
= 0 ;
31886 PyObject
* obj1
= 0 ;
31887 char *kwnames
[] = {
31888 (char *) "self",(char *) "autoLayout", NULL
31891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
31892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31893 if (SWIG_arg_fail(1)) SWIG_fail
;
31895 arg2
= (bool)(SWIG_As_bool(obj1
));
31896 if (SWIG_arg_fail(2)) SWIG_fail
;
31899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31900 (arg1
)->SetAutoLayout(arg2
);
31902 wxPyEndAllowThreads(__tstate
);
31903 if (PyErr_Occurred()) SWIG_fail
;
31905 Py_INCREF(Py_None
); resultobj
= Py_None
;
31912 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31913 PyObject
*resultobj
;
31914 wxWindow
*arg1
= (wxWindow
*) 0 ;
31916 PyObject
* obj0
= 0 ;
31917 char *kwnames
[] = {
31918 (char *) "self", NULL
31921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
31922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31923 if (SWIG_arg_fail(1)) SWIG_fail
;
31925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31926 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
31928 wxPyEndAllowThreads(__tstate
);
31929 if (PyErr_Occurred()) SWIG_fail
;
31932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31940 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31941 PyObject
*resultobj
;
31942 wxWindow
*arg1
= (wxWindow
*) 0 ;
31944 PyObject
* obj0
= 0 ;
31945 char *kwnames
[] = {
31946 (char *) "self", NULL
31949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
31950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31951 if (SWIG_arg_fail(1)) SWIG_fail
;
31953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31954 result
= (bool)(arg1
)->Layout();
31956 wxPyEndAllowThreads(__tstate
);
31957 if (PyErr_Occurred()) SWIG_fail
;
31960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31968 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31969 PyObject
*resultobj
;
31970 wxWindow
*arg1
= (wxWindow
*) 0 ;
31971 wxSizer
*arg2
= (wxSizer
*) 0 ;
31972 bool arg3
= (bool) true ;
31973 PyObject
* obj0
= 0 ;
31974 PyObject
* obj1
= 0 ;
31975 PyObject
* obj2
= 0 ;
31976 char *kwnames
[] = {
31977 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31982 if (SWIG_arg_fail(1)) SWIG_fail
;
31983 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31984 if (SWIG_arg_fail(2)) SWIG_fail
;
31987 arg3
= (bool)(SWIG_As_bool(obj2
));
31988 if (SWIG_arg_fail(3)) SWIG_fail
;
31992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31993 (arg1
)->SetSizer(arg2
,arg3
);
31995 wxPyEndAllowThreads(__tstate
);
31996 if (PyErr_Occurred()) SWIG_fail
;
31998 Py_INCREF(Py_None
); resultobj
= Py_None
;
32005 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32006 PyObject
*resultobj
;
32007 wxWindow
*arg1
= (wxWindow
*) 0 ;
32008 wxSizer
*arg2
= (wxSizer
*) 0 ;
32009 bool arg3
= (bool) true ;
32010 PyObject
* obj0
= 0 ;
32011 PyObject
* obj1
= 0 ;
32012 PyObject
* obj2
= 0 ;
32013 char *kwnames
[] = {
32014 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
32017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32019 if (SWIG_arg_fail(1)) SWIG_fail
;
32020 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
32021 if (SWIG_arg_fail(2)) SWIG_fail
;
32024 arg3
= (bool)(SWIG_As_bool(obj2
));
32025 if (SWIG_arg_fail(3)) SWIG_fail
;
32029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32030 (arg1
)->SetSizerAndFit(arg2
,arg3
);
32032 wxPyEndAllowThreads(__tstate
);
32033 if (PyErr_Occurred()) SWIG_fail
;
32035 Py_INCREF(Py_None
); resultobj
= Py_None
;
32042 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32043 PyObject
*resultobj
;
32044 wxWindow
*arg1
= (wxWindow
*) 0 ;
32046 PyObject
* obj0
= 0 ;
32047 char *kwnames
[] = {
32048 (char *) "self", NULL
32051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
32052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32053 if (SWIG_arg_fail(1)) SWIG_fail
;
32055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32056 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
32058 wxPyEndAllowThreads(__tstate
);
32059 if (PyErr_Occurred()) SWIG_fail
;
32062 resultobj
= wxPyMake_wxObject(result
, 0);
32070 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32071 PyObject
*resultobj
;
32072 wxWindow
*arg1
= (wxWindow
*) 0 ;
32073 wxSizer
*arg2
= (wxSizer
*) 0 ;
32074 PyObject
* obj0
= 0 ;
32075 PyObject
* obj1
= 0 ;
32076 char *kwnames
[] = {
32077 (char *) "self",(char *) "sizer", NULL
32080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
32081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32082 if (SWIG_arg_fail(1)) SWIG_fail
;
32083 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
32084 if (SWIG_arg_fail(2)) SWIG_fail
;
32086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32087 (arg1
)->SetContainingSizer(arg2
);
32089 wxPyEndAllowThreads(__tstate
);
32090 if (PyErr_Occurred()) SWIG_fail
;
32092 Py_INCREF(Py_None
); resultobj
= Py_None
;
32099 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32100 PyObject
*resultobj
;
32101 wxWindow
*arg1
= (wxWindow
*) 0 ;
32103 PyObject
* obj0
= 0 ;
32104 char *kwnames
[] = {
32105 (char *) "self", NULL
32108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
32109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32110 if (SWIG_arg_fail(1)) SWIG_fail
;
32112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32113 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
32115 wxPyEndAllowThreads(__tstate
);
32116 if (PyErr_Occurred()) SWIG_fail
;
32119 resultobj
= wxPyMake_wxObject(result
, 0);
32127 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32128 PyObject
*resultobj
;
32129 wxWindow
*arg1
= (wxWindow
*) 0 ;
32130 PyObject
* obj0
= 0 ;
32131 char *kwnames
[] = {
32132 (char *) "self", NULL
32135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
32136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32137 if (SWIG_arg_fail(1)) SWIG_fail
;
32139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32140 (arg1
)->InheritAttributes();
32142 wxPyEndAllowThreads(__tstate
);
32143 if (PyErr_Occurred()) SWIG_fail
;
32145 Py_INCREF(Py_None
); resultobj
= Py_None
;
32152 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32153 PyObject
*resultobj
;
32154 wxWindow
*arg1
= (wxWindow
*) 0 ;
32156 PyObject
* obj0
= 0 ;
32157 char *kwnames
[] = {
32158 (char *) "self", NULL
32161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
32162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32163 if (SWIG_arg_fail(1)) SWIG_fail
;
32165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32166 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
32168 wxPyEndAllowThreads(__tstate
);
32169 if (PyErr_Occurred()) SWIG_fail
;
32172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32180 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
32182 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32183 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
32185 return Py_BuildValue((char *)"");
32187 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32188 PyObject
*resultobj
;
32190 wxWindow
*arg2
= (wxWindow
*) NULL
;
32192 PyObject
* obj0
= 0 ;
32193 PyObject
* obj1
= 0 ;
32194 char *kwnames
[] = {
32195 (char *) "id",(char *) "parent", NULL
32198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
32200 arg1
= (long)(SWIG_As_long(obj0
));
32201 if (SWIG_arg_fail(1)) SWIG_fail
;
32204 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32205 if (SWIG_arg_fail(2)) SWIG_fail
;
32208 if (!wxPyCheckForApp()) SWIG_fail
;
32209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32210 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
32212 wxPyEndAllowThreads(__tstate
);
32213 if (PyErr_Occurred()) SWIG_fail
;
32216 resultobj
= wxPyMake_wxObject(result
, 0);
32224 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32225 PyObject
*resultobj
;
32226 wxString
*arg1
= 0 ;
32227 wxWindow
*arg2
= (wxWindow
*) NULL
;
32229 bool temp1
= false ;
32230 PyObject
* obj0
= 0 ;
32231 PyObject
* obj1
= 0 ;
32232 char *kwnames
[] = {
32233 (char *) "name",(char *) "parent", NULL
32236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
32238 arg1
= wxString_in_helper(obj0
);
32239 if (arg1
== NULL
) SWIG_fail
;
32243 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32244 if (SWIG_arg_fail(2)) SWIG_fail
;
32247 if (!wxPyCheckForApp()) SWIG_fail
;
32248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32249 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
32251 wxPyEndAllowThreads(__tstate
);
32252 if (PyErr_Occurred()) SWIG_fail
;
32255 resultobj
= wxPyMake_wxObject(result
, 0);
32271 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32272 PyObject
*resultobj
;
32273 wxString
*arg1
= 0 ;
32274 wxWindow
*arg2
= (wxWindow
*) NULL
;
32276 bool temp1
= false ;
32277 PyObject
* obj0
= 0 ;
32278 PyObject
* obj1
= 0 ;
32279 char *kwnames
[] = {
32280 (char *) "label",(char *) "parent", NULL
32283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
32285 arg1
= wxString_in_helper(obj0
);
32286 if (arg1
== NULL
) SWIG_fail
;
32290 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32291 if (SWIG_arg_fail(2)) SWIG_fail
;
32294 if (!wxPyCheckForApp()) SWIG_fail
;
32295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32296 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
32298 wxPyEndAllowThreads(__tstate
);
32299 if (PyErr_Occurred()) SWIG_fail
;
32302 resultobj
= wxPyMake_wxObject(result
, 0);
32318 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32319 PyObject
*resultobj
;
32320 wxWindow
*arg1
= (wxWindow
*) 0 ;
32321 unsigned long arg2
;
32323 PyObject
* obj0
= 0 ;
32324 PyObject
* obj1
= 0 ;
32325 char *kwnames
[] = {
32326 (char *) "parent",(char *) "_hWnd", NULL
32329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
32330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32331 if (SWIG_arg_fail(1)) SWIG_fail
;
32333 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
32334 if (SWIG_arg_fail(2)) SWIG_fail
;
32337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32338 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
32340 wxPyEndAllowThreads(__tstate
);
32341 if (PyErr_Occurred()) SWIG_fail
;
32344 resultobj
= wxPyMake_wxObject(result
, 0);
32352 static PyObject
*_wrap_GetTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32353 PyObject
*resultobj
;
32355 char *kwnames
[] = {
32359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetTopLevelWindows",kwnames
)) goto fail
;
32361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32362 result
= (PyObject
*)GetTopLevelWindows();
32364 wxPyEndAllowThreads(__tstate
);
32365 if (PyErr_Occurred()) SWIG_fail
;
32367 resultobj
= result
;
32374 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32375 PyObject
*resultobj
;
32376 wxValidator
*result
;
32377 char *kwnames
[] = {
32381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
32383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32384 result
= (wxValidator
*)new wxValidator();
32386 wxPyEndAllowThreads(__tstate
);
32387 if (PyErr_Occurred()) SWIG_fail
;
32389 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
32396 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32397 PyObject
*resultobj
;
32398 wxValidator
*arg1
= (wxValidator
*) 0 ;
32399 wxValidator
*result
;
32400 PyObject
* obj0
= 0 ;
32401 char *kwnames
[] = {
32402 (char *) "self", NULL
32405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
32406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32407 if (SWIG_arg_fail(1)) SWIG_fail
;
32409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32410 result
= (wxValidator
*)(arg1
)->Clone();
32412 wxPyEndAllowThreads(__tstate
);
32413 if (PyErr_Occurred()) SWIG_fail
;
32416 resultobj
= wxPyMake_wxObject(result
, 0);
32424 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32425 PyObject
*resultobj
;
32426 wxValidator
*arg1
= (wxValidator
*) 0 ;
32427 wxWindow
*arg2
= (wxWindow
*) 0 ;
32429 PyObject
* obj0
= 0 ;
32430 PyObject
* obj1
= 0 ;
32431 char *kwnames
[] = {
32432 (char *) "self",(char *) "parent", NULL
32435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
32436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32437 if (SWIG_arg_fail(1)) SWIG_fail
;
32438 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32439 if (SWIG_arg_fail(2)) SWIG_fail
;
32441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32442 result
= (bool)(arg1
)->Validate(arg2
);
32444 wxPyEndAllowThreads(__tstate
);
32445 if (PyErr_Occurred()) SWIG_fail
;
32448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32456 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32457 PyObject
*resultobj
;
32458 wxValidator
*arg1
= (wxValidator
*) 0 ;
32460 PyObject
* obj0
= 0 ;
32461 char *kwnames
[] = {
32462 (char *) "self", NULL
32465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
32466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32467 if (SWIG_arg_fail(1)) SWIG_fail
;
32469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32470 result
= (bool)(arg1
)->TransferToWindow();
32472 wxPyEndAllowThreads(__tstate
);
32473 if (PyErr_Occurred()) SWIG_fail
;
32476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32484 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32485 PyObject
*resultobj
;
32486 wxValidator
*arg1
= (wxValidator
*) 0 ;
32488 PyObject
* obj0
= 0 ;
32489 char *kwnames
[] = {
32490 (char *) "self", NULL
32493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
32494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32495 if (SWIG_arg_fail(1)) SWIG_fail
;
32497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32498 result
= (bool)(arg1
)->TransferFromWindow();
32500 wxPyEndAllowThreads(__tstate
);
32501 if (PyErr_Occurred()) SWIG_fail
;
32504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32512 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32513 PyObject
*resultobj
;
32514 wxValidator
*arg1
= (wxValidator
*) 0 ;
32516 PyObject
* obj0
= 0 ;
32517 char *kwnames
[] = {
32518 (char *) "self", NULL
32521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
32522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32523 if (SWIG_arg_fail(1)) SWIG_fail
;
32525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32526 result
= (wxWindow
*)(arg1
)->GetWindow();
32528 wxPyEndAllowThreads(__tstate
);
32529 if (PyErr_Occurred()) SWIG_fail
;
32532 resultobj
= wxPyMake_wxObject(result
, 0);
32540 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32541 PyObject
*resultobj
;
32542 wxValidator
*arg1
= (wxValidator
*) 0 ;
32543 wxWindow
*arg2
= (wxWindow
*) 0 ;
32544 PyObject
* obj0
= 0 ;
32545 PyObject
* obj1
= 0 ;
32546 char *kwnames
[] = {
32547 (char *) "self",(char *) "window", NULL
32550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
32551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32552 if (SWIG_arg_fail(1)) SWIG_fail
;
32553 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32554 if (SWIG_arg_fail(2)) SWIG_fail
;
32556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32557 (arg1
)->SetWindow(arg2
);
32559 wxPyEndAllowThreads(__tstate
);
32560 if (PyErr_Occurred()) SWIG_fail
;
32562 Py_INCREF(Py_None
); resultobj
= Py_None
;
32569 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32570 PyObject
*resultobj
;
32572 char *kwnames
[] = {
32576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
32578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32579 result
= (bool)wxValidator::IsSilent();
32581 wxPyEndAllowThreads(__tstate
);
32582 if (PyErr_Occurred()) SWIG_fail
;
32585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32593 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32594 PyObject
*resultobj
;
32595 int arg1
= (int) true ;
32596 PyObject
* obj0
= 0 ;
32597 char *kwnames
[] = {
32598 (char *) "doIt", NULL
32601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
32604 arg1
= (int)(SWIG_As_int(obj0
));
32605 if (SWIG_arg_fail(1)) SWIG_fail
;
32609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32610 wxValidator::SetBellOnError(arg1
);
32612 wxPyEndAllowThreads(__tstate
);
32613 if (PyErr_Occurred()) SWIG_fail
;
32615 Py_INCREF(Py_None
); resultobj
= Py_None
;
32622 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
32624 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32625 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
32627 return Py_BuildValue((char *)"");
32629 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32630 PyObject
*resultobj
;
32631 wxPyValidator
*result
;
32632 char *kwnames
[] = {
32636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
32638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32639 result
= (wxPyValidator
*)new wxPyValidator();
32641 wxPyEndAllowThreads(__tstate
);
32642 if (PyErr_Occurred()) SWIG_fail
;
32644 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
32651 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32652 PyObject
*resultobj
;
32653 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
32654 PyObject
*arg2
= (PyObject
*) 0 ;
32655 PyObject
*arg3
= (PyObject
*) 0 ;
32656 int arg4
= (int) true ;
32657 PyObject
* obj0
= 0 ;
32658 PyObject
* obj1
= 0 ;
32659 PyObject
* obj2
= 0 ;
32660 PyObject
* obj3
= 0 ;
32661 char *kwnames
[] = {
32662 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
32665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyValidator
, SWIG_POINTER_EXCEPTION
| 0);
32667 if (SWIG_arg_fail(1)) SWIG_fail
;
32672 arg4
= (int)(SWIG_As_int(obj3
));
32673 if (SWIG_arg_fail(4)) SWIG_fail
;
32677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32678 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
32680 wxPyEndAllowThreads(__tstate
);
32681 if (PyErr_Occurred()) SWIG_fail
;
32683 Py_INCREF(Py_None
); resultobj
= Py_None
;
32690 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
32692 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32693 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
32695 return Py_BuildValue((char *)"");
32697 static int _wrap_DefaultValidator_set(PyObject
*) {
32698 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
32703 static PyObject
*_wrap_DefaultValidator_get(void) {
32706 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
32711 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32712 PyObject
*resultobj
;
32713 wxString
const &arg1_defvalue
= wxPyEmptyString
;
32714 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
32715 long arg2
= (long) 0 ;
32717 bool temp1
= false ;
32718 PyObject
* obj0
= 0 ;
32719 PyObject
* obj1
= 0 ;
32720 char *kwnames
[] = {
32721 (char *) "title",(char *) "style", NULL
32724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
32727 arg1
= wxString_in_helper(obj0
);
32728 if (arg1
== NULL
) SWIG_fail
;
32734 arg2
= (long)(SWIG_As_long(obj1
));
32735 if (SWIG_arg_fail(2)) SWIG_fail
;
32739 if (!wxPyCheckForApp()) SWIG_fail
;
32740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32741 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
32743 wxPyEndAllowThreads(__tstate
);
32744 if (PyErr_Occurred()) SWIG_fail
;
32746 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
32761 static PyObject
*_wrap_Menu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32762 PyObject
*resultobj
;
32763 wxMenu
*arg1
= (wxMenu
*) 0 ;
32765 wxString
*arg3
= 0 ;
32766 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32767 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32768 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
32769 wxMenuItem
*result
;
32770 bool temp3
= false ;
32771 bool temp4
= false ;
32772 PyObject
* obj0
= 0 ;
32773 PyObject
* obj1
= 0 ;
32774 PyObject
* obj2
= 0 ;
32775 PyObject
* obj3
= 0 ;
32776 PyObject
* obj4
= 0 ;
32777 char *kwnames
[] = {
32778 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32783 if (SWIG_arg_fail(1)) SWIG_fail
;
32785 arg2
= (int)(SWIG_As_int(obj1
));
32786 if (SWIG_arg_fail(2)) SWIG_fail
;
32789 arg3
= wxString_in_helper(obj2
);
32790 if (arg3
== NULL
) SWIG_fail
;
32795 arg4
= wxString_in_helper(obj3
);
32796 if (arg4
== NULL
) SWIG_fail
;
32802 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
32803 if (SWIG_arg_fail(5)) SWIG_fail
;
32807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32808 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
32810 wxPyEndAllowThreads(__tstate
);
32811 if (PyErr_Occurred()) SWIG_fail
;
32814 resultobj
= wxPyMake_wxObject(result
, 0);
32838 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32839 PyObject
*resultobj
;
32840 wxMenu
*arg1
= (wxMenu
*) 0 ;
32841 wxMenuItem
*result
;
32842 PyObject
* obj0
= 0 ;
32843 char *kwnames
[] = {
32844 (char *) "self", NULL
32847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
32848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32849 if (SWIG_arg_fail(1)) SWIG_fail
;
32851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32852 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
32854 wxPyEndAllowThreads(__tstate
);
32855 if (PyErr_Occurred()) SWIG_fail
;
32858 resultobj
= wxPyMake_wxObject(result
, 0);
32866 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32867 PyObject
*resultobj
;
32868 wxMenu
*arg1
= (wxMenu
*) 0 ;
32870 wxString
*arg3
= 0 ;
32871 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32872 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32873 wxMenuItem
*result
;
32874 bool temp3
= false ;
32875 bool temp4
= false ;
32876 PyObject
* obj0
= 0 ;
32877 PyObject
* obj1
= 0 ;
32878 PyObject
* obj2
= 0 ;
32879 PyObject
* obj3
= 0 ;
32880 char *kwnames
[] = {
32881 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32886 if (SWIG_arg_fail(1)) SWIG_fail
;
32888 arg2
= (int)(SWIG_As_int(obj1
));
32889 if (SWIG_arg_fail(2)) SWIG_fail
;
32892 arg3
= wxString_in_helper(obj2
);
32893 if (arg3
== NULL
) SWIG_fail
;
32898 arg4
= wxString_in_helper(obj3
);
32899 if (arg4
== NULL
) SWIG_fail
;
32904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32905 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32907 wxPyEndAllowThreads(__tstate
);
32908 if (PyErr_Occurred()) SWIG_fail
;
32911 resultobj
= wxPyMake_wxObject(result
, 0);
32935 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32936 PyObject
*resultobj
;
32937 wxMenu
*arg1
= (wxMenu
*) 0 ;
32939 wxString
*arg3
= 0 ;
32940 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32941 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32942 wxMenuItem
*result
;
32943 bool temp3
= false ;
32944 bool temp4
= false ;
32945 PyObject
* obj0
= 0 ;
32946 PyObject
* obj1
= 0 ;
32947 PyObject
* obj2
= 0 ;
32948 PyObject
* obj3
= 0 ;
32949 char *kwnames
[] = {
32950 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32955 if (SWIG_arg_fail(1)) SWIG_fail
;
32957 arg2
= (int)(SWIG_As_int(obj1
));
32958 if (SWIG_arg_fail(2)) SWIG_fail
;
32961 arg3
= wxString_in_helper(obj2
);
32962 if (arg3
== NULL
) SWIG_fail
;
32967 arg4
= wxString_in_helper(obj3
);
32968 if (arg4
== NULL
) SWIG_fail
;
32973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32974 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32976 wxPyEndAllowThreads(__tstate
);
32977 if (PyErr_Occurred()) SWIG_fail
;
32980 resultobj
= wxPyMake_wxObject(result
, 0);
33004 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33005 PyObject
*resultobj
;
33006 wxMenu
*arg1
= (wxMenu
*) 0 ;
33008 wxString
*arg3
= 0 ;
33009 wxMenu
*arg4
= (wxMenu
*) 0 ;
33010 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33011 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33012 wxMenuItem
*result
;
33013 bool temp3
= false ;
33014 bool temp5
= false ;
33015 PyObject
* obj0
= 0 ;
33016 PyObject
* obj1
= 0 ;
33017 PyObject
* obj2
= 0 ;
33018 PyObject
* obj3
= 0 ;
33019 PyObject
* obj4
= 0 ;
33020 char *kwnames
[] = {
33021 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33026 if (SWIG_arg_fail(1)) SWIG_fail
;
33028 arg2
= (int)(SWIG_As_int(obj1
));
33029 if (SWIG_arg_fail(2)) SWIG_fail
;
33032 arg3
= wxString_in_helper(obj2
);
33033 if (arg3
== NULL
) SWIG_fail
;
33036 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33037 if (SWIG_arg_fail(4)) SWIG_fail
;
33040 arg5
= wxString_in_helper(obj4
);
33041 if (arg5
== NULL
) SWIG_fail
;
33046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33047 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
33049 wxPyEndAllowThreads(__tstate
);
33050 if (PyErr_Occurred()) SWIG_fail
;
33053 resultobj
= wxPyMake_wxObject(result
, 0);
33077 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33078 PyObject
*resultobj
;
33079 wxMenu
*arg1
= (wxMenu
*) 0 ;
33080 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33081 wxMenuItem
*result
;
33082 PyObject
* obj0
= 0 ;
33083 PyObject
* obj1
= 0 ;
33084 char *kwnames
[] = {
33085 (char *) "self",(char *) "item", NULL
33088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33090 if (SWIG_arg_fail(1)) SWIG_fail
;
33091 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33092 if (SWIG_arg_fail(2)) SWIG_fail
;
33094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33095 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
33097 wxPyEndAllowThreads(__tstate
);
33098 if (PyErr_Occurred()) SWIG_fail
;
33101 resultobj
= wxPyMake_wxObject(result
, 0);
33109 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33110 PyObject
*resultobj
;
33111 wxMenu
*arg1
= (wxMenu
*) 0 ;
33112 PyObject
* obj0
= 0 ;
33113 char *kwnames
[] = {
33114 (char *) "self", NULL
33117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33124 wxPyEndAllowThreads(__tstate
);
33125 if (PyErr_Occurred()) SWIG_fail
;
33127 Py_INCREF(Py_None
); resultobj
= Py_None
;
33134 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33135 PyObject
*resultobj
;
33136 wxMenu
*arg1
= (wxMenu
*) 0 ;
33138 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
33139 wxMenuItem
*result
;
33140 PyObject
* obj0
= 0 ;
33141 PyObject
* obj1
= 0 ;
33142 PyObject
* obj2
= 0 ;
33143 char *kwnames
[] = {
33144 (char *) "self",(char *) "pos",(char *) "item", NULL
33147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33149 if (SWIG_arg_fail(1)) SWIG_fail
;
33151 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33152 if (SWIG_arg_fail(2)) SWIG_fail
;
33154 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33155 if (SWIG_arg_fail(3)) SWIG_fail
;
33157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33158 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
33160 wxPyEndAllowThreads(__tstate
);
33161 if (PyErr_Occurred()) SWIG_fail
;
33164 resultobj
= wxPyMake_wxObject(result
, 0);
33172 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33173 PyObject
*resultobj
;
33174 wxMenu
*arg1
= (wxMenu
*) 0 ;
33177 wxString
*arg4
= 0 ;
33178 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33179 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33180 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
33181 wxMenuItem
*result
;
33182 bool temp4
= false ;
33183 bool temp5
= false ;
33184 PyObject
* obj0
= 0 ;
33185 PyObject
* obj1
= 0 ;
33186 PyObject
* obj2
= 0 ;
33187 PyObject
* obj3
= 0 ;
33188 PyObject
* obj4
= 0 ;
33189 PyObject
* obj5
= 0 ;
33190 char *kwnames
[] = {
33191 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
33194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33196 if (SWIG_arg_fail(1)) SWIG_fail
;
33198 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33199 if (SWIG_arg_fail(2)) SWIG_fail
;
33202 arg3
= (int)(SWIG_As_int(obj2
));
33203 if (SWIG_arg_fail(3)) SWIG_fail
;
33206 arg4
= wxString_in_helper(obj3
);
33207 if (arg4
== NULL
) SWIG_fail
;
33212 arg5
= wxString_in_helper(obj4
);
33213 if (arg5
== NULL
) SWIG_fail
;
33219 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
33220 if (SWIG_arg_fail(6)) SWIG_fail
;
33224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33225 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
33227 wxPyEndAllowThreads(__tstate
);
33228 if (PyErr_Occurred()) SWIG_fail
;
33231 resultobj
= wxPyMake_wxObject(result
, 0);
33255 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33256 PyObject
*resultobj
;
33257 wxMenu
*arg1
= (wxMenu
*) 0 ;
33259 wxMenuItem
*result
;
33260 PyObject
* obj0
= 0 ;
33261 PyObject
* obj1
= 0 ;
33262 char *kwnames
[] = {
33263 (char *) "self",(char *) "pos", NULL
33266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
33267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33268 if (SWIG_arg_fail(1)) SWIG_fail
;
33270 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33271 if (SWIG_arg_fail(2)) SWIG_fail
;
33274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33275 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
33277 wxPyEndAllowThreads(__tstate
);
33278 if (PyErr_Occurred()) SWIG_fail
;
33281 resultobj
= wxPyMake_wxObject(result
, 0);
33289 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33290 PyObject
*resultobj
;
33291 wxMenu
*arg1
= (wxMenu
*) 0 ;
33294 wxString
*arg4
= 0 ;
33295 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33296 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33297 wxMenuItem
*result
;
33298 bool temp4
= false ;
33299 bool temp5
= false ;
33300 PyObject
* obj0
= 0 ;
33301 PyObject
* obj1
= 0 ;
33302 PyObject
* obj2
= 0 ;
33303 PyObject
* obj3
= 0 ;
33304 PyObject
* obj4
= 0 ;
33305 char *kwnames
[] = {
33306 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
33309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33311 if (SWIG_arg_fail(1)) SWIG_fail
;
33313 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33314 if (SWIG_arg_fail(2)) SWIG_fail
;
33317 arg3
= (int)(SWIG_As_int(obj2
));
33318 if (SWIG_arg_fail(3)) SWIG_fail
;
33321 arg4
= wxString_in_helper(obj3
);
33322 if (arg4
== NULL
) SWIG_fail
;
33327 arg5
= wxString_in_helper(obj4
);
33328 if (arg5
== NULL
) SWIG_fail
;
33333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33334 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
33336 wxPyEndAllowThreads(__tstate
);
33337 if (PyErr_Occurred()) SWIG_fail
;
33340 resultobj
= wxPyMake_wxObject(result
, 0);
33364 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33365 PyObject
*resultobj
;
33366 wxMenu
*arg1
= (wxMenu
*) 0 ;
33369 wxString
*arg4
= 0 ;
33370 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33371 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33372 wxMenuItem
*result
;
33373 bool temp4
= false ;
33374 bool temp5
= false ;
33375 PyObject
* obj0
= 0 ;
33376 PyObject
* obj1
= 0 ;
33377 PyObject
* obj2
= 0 ;
33378 PyObject
* obj3
= 0 ;
33379 PyObject
* obj4
= 0 ;
33380 char *kwnames
[] = {
33381 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
33384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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
;
33402 arg5
= wxString_in_helper(obj4
);
33403 if (arg5
== NULL
) SWIG_fail
;
33408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33409 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
33411 wxPyEndAllowThreads(__tstate
);
33412 if (PyErr_Occurred()) SWIG_fail
;
33415 resultobj
= wxPyMake_wxObject(result
, 0);
33439 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33440 PyObject
*resultobj
;
33441 wxMenu
*arg1
= (wxMenu
*) 0 ;
33444 wxString
*arg4
= 0 ;
33445 wxMenu
*arg5
= (wxMenu
*) 0 ;
33446 wxString
const &arg6_defvalue
= wxPyEmptyString
;
33447 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
33448 wxMenuItem
*result
;
33449 bool temp4
= false ;
33450 bool temp6
= false ;
33451 PyObject
* obj0
= 0 ;
33452 PyObject
* obj1
= 0 ;
33453 PyObject
* obj2
= 0 ;
33454 PyObject
* obj3
= 0 ;
33455 PyObject
* obj4
= 0 ;
33456 PyObject
* obj5
= 0 ;
33457 char *kwnames
[] = {
33458 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33463 if (SWIG_arg_fail(1)) SWIG_fail
;
33465 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33466 if (SWIG_arg_fail(2)) SWIG_fail
;
33469 arg3
= (int)(SWIG_As_int(obj2
));
33470 if (SWIG_arg_fail(3)) SWIG_fail
;
33473 arg4
= wxString_in_helper(obj3
);
33474 if (arg4
== NULL
) SWIG_fail
;
33477 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33478 if (SWIG_arg_fail(5)) SWIG_fail
;
33481 arg6
= wxString_in_helper(obj5
);
33482 if (arg6
== NULL
) SWIG_fail
;
33487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33488 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
33490 wxPyEndAllowThreads(__tstate
);
33491 if (PyErr_Occurred()) SWIG_fail
;
33494 resultobj
= wxPyMake_wxObject(result
, 0);
33518 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33519 PyObject
*resultobj
;
33520 wxMenu
*arg1
= (wxMenu
*) 0 ;
33521 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33522 wxMenuItem
*result
;
33523 PyObject
* obj0
= 0 ;
33524 PyObject
* obj1
= 0 ;
33525 char *kwnames
[] = {
33526 (char *) "self",(char *) "item", NULL
33529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33531 if (SWIG_arg_fail(1)) SWIG_fail
;
33532 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33533 if (SWIG_arg_fail(2)) SWIG_fail
;
33535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33536 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
33538 wxPyEndAllowThreads(__tstate
);
33539 if (PyErr_Occurred()) SWIG_fail
;
33542 resultobj
= wxPyMake_wxObject(result
, 0);
33550 static PyObject
*_wrap_Menu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33551 PyObject
*resultobj
;
33552 wxMenu
*arg1
= (wxMenu
*) 0 ;
33554 wxString
*arg3
= 0 ;
33555 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33556 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33557 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
33558 wxMenuItem
*result
;
33559 bool temp3
= false ;
33560 bool temp4
= false ;
33561 PyObject
* obj0
= 0 ;
33562 PyObject
* obj1
= 0 ;
33563 PyObject
* obj2
= 0 ;
33564 PyObject
* obj3
= 0 ;
33565 PyObject
* obj4
= 0 ;
33566 char *kwnames
[] = {
33567 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
33570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33572 if (SWIG_arg_fail(1)) SWIG_fail
;
33574 arg2
= (int)(SWIG_As_int(obj1
));
33575 if (SWIG_arg_fail(2)) SWIG_fail
;
33578 arg3
= wxString_in_helper(obj2
);
33579 if (arg3
== NULL
) SWIG_fail
;
33584 arg4
= wxString_in_helper(obj3
);
33585 if (arg4
== NULL
) SWIG_fail
;
33591 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
33592 if (SWIG_arg_fail(5)) SWIG_fail
;
33596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33597 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
33599 wxPyEndAllowThreads(__tstate
);
33600 if (PyErr_Occurred()) SWIG_fail
;
33603 resultobj
= wxPyMake_wxObject(result
, 0);
33627 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33628 PyObject
*resultobj
;
33629 wxMenu
*arg1
= (wxMenu
*) 0 ;
33630 wxMenuItem
*result
;
33631 PyObject
* obj0
= 0 ;
33632 char *kwnames
[] = {
33633 (char *) "self", NULL
33636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
33637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33638 if (SWIG_arg_fail(1)) SWIG_fail
;
33640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33641 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
33643 wxPyEndAllowThreads(__tstate
);
33644 if (PyErr_Occurred()) SWIG_fail
;
33647 resultobj
= wxPyMake_wxObject(result
, 0);
33655 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33656 PyObject
*resultobj
;
33657 wxMenu
*arg1
= (wxMenu
*) 0 ;
33659 wxString
*arg3
= 0 ;
33660 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33661 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33662 wxMenuItem
*result
;
33663 bool temp3
= false ;
33664 bool temp4
= false ;
33665 PyObject
* obj0
= 0 ;
33666 PyObject
* obj1
= 0 ;
33667 PyObject
* obj2
= 0 ;
33668 PyObject
* obj3
= 0 ;
33669 char *kwnames
[] = {
33670 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33675 if (SWIG_arg_fail(1)) SWIG_fail
;
33677 arg2
= (int)(SWIG_As_int(obj1
));
33678 if (SWIG_arg_fail(2)) SWIG_fail
;
33681 arg3
= wxString_in_helper(obj2
);
33682 if (arg3
== NULL
) SWIG_fail
;
33687 arg4
= wxString_in_helper(obj3
);
33688 if (arg4
== NULL
) SWIG_fail
;
33693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33694 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33696 wxPyEndAllowThreads(__tstate
);
33697 if (PyErr_Occurred()) SWIG_fail
;
33700 resultobj
= wxPyMake_wxObject(result
, 0);
33724 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33725 PyObject
*resultobj
;
33726 wxMenu
*arg1
= (wxMenu
*) 0 ;
33728 wxString
*arg3
= 0 ;
33729 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33730 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33731 wxMenuItem
*result
;
33732 bool temp3
= false ;
33733 bool temp4
= false ;
33734 PyObject
* obj0
= 0 ;
33735 PyObject
* obj1
= 0 ;
33736 PyObject
* obj2
= 0 ;
33737 PyObject
* obj3
= 0 ;
33738 char *kwnames
[] = {
33739 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33744 if (SWIG_arg_fail(1)) SWIG_fail
;
33746 arg2
= (int)(SWIG_As_int(obj1
));
33747 if (SWIG_arg_fail(2)) SWIG_fail
;
33750 arg3
= wxString_in_helper(obj2
);
33751 if (arg3
== NULL
) SWIG_fail
;
33756 arg4
= wxString_in_helper(obj3
);
33757 if (arg4
== NULL
) SWIG_fail
;
33762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33763 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33765 wxPyEndAllowThreads(__tstate
);
33766 if (PyErr_Occurred()) SWIG_fail
;
33769 resultobj
= wxPyMake_wxObject(result
, 0);
33793 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33794 PyObject
*resultobj
;
33795 wxMenu
*arg1
= (wxMenu
*) 0 ;
33797 wxString
*arg3
= 0 ;
33798 wxMenu
*arg4
= (wxMenu
*) 0 ;
33799 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33800 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33801 wxMenuItem
*result
;
33802 bool temp3
= false ;
33803 bool temp5
= false ;
33804 PyObject
* obj0
= 0 ;
33805 PyObject
* obj1
= 0 ;
33806 PyObject
* obj2
= 0 ;
33807 PyObject
* obj3
= 0 ;
33808 PyObject
* obj4
= 0 ;
33809 char *kwnames
[] = {
33810 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33815 if (SWIG_arg_fail(1)) SWIG_fail
;
33817 arg2
= (int)(SWIG_As_int(obj1
));
33818 if (SWIG_arg_fail(2)) SWIG_fail
;
33821 arg3
= wxString_in_helper(obj2
);
33822 if (arg3
== NULL
) SWIG_fail
;
33825 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33826 if (SWIG_arg_fail(4)) SWIG_fail
;
33829 arg5
= wxString_in_helper(obj4
);
33830 if (arg5
== NULL
) SWIG_fail
;
33835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33836 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
33838 wxPyEndAllowThreads(__tstate
);
33839 if (PyErr_Occurred()) SWIG_fail
;
33842 resultobj
= wxPyMake_wxObject(result
, 0);
33866 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33867 PyObject
*resultobj
;
33868 wxMenu
*arg1
= (wxMenu
*) 0 ;
33870 wxMenuItem
*result
;
33871 PyObject
* obj0
= 0 ;
33872 PyObject
* obj1
= 0 ;
33873 char *kwnames
[] = {
33874 (char *) "self",(char *) "id", NULL
33877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
33878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33879 if (SWIG_arg_fail(1)) SWIG_fail
;
33881 arg2
= (int)(SWIG_As_int(obj1
));
33882 if (SWIG_arg_fail(2)) SWIG_fail
;
33885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33886 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
33888 wxPyEndAllowThreads(__tstate
);
33889 if (PyErr_Occurred()) SWIG_fail
;
33892 resultobj
= wxPyMake_wxObject(result
, 0);
33900 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33901 PyObject
*resultobj
;
33902 wxMenu
*arg1
= (wxMenu
*) 0 ;
33903 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33904 wxMenuItem
*result
;
33905 PyObject
* obj0
= 0 ;
33906 PyObject
* obj1
= 0 ;
33907 char *kwnames
[] = {
33908 (char *) "self",(char *) "item", NULL
33911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33913 if (SWIG_arg_fail(1)) SWIG_fail
;
33914 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33915 if (SWIG_arg_fail(2)) SWIG_fail
;
33917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33918 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
33920 wxPyEndAllowThreads(__tstate
);
33921 if (PyErr_Occurred()) SWIG_fail
;
33924 resultobj
= wxPyMake_wxObject(result
, 0);
33932 static PyObject
*_wrap_Menu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33933 PyObject
*resultobj
;
33934 wxMenu
*arg1
= (wxMenu
*) 0 ;
33937 PyObject
* obj0
= 0 ;
33938 PyObject
* obj1
= 0 ;
33939 char *kwnames
[] = {
33940 (char *) "self",(char *) "id", NULL
33943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
33944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33945 if (SWIG_arg_fail(1)) SWIG_fail
;
33947 arg2
= (int)(SWIG_As_int(obj1
));
33948 if (SWIG_arg_fail(2)) SWIG_fail
;
33951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33952 result
= (bool)(arg1
)->Delete(arg2
);
33954 wxPyEndAllowThreads(__tstate
);
33955 if (PyErr_Occurred()) SWIG_fail
;
33958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33966 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33967 PyObject
*resultobj
;
33968 wxMenu
*arg1
= (wxMenu
*) 0 ;
33969 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33971 PyObject
* obj0
= 0 ;
33972 PyObject
* obj1
= 0 ;
33973 char *kwnames
[] = {
33974 (char *) "self",(char *) "item", NULL
33977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33979 if (SWIG_arg_fail(1)) SWIG_fail
;
33980 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33981 if (SWIG_arg_fail(2)) SWIG_fail
;
33983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33984 result
= (bool)(arg1
)->Delete(arg2
);
33986 wxPyEndAllowThreads(__tstate
);
33987 if (PyErr_Occurred()) SWIG_fail
;
33990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33998 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33999 PyObject
*resultobj
;
34000 wxMenu
*arg1
= (wxMenu
*) 0 ;
34001 PyObject
* obj0
= 0 ;
34002 char *kwnames
[] = {
34003 (char *) "self", NULL
34006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
34007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34008 if (SWIG_arg_fail(1)) SWIG_fail
;
34010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34011 wxMenu_Destroy(arg1
);
34013 wxPyEndAllowThreads(__tstate
);
34014 if (PyErr_Occurred()) SWIG_fail
;
34016 Py_INCREF(Py_None
); resultobj
= Py_None
;
34023 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34024 PyObject
*resultobj
;
34025 wxMenu
*arg1
= (wxMenu
*) 0 ;
34028 PyObject
* obj0
= 0 ;
34029 PyObject
* obj1
= 0 ;
34030 char *kwnames
[] = {
34031 (char *) "self",(char *) "id", NULL
34034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
34035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34036 if (SWIG_arg_fail(1)) SWIG_fail
;
34038 arg2
= (int)(SWIG_As_int(obj1
));
34039 if (SWIG_arg_fail(2)) SWIG_fail
;
34042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34043 result
= (bool)(arg1
)->Destroy(arg2
);
34045 wxPyEndAllowThreads(__tstate
);
34046 if (PyErr_Occurred()) SWIG_fail
;
34049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34057 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34058 PyObject
*resultobj
;
34059 wxMenu
*arg1
= (wxMenu
*) 0 ;
34060 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
34062 PyObject
* obj0
= 0 ;
34063 PyObject
* obj1
= 0 ;
34064 char *kwnames
[] = {
34065 (char *) "self",(char *) "item", NULL
34068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34070 if (SWIG_arg_fail(1)) SWIG_fail
;
34071 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
34072 if (SWIG_arg_fail(2)) SWIG_fail
;
34074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34075 result
= (bool)(arg1
)->Destroy(arg2
);
34077 wxPyEndAllowThreads(__tstate
);
34078 if (PyErr_Occurred()) SWIG_fail
;
34081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34089 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34090 PyObject
*resultobj
;
34091 wxMenu
*arg1
= (wxMenu
*) 0 ;
34093 PyObject
* obj0
= 0 ;
34094 char *kwnames
[] = {
34095 (char *) "self", NULL
34098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
34099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34100 if (SWIG_arg_fail(1)) SWIG_fail
;
34102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34103 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
34105 wxPyEndAllowThreads(__tstate
);
34106 if (PyErr_Occurred()) SWIG_fail
;
34109 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
34117 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34118 PyObject
*resultobj
;
34119 wxMenu
*arg1
= (wxMenu
*) 0 ;
34121 PyObject
* obj0
= 0 ;
34122 char *kwnames
[] = {
34123 (char *) "self", NULL
34126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
34127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34128 if (SWIG_arg_fail(1)) SWIG_fail
;
34130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34131 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
34133 wxPyEndAllowThreads(__tstate
);
34134 if (PyErr_Occurred()) SWIG_fail
;
34136 resultobj
= result
;
34143 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34144 PyObject
*resultobj
;
34145 wxMenu
*arg1
= (wxMenu
*) 0 ;
34146 wxString
*arg2
= 0 ;
34148 bool temp2
= false ;
34149 PyObject
* obj0
= 0 ;
34150 PyObject
* obj1
= 0 ;
34151 char *kwnames
[] = {
34152 (char *) "self",(char *) "item", NULL
34155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",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
= wxString_in_helper(obj1
);
34160 if (arg2
== NULL
) SWIG_fail
;
34164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34165 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
34167 wxPyEndAllowThreads(__tstate
);
34168 if (PyErr_Occurred()) SWIG_fail
;
34171 resultobj
= SWIG_From_int((int)(result
));
34187 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34188 PyObject
*resultobj
;
34189 wxMenu
*arg1
= (wxMenu
*) 0 ;
34191 wxMenuItem
*result
;
34192 PyObject
* obj0
= 0 ;
34193 PyObject
* obj1
= 0 ;
34194 char *kwnames
[] = {
34195 (char *) "self",(char *) "id", NULL
34198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
34199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34200 if (SWIG_arg_fail(1)) SWIG_fail
;
34202 arg2
= (int)(SWIG_As_int(obj1
));
34203 if (SWIG_arg_fail(2)) SWIG_fail
;
34206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34207 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
34209 wxPyEndAllowThreads(__tstate
);
34210 if (PyErr_Occurred()) SWIG_fail
;
34213 resultobj
= wxPyMake_wxObject(result
, 0);
34221 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34222 PyObject
*resultobj
;
34223 wxMenu
*arg1
= (wxMenu
*) 0 ;
34225 wxMenuItem
*result
;
34226 PyObject
* obj0
= 0 ;
34227 PyObject
* obj1
= 0 ;
34228 char *kwnames
[] = {
34229 (char *) "self",(char *) "position", NULL
34232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
34233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34234 if (SWIG_arg_fail(1)) SWIG_fail
;
34236 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34237 if (SWIG_arg_fail(2)) SWIG_fail
;
34240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34241 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
34243 wxPyEndAllowThreads(__tstate
);
34244 if (PyErr_Occurred()) SWIG_fail
;
34247 resultobj
= wxPyMake_wxObject(result
, 0);
34255 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34256 PyObject
*resultobj
;
34257 wxMenu
*arg1
= (wxMenu
*) 0 ;
34260 PyObject
* obj0
= 0 ;
34261 PyObject
* obj1
= 0 ;
34262 PyObject
* obj2
= 0 ;
34263 char *kwnames
[] = {
34264 (char *) "self",(char *) "id",(char *) "enable", NULL
34267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34269 if (SWIG_arg_fail(1)) SWIG_fail
;
34271 arg2
= (int)(SWIG_As_int(obj1
));
34272 if (SWIG_arg_fail(2)) SWIG_fail
;
34275 arg3
= (bool)(SWIG_As_bool(obj2
));
34276 if (SWIG_arg_fail(3)) SWIG_fail
;
34279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34280 (arg1
)->Enable(arg2
,arg3
);
34282 wxPyEndAllowThreads(__tstate
);
34283 if (PyErr_Occurred()) SWIG_fail
;
34285 Py_INCREF(Py_None
); resultobj
= Py_None
;
34292 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34293 PyObject
*resultobj
;
34294 wxMenu
*arg1
= (wxMenu
*) 0 ;
34297 PyObject
* obj0
= 0 ;
34298 PyObject
* obj1
= 0 ;
34299 char *kwnames
[] = {
34300 (char *) "self",(char *) "id", NULL
34303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
34304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34305 if (SWIG_arg_fail(1)) SWIG_fail
;
34307 arg2
= (int)(SWIG_As_int(obj1
));
34308 if (SWIG_arg_fail(2)) SWIG_fail
;
34311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34312 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
34314 wxPyEndAllowThreads(__tstate
);
34315 if (PyErr_Occurred()) SWIG_fail
;
34318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34326 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34327 PyObject
*resultobj
;
34328 wxMenu
*arg1
= (wxMenu
*) 0 ;
34331 PyObject
* obj0
= 0 ;
34332 PyObject
* obj1
= 0 ;
34333 PyObject
* obj2
= 0 ;
34334 char *kwnames
[] = {
34335 (char *) "self",(char *) "id",(char *) "check", NULL
34338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34340 if (SWIG_arg_fail(1)) SWIG_fail
;
34342 arg2
= (int)(SWIG_As_int(obj1
));
34343 if (SWIG_arg_fail(2)) SWIG_fail
;
34346 arg3
= (bool)(SWIG_As_bool(obj2
));
34347 if (SWIG_arg_fail(3)) SWIG_fail
;
34350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34351 (arg1
)->Check(arg2
,arg3
);
34353 wxPyEndAllowThreads(__tstate
);
34354 if (PyErr_Occurred()) SWIG_fail
;
34356 Py_INCREF(Py_None
); resultobj
= Py_None
;
34363 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34364 PyObject
*resultobj
;
34365 wxMenu
*arg1
= (wxMenu
*) 0 ;
34368 PyObject
* obj0
= 0 ;
34369 PyObject
* obj1
= 0 ;
34370 char *kwnames
[] = {
34371 (char *) "self",(char *) "id", NULL
34374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
34375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34376 if (SWIG_arg_fail(1)) SWIG_fail
;
34378 arg2
= (int)(SWIG_As_int(obj1
));
34379 if (SWIG_arg_fail(2)) SWIG_fail
;
34382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34383 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
34385 wxPyEndAllowThreads(__tstate
);
34386 if (PyErr_Occurred()) SWIG_fail
;
34389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34397 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34398 PyObject
*resultobj
;
34399 wxMenu
*arg1
= (wxMenu
*) 0 ;
34401 wxString
*arg3
= 0 ;
34402 bool temp3
= false ;
34403 PyObject
* obj0
= 0 ;
34404 PyObject
* obj1
= 0 ;
34405 PyObject
* obj2
= 0 ;
34406 char *kwnames
[] = {
34407 (char *) "self",(char *) "id",(char *) "label", NULL
34410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34412 if (SWIG_arg_fail(1)) SWIG_fail
;
34414 arg2
= (int)(SWIG_As_int(obj1
));
34415 if (SWIG_arg_fail(2)) SWIG_fail
;
34418 arg3
= wxString_in_helper(obj2
);
34419 if (arg3
== NULL
) SWIG_fail
;
34423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34424 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
34426 wxPyEndAllowThreads(__tstate
);
34427 if (PyErr_Occurred()) SWIG_fail
;
34429 Py_INCREF(Py_None
); resultobj
= Py_None
;
34444 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34445 PyObject
*resultobj
;
34446 wxMenu
*arg1
= (wxMenu
*) 0 ;
34449 PyObject
* obj0
= 0 ;
34450 PyObject
* obj1
= 0 ;
34451 char *kwnames
[] = {
34452 (char *) "self",(char *) "id", NULL
34455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
34456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34457 if (SWIG_arg_fail(1)) SWIG_fail
;
34459 arg2
= (int)(SWIG_As_int(obj1
));
34460 if (SWIG_arg_fail(2)) SWIG_fail
;
34463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34464 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
34466 wxPyEndAllowThreads(__tstate
);
34467 if (PyErr_Occurred()) SWIG_fail
;
34471 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34473 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34482 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34483 PyObject
*resultobj
;
34484 wxMenu
*arg1
= (wxMenu
*) 0 ;
34486 wxString
*arg3
= 0 ;
34487 bool temp3
= false ;
34488 PyObject
* obj0
= 0 ;
34489 PyObject
* obj1
= 0 ;
34490 PyObject
* obj2
= 0 ;
34491 char *kwnames
[] = {
34492 (char *) "self",(char *) "id",(char *) "helpString", NULL
34495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34497 if (SWIG_arg_fail(1)) SWIG_fail
;
34499 arg2
= (int)(SWIG_As_int(obj1
));
34500 if (SWIG_arg_fail(2)) SWIG_fail
;
34503 arg3
= wxString_in_helper(obj2
);
34504 if (arg3
== NULL
) SWIG_fail
;
34508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34509 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
34511 wxPyEndAllowThreads(__tstate
);
34512 if (PyErr_Occurred()) SWIG_fail
;
34514 Py_INCREF(Py_None
); resultobj
= Py_None
;
34529 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34530 PyObject
*resultobj
;
34531 wxMenu
*arg1
= (wxMenu
*) 0 ;
34534 PyObject
* obj0
= 0 ;
34535 PyObject
* obj1
= 0 ;
34536 char *kwnames
[] = {
34537 (char *) "self",(char *) "id", NULL
34540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
34545 if (SWIG_arg_fail(2)) SWIG_fail
;
34548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34549 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
34551 wxPyEndAllowThreads(__tstate
);
34552 if (PyErr_Occurred()) SWIG_fail
;
34556 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34558 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34567 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34568 PyObject
*resultobj
;
34569 wxMenu
*arg1
= (wxMenu
*) 0 ;
34570 wxString
*arg2
= 0 ;
34571 bool temp2
= false ;
34572 PyObject
* obj0
= 0 ;
34573 PyObject
* obj1
= 0 ;
34574 char *kwnames
[] = {
34575 (char *) "self",(char *) "title", NULL
34578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
34579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34580 if (SWIG_arg_fail(1)) SWIG_fail
;
34582 arg2
= wxString_in_helper(obj1
);
34583 if (arg2
== NULL
) SWIG_fail
;
34587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34588 (arg1
)->SetTitle((wxString
const &)*arg2
);
34590 wxPyEndAllowThreads(__tstate
);
34591 if (PyErr_Occurred()) SWIG_fail
;
34593 Py_INCREF(Py_None
); resultobj
= Py_None
;
34608 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34609 PyObject
*resultobj
;
34610 wxMenu
*arg1
= (wxMenu
*) 0 ;
34612 PyObject
* obj0
= 0 ;
34613 char *kwnames
[] = {
34614 (char *) "self", NULL
34617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
34618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34619 if (SWIG_arg_fail(1)) SWIG_fail
;
34621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34622 result
= ((wxMenu
const *)arg1
)->GetTitle();
34624 wxPyEndAllowThreads(__tstate
);
34625 if (PyErr_Occurred()) SWIG_fail
;
34629 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34631 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34640 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34641 PyObject
*resultobj
;
34642 wxMenu
*arg1
= (wxMenu
*) 0 ;
34643 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
34644 PyObject
* obj0
= 0 ;
34645 PyObject
* obj1
= 0 ;
34646 char *kwnames
[] = {
34647 (char *) "self",(char *) "handler", NULL
34650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
34651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34652 if (SWIG_arg_fail(1)) SWIG_fail
;
34653 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
34654 if (SWIG_arg_fail(2)) SWIG_fail
;
34656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34657 (arg1
)->SetEventHandler(arg2
);
34659 wxPyEndAllowThreads(__tstate
);
34660 if (PyErr_Occurred()) SWIG_fail
;
34662 Py_INCREF(Py_None
); resultobj
= Py_None
;
34669 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34670 PyObject
*resultobj
;
34671 wxMenu
*arg1
= (wxMenu
*) 0 ;
34672 wxEvtHandler
*result
;
34673 PyObject
* obj0
= 0 ;
34674 char *kwnames
[] = {
34675 (char *) "self", NULL
34678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
34679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34680 if (SWIG_arg_fail(1)) SWIG_fail
;
34682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34683 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
34685 wxPyEndAllowThreads(__tstate
);
34686 if (PyErr_Occurred()) SWIG_fail
;
34689 resultobj
= wxPyMake_wxObject(result
, 0);
34697 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34698 PyObject
*resultobj
;
34699 wxMenu
*arg1
= (wxMenu
*) 0 ;
34700 wxWindow
*arg2
= (wxWindow
*) 0 ;
34701 PyObject
* obj0
= 0 ;
34702 PyObject
* obj1
= 0 ;
34703 char *kwnames
[] = {
34704 (char *) "self",(char *) "win", NULL
34707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
34708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34709 if (SWIG_arg_fail(1)) SWIG_fail
;
34710 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34711 if (SWIG_arg_fail(2)) SWIG_fail
;
34713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34714 (arg1
)->SetInvokingWindow(arg2
);
34716 wxPyEndAllowThreads(__tstate
);
34717 if (PyErr_Occurred()) SWIG_fail
;
34719 Py_INCREF(Py_None
); resultobj
= Py_None
;
34726 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34727 PyObject
*resultobj
;
34728 wxMenu
*arg1
= (wxMenu
*) 0 ;
34730 PyObject
* obj0
= 0 ;
34731 char *kwnames
[] = {
34732 (char *) "self", NULL
34735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
34736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34737 if (SWIG_arg_fail(1)) SWIG_fail
;
34739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34740 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
34742 wxPyEndAllowThreads(__tstate
);
34743 if (PyErr_Occurred()) SWIG_fail
;
34746 resultobj
= wxPyMake_wxObject(result
, 0);
34754 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34755 PyObject
*resultobj
;
34756 wxMenu
*arg1
= (wxMenu
*) 0 ;
34758 PyObject
* obj0
= 0 ;
34759 char *kwnames
[] = {
34760 (char *) "self", NULL
34763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
34764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34765 if (SWIG_arg_fail(1)) SWIG_fail
;
34767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34768 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
34770 wxPyEndAllowThreads(__tstate
);
34771 if (PyErr_Occurred()) SWIG_fail
;
34774 resultobj
= SWIG_From_long((long)(result
));
34782 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34783 PyObject
*resultobj
;
34784 wxMenu
*arg1
= (wxMenu
*) 0 ;
34785 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
34786 PyObject
* obj0
= 0 ;
34787 PyObject
* obj1
= 0 ;
34788 char *kwnames
[] = {
34789 (char *) "self",(char *) "source", NULL
34792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
34793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34794 if (SWIG_arg_fail(1)) SWIG_fail
;
34796 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
34797 if (SWIG_arg_fail(2)) SWIG_fail
;
34800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34801 (arg1
)->UpdateUI(arg2
);
34803 wxPyEndAllowThreads(__tstate
);
34804 if (PyErr_Occurred()) SWIG_fail
;
34806 Py_INCREF(Py_None
); resultobj
= Py_None
;
34813 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34814 PyObject
*resultobj
;
34815 wxMenu
*arg1
= (wxMenu
*) 0 ;
34817 PyObject
* obj0
= 0 ;
34818 char *kwnames
[] = {
34819 (char *) "self", NULL
34822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
34823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34824 if (SWIG_arg_fail(1)) SWIG_fail
;
34826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34827 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
34829 wxPyEndAllowThreads(__tstate
);
34830 if (PyErr_Occurred()) SWIG_fail
;
34833 resultobj
= wxPyMake_wxObject(result
, 0);
34841 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34842 PyObject
*resultobj
;
34843 wxMenu
*arg1
= (wxMenu
*) 0 ;
34844 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
34845 PyObject
* obj0
= 0 ;
34846 PyObject
* obj1
= 0 ;
34847 char *kwnames
[] = {
34848 (char *) "self",(char *) "menubar", NULL
34851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
34852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34853 if (SWIG_arg_fail(1)) SWIG_fail
;
34854 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBarBase
, SWIG_POINTER_EXCEPTION
| 0);
34855 if (SWIG_arg_fail(2)) SWIG_fail
;
34857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34858 (arg1
)->Attach(arg2
);
34860 wxPyEndAllowThreads(__tstate
);
34861 if (PyErr_Occurred()) SWIG_fail
;
34863 Py_INCREF(Py_None
); resultobj
= Py_None
;
34870 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34871 PyObject
*resultobj
;
34872 wxMenu
*arg1
= (wxMenu
*) 0 ;
34873 PyObject
* obj0
= 0 ;
34874 char *kwnames
[] = {
34875 (char *) "self", NULL
34878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
34879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34880 if (SWIG_arg_fail(1)) SWIG_fail
;
34882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34885 wxPyEndAllowThreads(__tstate
);
34886 if (PyErr_Occurred()) SWIG_fail
;
34888 Py_INCREF(Py_None
); resultobj
= Py_None
;
34895 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34896 PyObject
*resultobj
;
34897 wxMenu
*arg1
= (wxMenu
*) 0 ;
34899 PyObject
* obj0
= 0 ;
34900 char *kwnames
[] = {
34901 (char *) "self", NULL
34904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
34905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34906 if (SWIG_arg_fail(1)) SWIG_fail
;
34908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34909 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
34911 wxPyEndAllowThreads(__tstate
);
34912 if (PyErr_Occurred()) SWIG_fail
;
34915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34923 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34924 PyObject
*resultobj
;
34925 wxMenu
*arg1
= (wxMenu
*) 0 ;
34926 wxMenu
*arg2
= (wxMenu
*) 0 ;
34927 PyObject
* obj0
= 0 ;
34928 PyObject
* obj1
= 0 ;
34929 char *kwnames
[] = {
34930 (char *) "self",(char *) "parent", NULL
34933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
34934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34935 if (SWIG_arg_fail(1)) SWIG_fail
;
34936 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34937 if (SWIG_arg_fail(2)) SWIG_fail
;
34939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34940 (arg1
)->SetParent(arg2
);
34942 wxPyEndAllowThreads(__tstate
);
34943 if (PyErr_Occurred()) SWIG_fail
;
34945 Py_INCREF(Py_None
); resultobj
= Py_None
;
34952 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34953 PyObject
*resultobj
;
34954 wxMenu
*arg1
= (wxMenu
*) 0 ;
34956 PyObject
* obj0
= 0 ;
34957 char *kwnames
[] = {
34958 (char *) "self", NULL
34961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
34962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34963 if (SWIG_arg_fail(1)) SWIG_fail
;
34965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34966 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
34968 wxPyEndAllowThreads(__tstate
);
34969 if (PyErr_Occurred()) SWIG_fail
;
34972 resultobj
= wxPyMake_wxObject(result
, 0);
34980 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
34982 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34983 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
34985 return Py_BuildValue((char *)"");
34987 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34988 PyObject
*resultobj
;
34989 long arg1
= (long) 0 ;
34991 PyObject
* obj0
= 0 ;
34992 char *kwnames
[] = {
34993 (char *) "style", NULL
34996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
34999 arg1
= (long)(SWIG_As_long(obj0
));
35000 if (SWIG_arg_fail(1)) SWIG_fail
;
35004 if (!wxPyCheckForApp()) SWIG_fail
;
35005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35006 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
35008 wxPyEndAllowThreads(__tstate
);
35009 if (PyErr_Occurred()) SWIG_fail
;
35011 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
35018 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35019 PyObject
*resultobj
;
35020 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35021 wxMenu
*arg2
= (wxMenu
*) 0 ;
35022 wxString
*arg3
= 0 ;
35024 bool temp3
= false ;
35025 PyObject
* obj0
= 0 ;
35026 PyObject
* obj1
= 0 ;
35027 PyObject
* obj2
= 0 ;
35028 char *kwnames
[] = {
35029 (char *) "self",(char *) "menu",(char *) "title", NULL
35032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35034 if (SWIG_arg_fail(1)) SWIG_fail
;
35035 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35036 if (SWIG_arg_fail(2)) SWIG_fail
;
35038 arg3
= wxString_in_helper(obj2
);
35039 if (arg3
== NULL
) SWIG_fail
;
35043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35044 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
35046 wxPyEndAllowThreads(__tstate
);
35047 if (PyErr_Occurred()) SWIG_fail
;
35050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35066 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35067 PyObject
*resultobj
;
35068 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35070 wxMenu
*arg3
= (wxMenu
*) 0 ;
35071 wxString
*arg4
= 0 ;
35073 bool temp4
= false ;
35074 PyObject
* obj0
= 0 ;
35075 PyObject
* obj1
= 0 ;
35076 PyObject
* obj2
= 0 ;
35077 PyObject
* obj3
= 0 ;
35078 char *kwnames
[] = {
35079 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
35082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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
;
35089 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35090 if (SWIG_arg_fail(3)) SWIG_fail
;
35092 arg4
= wxString_in_helper(obj3
);
35093 if (arg4
== NULL
) SWIG_fail
;
35097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35098 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
35100 wxPyEndAllowThreads(__tstate
);
35101 if (PyErr_Occurred()) SWIG_fail
;
35104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35120 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35121 PyObject
*resultobj
;
35122 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35124 PyObject
* obj0
= 0 ;
35125 char *kwnames
[] = {
35126 (char *) "self", NULL
35129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
35130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35131 if (SWIG_arg_fail(1)) SWIG_fail
;
35133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35134 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
35136 wxPyEndAllowThreads(__tstate
);
35137 if (PyErr_Occurred()) SWIG_fail
;
35140 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
35148 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35149 PyObject
*resultobj
;
35150 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35153 PyObject
* obj0
= 0 ;
35154 PyObject
* obj1
= 0 ;
35155 char *kwnames
[] = {
35156 (char *) "self",(char *) "pos", NULL
35159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35161 if (SWIG_arg_fail(1)) SWIG_fail
;
35163 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35164 if (SWIG_arg_fail(2)) SWIG_fail
;
35167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35168 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
35170 wxPyEndAllowThreads(__tstate
);
35171 if (PyErr_Occurred()) SWIG_fail
;
35174 resultobj
= wxPyMake_wxObject(result
, 0);
35182 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35183 PyObject
*resultobj
;
35184 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35186 wxMenu
*arg3
= (wxMenu
*) 0 ;
35187 wxString
*arg4
= 0 ;
35189 bool temp4
= false ;
35190 PyObject
* obj0
= 0 ;
35191 PyObject
* obj1
= 0 ;
35192 PyObject
* obj2
= 0 ;
35193 PyObject
* obj3
= 0 ;
35194 char *kwnames
[] = {
35195 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
35198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
35199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35200 if (SWIG_arg_fail(1)) SWIG_fail
;
35202 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35203 if (SWIG_arg_fail(2)) SWIG_fail
;
35205 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35206 if (SWIG_arg_fail(3)) SWIG_fail
;
35208 arg4
= wxString_in_helper(obj3
);
35209 if (arg4
== NULL
) SWIG_fail
;
35213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35214 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
35216 wxPyEndAllowThreads(__tstate
);
35217 if (PyErr_Occurred()) SWIG_fail
;
35220 resultobj
= wxPyMake_wxObject(result
, 0);
35236 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35237 PyObject
*resultobj
;
35238 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35241 PyObject
* obj0
= 0 ;
35242 PyObject
* obj1
= 0 ;
35243 char *kwnames
[] = {
35244 (char *) "self",(char *) "pos", NULL
35247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
35248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35249 if (SWIG_arg_fail(1)) SWIG_fail
;
35251 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35252 if (SWIG_arg_fail(2)) SWIG_fail
;
35255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35256 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
35258 wxPyEndAllowThreads(__tstate
);
35259 if (PyErr_Occurred()) SWIG_fail
;
35262 resultobj
= wxPyMake_wxObject(result
, 0);
35270 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35271 PyObject
*resultobj
;
35272 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35275 PyObject
* obj0
= 0 ;
35276 PyObject
* obj1
= 0 ;
35277 PyObject
* obj2
= 0 ;
35278 char *kwnames
[] = {
35279 (char *) "self",(char *) "pos",(char *) "enable", NULL
35282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35284 if (SWIG_arg_fail(1)) SWIG_fail
;
35286 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35287 if (SWIG_arg_fail(2)) SWIG_fail
;
35290 arg3
= (bool)(SWIG_As_bool(obj2
));
35291 if (SWIG_arg_fail(3)) SWIG_fail
;
35294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35295 (arg1
)->EnableTop(arg2
,arg3
);
35297 wxPyEndAllowThreads(__tstate
);
35298 if (PyErr_Occurred()) SWIG_fail
;
35300 Py_INCREF(Py_None
); resultobj
= Py_None
;
35307 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35308 PyObject
*resultobj
;
35309 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35312 PyObject
* obj0
= 0 ;
35313 PyObject
* obj1
= 0 ;
35314 char *kwnames
[] = {
35315 (char *) "self",(char *) "pos", NULL
35318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
35319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35320 if (SWIG_arg_fail(1)) SWIG_fail
;
35322 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35323 if (SWIG_arg_fail(2)) SWIG_fail
;
35326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35327 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
35329 wxPyEndAllowThreads(__tstate
);
35330 if (PyErr_Occurred()) SWIG_fail
;
35333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35341 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35342 PyObject
*resultobj
;
35343 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35345 wxString
*arg3
= 0 ;
35346 bool temp3
= false ;
35347 PyObject
* obj0
= 0 ;
35348 PyObject
* obj1
= 0 ;
35349 PyObject
* obj2
= 0 ;
35350 char *kwnames
[] = {
35351 (char *) "self",(char *) "pos",(char *) "label", NULL
35354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35356 if (SWIG_arg_fail(1)) SWIG_fail
;
35358 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35359 if (SWIG_arg_fail(2)) SWIG_fail
;
35362 arg3
= wxString_in_helper(obj2
);
35363 if (arg3
== NULL
) SWIG_fail
;
35367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35368 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
35370 wxPyEndAllowThreads(__tstate
);
35371 if (PyErr_Occurred()) SWIG_fail
;
35373 Py_INCREF(Py_None
); resultobj
= Py_None
;
35388 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35389 PyObject
*resultobj
;
35390 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35393 PyObject
* obj0
= 0 ;
35394 PyObject
* obj1
= 0 ;
35395 char *kwnames
[] = {
35396 (char *) "self",(char *) "pos", NULL
35399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
35400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35401 if (SWIG_arg_fail(1)) SWIG_fail
;
35403 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35404 if (SWIG_arg_fail(2)) SWIG_fail
;
35407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35408 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
35410 wxPyEndAllowThreads(__tstate
);
35411 if (PyErr_Occurred()) SWIG_fail
;
35415 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35417 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35426 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35427 PyObject
*resultobj
;
35428 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35429 wxString
*arg2
= 0 ;
35430 wxString
*arg3
= 0 ;
35432 bool temp2
= false ;
35433 bool temp3
= false ;
35434 PyObject
* obj0
= 0 ;
35435 PyObject
* obj1
= 0 ;
35436 PyObject
* obj2
= 0 ;
35437 char *kwnames
[] = {
35438 (char *) "self",(char *) "menu",(char *) "item", NULL
35441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35443 if (SWIG_arg_fail(1)) SWIG_fail
;
35445 arg2
= wxString_in_helper(obj1
);
35446 if (arg2
== NULL
) SWIG_fail
;
35450 arg3
= wxString_in_helper(obj2
);
35451 if (arg3
== NULL
) SWIG_fail
;
35455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35456 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
35458 wxPyEndAllowThreads(__tstate
);
35459 if (PyErr_Occurred()) SWIG_fail
;
35462 resultobj
= SWIG_From_int((int)(result
));
35486 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35487 PyObject
*resultobj
;
35488 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35490 wxMenuItem
*result
;
35491 PyObject
* obj0
= 0 ;
35492 PyObject
* obj1
= 0 ;
35493 char *kwnames
[] = {
35494 (char *) "self",(char *) "id", NULL
35497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
35498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35499 if (SWIG_arg_fail(1)) SWIG_fail
;
35501 arg2
= (int)(SWIG_As_int(obj1
));
35502 if (SWIG_arg_fail(2)) SWIG_fail
;
35505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35506 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
35508 wxPyEndAllowThreads(__tstate
);
35509 if (PyErr_Occurred()) SWIG_fail
;
35512 resultobj
= wxPyMake_wxObject(result
, 0);
35520 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35521 PyObject
*resultobj
;
35522 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35523 wxString
*arg2
= 0 ;
35525 bool temp2
= false ;
35526 PyObject
* obj0
= 0 ;
35527 PyObject
* obj1
= 0 ;
35528 char *kwnames
[] = {
35529 (char *) "self",(char *) "title", NULL
35532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35534 if (SWIG_arg_fail(1)) SWIG_fail
;
35536 arg2
= wxString_in_helper(obj1
);
35537 if (arg2
== NULL
) SWIG_fail
;
35541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35542 result
= (int)(arg1
)->FindMenu((wxString
const &)*arg2
);
35544 wxPyEndAllowThreads(__tstate
);
35545 if (PyErr_Occurred()) SWIG_fail
;
35548 resultobj
= SWIG_From_int((int)(result
));
35564 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35565 PyObject
*resultobj
;
35566 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35569 PyObject
* obj0
= 0 ;
35570 PyObject
* obj1
= 0 ;
35571 PyObject
* obj2
= 0 ;
35572 char *kwnames
[] = {
35573 (char *) "self",(char *) "id",(char *) "enable", NULL
35576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35578 if (SWIG_arg_fail(1)) SWIG_fail
;
35580 arg2
= (int)(SWIG_As_int(obj1
));
35581 if (SWIG_arg_fail(2)) SWIG_fail
;
35584 arg3
= (bool)(SWIG_As_bool(obj2
));
35585 if (SWIG_arg_fail(3)) SWIG_fail
;
35588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35589 (arg1
)->Enable(arg2
,arg3
);
35591 wxPyEndAllowThreads(__tstate
);
35592 if (PyErr_Occurred()) SWIG_fail
;
35594 Py_INCREF(Py_None
); resultobj
= Py_None
;
35601 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35602 PyObject
*resultobj
;
35603 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35606 PyObject
* obj0
= 0 ;
35607 PyObject
* obj1
= 0 ;
35608 PyObject
* obj2
= 0 ;
35609 char *kwnames
[] = {
35610 (char *) "self",(char *) "id",(char *) "check", NULL
35613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35615 if (SWIG_arg_fail(1)) SWIG_fail
;
35617 arg2
= (int)(SWIG_As_int(obj1
));
35618 if (SWIG_arg_fail(2)) SWIG_fail
;
35621 arg3
= (bool)(SWIG_As_bool(obj2
));
35622 if (SWIG_arg_fail(3)) SWIG_fail
;
35625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35626 (arg1
)->Check(arg2
,arg3
);
35628 wxPyEndAllowThreads(__tstate
);
35629 if (PyErr_Occurred()) SWIG_fail
;
35631 Py_INCREF(Py_None
); resultobj
= Py_None
;
35638 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35639 PyObject
*resultobj
;
35640 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35643 PyObject
* obj0
= 0 ;
35644 PyObject
* obj1
= 0 ;
35645 char *kwnames
[] = {
35646 (char *) "self",(char *) "id", NULL
35649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
35650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35651 if (SWIG_arg_fail(1)) SWIG_fail
;
35653 arg2
= (int)(SWIG_As_int(obj1
));
35654 if (SWIG_arg_fail(2)) SWIG_fail
;
35657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35658 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
35660 wxPyEndAllowThreads(__tstate
);
35661 if (PyErr_Occurred()) SWIG_fail
;
35664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35672 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35673 PyObject
*resultobj
;
35674 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35677 PyObject
* obj0
= 0 ;
35678 PyObject
* obj1
= 0 ;
35679 char *kwnames
[] = {
35680 (char *) "self",(char *) "id", NULL
35683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
35684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35685 if (SWIG_arg_fail(1)) SWIG_fail
;
35687 arg2
= (int)(SWIG_As_int(obj1
));
35688 if (SWIG_arg_fail(2)) SWIG_fail
;
35691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35692 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
35694 wxPyEndAllowThreads(__tstate
);
35695 if (PyErr_Occurred()) SWIG_fail
;
35698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35706 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35707 PyObject
*resultobj
;
35708 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35710 wxString
*arg3
= 0 ;
35711 bool temp3
= false ;
35712 PyObject
* obj0
= 0 ;
35713 PyObject
* obj1
= 0 ;
35714 PyObject
* obj2
= 0 ;
35715 char *kwnames
[] = {
35716 (char *) "self",(char *) "id",(char *) "label", NULL
35719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35721 if (SWIG_arg_fail(1)) SWIG_fail
;
35723 arg2
= (int)(SWIG_As_int(obj1
));
35724 if (SWIG_arg_fail(2)) SWIG_fail
;
35727 arg3
= wxString_in_helper(obj2
);
35728 if (arg3
== NULL
) SWIG_fail
;
35732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35733 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
35735 wxPyEndAllowThreads(__tstate
);
35736 if (PyErr_Occurred()) SWIG_fail
;
35738 Py_INCREF(Py_None
); resultobj
= Py_None
;
35753 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35754 PyObject
*resultobj
;
35755 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35758 PyObject
* obj0
= 0 ;
35759 PyObject
* obj1
= 0 ;
35760 char *kwnames
[] = {
35761 (char *) "self",(char *) "id", NULL
35764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
35765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35766 if (SWIG_arg_fail(1)) SWIG_fail
;
35768 arg2
= (int)(SWIG_As_int(obj1
));
35769 if (SWIG_arg_fail(2)) SWIG_fail
;
35772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35773 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
35775 wxPyEndAllowThreads(__tstate
);
35776 if (PyErr_Occurred()) SWIG_fail
;
35780 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35782 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35791 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35792 PyObject
*resultobj
;
35793 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35795 wxString
*arg3
= 0 ;
35796 bool temp3
= false ;
35797 PyObject
* obj0
= 0 ;
35798 PyObject
* obj1
= 0 ;
35799 PyObject
* obj2
= 0 ;
35800 char *kwnames
[] = {
35801 (char *) "self",(char *) "id",(char *) "helpString", NULL
35804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35806 if (SWIG_arg_fail(1)) SWIG_fail
;
35808 arg2
= (int)(SWIG_As_int(obj1
));
35809 if (SWIG_arg_fail(2)) SWIG_fail
;
35812 arg3
= wxString_in_helper(obj2
);
35813 if (arg3
== NULL
) SWIG_fail
;
35817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35818 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
35820 wxPyEndAllowThreads(__tstate
);
35821 if (PyErr_Occurred()) SWIG_fail
;
35823 Py_INCREF(Py_None
); resultobj
= Py_None
;
35838 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35839 PyObject
*resultobj
;
35840 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35843 PyObject
* obj0
= 0 ;
35844 PyObject
* obj1
= 0 ;
35845 char *kwnames
[] = {
35846 (char *) "self",(char *) "id", NULL
35849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
35850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35851 if (SWIG_arg_fail(1)) SWIG_fail
;
35853 arg2
= (int)(SWIG_As_int(obj1
));
35854 if (SWIG_arg_fail(2)) SWIG_fail
;
35857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35858 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
35860 wxPyEndAllowThreads(__tstate
);
35861 if (PyErr_Occurred()) SWIG_fail
;
35865 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35867 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35876 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35877 PyObject
*resultobj
;
35878 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35880 PyObject
* obj0
= 0 ;
35881 char *kwnames
[] = {
35882 (char *) "self", NULL
35885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
35886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35887 if (SWIG_arg_fail(1)) SWIG_fail
;
35889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35890 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
35892 wxPyEndAllowThreads(__tstate
);
35893 if (PyErr_Occurred()) SWIG_fail
;
35896 resultobj
= wxPyMake_wxObject(result
, 0);
35904 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35905 PyObject
*resultobj
;
35906 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35908 PyObject
* obj0
= 0 ;
35909 char *kwnames
[] = {
35910 (char *) "self", NULL
35913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
35914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35915 if (SWIG_arg_fail(1)) SWIG_fail
;
35917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35918 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
35920 wxPyEndAllowThreads(__tstate
);
35921 if (PyErr_Occurred()) SWIG_fail
;
35924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35932 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35933 PyObject
*resultobj
;
35934 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35935 wxFrame
*arg2
= (wxFrame
*) 0 ;
35936 PyObject
* obj0
= 0 ;
35937 PyObject
* obj1
= 0 ;
35938 char *kwnames
[] = {
35939 (char *) "self",(char *) "frame", NULL
35942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
35943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35944 if (SWIG_arg_fail(1)) SWIG_fail
;
35945 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
35946 if (SWIG_arg_fail(2)) SWIG_fail
;
35948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35949 (arg1
)->Attach(arg2
);
35951 wxPyEndAllowThreads(__tstate
);
35952 if (PyErr_Occurred()) SWIG_fail
;
35954 Py_INCREF(Py_None
); resultobj
= Py_None
;
35961 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35962 PyObject
*resultobj
;
35963 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35964 PyObject
* obj0
= 0 ;
35965 char *kwnames
[] = {
35966 (char *) "self", NULL
35969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
35970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35971 if (SWIG_arg_fail(1)) SWIG_fail
;
35973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35976 wxPyEndAllowThreads(__tstate
);
35977 if (PyErr_Occurred()) SWIG_fail
;
35979 Py_INCREF(Py_None
); resultobj
= Py_None
;
35986 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
35988 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35989 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
35991 return Py_BuildValue((char *)"");
35993 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35994 PyObject
*resultobj
;
35995 wxMenu
*arg1
= (wxMenu
*) NULL
;
35996 int arg2
= (int) wxID_ANY
;
35997 wxString
const &arg3_defvalue
= wxPyEmptyString
;
35998 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
35999 wxString
const &arg4_defvalue
= wxPyEmptyString
;
36000 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
36001 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
36002 wxMenu
*arg6
= (wxMenu
*) NULL
;
36003 wxMenuItem
*result
;
36004 bool temp3
= false ;
36005 bool temp4
= false ;
36006 PyObject
* obj0
= 0 ;
36007 PyObject
* obj1
= 0 ;
36008 PyObject
* obj2
= 0 ;
36009 PyObject
* obj3
= 0 ;
36010 PyObject
* obj4
= 0 ;
36011 PyObject
* obj5
= 0 ;
36012 char *kwnames
[] = {
36013 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
36016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
36018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
36019 if (SWIG_arg_fail(1)) SWIG_fail
;
36023 arg2
= (int)(SWIG_As_int(obj1
));
36024 if (SWIG_arg_fail(2)) SWIG_fail
;
36029 arg3
= wxString_in_helper(obj2
);
36030 if (arg3
== NULL
) SWIG_fail
;
36036 arg4
= wxString_in_helper(obj3
);
36037 if (arg4
== NULL
) SWIG_fail
;
36043 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
36044 if (SWIG_arg_fail(5)) SWIG_fail
;
36048 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
36049 if (SWIG_arg_fail(6)) SWIG_fail
;
36052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36053 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
36055 wxPyEndAllowThreads(__tstate
);
36056 if (PyErr_Occurred()) SWIG_fail
;
36059 resultobj
= wxPyMake_wxObject(result
, 1);
36083 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36084 PyObject
*resultobj
;
36085 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36087 PyObject
* obj0
= 0 ;
36088 char *kwnames
[] = {
36089 (char *) "self", NULL
36092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
36093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36094 if (SWIG_arg_fail(1)) SWIG_fail
;
36096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36097 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
36099 wxPyEndAllowThreads(__tstate
);
36100 if (PyErr_Occurred()) SWIG_fail
;
36103 resultobj
= wxPyMake_wxObject(result
, 0);
36111 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36112 PyObject
*resultobj
;
36113 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36114 wxMenu
*arg2
= (wxMenu
*) 0 ;
36115 PyObject
* obj0
= 0 ;
36116 PyObject
* obj1
= 0 ;
36117 char *kwnames
[] = {
36118 (char *) "self",(char *) "menu", NULL
36121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
36122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36123 if (SWIG_arg_fail(1)) SWIG_fail
;
36124 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
36125 if (SWIG_arg_fail(2)) SWIG_fail
;
36127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36128 (arg1
)->SetMenu(arg2
);
36130 wxPyEndAllowThreads(__tstate
);
36131 if (PyErr_Occurred()) SWIG_fail
;
36133 Py_INCREF(Py_None
); resultobj
= Py_None
;
36140 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36141 PyObject
*resultobj
;
36142 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36144 PyObject
* obj0
= 0 ;
36145 PyObject
* obj1
= 0 ;
36146 char *kwnames
[] = {
36147 (char *) "self",(char *) "id", NULL
36150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
36151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36152 if (SWIG_arg_fail(1)) SWIG_fail
;
36154 arg2
= (int)(SWIG_As_int(obj1
));
36155 if (SWIG_arg_fail(2)) SWIG_fail
;
36158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36159 (arg1
)->SetId(arg2
);
36161 wxPyEndAllowThreads(__tstate
);
36162 if (PyErr_Occurred()) SWIG_fail
;
36164 Py_INCREF(Py_None
); resultobj
= Py_None
;
36171 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36172 PyObject
*resultobj
;
36173 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36175 PyObject
* obj0
= 0 ;
36176 char *kwnames
[] = {
36177 (char *) "self", NULL
36180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
36181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36182 if (SWIG_arg_fail(1)) SWIG_fail
;
36184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36185 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
36187 wxPyEndAllowThreads(__tstate
);
36188 if (PyErr_Occurred()) SWIG_fail
;
36191 resultobj
= SWIG_From_int((int)(result
));
36199 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36200 PyObject
*resultobj
;
36201 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36203 PyObject
* obj0
= 0 ;
36204 char *kwnames
[] = {
36205 (char *) "self", NULL
36208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
36209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36210 if (SWIG_arg_fail(1)) SWIG_fail
;
36212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36213 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
36215 wxPyEndAllowThreads(__tstate
);
36216 if (PyErr_Occurred()) SWIG_fail
;
36219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36227 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36228 PyObject
*resultobj
;
36229 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36230 wxString
*arg2
= 0 ;
36231 bool temp2
= false ;
36232 PyObject
* obj0
= 0 ;
36233 PyObject
* obj1
= 0 ;
36234 char *kwnames
[] = {
36235 (char *) "self",(char *) "str", NULL
36238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
36239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36240 if (SWIG_arg_fail(1)) SWIG_fail
;
36242 arg2
= wxString_in_helper(obj1
);
36243 if (arg2
== NULL
) SWIG_fail
;
36247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36248 (arg1
)->SetText((wxString
const &)*arg2
);
36250 wxPyEndAllowThreads(__tstate
);
36251 if (PyErr_Occurred()) SWIG_fail
;
36253 Py_INCREF(Py_None
); resultobj
= Py_None
;
36268 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36269 PyObject
*resultobj
;
36270 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36272 PyObject
* obj0
= 0 ;
36273 char *kwnames
[] = {
36274 (char *) "self", NULL
36277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
36278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36279 if (SWIG_arg_fail(1)) SWIG_fail
;
36281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36282 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
36284 wxPyEndAllowThreads(__tstate
);
36285 if (PyErr_Occurred()) SWIG_fail
;
36289 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36291 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36300 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36301 PyObject
*resultobj
;
36302 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36304 PyObject
* obj0
= 0 ;
36305 char *kwnames
[] = {
36306 (char *) "self", NULL
36309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
36310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36311 if (SWIG_arg_fail(1)) SWIG_fail
;
36313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36315 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
36316 result
= (wxString
*) &_result_ref
;
36319 wxPyEndAllowThreads(__tstate
);
36320 if (PyErr_Occurred()) SWIG_fail
;
36324 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
36326 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
36335 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36336 PyObject
*resultobj
;
36337 wxString
*arg1
= 0 ;
36339 bool temp1
= false ;
36340 PyObject
* obj0
= 0 ;
36341 char *kwnames
[] = {
36342 (char *) "text", NULL
36345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
36347 arg1
= wxString_in_helper(obj0
);
36348 if (arg1
== NULL
) SWIG_fail
;
36352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36353 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
36355 wxPyEndAllowThreads(__tstate
);
36356 if (PyErr_Occurred()) SWIG_fail
;
36360 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36362 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36379 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36380 PyObject
*resultobj
;
36381 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36383 PyObject
* obj0
= 0 ;
36384 char *kwnames
[] = {
36385 (char *) "self", NULL
36388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
36389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36390 if (SWIG_arg_fail(1)) SWIG_fail
;
36392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36393 result
= (wxItemKind
)((wxMenuItem
const *)arg1
)->GetKind();
36395 wxPyEndAllowThreads(__tstate
);
36396 if (PyErr_Occurred()) SWIG_fail
;
36398 resultobj
= SWIG_From_int((result
));
36405 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36406 PyObject
*resultobj
;
36407 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36409 PyObject
* obj0
= 0 ;
36410 PyObject
* obj1
= 0 ;
36411 char *kwnames
[] = {
36412 (char *) "self",(char *) "kind", NULL
36415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
36416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36417 if (SWIG_arg_fail(1)) SWIG_fail
;
36419 arg2
= (wxItemKind
)(SWIG_As_int(obj1
));
36420 if (SWIG_arg_fail(2)) SWIG_fail
;
36423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36424 (arg1
)->SetKind((wxItemKind
)arg2
);
36426 wxPyEndAllowThreads(__tstate
);
36427 if (PyErr_Occurred()) SWIG_fail
;
36429 Py_INCREF(Py_None
); resultobj
= Py_None
;
36436 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36437 PyObject
*resultobj
;
36438 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36440 PyObject
* obj0
= 0 ;
36441 PyObject
* obj1
= 0 ;
36442 char *kwnames
[] = {
36443 (char *) "self",(char *) "checkable", NULL
36446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
36447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36448 if (SWIG_arg_fail(1)) SWIG_fail
;
36450 arg2
= (bool)(SWIG_As_bool(obj1
));
36451 if (SWIG_arg_fail(2)) SWIG_fail
;
36454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36455 (arg1
)->SetCheckable(arg2
);
36457 wxPyEndAllowThreads(__tstate
);
36458 if (PyErr_Occurred()) SWIG_fail
;
36460 Py_INCREF(Py_None
); resultobj
= Py_None
;
36467 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36468 PyObject
*resultobj
;
36469 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36471 PyObject
* obj0
= 0 ;
36472 char *kwnames
[] = {
36473 (char *) "self", NULL
36476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
36477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36478 if (SWIG_arg_fail(1)) SWIG_fail
;
36480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36481 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
36483 wxPyEndAllowThreads(__tstate
);
36484 if (PyErr_Occurred()) SWIG_fail
;
36487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36495 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36496 PyObject
*resultobj
;
36497 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36499 PyObject
* obj0
= 0 ;
36500 char *kwnames
[] = {
36501 (char *) "self", NULL
36504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
36505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36506 if (SWIG_arg_fail(1)) SWIG_fail
;
36508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36509 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
36511 wxPyEndAllowThreads(__tstate
);
36512 if (PyErr_Occurred()) SWIG_fail
;
36515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36523 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36524 PyObject
*resultobj
;
36525 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36526 wxMenu
*arg2
= (wxMenu
*) 0 ;
36527 PyObject
* obj0
= 0 ;
36528 PyObject
* obj1
= 0 ;
36529 char *kwnames
[] = {
36530 (char *) "self",(char *) "menu", NULL
36533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
36534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36535 if (SWIG_arg_fail(1)) SWIG_fail
;
36536 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
36537 if (SWIG_arg_fail(2)) SWIG_fail
;
36539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36540 (arg1
)->SetSubMenu(arg2
);
36542 wxPyEndAllowThreads(__tstate
);
36543 if (PyErr_Occurred()) SWIG_fail
;
36545 Py_INCREF(Py_None
); resultobj
= Py_None
;
36552 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36553 PyObject
*resultobj
;
36554 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36556 PyObject
* obj0
= 0 ;
36557 char *kwnames
[] = {
36558 (char *) "self", NULL
36561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
36562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36563 if (SWIG_arg_fail(1)) SWIG_fail
;
36565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36566 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
36568 wxPyEndAllowThreads(__tstate
);
36569 if (PyErr_Occurred()) SWIG_fail
;
36572 resultobj
= wxPyMake_wxObject(result
, 0);
36580 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36581 PyObject
*resultobj
;
36582 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36583 bool arg2
= (bool) true ;
36584 PyObject
* obj0
= 0 ;
36585 PyObject
* obj1
= 0 ;
36586 char *kwnames
[] = {
36587 (char *) "self",(char *) "enable", NULL
36590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
36591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36592 if (SWIG_arg_fail(1)) SWIG_fail
;
36595 arg2
= (bool)(SWIG_As_bool(obj1
));
36596 if (SWIG_arg_fail(2)) SWIG_fail
;
36600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36601 (arg1
)->Enable(arg2
);
36603 wxPyEndAllowThreads(__tstate
);
36604 if (PyErr_Occurred()) SWIG_fail
;
36606 Py_INCREF(Py_None
); resultobj
= Py_None
;
36613 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36614 PyObject
*resultobj
;
36615 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36617 PyObject
* obj0
= 0 ;
36618 char *kwnames
[] = {
36619 (char *) "self", NULL
36622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
36623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36624 if (SWIG_arg_fail(1)) SWIG_fail
;
36626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36627 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
36629 wxPyEndAllowThreads(__tstate
);
36630 if (PyErr_Occurred()) SWIG_fail
;
36633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36641 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36642 PyObject
*resultobj
;
36643 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36644 bool arg2
= (bool) true ;
36645 PyObject
* obj0
= 0 ;
36646 PyObject
* obj1
= 0 ;
36647 char *kwnames
[] = {
36648 (char *) "self",(char *) "check", NULL
36651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
36652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36653 if (SWIG_arg_fail(1)) SWIG_fail
;
36656 arg2
= (bool)(SWIG_As_bool(obj1
));
36657 if (SWIG_arg_fail(2)) SWIG_fail
;
36661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36662 (arg1
)->Check(arg2
);
36664 wxPyEndAllowThreads(__tstate
);
36665 if (PyErr_Occurred()) SWIG_fail
;
36667 Py_INCREF(Py_None
); resultobj
= Py_None
;
36674 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36675 PyObject
*resultobj
;
36676 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36678 PyObject
* obj0
= 0 ;
36679 char *kwnames
[] = {
36680 (char *) "self", NULL
36683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
36684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36685 if (SWIG_arg_fail(1)) SWIG_fail
;
36687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36688 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
36690 wxPyEndAllowThreads(__tstate
);
36691 if (PyErr_Occurred()) SWIG_fail
;
36694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36702 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36703 PyObject
*resultobj
;
36704 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36705 PyObject
* obj0
= 0 ;
36706 char *kwnames
[] = {
36707 (char *) "self", NULL
36710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
36711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36712 if (SWIG_arg_fail(1)) SWIG_fail
;
36714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36717 wxPyEndAllowThreads(__tstate
);
36718 if (PyErr_Occurred()) SWIG_fail
;
36720 Py_INCREF(Py_None
); resultobj
= Py_None
;
36727 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36728 PyObject
*resultobj
;
36729 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36730 wxString
*arg2
= 0 ;
36731 bool temp2
= false ;
36732 PyObject
* obj0
= 0 ;
36733 PyObject
* obj1
= 0 ;
36734 char *kwnames
[] = {
36735 (char *) "self",(char *) "str", NULL
36738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
36739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36740 if (SWIG_arg_fail(1)) SWIG_fail
;
36742 arg2
= wxString_in_helper(obj1
);
36743 if (arg2
== NULL
) SWIG_fail
;
36747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36748 (arg1
)->SetHelp((wxString
const &)*arg2
);
36750 wxPyEndAllowThreads(__tstate
);
36751 if (PyErr_Occurred()) SWIG_fail
;
36753 Py_INCREF(Py_None
); resultobj
= Py_None
;
36768 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36769 PyObject
*resultobj
;
36770 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36772 PyObject
* obj0
= 0 ;
36773 char *kwnames
[] = {
36774 (char *) "self", NULL
36777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
36778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36779 if (SWIG_arg_fail(1)) SWIG_fail
;
36781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36783 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
36784 result
= (wxString
*) &_result_ref
;
36787 wxPyEndAllowThreads(__tstate
);
36788 if (PyErr_Occurred()) SWIG_fail
;
36792 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
36794 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
36803 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36804 PyObject
*resultobj
;
36805 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36806 wxAcceleratorEntry
*result
;
36807 PyObject
* obj0
= 0 ;
36808 char *kwnames
[] = {
36809 (char *) "self", NULL
36812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
36813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36814 if (SWIG_arg_fail(1)) SWIG_fail
;
36816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36817 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
36819 wxPyEndAllowThreads(__tstate
);
36820 if (PyErr_Occurred()) SWIG_fail
;
36822 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
36829 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36830 PyObject
*resultobj
;
36831 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36832 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
36833 PyObject
* obj0
= 0 ;
36834 PyObject
* obj1
= 0 ;
36835 char *kwnames
[] = {
36836 (char *) "self",(char *) "accel", NULL
36839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
36840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36841 if (SWIG_arg_fail(1)) SWIG_fail
;
36842 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
36843 if (SWIG_arg_fail(2)) SWIG_fail
;
36845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36846 (arg1
)->SetAccel(arg2
);
36848 wxPyEndAllowThreads(__tstate
);
36849 if (PyErr_Occurred()) SWIG_fail
;
36851 Py_INCREF(Py_None
); resultobj
= Py_None
;
36858 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36859 PyObject
*resultobj
;
36860 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36862 PyObject
* obj0
= 0 ;
36863 PyObject
* obj1
= 0 ;
36864 char *kwnames
[] = {
36865 (char *) "self",(char *) "font", NULL
36868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
36869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36870 if (SWIG_arg_fail(1)) SWIG_fail
;
36872 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
36873 if (SWIG_arg_fail(2)) SWIG_fail
;
36874 if (arg2
== NULL
) {
36875 SWIG_null_ref("wxFont");
36877 if (SWIG_arg_fail(2)) SWIG_fail
;
36880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36881 (arg1
)->SetFont((wxFont
const &)*arg2
);
36883 wxPyEndAllowThreads(__tstate
);
36884 if (PyErr_Occurred()) SWIG_fail
;
36886 Py_INCREF(Py_None
); resultobj
= Py_None
;
36893 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36894 PyObject
*resultobj
;
36895 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36897 PyObject
* obj0
= 0 ;
36898 char *kwnames
[] = {
36899 (char *) "self", NULL
36902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
36903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36904 if (SWIG_arg_fail(1)) SWIG_fail
;
36906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36907 result
= (arg1
)->GetFont();
36909 wxPyEndAllowThreads(__tstate
);
36910 if (PyErr_Occurred()) SWIG_fail
;
36913 wxFont
* resultptr
;
36914 resultptr
= new wxFont((wxFont
&)(result
));
36915 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
36923 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36924 PyObject
*resultobj
;
36925 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36926 wxColour
*arg2
= 0 ;
36928 PyObject
* obj0
= 0 ;
36929 PyObject
* obj1
= 0 ;
36930 char *kwnames
[] = {
36931 (char *) "self",(char *) "colText", NULL
36934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
36935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36936 if (SWIG_arg_fail(1)) SWIG_fail
;
36939 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36943 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
36945 wxPyEndAllowThreads(__tstate
);
36946 if (PyErr_Occurred()) SWIG_fail
;
36948 Py_INCREF(Py_None
); resultobj
= Py_None
;
36955 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36956 PyObject
*resultobj
;
36957 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36959 PyObject
* obj0
= 0 ;
36960 char *kwnames
[] = {
36961 (char *) "self", NULL
36964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
36965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36966 if (SWIG_arg_fail(1)) SWIG_fail
;
36968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36969 result
= (arg1
)->GetTextColour();
36971 wxPyEndAllowThreads(__tstate
);
36972 if (PyErr_Occurred()) SWIG_fail
;
36975 wxColour
* resultptr
;
36976 resultptr
= new wxColour((wxColour
&)(result
));
36977 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
36985 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36986 PyObject
*resultobj
;
36987 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36988 wxColour
*arg2
= 0 ;
36990 PyObject
* obj0
= 0 ;
36991 PyObject
* obj1
= 0 ;
36992 char *kwnames
[] = {
36993 (char *) "self",(char *) "colBack", NULL
36996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
36997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36998 if (SWIG_arg_fail(1)) SWIG_fail
;
37001 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
37004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37005 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
37007 wxPyEndAllowThreads(__tstate
);
37008 if (PyErr_Occurred()) SWIG_fail
;
37010 Py_INCREF(Py_None
); resultobj
= Py_None
;
37017 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37018 PyObject
*resultobj
;
37019 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37021 PyObject
* obj0
= 0 ;
37022 char *kwnames
[] = {
37023 (char *) "self", NULL
37026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
37027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37028 if (SWIG_arg_fail(1)) SWIG_fail
;
37030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37031 result
= (arg1
)->GetBackgroundColour();
37033 wxPyEndAllowThreads(__tstate
);
37034 if (PyErr_Occurred()) SWIG_fail
;
37037 wxColour
* resultptr
;
37038 resultptr
= new wxColour((wxColour
&)(result
));
37039 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
37047 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37048 PyObject
*resultobj
;
37049 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37050 wxBitmap
*arg2
= 0 ;
37051 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
37052 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
37053 PyObject
* obj0
= 0 ;
37054 PyObject
* obj1
= 0 ;
37055 PyObject
* obj2
= 0 ;
37056 char *kwnames
[] = {
37057 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
37060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37062 if (SWIG_arg_fail(1)) SWIG_fail
;
37064 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37065 if (SWIG_arg_fail(2)) SWIG_fail
;
37066 if (arg2
== NULL
) {
37067 SWIG_null_ref("wxBitmap");
37069 if (SWIG_arg_fail(2)) SWIG_fail
;
37073 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37074 if (SWIG_arg_fail(3)) SWIG_fail
;
37075 if (arg3
== NULL
) {
37076 SWIG_null_ref("wxBitmap");
37078 if (SWIG_arg_fail(3)) SWIG_fail
;
37082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37083 (arg1
)->SetBitmaps((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
37085 wxPyEndAllowThreads(__tstate
);
37086 if (PyErr_Occurred()) SWIG_fail
;
37088 Py_INCREF(Py_None
); resultobj
= Py_None
;
37095 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37096 PyObject
*resultobj
;
37097 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37098 wxBitmap
*arg2
= 0 ;
37099 PyObject
* obj0
= 0 ;
37100 PyObject
* obj1
= 0 ;
37101 char *kwnames
[] = {
37102 (char *) "self",(char *) "bmpDisabled", NULL
37105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
37106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37107 if (SWIG_arg_fail(1)) SWIG_fail
;
37109 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37110 if (SWIG_arg_fail(2)) SWIG_fail
;
37111 if (arg2
== NULL
) {
37112 SWIG_null_ref("wxBitmap");
37114 if (SWIG_arg_fail(2)) SWIG_fail
;
37117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37118 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
37120 wxPyEndAllowThreads(__tstate
);
37121 if (PyErr_Occurred()) SWIG_fail
;
37123 Py_INCREF(Py_None
); resultobj
= Py_None
;
37130 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37131 PyObject
*resultobj
;
37132 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37134 PyObject
* obj0
= 0 ;
37135 char *kwnames
[] = {
37136 (char *) "self", NULL
37139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
37140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37141 if (SWIG_arg_fail(1)) SWIG_fail
;
37143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37145 wxBitmap
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetDisabledBitmap();
37146 result
= (wxBitmap
*) &_result_ref
;
37149 wxPyEndAllowThreads(__tstate
);
37150 if (PyErr_Occurred()) SWIG_fail
;
37153 wxBitmap
* resultptr
= new wxBitmap(*result
);
37154 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
37162 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37163 PyObject
*resultobj
;
37164 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37166 PyObject
* obj0
= 0 ;
37167 PyObject
* obj1
= 0 ;
37168 char *kwnames
[] = {
37169 (char *) "self",(char *) "nWidth", NULL
37172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
37173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37174 if (SWIG_arg_fail(1)) SWIG_fail
;
37176 arg2
= (int)(SWIG_As_int(obj1
));
37177 if (SWIG_arg_fail(2)) SWIG_fail
;
37180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37181 (arg1
)->SetMarginWidth(arg2
);
37183 wxPyEndAllowThreads(__tstate
);
37184 if (PyErr_Occurred()) SWIG_fail
;
37186 Py_INCREF(Py_None
); resultobj
= Py_None
;
37193 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37194 PyObject
*resultobj
;
37195 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37197 PyObject
* obj0
= 0 ;
37198 char *kwnames
[] = {
37199 (char *) "self", NULL
37202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
37203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37204 if (SWIG_arg_fail(1)) SWIG_fail
;
37206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37207 result
= (int)(arg1
)->GetMarginWidth();
37209 wxPyEndAllowThreads(__tstate
);
37210 if (PyErr_Occurred()) SWIG_fail
;
37213 resultobj
= SWIG_From_int((int)(result
));
37221 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37222 PyObject
*resultobj
;
37224 char *kwnames
[] = {
37228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
37230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37231 result
= (int)wxMenuItem::GetDefaultMarginWidth();
37233 wxPyEndAllowThreads(__tstate
);
37234 if (PyErr_Occurred()) SWIG_fail
;
37237 resultobj
= SWIG_From_int((int)(result
));
37245 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37246 PyObject
*resultobj
;
37247 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37249 PyObject
* obj0
= 0 ;
37250 char *kwnames
[] = {
37251 (char *) "self", NULL
37254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
37255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37256 if (SWIG_arg_fail(1)) SWIG_fail
;
37258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37259 result
= (bool)(arg1
)->IsOwnerDrawn();
37261 wxPyEndAllowThreads(__tstate
);
37262 if (PyErr_Occurred()) SWIG_fail
;
37265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37273 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37274 PyObject
*resultobj
;
37275 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37276 bool arg2
= (bool) true ;
37277 PyObject
* obj0
= 0 ;
37278 PyObject
* obj1
= 0 ;
37279 char *kwnames
[] = {
37280 (char *) "self",(char *) "ownerDrawn", NULL
37283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
37284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37285 if (SWIG_arg_fail(1)) SWIG_fail
;
37288 arg2
= (bool)(SWIG_As_bool(obj1
));
37289 if (SWIG_arg_fail(2)) SWIG_fail
;
37293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37294 (arg1
)->SetOwnerDrawn(arg2
);
37296 wxPyEndAllowThreads(__tstate
);
37297 if (PyErr_Occurred()) SWIG_fail
;
37299 Py_INCREF(Py_None
); resultobj
= Py_None
;
37306 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37307 PyObject
*resultobj
;
37308 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37309 PyObject
* obj0
= 0 ;
37310 char *kwnames
[] = {
37311 (char *) "self", NULL
37314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
37315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37316 if (SWIG_arg_fail(1)) SWIG_fail
;
37318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37319 (arg1
)->ResetOwnerDrawn();
37321 wxPyEndAllowThreads(__tstate
);
37322 if (PyErr_Occurred()) SWIG_fail
;
37324 Py_INCREF(Py_None
); resultobj
= Py_None
;
37331 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37332 PyObject
*resultobj
;
37333 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37334 wxBitmap
*arg2
= 0 ;
37335 PyObject
* obj0
= 0 ;
37336 PyObject
* obj1
= 0 ;
37337 char *kwnames
[] = {
37338 (char *) "self",(char *) "bitmap", NULL
37341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
37342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37343 if (SWIG_arg_fail(1)) SWIG_fail
;
37345 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37346 if (SWIG_arg_fail(2)) SWIG_fail
;
37347 if (arg2
== NULL
) {
37348 SWIG_null_ref("wxBitmap");
37350 if (SWIG_arg_fail(2)) SWIG_fail
;
37353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37354 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
37356 wxPyEndAllowThreads(__tstate
);
37357 if (PyErr_Occurred()) SWIG_fail
;
37359 Py_INCREF(Py_None
); resultobj
= Py_None
;
37366 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37367 PyObject
*resultobj
;
37368 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37370 PyObject
* obj0
= 0 ;
37371 char *kwnames
[] = {
37372 (char *) "self", NULL
37375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
37376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37377 if (SWIG_arg_fail(1)) SWIG_fail
;
37379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37381 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
37382 result
= (wxBitmap
*) &_result_ref
;
37385 wxPyEndAllowThreads(__tstate
);
37386 if (PyErr_Occurred()) SWIG_fail
;
37389 wxBitmap
* resultptr
= new wxBitmap(*result
);
37390 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
37398 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
37400 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37401 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
37403 return Py_BuildValue((char *)"");
37405 static int _wrap_ControlNameStr_set(PyObject
*) {
37406 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
37411 static PyObject
*_wrap_ControlNameStr_get(void) {
37416 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
37418 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
37425 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37426 PyObject
*resultobj
;
37427 wxWindow
*arg1
= (wxWindow
*) 0 ;
37428 int arg2
= (int) -1 ;
37429 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
37430 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
37431 wxSize
const &arg4_defvalue
= wxDefaultSize
;
37432 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
37433 long arg5
= (long) 0 ;
37434 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
37435 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
37436 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
37437 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37441 bool temp7
= false ;
37442 PyObject
* obj0
= 0 ;
37443 PyObject
* obj1
= 0 ;
37444 PyObject
* obj2
= 0 ;
37445 PyObject
* obj3
= 0 ;
37446 PyObject
* obj4
= 0 ;
37447 PyObject
* obj5
= 0 ;
37448 PyObject
* obj6
= 0 ;
37449 char *kwnames
[] = {
37450 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
37453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
37455 if (SWIG_arg_fail(1)) SWIG_fail
;
37458 arg2
= (int)(SWIG_As_int(obj1
));
37459 if (SWIG_arg_fail(2)) SWIG_fail
;
37465 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37471 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
37476 arg5
= (long)(SWIG_As_long(obj4
));
37477 if (SWIG_arg_fail(5)) SWIG_fail
;
37482 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
37483 if (SWIG_arg_fail(6)) SWIG_fail
;
37484 if (arg6
== NULL
) {
37485 SWIG_null_ref("wxValidator");
37487 if (SWIG_arg_fail(6)) SWIG_fail
;
37492 arg7
= wxString_in_helper(obj6
);
37493 if (arg7
== NULL
) SWIG_fail
;
37498 if (!wxPyCheckForApp()) SWIG_fail
;
37499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37500 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
37502 wxPyEndAllowThreads(__tstate
);
37503 if (PyErr_Occurred()) SWIG_fail
;
37505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
37520 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37521 PyObject
*resultobj
;
37523 char *kwnames
[] = {
37527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
37529 if (!wxPyCheckForApp()) SWIG_fail
;
37530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37531 result
= (wxControl
*)new wxControl();
37533 wxPyEndAllowThreads(__tstate
);
37534 if (PyErr_Occurred()) SWIG_fail
;
37536 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
37543 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37544 PyObject
*resultobj
;
37545 wxControl
*arg1
= (wxControl
*) 0 ;
37546 wxWindow
*arg2
= (wxWindow
*) 0 ;
37547 int arg3
= (int) -1 ;
37548 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37549 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37550 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37551 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37552 long arg6
= (long) 0 ;
37553 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
37554 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
37555 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
37556 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37560 bool temp8
= false ;
37561 PyObject
* obj0
= 0 ;
37562 PyObject
* obj1
= 0 ;
37563 PyObject
* obj2
= 0 ;
37564 PyObject
* obj3
= 0 ;
37565 PyObject
* obj4
= 0 ;
37566 PyObject
* obj5
= 0 ;
37567 PyObject
* obj6
= 0 ;
37568 PyObject
* obj7
= 0 ;
37569 char *kwnames
[] = {
37570 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
37573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
37574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37575 if (SWIG_arg_fail(1)) SWIG_fail
;
37576 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
37577 if (SWIG_arg_fail(2)) SWIG_fail
;
37580 arg3
= (int)(SWIG_As_int(obj2
));
37581 if (SWIG_arg_fail(3)) SWIG_fail
;
37587 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37593 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37598 arg6
= (long)(SWIG_As_long(obj5
));
37599 if (SWIG_arg_fail(6)) SWIG_fail
;
37604 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
37605 if (SWIG_arg_fail(7)) SWIG_fail
;
37606 if (arg7
== NULL
) {
37607 SWIG_null_ref("wxValidator");
37609 if (SWIG_arg_fail(7)) SWIG_fail
;
37614 arg8
= wxString_in_helper(obj7
);
37615 if (arg8
== NULL
) SWIG_fail
;
37620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37621 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
37623 wxPyEndAllowThreads(__tstate
);
37624 if (PyErr_Occurred()) SWIG_fail
;
37627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37643 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37644 PyObject
*resultobj
;
37645 wxControl
*arg1
= (wxControl
*) 0 ;
37646 wxCommandEvent
*arg2
= 0 ;
37647 PyObject
* obj0
= 0 ;
37648 PyObject
* obj1
= 0 ;
37649 char *kwnames
[] = {
37650 (char *) "self",(char *) "event", NULL
37653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
37654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37655 if (SWIG_arg_fail(1)) SWIG_fail
;
37657 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
37658 if (SWIG_arg_fail(2)) SWIG_fail
;
37659 if (arg2
== NULL
) {
37660 SWIG_null_ref("wxCommandEvent");
37662 if (SWIG_arg_fail(2)) SWIG_fail
;
37665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37666 (arg1
)->Command(*arg2
);
37668 wxPyEndAllowThreads(__tstate
);
37669 if (PyErr_Occurred()) SWIG_fail
;
37671 Py_INCREF(Py_None
); resultobj
= Py_None
;
37678 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37679 PyObject
*resultobj
;
37680 wxControl
*arg1
= (wxControl
*) 0 ;
37682 PyObject
* obj0
= 0 ;
37683 char *kwnames
[] = {
37684 (char *) "self", NULL
37687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
37688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37689 if (SWIG_arg_fail(1)) SWIG_fail
;
37691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37692 result
= (arg1
)->GetLabel();
37694 wxPyEndAllowThreads(__tstate
);
37695 if (PyErr_Occurred()) SWIG_fail
;
37699 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37701 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37710 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37711 PyObject
*resultobj
;
37712 wxControl
*arg1
= (wxControl
*) 0 ;
37713 wxString
*arg2
= 0 ;
37714 bool temp2
= false ;
37715 PyObject
* obj0
= 0 ;
37716 PyObject
* obj1
= 0 ;
37717 char *kwnames
[] = {
37718 (char *) "self",(char *) "label", NULL
37721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
37722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37723 if (SWIG_arg_fail(1)) SWIG_fail
;
37725 arg2
= wxString_in_helper(obj1
);
37726 if (arg2
== NULL
) SWIG_fail
;
37730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37731 (arg1
)->SetLabel((wxString
const &)*arg2
);
37733 wxPyEndAllowThreads(__tstate
);
37734 if (PyErr_Occurred()) SWIG_fail
;
37736 Py_INCREF(Py_None
); resultobj
= Py_None
;
37751 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37752 PyObject
*resultobj
;
37753 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37754 wxVisualAttributes result
;
37755 PyObject
* obj0
= 0 ;
37756 char *kwnames
[] = {
37757 (char *) "variant", NULL
37760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
37763 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
37764 if (SWIG_arg_fail(1)) SWIG_fail
;
37768 if (!wxPyCheckForApp()) SWIG_fail
;
37769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37770 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
37772 wxPyEndAllowThreads(__tstate
);
37773 if (PyErr_Occurred()) SWIG_fail
;
37776 wxVisualAttributes
* resultptr
;
37777 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
37778 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
37786 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
37788 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37789 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
37791 return Py_BuildValue((char *)"");
37793 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37794 PyObject
*resultobj
;
37795 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37796 wxString
*arg2
= 0 ;
37797 PyObject
*arg3
= (PyObject
*) NULL
;
37799 bool temp2
= false ;
37800 PyObject
* obj0
= 0 ;
37801 PyObject
* obj1
= 0 ;
37802 PyObject
* obj2
= 0 ;
37803 char *kwnames
[] = {
37804 (char *) "self",(char *) "item",(char *) "clientData", NULL
37807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37809 if (SWIG_arg_fail(1)) SWIG_fail
;
37811 arg2
= wxString_in_helper(obj1
);
37812 if (arg2
== NULL
) SWIG_fail
;
37819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37820 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
37822 wxPyEndAllowThreads(__tstate
);
37823 if (PyErr_Occurred()) SWIG_fail
;
37826 resultobj
= SWIG_From_int((int)(result
));
37842 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37843 PyObject
*resultobj
;
37844 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37845 wxArrayString
*arg2
= 0 ;
37846 bool temp2
= false ;
37847 PyObject
* obj0
= 0 ;
37848 PyObject
* obj1
= 0 ;
37849 char *kwnames
[] = {
37850 (char *) "self",(char *) "strings", NULL
37853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
37854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37855 if (SWIG_arg_fail(1)) SWIG_fail
;
37857 if (! PySequence_Check(obj1
)) {
37858 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
37861 arg2
= new wxArrayString
;
37863 int i
, len
=PySequence_Length(obj1
);
37864 for (i
=0; i
<len
; i
++) {
37865 PyObject
* item
= PySequence_GetItem(obj1
, i
);
37866 wxString
* s
= wxString_in_helper(item
);
37867 if (PyErr_Occurred()) SWIG_fail
;
37874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37875 (arg1
)->Append((wxArrayString
const &)*arg2
);
37877 wxPyEndAllowThreads(__tstate
);
37878 if (PyErr_Occurred()) SWIG_fail
;
37880 Py_INCREF(Py_None
); resultobj
= Py_None
;
37882 if (temp2
) delete arg2
;
37887 if (temp2
) delete arg2
;
37893 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37894 PyObject
*resultobj
;
37895 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37896 wxString
*arg2
= 0 ;
37898 PyObject
*arg4
= (PyObject
*) NULL
;
37900 bool temp2
= false ;
37901 PyObject
* obj0
= 0 ;
37902 PyObject
* obj1
= 0 ;
37903 PyObject
* obj2
= 0 ;
37904 PyObject
* obj3
= 0 ;
37905 char *kwnames
[] = {
37906 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
37909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37911 if (SWIG_arg_fail(1)) SWIG_fail
;
37913 arg2
= wxString_in_helper(obj1
);
37914 if (arg2
== NULL
) SWIG_fail
;
37918 arg3
= (int)(SWIG_As_int(obj2
));
37919 if (SWIG_arg_fail(3)) SWIG_fail
;
37925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37926 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
37928 wxPyEndAllowThreads(__tstate
);
37929 if (PyErr_Occurred()) SWIG_fail
;
37932 resultobj
= SWIG_From_int((int)(result
));
37948 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37949 PyObject
*resultobj
;
37950 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37951 PyObject
* obj0
= 0 ;
37952 char *kwnames
[] = {
37953 (char *) "self", NULL
37956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
37957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37958 if (SWIG_arg_fail(1)) SWIG_fail
;
37960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37963 wxPyEndAllowThreads(__tstate
);
37964 if (PyErr_Occurred()) SWIG_fail
;
37966 Py_INCREF(Py_None
); resultobj
= Py_None
;
37973 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37974 PyObject
*resultobj
;
37975 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37977 PyObject
* obj0
= 0 ;
37978 PyObject
* obj1
= 0 ;
37979 char *kwnames
[] = {
37980 (char *) "self",(char *) "n", NULL
37983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
37984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37985 if (SWIG_arg_fail(1)) SWIG_fail
;
37987 arg2
= (int)(SWIG_As_int(obj1
));
37988 if (SWIG_arg_fail(2)) SWIG_fail
;
37991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37992 (arg1
)->Delete(arg2
);
37994 wxPyEndAllowThreads(__tstate
);
37995 if (PyErr_Occurred()) SWIG_fail
;
37997 Py_INCREF(Py_None
); resultobj
= Py_None
;
38004 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38005 PyObject
*resultobj
;
38006 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38009 PyObject
* obj0
= 0 ;
38010 PyObject
* obj1
= 0 ;
38011 char *kwnames
[] = {
38012 (char *) "self",(char *) "n", NULL
38015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
38016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38017 if (SWIG_arg_fail(1)) SWIG_fail
;
38019 arg2
= (int)(SWIG_As_int(obj1
));
38020 if (SWIG_arg_fail(2)) SWIG_fail
;
38023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38024 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
38026 wxPyEndAllowThreads(__tstate
);
38027 if (PyErr_Occurred()) SWIG_fail
;
38029 resultobj
= result
;
38036 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38037 PyObject
*resultobj
;
38038 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38040 PyObject
*arg3
= (PyObject
*) 0 ;
38041 PyObject
* obj0
= 0 ;
38042 PyObject
* obj1
= 0 ;
38043 PyObject
* obj2
= 0 ;
38044 char *kwnames
[] = {
38045 (char *) "self",(char *) "n",(char *) "clientData", NULL
38048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38050 if (SWIG_arg_fail(1)) SWIG_fail
;
38052 arg2
= (int)(SWIG_As_int(obj1
));
38053 if (SWIG_arg_fail(2)) SWIG_fail
;
38057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38058 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
38060 wxPyEndAllowThreads(__tstate
);
38061 if (PyErr_Occurred()) SWIG_fail
;
38063 Py_INCREF(Py_None
); resultobj
= Py_None
;
38070 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38071 PyObject
*resultobj
;
38072 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38074 PyObject
* obj0
= 0 ;
38075 char *kwnames
[] = {
38076 (char *) "self", NULL
38079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
38080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38081 if (SWIG_arg_fail(1)) SWIG_fail
;
38083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38084 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
38086 wxPyEndAllowThreads(__tstate
);
38087 if (PyErr_Occurred()) SWIG_fail
;
38090 resultobj
= SWIG_From_int((int)(result
));
38098 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38099 PyObject
*resultobj
;
38100 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38102 PyObject
* obj0
= 0 ;
38103 char *kwnames
[] = {
38104 (char *) "self", NULL
38107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
38108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38109 if (SWIG_arg_fail(1)) SWIG_fail
;
38111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38112 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
38114 wxPyEndAllowThreads(__tstate
);
38115 if (PyErr_Occurred()) SWIG_fail
;
38118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38126 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38127 PyObject
*resultobj
;
38128 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38131 PyObject
* obj0
= 0 ;
38132 PyObject
* obj1
= 0 ;
38133 char *kwnames
[] = {
38134 (char *) "self",(char *) "n", NULL
38137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
38138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38139 if (SWIG_arg_fail(1)) SWIG_fail
;
38141 arg2
= (int)(SWIG_As_int(obj1
));
38142 if (SWIG_arg_fail(2)) SWIG_fail
;
38145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38146 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
38148 wxPyEndAllowThreads(__tstate
);
38149 if (PyErr_Occurred()) SWIG_fail
;
38153 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38155 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38164 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38165 PyObject
*resultobj
;
38166 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38167 wxArrayString result
;
38168 PyObject
* obj0
= 0 ;
38169 char *kwnames
[] = {
38170 (char *) "self", NULL
38173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
38174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38175 if (SWIG_arg_fail(1)) SWIG_fail
;
38177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38178 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
38180 wxPyEndAllowThreads(__tstate
);
38181 if (PyErr_Occurred()) SWIG_fail
;
38184 resultobj
= wxArrayString2PyList_helper(result
);
38192 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38193 PyObject
*resultobj
;
38194 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38196 wxString
*arg3
= 0 ;
38197 bool temp3
= false ;
38198 PyObject
* obj0
= 0 ;
38199 PyObject
* obj1
= 0 ;
38200 PyObject
* obj2
= 0 ;
38201 char *kwnames
[] = {
38202 (char *) "self",(char *) "n",(char *) "s", NULL
38205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38207 if (SWIG_arg_fail(1)) SWIG_fail
;
38209 arg2
= (int)(SWIG_As_int(obj1
));
38210 if (SWIG_arg_fail(2)) SWIG_fail
;
38213 arg3
= wxString_in_helper(obj2
);
38214 if (arg3
== NULL
) SWIG_fail
;
38218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38219 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
38221 wxPyEndAllowThreads(__tstate
);
38222 if (PyErr_Occurred()) SWIG_fail
;
38224 Py_INCREF(Py_None
); resultobj
= Py_None
;
38239 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38240 PyObject
*resultobj
;
38241 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38242 wxString
*arg2
= 0 ;
38244 bool temp2
= false ;
38245 PyObject
* obj0
= 0 ;
38246 PyObject
* obj1
= 0 ;
38247 char *kwnames
[] = {
38248 (char *) "self",(char *) "s", NULL
38251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
38252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38253 if (SWIG_arg_fail(1)) SWIG_fail
;
38255 arg2
= wxString_in_helper(obj1
);
38256 if (arg2
== NULL
) SWIG_fail
;
38260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38261 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
38263 wxPyEndAllowThreads(__tstate
);
38264 if (PyErr_Occurred()) SWIG_fail
;
38267 resultobj
= SWIG_From_int((int)(result
));
38283 static PyObject
*_wrap_ItemContainer_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38284 PyObject
*resultobj
;
38285 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38287 PyObject
* obj0
= 0 ;
38288 PyObject
* obj1
= 0 ;
38289 char *kwnames
[] = {
38290 (char *) "self",(char *) "n", NULL
38293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
38294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38295 if (SWIG_arg_fail(1)) SWIG_fail
;
38297 arg2
= (int)(SWIG_As_int(obj1
));
38298 if (SWIG_arg_fail(2)) SWIG_fail
;
38301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38302 (arg1
)->SetSelection(arg2
);
38304 wxPyEndAllowThreads(__tstate
);
38305 if (PyErr_Occurred()) SWIG_fail
;
38307 Py_INCREF(Py_None
); resultobj
= Py_None
;
38314 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38315 PyObject
*resultobj
;
38316 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38318 PyObject
* obj0
= 0 ;
38319 char *kwnames
[] = {
38320 (char *) "self", NULL
38323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
38324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38325 if (SWIG_arg_fail(1)) SWIG_fail
;
38327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38328 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
38330 wxPyEndAllowThreads(__tstate
);
38331 if (PyErr_Occurred()) SWIG_fail
;
38334 resultobj
= SWIG_From_int((int)(result
));
38342 static PyObject
*_wrap_ItemContainer_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38343 PyObject
*resultobj
;
38344 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38345 wxString
*arg2
= 0 ;
38347 bool temp2
= false ;
38348 PyObject
* obj0
= 0 ;
38349 PyObject
* obj1
= 0 ;
38350 char *kwnames
[] = {
38351 (char *) "self",(char *) "s", NULL
38354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
38355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38356 if (SWIG_arg_fail(1)) SWIG_fail
;
38358 arg2
= wxString_in_helper(obj1
);
38359 if (arg2
== NULL
) SWIG_fail
;
38363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38364 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
38366 wxPyEndAllowThreads(__tstate
);
38367 if (PyErr_Occurred()) SWIG_fail
;
38370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38386 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38387 PyObject
*resultobj
;
38388 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38390 PyObject
* obj0
= 0 ;
38391 char *kwnames
[] = {
38392 (char *) "self", NULL
38395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
38396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38397 if (SWIG_arg_fail(1)) SWIG_fail
;
38399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38400 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
38402 wxPyEndAllowThreads(__tstate
);
38403 if (PyErr_Occurred()) SWIG_fail
;
38407 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38409 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38418 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38419 PyObject
*resultobj
;
38420 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38422 PyObject
* obj0
= 0 ;
38423 PyObject
* obj1
= 0 ;
38424 char *kwnames
[] = {
38425 (char *) "self",(char *) "n", NULL
38428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
38429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38430 if (SWIG_arg_fail(1)) SWIG_fail
;
38432 arg2
= (int)(SWIG_As_int(obj1
));
38433 if (SWIG_arg_fail(2)) SWIG_fail
;
38436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38437 (arg1
)->Select(arg2
);
38439 wxPyEndAllowThreads(__tstate
);
38440 if (PyErr_Occurred()) SWIG_fail
;
38442 Py_INCREF(Py_None
); resultobj
= Py_None
;
38449 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
38451 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38452 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
38454 return Py_BuildValue((char *)"");
38456 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
38458 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38459 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
38461 return Py_BuildValue((char *)"");
38463 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38464 PyObject
*resultobj
;
38465 wxSizerItem
*result
;
38466 char *kwnames
[] = {
38470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
38472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38473 result
= (wxSizerItem
*)new wxSizerItem();
38475 wxPyEndAllowThreads(__tstate
);
38476 if (PyErr_Occurred()) SWIG_fail
;
38478 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38485 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38486 PyObject
*resultobj
;
38487 wxWindow
*arg1
= (wxWindow
*) 0 ;
38491 PyObject
*arg5
= (PyObject
*) NULL
;
38492 wxSizerItem
*result
;
38493 PyObject
* obj0
= 0 ;
38494 PyObject
* obj1
= 0 ;
38495 PyObject
* obj2
= 0 ;
38496 PyObject
* obj3
= 0 ;
38497 PyObject
* obj4
= 0 ;
38498 char *kwnames
[] = {
38499 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
38503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
38504 if (SWIG_arg_fail(1)) SWIG_fail
;
38506 arg2
= (int)(SWIG_As_int(obj1
));
38507 if (SWIG_arg_fail(2)) SWIG_fail
;
38510 arg3
= (int)(SWIG_As_int(obj2
));
38511 if (SWIG_arg_fail(3)) SWIG_fail
;
38514 arg4
= (int)(SWIG_As_int(obj3
));
38515 if (SWIG_arg_fail(4)) SWIG_fail
;
38521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38522 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
38524 wxPyEndAllowThreads(__tstate
);
38525 if (PyErr_Occurred()) SWIG_fail
;
38527 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38534 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38535 PyObject
*resultobj
;
38541 PyObject
*arg6
= (PyObject
*) NULL
;
38542 wxSizerItem
*result
;
38543 PyObject
* obj0
= 0 ;
38544 PyObject
* obj1
= 0 ;
38545 PyObject
* obj2
= 0 ;
38546 PyObject
* obj3
= 0 ;
38547 PyObject
* obj4
= 0 ;
38548 PyObject
* obj5
= 0 ;
38549 char *kwnames
[] = {
38550 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38555 arg1
= (int)(SWIG_As_int(obj0
));
38556 if (SWIG_arg_fail(1)) SWIG_fail
;
38559 arg2
= (int)(SWIG_As_int(obj1
));
38560 if (SWIG_arg_fail(2)) SWIG_fail
;
38563 arg3
= (int)(SWIG_As_int(obj2
));
38564 if (SWIG_arg_fail(3)) SWIG_fail
;
38567 arg4
= (int)(SWIG_As_int(obj3
));
38568 if (SWIG_arg_fail(4)) SWIG_fail
;
38571 arg5
= (int)(SWIG_As_int(obj4
));
38572 if (SWIG_arg_fail(5)) SWIG_fail
;
38578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38579 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
38581 wxPyEndAllowThreads(__tstate
);
38582 if (PyErr_Occurred()) SWIG_fail
;
38584 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38591 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38592 PyObject
*resultobj
;
38593 wxSizer
*arg1
= (wxSizer
*) 0 ;
38597 PyObject
*arg5
= (PyObject
*) NULL
;
38598 wxSizerItem
*result
;
38599 PyObject
* obj0
= 0 ;
38600 PyObject
* obj1
= 0 ;
38601 PyObject
* obj2
= 0 ;
38602 PyObject
* obj3
= 0 ;
38603 PyObject
* obj4
= 0 ;
38604 char *kwnames
[] = {
38605 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
38609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38610 if (SWIG_arg_fail(1)) SWIG_fail
;
38612 arg2
= (int)(SWIG_As_int(obj1
));
38613 if (SWIG_arg_fail(2)) SWIG_fail
;
38616 arg3
= (int)(SWIG_As_int(obj2
));
38617 if (SWIG_arg_fail(3)) SWIG_fail
;
38620 arg4
= (int)(SWIG_As_int(obj3
));
38621 if (SWIG_arg_fail(4)) SWIG_fail
;
38627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38628 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
38630 wxPyEndAllowThreads(__tstate
);
38631 if (PyErr_Occurred()) SWIG_fail
;
38633 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38640 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38641 PyObject
*resultobj
;
38642 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38643 PyObject
* obj0
= 0 ;
38644 char *kwnames
[] = {
38645 (char *) "self", NULL
38648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
38649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38650 if (SWIG_arg_fail(1)) SWIG_fail
;
38652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38653 (arg1
)->DeleteWindows();
38655 wxPyEndAllowThreads(__tstate
);
38656 if (PyErr_Occurred()) SWIG_fail
;
38658 Py_INCREF(Py_None
); resultobj
= Py_None
;
38665 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38666 PyObject
*resultobj
;
38667 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38668 PyObject
* obj0
= 0 ;
38669 char *kwnames
[] = {
38670 (char *) "self", NULL
38673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
38674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38675 if (SWIG_arg_fail(1)) SWIG_fail
;
38677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38678 (arg1
)->DetachSizer();
38680 wxPyEndAllowThreads(__tstate
);
38681 if (PyErr_Occurred()) SWIG_fail
;
38683 Py_INCREF(Py_None
); resultobj
= Py_None
;
38690 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38691 PyObject
*resultobj
;
38692 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38694 PyObject
* obj0
= 0 ;
38695 char *kwnames
[] = {
38696 (char *) "self", NULL
38699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
38700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38701 if (SWIG_arg_fail(1)) SWIG_fail
;
38703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38704 result
= (arg1
)->GetSize();
38706 wxPyEndAllowThreads(__tstate
);
38707 if (PyErr_Occurred()) SWIG_fail
;
38710 wxSize
* resultptr
;
38711 resultptr
= new wxSize((wxSize
&)(result
));
38712 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38720 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38721 PyObject
*resultobj
;
38722 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38724 PyObject
* obj0
= 0 ;
38725 char *kwnames
[] = {
38726 (char *) "self", NULL
38729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
38730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38731 if (SWIG_arg_fail(1)) SWIG_fail
;
38733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38734 result
= (arg1
)->CalcMin();
38736 wxPyEndAllowThreads(__tstate
);
38737 if (PyErr_Occurred()) SWIG_fail
;
38740 wxSize
* resultptr
;
38741 resultptr
= new wxSize((wxSize
&)(result
));
38742 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38750 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38751 PyObject
*resultobj
;
38752 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38755 PyObject
* obj0
= 0 ;
38756 PyObject
* obj1
= 0 ;
38757 PyObject
* obj2
= 0 ;
38758 char *kwnames
[] = {
38759 (char *) "self",(char *) "pos",(char *) "size", NULL
38762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38764 if (SWIG_arg_fail(1)) SWIG_fail
;
38767 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
);
38768 if (SWIG_arg_fail(2)) SWIG_fail
;
38769 if (argp
== NULL
) {
38770 SWIG_null_ref("wxPoint");
38772 if (SWIG_arg_fail(2)) SWIG_fail
;
38777 SWIG_Python_ConvertPtr(obj2
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
38778 if (SWIG_arg_fail(3)) SWIG_fail
;
38779 if (argp
== NULL
) {
38780 SWIG_null_ref("wxSize");
38782 if (SWIG_arg_fail(3)) SWIG_fail
;
38786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38787 (arg1
)->SetDimension(arg2
,arg3
);
38789 wxPyEndAllowThreads(__tstate
);
38790 if (PyErr_Occurred()) SWIG_fail
;
38792 Py_INCREF(Py_None
); resultobj
= Py_None
;
38799 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38800 PyObject
*resultobj
;
38801 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38803 PyObject
* obj0
= 0 ;
38804 char *kwnames
[] = {
38805 (char *) "self", NULL
38808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
38809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38810 if (SWIG_arg_fail(1)) SWIG_fail
;
38812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38813 result
= (arg1
)->GetMinSize();
38815 wxPyEndAllowThreads(__tstate
);
38816 if (PyErr_Occurred()) SWIG_fail
;
38819 wxSize
* resultptr
;
38820 resultptr
= new wxSize((wxSize
&)(result
));
38821 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38829 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38830 PyObject
*resultobj
;
38831 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38833 PyObject
* obj0
= 0 ;
38834 char *kwnames
[] = {
38835 (char *) "self", NULL
38838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
38839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38840 if (SWIG_arg_fail(1)) SWIG_fail
;
38842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38843 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
38845 wxPyEndAllowThreads(__tstate
);
38846 if (PyErr_Occurred()) SWIG_fail
;
38849 wxSize
* resultptr
;
38850 resultptr
= new wxSize((wxSize
&)(result
));
38851 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38859 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38860 PyObject
*resultobj
;
38861 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38864 PyObject
* obj0
= 0 ;
38865 PyObject
* obj1
= 0 ;
38866 PyObject
* obj2
= 0 ;
38867 char *kwnames
[] = {
38868 (char *) "self",(char *) "x",(char *) "y", NULL
38871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38873 if (SWIG_arg_fail(1)) SWIG_fail
;
38875 arg2
= (int)(SWIG_As_int(obj1
));
38876 if (SWIG_arg_fail(2)) SWIG_fail
;
38879 arg3
= (int)(SWIG_As_int(obj2
));
38880 if (SWIG_arg_fail(3)) SWIG_fail
;
38883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38884 (arg1
)->SetInitSize(arg2
,arg3
);
38886 wxPyEndAllowThreads(__tstate
);
38887 if (PyErr_Occurred()) SWIG_fail
;
38889 Py_INCREF(Py_None
); resultobj
= Py_None
;
38896 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38897 PyObject
*resultobj
;
38898 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38901 PyObject
* obj0
= 0 ;
38902 PyObject
* obj1
= 0 ;
38903 PyObject
* obj2
= 0 ;
38904 char *kwnames
[] = {
38905 (char *) "self",(char *) "width",(char *) "height", NULL
38908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38910 if (SWIG_arg_fail(1)) SWIG_fail
;
38912 arg2
= (int)(SWIG_As_int(obj1
));
38913 if (SWIG_arg_fail(2)) SWIG_fail
;
38916 arg3
= (int)(SWIG_As_int(obj2
));
38917 if (SWIG_arg_fail(3)) SWIG_fail
;
38920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38921 (arg1
)->SetRatio(arg2
,arg3
);
38923 wxPyEndAllowThreads(__tstate
);
38924 if (PyErr_Occurred()) SWIG_fail
;
38926 Py_INCREF(Py_None
); resultobj
= Py_None
;
38933 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38934 PyObject
*resultobj
;
38935 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38938 PyObject
* obj0
= 0 ;
38939 PyObject
* obj1
= 0 ;
38940 char *kwnames
[] = {
38941 (char *) "self",(char *) "size", NULL
38944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38946 if (SWIG_arg_fail(1)) SWIG_fail
;
38949 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38953 (arg1
)->SetRatio((wxSize
const &)*arg2
);
38955 wxPyEndAllowThreads(__tstate
);
38956 if (PyErr_Occurred()) SWIG_fail
;
38958 Py_INCREF(Py_None
); resultobj
= Py_None
;
38965 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38966 PyObject
*resultobj
;
38967 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38969 PyObject
* obj0
= 0 ;
38970 PyObject
* obj1
= 0 ;
38971 char *kwnames
[] = {
38972 (char *) "self",(char *) "ratio", NULL
38975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
38976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38977 if (SWIG_arg_fail(1)) SWIG_fail
;
38979 arg2
= (float)(SWIG_As_float(obj1
));
38980 if (SWIG_arg_fail(2)) SWIG_fail
;
38983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38984 (arg1
)->SetRatio(arg2
);
38986 wxPyEndAllowThreads(__tstate
);
38987 if (PyErr_Occurred()) SWIG_fail
;
38989 Py_INCREF(Py_None
); resultobj
= Py_None
;
38996 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38997 PyObject
*resultobj
;
38998 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39000 PyObject
* obj0
= 0 ;
39001 char *kwnames
[] = {
39002 (char *) "self", NULL
39005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
39006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39007 if (SWIG_arg_fail(1)) SWIG_fail
;
39009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39010 result
= (float)(arg1
)->GetRatio();
39012 wxPyEndAllowThreads(__tstate
);
39013 if (PyErr_Occurred()) SWIG_fail
;
39016 resultobj
= SWIG_From_float((float)(result
));
39024 static PyObject
*_wrap_SizerItem_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39025 PyObject
*resultobj
;
39026 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39028 PyObject
* obj0
= 0 ;
39029 char *kwnames
[] = {
39030 (char *) "self", NULL
39033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRect",kwnames
,&obj0
)) goto fail
;
39034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39035 if (SWIG_arg_fail(1)) SWIG_fail
;
39037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39038 result
= (arg1
)->GetRect();
39040 wxPyEndAllowThreads(__tstate
);
39041 if (PyErr_Occurred()) SWIG_fail
;
39044 wxRect
* resultptr
;
39045 resultptr
= new wxRect((wxRect
&)(result
));
39046 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
39054 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39055 PyObject
*resultobj
;
39056 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39058 PyObject
* obj0
= 0 ;
39059 char *kwnames
[] = {
39060 (char *) "self", NULL
39063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
39064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39065 if (SWIG_arg_fail(1)) SWIG_fail
;
39067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39068 result
= (bool)(arg1
)->IsWindow();
39070 wxPyEndAllowThreads(__tstate
);
39071 if (PyErr_Occurred()) SWIG_fail
;
39074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39082 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39083 PyObject
*resultobj
;
39084 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39086 PyObject
* obj0
= 0 ;
39087 char *kwnames
[] = {
39088 (char *) "self", NULL
39091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
39092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39093 if (SWIG_arg_fail(1)) SWIG_fail
;
39095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39096 result
= (bool)(arg1
)->IsSizer();
39098 wxPyEndAllowThreads(__tstate
);
39099 if (PyErr_Occurred()) SWIG_fail
;
39102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39110 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39111 PyObject
*resultobj
;
39112 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39114 PyObject
* obj0
= 0 ;
39115 char *kwnames
[] = {
39116 (char *) "self", NULL
39119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
39120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39121 if (SWIG_arg_fail(1)) SWIG_fail
;
39123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39124 result
= (bool)(arg1
)->IsSpacer();
39126 wxPyEndAllowThreads(__tstate
);
39127 if (PyErr_Occurred()) SWIG_fail
;
39130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39138 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39139 PyObject
*resultobj
;
39140 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39142 PyObject
* obj0
= 0 ;
39143 PyObject
* obj1
= 0 ;
39144 char *kwnames
[] = {
39145 (char *) "self",(char *) "proportion", NULL
39148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
39149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39150 if (SWIG_arg_fail(1)) SWIG_fail
;
39152 arg2
= (int)(SWIG_As_int(obj1
));
39153 if (SWIG_arg_fail(2)) SWIG_fail
;
39156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39157 (arg1
)->SetProportion(arg2
);
39159 wxPyEndAllowThreads(__tstate
);
39160 if (PyErr_Occurred()) SWIG_fail
;
39162 Py_INCREF(Py_None
); resultobj
= Py_None
;
39169 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39170 PyObject
*resultobj
;
39171 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39173 PyObject
* obj0
= 0 ;
39174 char *kwnames
[] = {
39175 (char *) "self", NULL
39178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
39179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39180 if (SWIG_arg_fail(1)) SWIG_fail
;
39182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39183 result
= (int)(arg1
)->GetProportion();
39185 wxPyEndAllowThreads(__tstate
);
39186 if (PyErr_Occurred()) SWIG_fail
;
39189 resultobj
= SWIG_From_int((int)(result
));
39197 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39198 PyObject
*resultobj
;
39199 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39201 PyObject
* obj0
= 0 ;
39202 PyObject
* obj1
= 0 ;
39203 char *kwnames
[] = {
39204 (char *) "self",(char *) "flag", NULL
39207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
39208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39209 if (SWIG_arg_fail(1)) SWIG_fail
;
39211 arg2
= (int)(SWIG_As_int(obj1
));
39212 if (SWIG_arg_fail(2)) SWIG_fail
;
39215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39216 (arg1
)->SetFlag(arg2
);
39218 wxPyEndAllowThreads(__tstate
);
39219 if (PyErr_Occurred()) SWIG_fail
;
39221 Py_INCREF(Py_None
); resultobj
= Py_None
;
39228 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39229 PyObject
*resultobj
;
39230 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39232 PyObject
* obj0
= 0 ;
39233 char *kwnames
[] = {
39234 (char *) "self", NULL
39237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
39238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39239 if (SWIG_arg_fail(1)) SWIG_fail
;
39241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39242 result
= (int)(arg1
)->GetFlag();
39244 wxPyEndAllowThreads(__tstate
);
39245 if (PyErr_Occurred()) SWIG_fail
;
39248 resultobj
= SWIG_From_int((int)(result
));
39256 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39257 PyObject
*resultobj
;
39258 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39260 PyObject
* obj0
= 0 ;
39261 PyObject
* obj1
= 0 ;
39262 char *kwnames
[] = {
39263 (char *) "self",(char *) "border", NULL
39266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
39267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39268 if (SWIG_arg_fail(1)) SWIG_fail
;
39270 arg2
= (int)(SWIG_As_int(obj1
));
39271 if (SWIG_arg_fail(2)) SWIG_fail
;
39274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39275 (arg1
)->SetBorder(arg2
);
39277 wxPyEndAllowThreads(__tstate
);
39278 if (PyErr_Occurred()) SWIG_fail
;
39280 Py_INCREF(Py_None
); resultobj
= Py_None
;
39287 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39288 PyObject
*resultobj
;
39289 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39291 PyObject
* obj0
= 0 ;
39292 char *kwnames
[] = {
39293 (char *) "self", NULL
39296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
39297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39298 if (SWIG_arg_fail(1)) SWIG_fail
;
39300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39301 result
= (int)(arg1
)->GetBorder();
39303 wxPyEndAllowThreads(__tstate
);
39304 if (PyErr_Occurred()) SWIG_fail
;
39307 resultobj
= SWIG_From_int((int)(result
));
39315 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39316 PyObject
*resultobj
;
39317 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39319 PyObject
* obj0
= 0 ;
39320 char *kwnames
[] = {
39321 (char *) "self", NULL
39324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
39325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39326 if (SWIG_arg_fail(1)) SWIG_fail
;
39328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39329 result
= (wxWindow
*)(arg1
)->GetWindow();
39331 wxPyEndAllowThreads(__tstate
);
39332 if (PyErr_Occurred()) SWIG_fail
;
39335 resultobj
= wxPyMake_wxObject(result
, 0);
39343 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39344 PyObject
*resultobj
;
39345 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39346 wxWindow
*arg2
= (wxWindow
*) 0 ;
39347 PyObject
* obj0
= 0 ;
39348 PyObject
* obj1
= 0 ;
39349 char *kwnames
[] = {
39350 (char *) "self",(char *) "window", NULL
39353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
39354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39355 if (SWIG_arg_fail(1)) SWIG_fail
;
39356 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39357 if (SWIG_arg_fail(2)) SWIG_fail
;
39359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39360 (arg1
)->SetWindow(arg2
);
39362 wxPyEndAllowThreads(__tstate
);
39363 if (PyErr_Occurred()) SWIG_fail
;
39365 Py_INCREF(Py_None
); resultobj
= Py_None
;
39372 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39373 PyObject
*resultobj
;
39374 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39376 PyObject
* obj0
= 0 ;
39377 char *kwnames
[] = {
39378 (char *) "self", NULL
39381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
39382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39383 if (SWIG_arg_fail(1)) SWIG_fail
;
39385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39386 result
= (wxSizer
*)(arg1
)->GetSizer();
39388 wxPyEndAllowThreads(__tstate
);
39389 if (PyErr_Occurred()) SWIG_fail
;
39392 resultobj
= wxPyMake_wxObject(result
, 0);
39400 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39401 PyObject
*resultobj
;
39402 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39403 wxSizer
*arg2
= (wxSizer
*) 0 ;
39404 PyObject
* obj0
= 0 ;
39405 PyObject
* obj1
= 0 ;
39406 char *kwnames
[] = {
39407 (char *) "self",(char *) "sizer", NULL
39410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
39411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39412 if (SWIG_arg_fail(1)) SWIG_fail
;
39413 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39414 if (SWIG_arg_fail(2)) SWIG_fail
;
39416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39417 (arg1
)->SetSizer(arg2
);
39419 wxPyEndAllowThreads(__tstate
);
39420 if (PyErr_Occurred()) SWIG_fail
;
39422 Py_INCREF(Py_None
); resultobj
= Py_None
;
39429 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39430 PyObject
*resultobj
;
39431 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39433 PyObject
* obj0
= 0 ;
39434 char *kwnames
[] = {
39435 (char *) "self", NULL
39438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
39439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39440 if (SWIG_arg_fail(1)) SWIG_fail
;
39442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39444 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
39445 result
= (wxSize
*) &_result_ref
;
39448 wxPyEndAllowThreads(__tstate
);
39449 if (PyErr_Occurred()) SWIG_fail
;
39451 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
39458 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39459 PyObject
*resultobj
;
39460 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39463 PyObject
* obj0
= 0 ;
39464 PyObject
* obj1
= 0 ;
39465 char *kwnames
[] = {
39466 (char *) "self",(char *) "size", NULL
39469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
39470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39471 if (SWIG_arg_fail(1)) SWIG_fail
;
39474 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
39477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39478 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
39480 wxPyEndAllowThreads(__tstate
);
39481 if (PyErr_Occurred()) SWIG_fail
;
39483 Py_INCREF(Py_None
); resultobj
= Py_None
;
39490 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39491 PyObject
*resultobj
;
39492 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39494 PyObject
* obj0
= 0 ;
39495 PyObject
* obj1
= 0 ;
39496 char *kwnames
[] = {
39497 (char *) "self",(char *) "show", NULL
39500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
39501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39502 if (SWIG_arg_fail(1)) SWIG_fail
;
39504 arg2
= (bool)(SWIG_As_bool(obj1
));
39505 if (SWIG_arg_fail(2)) SWIG_fail
;
39508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39509 (arg1
)->Show(arg2
);
39511 wxPyEndAllowThreads(__tstate
);
39512 if (PyErr_Occurred()) SWIG_fail
;
39514 Py_INCREF(Py_None
); resultobj
= Py_None
;
39521 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39522 PyObject
*resultobj
;
39523 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39525 PyObject
* obj0
= 0 ;
39526 char *kwnames
[] = {
39527 (char *) "self", NULL
39530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
39531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39532 if (SWIG_arg_fail(1)) SWIG_fail
;
39534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39535 result
= (bool)(arg1
)->IsShown();
39537 wxPyEndAllowThreads(__tstate
);
39538 if (PyErr_Occurred()) SWIG_fail
;
39541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39549 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39550 PyObject
*resultobj
;
39551 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39553 PyObject
* obj0
= 0 ;
39554 char *kwnames
[] = {
39555 (char *) "self", NULL
39558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
39559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39560 if (SWIG_arg_fail(1)) SWIG_fail
;
39562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39563 result
= (arg1
)->GetPosition();
39565 wxPyEndAllowThreads(__tstate
);
39566 if (PyErr_Occurred()) SWIG_fail
;
39569 wxPoint
* resultptr
;
39570 resultptr
= new wxPoint((wxPoint
&)(result
));
39571 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
39579 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39580 PyObject
*resultobj
;
39581 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39583 PyObject
* obj0
= 0 ;
39584 char *kwnames
[] = {
39585 (char *) "self", NULL
39588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
39589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39590 if (SWIG_arg_fail(1)) SWIG_fail
;
39592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39593 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
39595 wxPyEndAllowThreads(__tstate
);
39596 if (PyErr_Occurred()) SWIG_fail
;
39598 resultobj
= result
;
39605 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
39607 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39608 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
39610 return Py_BuildValue((char *)"");
39612 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39613 PyObject
*resultobj
;
39614 wxSizer
*arg1
= (wxSizer
*) 0 ;
39615 PyObject
*arg2
= (PyObject
*) 0 ;
39616 PyObject
* obj0
= 0 ;
39617 PyObject
* obj1
= 0 ;
39618 char *kwnames
[] = {
39619 (char *) "self",(char *) "_self", NULL
39622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
39623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39624 if (SWIG_arg_fail(1)) SWIG_fail
;
39627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39628 wxSizer__setOORInfo(arg1
,arg2
);
39630 wxPyEndAllowThreads(__tstate
);
39631 if (PyErr_Occurred()) SWIG_fail
;
39633 Py_INCREF(Py_None
); resultobj
= Py_None
;
39640 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39641 PyObject
*resultobj
;
39642 wxSizer
*arg1
= (wxSizer
*) 0 ;
39643 PyObject
*arg2
= (PyObject
*) 0 ;
39644 int arg3
= (int) 0 ;
39645 int arg4
= (int) 0 ;
39646 int arg5
= (int) 0 ;
39647 PyObject
*arg6
= (PyObject
*) NULL
;
39648 wxSizerItem
*result
;
39649 PyObject
* obj0
= 0 ;
39650 PyObject
* obj1
= 0 ;
39651 PyObject
* obj2
= 0 ;
39652 PyObject
* obj3
= 0 ;
39653 PyObject
* obj4
= 0 ;
39654 PyObject
* obj5
= 0 ;
39655 char *kwnames
[] = {
39656 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39661 if (SWIG_arg_fail(1)) SWIG_fail
;
39665 arg3
= (int)(SWIG_As_int(obj2
));
39666 if (SWIG_arg_fail(3)) SWIG_fail
;
39671 arg4
= (int)(SWIG_As_int(obj3
));
39672 if (SWIG_arg_fail(4)) SWIG_fail
;
39677 arg5
= (int)(SWIG_As_int(obj4
));
39678 if (SWIG_arg_fail(5)) SWIG_fail
;
39685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39686 result
= (wxSizerItem
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
39688 wxPyEndAllowThreads(__tstate
);
39689 if (PyErr_Occurred()) SWIG_fail
;
39691 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39698 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39699 PyObject
*resultobj
;
39700 wxSizer
*arg1
= (wxSizer
*) 0 ;
39702 PyObject
*arg3
= (PyObject
*) 0 ;
39703 int arg4
= (int) 0 ;
39704 int arg5
= (int) 0 ;
39705 int arg6
= (int) 0 ;
39706 PyObject
*arg7
= (PyObject
*) NULL
;
39707 wxSizerItem
*result
;
39708 PyObject
* obj0
= 0 ;
39709 PyObject
* obj1
= 0 ;
39710 PyObject
* obj2
= 0 ;
39711 PyObject
* obj3
= 0 ;
39712 PyObject
* obj4
= 0 ;
39713 PyObject
* obj5
= 0 ;
39714 PyObject
* obj6
= 0 ;
39715 char *kwnames
[] = {
39716 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
39720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39721 if (SWIG_arg_fail(1)) SWIG_fail
;
39723 arg2
= (int)(SWIG_As_int(obj1
));
39724 if (SWIG_arg_fail(2)) SWIG_fail
;
39729 arg4
= (int)(SWIG_As_int(obj3
));
39730 if (SWIG_arg_fail(4)) SWIG_fail
;
39735 arg5
= (int)(SWIG_As_int(obj4
));
39736 if (SWIG_arg_fail(5)) SWIG_fail
;
39741 arg6
= (int)(SWIG_As_int(obj5
));
39742 if (SWIG_arg_fail(6)) SWIG_fail
;
39749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39750 result
= (wxSizerItem
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
39752 wxPyEndAllowThreads(__tstate
);
39753 if (PyErr_Occurred()) SWIG_fail
;
39755 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39762 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39763 PyObject
*resultobj
;
39764 wxSizer
*arg1
= (wxSizer
*) 0 ;
39765 PyObject
*arg2
= (PyObject
*) 0 ;
39766 int arg3
= (int) 0 ;
39767 int arg4
= (int) 0 ;
39768 int arg5
= (int) 0 ;
39769 PyObject
*arg6
= (PyObject
*) NULL
;
39770 wxSizerItem
*result
;
39771 PyObject
* obj0
= 0 ;
39772 PyObject
* obj1
= 0 ;
39773 PyObject
* obj2
= 0 ;
39774 PyObject
* obj3
= 0 ;
39775 PyObject
* obj4
= 0 ;
39776 PyObject
* obj5
= 0 ;
39777 char *kwnames
[] = {
39778 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39783 if (SWIG_arg_fail(1)) SWIG_fail
;
39787 arg3
= (int)(SWIG_As_int(obj2
));
39788 if (SWIG_arg_fail(3)) SWIG_fail
;
39793 arg4
= (int)(SWIG_As_int(obj3
));
39794 if (SWIG_arg_fail(4)) SWIG_fail
;
39799 arg5
= (int)(SWIG_As_int(obj4
));
39800 if (SWIG_arg_fail(5)) SWIG_fail
;
39807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39808 result
= (wxSizerItem
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
39810 wxPyEndAllowThreads(__tstate
);
39811 if (PyErr_Occurred()) SWIG_fail
;
39813 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39820 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39821 PyObject
*resultobj
;
39822 wxSizer
*arg1
= (wxSizer
*) 0 ;
39823 PyObject
*arg2
= (PyObject
*) 0 ;
39825 PyObject
* obj0
= 0 ;
39826 PyObject
* obj1
= 0 ;
39827 char *kwnames
[] = {
39828 (char *) "self",(char *) "item", NULL
39831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
39832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39833 if (SWIG_arg_fail(1)) SWIG_fail
;
39836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39837 result
= (bool)wxSizer_Remove(arg1
,arg2
);
39839 wxPyEndAllowThreads(__tstate
);
39840 if (PyErr_Occurred()) SWIG_fail
;
39843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39851 static PyObject
*_wrap_Sizer_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39852 PyObject
*resultobj
;
39853 wxSizer
*arg1
= (wxSizer
*) 0 ;
39854 PyObject
*arg2
= (PyObject
*) 0 ;
39856 PyObject
* obj0
= 0 ;
39857 PyObject
* obj1
= 0 ;
39858 char *kwnames
[] = {
39859 (char *) "self",(char *) "item", NULL
39862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
39863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39864 if (SWIG_arg_fail(1)) SWIG_fail
;
39867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39868 result
= (bool)wxSizer_Detach(arg1
,arg2
);
39870 wxPyEndAllowThreads(__tstate
);
39871 if (PyErr_Occurred()) SWIG_fail
;
39874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39882 static PyObject
*_wrap_Sizer_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39883 PyObject
*resultobj
;
39884 wxSizer
*arg1
= (wxSizer
*) 0 ;
39885 PyObject
*arg2
= (PyObject
*) 0 ;
39886 wxSizerItem
*result
;
39887 PyObject
* obj0
= 0 ;
39888 PyObject
* obj1
= 0 ;
39889 char *kwnames
[] = {
39890 (char *) "self",(char *) "item", NULL
39893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_GetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39895 if (SWIG_arg_fail(1)) SWIG_fail
;
39898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39899 result
= (wxSizerItem
*)wxSizer_GetItem(arg1
,arg2
);
39901 wxPyEndAllowThreads(__tstate
);
39902 if (PyErr_Occurred()) SWIG_fail
;
39904 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39911 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39912 PyObject
*resultobj
;
39913 wxSizer
*arg1
= (wxSizer
*) 0 ;
39914 PyObject
*arg2
= (PyObject
*) 0 ;
39917 PyObject
* obj0
= 0 ;
39918 PyObject
* obj1
= 0 ;
39919 PyObject
* obj2
= 0 ;
39920 char *kwnames
[] = {
39921 (char *) "self",(char *) "item",(char *) "size", NULL
39924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39926 if (SWIG_arg_fail(1)) SWIG_fail
;
39930 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
39933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39934 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
39936 wxPyEndAllowThreads(__tstate
);
39937 if (PyErr_Occurred()) SWIG_fail
;
39939 Py_INCREF(Py_None
); resultobj
= Py_None
;
39946 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39947 PyObject
*resultobj
;
39948 wxSizer
*arg1
= (wxSizer
*) 0 ;
39949 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
39950 wxSizerItem
*result
;
39951 PyObject
* obj0
= 0 ;
39952 PyObject
* obj1
= 0 ;
39953 char *kwnames
[] = {
39954 (char *) "self",(char *) "item", NULL
39957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39959 if (SWIG_arg_fail(1)) SWIG_fail
;
39960 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39961 if (SWIG_arg_fail(2)) SWIG_fail
;
39963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39964 result
= (wxSizerItem
*)(arg1
)->Add(arg2
);
39966 wxPyEndAllowThreads(__tstate
);
39967 if (PyErr_Occurred()) SWIG_fail
;
39969 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39976 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39977 PyObject
*resultobj
;
39978 wxSizer
*arg1
= (wxSizer
*) 0 ;
39980 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
39981 wxSizerItem
*result
;
39982 PyObject
* obj0
= 0 ;
39983 PyObject
* obj1
= 0 ;
39984 PyObject
* obj2
= 0 ;
39985 char *kwnames
[] = {
39986 (char *) "self",(char *) "index",(char *) "item", NULL
39989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39991 if (SWIG_arg_fail(1)) SWIG_fail
;
39993 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
39994 if (SWIG_arg_fail(2)) SWIG_fail
;
39996 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39997 if (SWIG_arg_fail(3)) SWIG_fail
;
39999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40000 result
= (wxSizerItem
*)(arg1
)->Insert(arg2
,arg3
);
40002 wxPyEndAllowThreads(__tstate
);
40003 if (PyErr_Occurred()) SWIG_fail
;
40005 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
40012 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40013 PyObject
*resultobj
;
40014 wxSizer
*arg1
= (wxSizer
*) 0 ;
40015 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
40016 wxSizerItem
*result
;
40017 PyObject
* obj0
= 0 ;
40018 PyObject
* obj1
= 0 ;
40019 char *kwnames
[] = {
40020 (char *) "self",(char *) "item", NULL
40023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
40024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40025 if (SWIG_arg_fail(1)) SWIG_fail
;
40026 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
40027 if (SWIG_arg_fail(2)) SWIG_fail
;
40029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40030 result
= (wxSizerItem
*)(arg1
)->Prepend(arg2
);
40032 wxPyEndAllowThreads(__tstate
);
40033 if (PyErr_Occurred()) SWIG_fail
;
40035 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
40042 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40043 PyObject
*resultobj
;
40044 wxSizer
*arg1
= (wxSizer
*) 0 ;
40049 PyObject
* obj0
= 0 ;
40050 PyObject
* obj1
= 0 ;
40051 PyObject
* obj2
= 0 ;
40052 PyObject
* obj3
= 0 ;
40053 PyObject
* obj4
= 0 ;
40054 char *kwnames
[] = {
40055 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
40058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
40059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40060 if (SWIG_arg_fail(1)) SWIG_fail
;
40062 arg2
= (int)(SWIG_As_int(obj1
));
40063 if (SWIG_arg_fail(2)) SWIG_fail
;
40066 arg3
= (int)(SWIG_As_int(obj2
));
40067 if (SWIG_arg_fail(3)) SWIG_fail
;
40070 arg4
= (int)(SWIG_As_int(obj3
));
40071 if (SWIG_arg_fail(4)) SWIG_fail
;
40074 arg5
= (int)(SWIG_As_int(obj4
));
40075 if (SWIG_arg_fail(5)) SWIG_fail
;
40078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40079 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
40081 wxPyEndAllowThreads(__tstate
);
40082 if (PyErr_Occurred()) SWIG_fail
;
40084 Py_INCREF(Py_None
); resultobj
= Py_None
;
40091 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40092 PyObject
*resultobj
;
40093 wxSizer
*arg1
= (wxSizer
*) 0 ;
40096 PyObject
* obj0
= 0 ;
40097 PyObject
* obj1
= 0 ;
40098 char *kwnames
[] = {
40099 (char *) "self",(char *) "size", NULL
40102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
40103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40104 if (SWIG_arg_fail(1)) SWIG_fail
;
40107 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
40110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40111 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
40113 wxPyEndAllowThreads(__tstate
);
40114 if (PyErr_Occurred()) SWIG_fail
;
40116 Py_INCREF(Py_None
); resultobj
= Py_None
;
40123 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40124 PyObject
*resultobj
;
40125 wxSizer
*arg1
= (wxSizer
*) 0 ;
40127 PyObject
* obj0
= 0 ;
40128 char *kwnames
[] = {
40129 (char *) "self", NULL
40132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
40133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40134 if (SWIG_arg_fail(1)) SWIG_fail
;
40136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40137 result
= (arg1
)->GetSize();
40139 wxPyEndAllowThreads(__tstate
);
40140 if (PyErr_Occurred()) SWIG_fail
;
40143 wxSize
* resultptr
;
40144 resultptr
= new wxSize((wxSize
&)(result
));
40145 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40153 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40154 PyObject
*resultobj
;
40155 wxSizer
*arg1
= (wxSizer
*) 0 ;
40157 PyObject
* obj0
= 0 ;
40158 char *kwnames
[] = {
40159 (char *) "self", NULL
40162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
40163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40164 if (SWIG_arg_fail(1)) SWIG_fail
;
40166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40167 result
= (arg1
)->GetPosition();
40169 wxPyEndAllowThreads(__tstate
);
40170 if (PyErr_Occurred()) SWIG_fail
;
40173 wxPoint
* resultptr
;
40174 resultptr
= new wxPoint((wxPoint
&)(result
));
40175 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
40183 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40184 PyObject
*resultobj
;
40185 wxSizer
*arg1
= (wxSizer
*) 0 ;
40187 PyObject
* obj0
= 0 ;
40188 char *kwnames
[] = {
40189 (char *) "self", NULL
40192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
40193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40194 if (SWIG_arg_fail(1)) SWIG_fail
;
40196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40197 result
= (arg1
)->GetMinSize();
40199 wxPyEndAllowThreads(__tstate
);
40200 if (PyErr_Occurred()) SWIG_fail
;
40203 wxSize
* resultptr
;
40204 resultptr
= new wxSize((wxSize
&)(result
));
40205 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40213 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40214 PyObject
*resultobj
;
40215 wxSizer
*arg1
= (wxSizer
*) 0 ;
40216 PyObject
* obj0
= 0 ;
40217 char *kwnames
[] = {
40218 (char *) "self", NULL
40221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
40222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40223 if (SWIG_arg_fail(1)) SWIG_fail
;
40225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40226 (arg1
)->RecalcSizes();
40228 wxPyEndAllowThreads(__tstate
);
40229 if (PyErr_Occurred()) SWIG_fail
;
40231 Py_INCREF(Py_None
); resultobj
= Py_None
;
40238 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40239 PyObject
*resultobj
;
40240 wxSizer
*arg1
= (wxSizer
*) 0 ;
40242 PyObject
* obj0
= 0 ;
40243 char *kwnames
[] = {
40244 (char *) "self", NULL
40247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
40248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40249 if (SWIG_arg_fail(1)) SWIG_fail
;
40251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40252 result
= (arg1
)->CalcMin();
40254 wxPyEndAllowThreads(__tstate
);
40255 if (PyErr_Occurred()) SWIG_fail
;
40258 wxSize
* resultptr
;
40259 resultptr
= new wxSize((wxSize
&)(result
));
40260 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40268 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40269 PyObject
*resultobj
;
40270 wxSizer
*arg1
= (wxSizer
*) 0 ;
40271 PyObject
* obj0
= 0 ;
40272 char *kwnames
[] = {
40273 (char *) "self", NULL
40276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
40277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40278 if (SWIG_arg_fail(1)) SWIG_fail
;
40280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40283 wxPyEndAllowThreads(__tstate
);
40284 if (PyErr_Occurred()) SWIG_fail
;
40286 Py_INCREF(Py_None
); resultobj
= Py_None
;
40293 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40294 PyObject
*resultobj
;
40295 wxSizer
*arg1
= (wxSizer
*) 0 ;
40296 wxWindow
*arg2
= (wxWindow
*) 0 ;
40298 PyObject
* obj0
= 0 ;
40299 PyObject
* obj1
= 0 ;
40300 char *kwnames
[] = {
40301 (char *) "self",(char *) "window", NULL
40304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
40305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40306 if (SWIG_arg_fail(1)) SWIG_fail
;
40307 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40308 if (SWIG_arg_fail(2)) SWIG_fail
;
40310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40311 result
= (arg1
)->Fit(arg2
);
40313 wxPyEndAllowThreads(__tstate
);
40314 if (PyErr_Occurred()) SWIG_fail
;
40317 wxSize
* resultptr
;
40318 resultptr
= new wxSize((wxSize
&)(result
));
40319 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40327 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40328 PyObject
*resultobj
;
40329 wxSizer
*arg1
= (wxSizer
*) 0 ;
40330 wxWindow
*arg2
= (wxWindow
*) 0 ;
40331 PyObject
* obj0
= 0 ;
40332 PyObject
* obj1
= 0 ;
40333 char *kwnames
[] = {
40334 (char *) "self",(char *) "window", NULL
40337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
40338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40339 if (SWIG_arg_fail(1)) SWIG_fail
;
40340 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40341 if (SWIG_arg_fail(2)) SWIG_fail
;
40343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40344 (arg1
)->FitInside(arg2
);
40346 wxPyEndAllowThreads(__tstate
);
40347 if (PyErr_Occurred()) SWIG_fail
;
40349 Py_INCREF(Py_None
); resultobj
= Py_None
;
40356 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40357 PyObject
*resultobj
;
40358 wxSizer
*arg1
= (wxSizer
*) 0 ;
40359 wxWindow
*arg2
= (wxWindow
*) 0 ;
40360 PyObject
* obj0
= 0 ;
40361 PyObject
* obj1
= 0 ;
40362 char *kwnames
[] = {
40363 (char *) "self",(char *) "window", NULL
40366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
40367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40368 if (SWIG_arg_fail(1)) SWIG_fail
;
40369 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40370 if (SWIG_arg_fail(2)) SWIG_fail
;
40372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40373 (arg1
)->SetSizeHints(arg2
);
40375 wxPyEndAllowThreads(__tstate
);
40376 if (PyErr_Occurred()) SWIG_fail
;
40378 Py_INCREF(Py_None
); resultobj
= Py_None
;
40385 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40386 PyObject
*resultobj
;
40387 wxSizer
*arg1
= (wxSizer
*) 0 ;
40388 wxWindow
*arg2
= (wxWindow
*) 0 ;
40389 PyObject
* obj0
= 0 ;
40390 PyObject
* obj1
= 0 ;
40391 char *kwnames
[] = {
40392 (char *) "self",(char *) "window", NULL
40395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
40396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40397 if (SWIG_arg_fail(1)) SWIG_fail
;
40398 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40399 if (SWIG_arg_fail(2)) SWIG_fail
;
40401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40402 (arg1
)->SetVirtualSizeHints(arg2
);
40404 wxPyEndAllowThreads(__tstate
);
40405 if (PyErr_Occurred()) SWIG_fail
;
40407 Py_INCREF(Py_None
); resultobj
= Py_None
;
40414 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40415 PyObject
*resultobj
;
40416 wxSizer
*arg1
= (wxSizer
*) 0 ;
40417 bool arg2
= (bool) false ;
40418 PyObject
* obj0
= 0 ;
40419 PyObject
* obj1
= 0 ;
40420 char *kwnames
[] = {
40421 (char *) "self",(char *) "deleteWindows", NULL
40424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
40425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40426 if (SWIG_arg_fail(1)) SWIG_fail
;
40429 arg2
= (bool)(SWIG_As_bool(obj1
));
40430 if (SWIG_arg_fail(2)) SWIG_fail
;
40434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40435 (arg1
)->Clear(arg2
);
40437 wxPyEndAllowThreads(__tstate
);
40438 if (PyErr_Occurred()) SWIG_fail
;
40440 Py_INCREF(Py_None
); resultobj
= Py_None
;
40447 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40448 PyObject
*resultobj
;
40449 wxSizer
*arg1
= (wxSizer
*) 0 ;
40450 PyObject
* obj0
= 0 ;
40451 char *kwnames
[] = {
40452 (char *) "self", NULL
40455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
40456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40457 if (SWIG_arg_fail(1)) SWIG_fail
;
40459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40460 (arg1
)->DeleteWindows();
40462 wxPyEndAllowThreads(__tstate
);
40463 if (PyErr_Occurred()) SWIG_fail
;
40465 Py_INCREF(Py_None
); resultobj
= Py_None
;
40472 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40473 PyObject
*resultobj
;
40474 wxSizer
*arg1
= (wxSizer
*) 0 ;
40476 PyObject
* obj0
= 0 ;
40477 char *kwnames
[] = {
40478 (char *) "self", NULL
40481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
40482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40483 if (SWIG_arg_fail(1)) SWIG_fail
;
40485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40486 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
40488 wxPyEndAllowThreads(__tstate
);
40489 if (PyErr_Occurred()) SWIG_fail
;
40491 resultobj
= result
;
40498 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40499 PyObject
*resultobj
;
40500 wxSizer
*arg1
= (wxSizer
*) 0 ;
40501 PyObject
*arg2
= (PyObject
*) 0 ;
40502 bool arg3
= (bool) true ;
40503 bool arg4
= (bool) false ;
40505 PyObject
* obj0
= 0 ;
40506 PyObject
* obj1
= 0 ;
40507 PyObject
* obj2
= 0 ;
40508 PyObject
* obj3
= 0 ;
40509 char *kwnames
[] = {
40510 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
40513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40515 if (SWIG_arg_fail(1)) SWIG_fail
;
40519 arg3
= (bool)(SWIG_As_bool(obj2
));
40520 if (SWIG_arg_fail(3)) SWIG_fail
;
40525 arg4
= (bool)(SWIG_As_bool(obj3
));
40526 if (SWIG_arg_fail(4)) SWIG_fail
;
40530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40531 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
40533 wxPyEndAllowThreads(__tstate
);
40534 if (PyErr_Occurred()) SWIG_fail
;
40537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40545 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40546 PyObject
*resultobj
;
40547 wxSizer
*arg1
= (wxSizer
*) 0 ;
40548 PyObject
*arg2
= (PyObject
*) 0 ;
40550 PyObject
* obj0
= 0 ;
40551 PyObject
* obj1
= 0 ;
40552 char *kwnames
[] = {
40553 (char *) "self",(char *) "item", NULL
40556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
40557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40558 if (SWIG_arg_fail(1)) SWIG_fail
;
40561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40562 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
40564 wxPyEndAllowThreads(__tstate
);
40565 if (PyErr_Occurred()) SWIG_fail
;
40568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40576 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40577 PyObject
*resultobj
;
40578 wxSizer
*arg1
= (wxSizer
*) 0 ;
40580 PyObject
* obj0
= 0 ;
40581 PyObject
* obj1
= 0 ;
40582 char *kwnames
[] = {
40583 (char *) "self",(char *) "show", NULL
40586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
40587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40588 if (SWIG_arg_fail(1)) SWIG_fail
;
40590 arg2
= (bool)(SWIG_As_bool(obj1
));
40591 if (SWIG_arg_fail(2)) SWIG_fail
;
40594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40595 (arg1
)->ShowItems(arg2
);
40597 wxPyEndAllowThreads(__tstate
);
40598 if (PyErr_Occurred()) SWIG_fail
;
40600 Py_INCREF(Py_None
); resultobj
= Py_None
;
40607 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
40609 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40610 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
40612 return Py_BuildValue((char *)"");
40614 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40615 PyObject
*resultobj
;
40617 char *kwnames
[] = {
40621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
40623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40624 result
= (wxPySizer
*)new wxPySizer();
40626 wxPyEndAllowThreads(__tstate
);
40627 if (PyErr_Occurred()) SWIG_fail
;
40629 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
40636 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40637 PyObject
*resultobj
;
40638 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
40639 PyObject
*arg2
= (PyObject
*) 0 ;
40640 PyObject
*arg3
= (PyObject
*) 0 ;
40641 PyObject
* obj0
= 0 ;
40642 PyObject
* obj1
= 0 ;
40643 PyObject
* obj2
= 0 ;
40644 char *kwnames
[] = {
40645 (char *) "self",(char *) "self",(char *) "_class", NULL
40648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPySizer
, SWIG_POINTER_EXCEPTION
| 0);
40650 if (SWIG_arg_fail(1)) SWIG_fail
;
40654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40655 (arg1
)->_setCallbackInfo(arg2
,arg3
);
40657 wxPyEndAllowThreads(__tstate
);
40658 if (PyErr_Occurred()) SWIG_fail
;
40660 Py_INCREF(Py_None
); resultobj
= Py_None
;
40667 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
40669 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40670 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
40672 return Py_BuildValue((char *)"");
40674 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40675 PyObject
*resultobj
;
40676 int arg1
= (int) wxHORIZONTAL
;
40677 wxBoxSizer
*result
;
40678 PyObject
* obj0
= 0 ;
40679 char *kwnames
[] = {
40680 (char *) "orient", NULL
40683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
40686 arg1
= (int)(SWIG_As_int(obj0
));
40687 if (SWIG_arg_fail(1)) SWIG_fail
;
40691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40692 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
40694 wxPyEndAllowThreads(__tstate
);
40695 if (PyErr_Occurred()) SWIG_fail
;
40697 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
40704 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40705 PyObject
*resultobj
;
40706 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
40708 PyObject
* obj0
= 0 ;
40709 char *kwnames
[] = {
40710 (char *) "self", NULL
40713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
40714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40715 if (SWIG_arg_fail(1)) SWIG_fail
;
40717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40718 result
= (int)(arg1
)->GetOrientation();
40720 wxPyEndAllowThreads(__tstate
);
40721 if (PyErr_Occurred()) SWIG_fail
;
40724 resultobj
= SWIG_From_int((int)(result
));
40732 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40733 PyObject
*resultobj
;
40734 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
40736 PyObject
* obj0
= 0 ;
40737 PyObject
* obj1
= 0 ;
40738 char *kwnames
[] = {
40739 (char *) "self",(char *) "orient", NULL
40742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
40743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40744 if (SWIG_arg_fail(1)) SWIG_fail
;
40746 arg2
= (int)(SWIG_As_int(obj1
));
40747 if (SWIG_arg_fail(2)) SWIG_fail
;
40750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40751 (arg1
)->SetOrientation(arg2
);
40753 wxPyEndAllowThreads(__tstate
);
40754 if (PyErr_Occurred()) SWIG_fail
;
40756 Py_INCREF(Py_None
); resultobj
= Py_None
;
40763 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
40765 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40766 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
40768 return Py_BuildValue((char *)"");
40770 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40771 PyObject
*resultobj
;
40772 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
40773 int arg2
= (int) wxHORIZONTAL
;
40774 wxStaticBoxSizer
*result
;
40775 PyObject
* obj0
= 0 ;
40776 PyObject
* obj1
= 0 ;
40777 char *kwnames
[] = {
40778 (char *) "box",(char *) "orient", NULL
40781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
40782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
40783 if (SWIG_arg_fail(1)) SWIG_fail
;
40786 arg2
= (int)(SWIG_As_int(obj1
));
40787 if (SWIG_arg_fail(2)) SWIG_fail
;
40791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40792 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
40794 wxPyEndAllowThreads(__tstate
);
40795 if (PyErr_Occurred()) SWIG_fail
;
40797 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
40804 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40805 PyObject
*resultobj
;
40806 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
40807 wxStaticBox
*result
;
40808 PyObject
* obj0
= 0 ;
40809 char *kwnames
[] = {
40810 (char *) "self", NULL
40813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
40814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40815 if (SWIG_arg_fail(1)) SWIG_fail
;
40817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40818 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
40820 wxPyEndAllowThreads(__tstate
);
40821 if (PyErr_Occurred()) SWIG_fail
;
40824 resultobj
= wxPyMake_wxObject(result
, 0);
40832 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
40834 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40835 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
40837 return Py_BuildValue((char *)"");
40839 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40840 PyObject
*resultobj
;
40841 int arg1
= (int) 1 ;
40842 int arg2
= (int) 0 ;
40843 int arg3
= (int) 0 ;
40844 int arg4
= (int) 0 ;
40845 wxGridSizer
*result
;
40846 PyObject
* obj0
= 0 ;
40847 PyObject
* obj1
= 0 ;
40848 PyObject
* obj2
= 0 ;
40849 PyObject
* obj3
= 0 ;
40850 char *kwnames
[] = {
40851 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
40854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40857 arg1
= (int)(SWIG_As_int(obj0
));
40858 if (SWIG_arg_fail(1)) SWIG_fail
;
40863 arg2
= (int)(SWIG_As_int(obj1
));
40864 if (SWIG_arg_fail(2)) SWIG_fail
;
40869 arg3
= (int)(SWIG_As_int(obj2
));
40870 if (SWIG_arg_fail(3)) SWIG_fail
;
40875 arg4
= (int)(SWIG_As_int(obj3
));
40876 if (SWIG_arg_fail(4)) SWIG_fail
;
40880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40881 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
40883 wxPyEndAllowThreads(__tstate
);
40884 if (PyErr_Occurred()) SWIG_fail
;
40886 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
40893 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40894 PyObject
*resultobj
;
40895 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40897 PyObject
* obj0
= 0 ;
40898 PyObject
* obj1
= 0 ;
40899 char *kwnames
[] = {
40900 (char *) "self",(char *) "cols", NULL
40903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
40904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40905 if (SWIG_arg_fail(1)) SWIG_fail
;
40907 arg2
= (int)(SWIG_As_int(obj1
));
40908 if (SWIG_arg_fail(2)) SWIG_fail
;
40911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40912 (arg1
)->SetCols(arg2
);
40914 wxPyEndAllowThreads(__tstate
);
40915 if (PyErr_Occurred()) SWIG_fail
;
40917 Py_INCREF(Py_None
); resultobj
= Py_None
;
40924 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40925 PyObject
*resultobj
;
40926 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40928 PyObject
* obj0
= 0 ;
40929 PyObject
* obj1
= 0 ;
40930 char *kwnames
[] = {
40931 (char *) "self",(char *) "rows", NULL
40934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
40935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40936 if (SWIG_arg_fail(1)) SWIG_fail
;
40938 arg2
= (int)(SWIG_As_int(obj1
));
40939 if (SWIG_arg_fail(2)) SWIG_fail
;
40942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40943 (arg1
)->SetRows(arg2
);
40945 wxPyEndAllowThreads(__tstate
);
40946 if (PyErr_Occurred()) SWIG_fail
;
40948 Py_INCREF(Py_None
); resultobj
= Py_None
;
40955 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40956 PyObject
*resultobj
;
40957 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40959 PyObject
* obj0
= 0 ;
40960 PyObject
* obj1
= 0 ;
40961 char *kwnames
[] = {
40962 (char *) "self",(char *) "gap", NULL
40965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
40966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40967 if (SWIG_arg_fail(1)) SWIG_fail
;
40969 arg2
= (int)(SWIG_As_int(obj1
));
40970 if (SWIG_arg_fail(2)) SWIG_fail
;
40973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40974 (arg1
)->SetVGap(arg2
);
40976 wxPyEndAllowThreads(__tstate
);
40977 if (PyErr_Occurred()) SWIG_fail
;
40979 Py_INCREF(Py_None
); resultobj
= Py_None
;
40986 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40987 PyObject
*resultobj
;
40988 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40990 PyObject
* obj0
= 0 ;
40991 PyObject
* obj1
= 0 ;
40992 char *kwnames
[] = {
40993 (char *) "self",(char *) "gap", NULL
40996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
40997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40998 if (SWIG_arg_fail(1)) SWIG_fail
;
41000 arg2
= (int)(SWIG_As_int(obj1
));
41001 if (SWIG_arg_fail(2)) SWIG_fail
;
41004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41005 (arg1
)->SetHGap(arg2
);
41007 wxPyEndAllowThreads(__tstate
);
41008 if (PyErr_Occurred()) SWIG_fail
;
41010 Py_INCREF(Py_None
); resultobj
= Py_None
;
41017 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41018 PyObject
*resultobj
;
41019 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41021 PyObject
* obj0
= 0 ;
41022 char *kwnames
[] = {
41023 (char *) "self", NULL
41026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
41027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41028 if (SWIG_arg_fail(1)) SWIG_fail
;
41030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41031 result
= (int)(arg1
)->GetCols();
41033 wxPyEndAllowThreads(__tstate
);
41034 if (PyErr_Occurred()) SWIG_fail
;
41037 resultobj
= SWIG_From_int((int)(result
));
41045 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41046 PyObject
*resultobj
;
41047 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41049 PyObject
* obj0
= 0 ;
41050 char *kwnames
[] = {
41051 (char *) "self", NULL
41054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
41055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41056 if (SWIG_arg_fail(1)) SWIG_fail
;
41058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41059 result
= (int)(arg1
)->GetRows();
41061 wxPyEndAllowThreads(__tstate
);
41062 if (PyErr_Occurred()) SWIG_fail
;
41065 resultobj
= SWIG_From_int((int)(result
));
41073 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41074 PyObject
*resultobj
;
41075 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41077 PyObject
* obj0
= 0 ;
41078 char *kwnames
[] = {
41079 (char *) "self", NULL
41082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
41083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41084 if (SWIG_arg_fail(1)) SWIG_fail
;
41086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41087 result
= (int)(arg1
)->GetVGap();
41089 wxPyEndAllowThreads(__tstate
);
41090 if (PyErr_Occurred()) SWIG_fail
;
41093 resultobj
= SWIG_From_int((int)(result
));
41101 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41102 PyObject
*resultobj
;
41103 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41105 PyObject
* obj0
= 0 ;
41106 char *kwnames
[] = {
41107 (char *) "self", NULL
41110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
41111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41112 if (SWIG_arg_fail(1)) SWIG_fail
;
41114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41115 result
= (int)(arg1
)->GetHGap();
41117 wxPyEndAllowThreads(__tstate
);
41118 if (PyErr_Occurred()) SWIG_fail
;
41121 resultobj
= SWIG_From_int((int)(result
));
41129 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
41131 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41132 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
41134 return Py_BuildValue((char *)"");
41136 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41137 PyObject
*resultobj
;
41138 int arg1
= (int) 1 ;
41139 int arg2
= (int) 0 ;
41140 int arg3
= (int) 0 ;
41141 int arg4
= (int) 0 ;
41142 wxFlexGridSizer
*result
;
41143 PyObject
* obj0
= 0 ;
41144 PyObject
* obj1
= 0 ;
41145 PyObject
* obj2
= 0 ;
41146 PyObject
* obj3
= 0 ;
41147 char *kwnames
[] = {
41148 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
41151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
41154 arg1
= (int)(SWIG_As_int(obj0
));
41155 if (SWIG_arg_fail(1)) SWIG_fail
;
41160 arg2
= (int)(SWIG_As_int(obj1
));
41161 if (SWIG_arg_fail(2)) SWIG_fail
;
41166 arg3
= (int)(SWIG_As_int(obj2
));
41167 if (SWIG_arg_fail(3)) SWIG_fail
;
41172 arg4
= (int)(SWIG_As_int(obj3
));
41173 if (SWIG_arg_fail(4)) SWIG_fail
;
41177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41178 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
41180 wxPyEndAllowThreads(__tstate
);
41181 if (PyErr_Occurred()) SWIG_fail
;
41183 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
41190 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41191 PyObject
*resultobj
;
41192 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41194 int arg3
= (int) 0 ;
41195 PyObject
* obj0
= 0 ;
41196 PyObject
* obj1
= 0 ;
41197 PyObject
* obj2
= 0 ;
41198 char *kwnames
[] = {
41199 (char *) "self",(char *) "idx",(char *) "proportion", NULL
41202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41204 if (SWIG_arg_fail(1)) SWIG_fail
;
41206 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41207 if (SWIG_arg_fail(2)) SWIG_fail
;
41211 arg3
= (int)(SWIG_As_int(obj2
));
41212 if (SWIG_arg_fail(3)) SWIG_fail
;
41216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41217 (arg1
)->AddGrowableRow(arg2
,arg3
);
41219 wxPyEndAllowThreads(__tstate
);
41220 if (PyErr_Occurred()) SWIG_fail
;
41222 Py_INCREF(Py_None
); resultobj
= Py_None
;
41229 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41230 PyObject
*resultobj
;
41231 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41233 PyObject
* obj0
= 0 ;
41234 PyObject
* obj1
= 0 ;
41235 char *kwnames
[] = {
41236 (char *) "self",(char *) "idx", NULL
41239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
41240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41241 if (SWIG_arg_fail(1)) SWIG_fail
;
41243 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41244 if (SWIG_arg_fail(2)) SWIG_fail
;
41247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41248 (arg1
)->RemoveGrowableRow(arg2
);
41250 wxPyEndAllowThreads(__tstate
);
41251 if (PyErr_Occurred()) SWIG_fail
;
41253 Py_INCREF(Py_None
); resultobj
= Py_None
;
41260 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41261 PyObject
*resultobj
;
41262 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41264 int arg3
= (int) 0 ;
41265 PyObject
* obj0
= 0 ;
41266 PyObject
* obj1
= 0 ;
41267 PyObject
* obj2
= 0 ;
41268 char *kwnames
[] = {
41269 (char *) "self",(char *) "idx",(char *) "proportion", NULL
41272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41274 if (SWIG_arg_fail(1)) SWIG_fail
;
41276 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41277 if (SWIG_arg_fail(2)) SWIG_fail
;
41281 arg3
= (int)(SWIG_As_int(obj2
));
41282 if (SWIG_arg_fail(3)) SWIG_fail
;
41286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41287 (arg1
)->AddGrowableCol(arg2
,arg3
);
41289 wxPyEndAllowThreads(__tstate
);
41290 if (PyErr_Occurred()) SWIG_fail
;
41292 Py_INCREF(Py_None
); resultobj
= Py_None
;
41299 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41300 PyObject
*resultobj
;
41301 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41303 PyObject
* obj0
= 0 ;
41304 PyObject
* obj1
= 0 ;
41305 char *kwnames
[] = {
41306 (char *) "self",(char *) "idx", NULL
41309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
41310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41311 if (SWIG_arg_fail(1)) SWIG_fail
;
41313 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41314 if (SWIG_arg_fail(2)) SWIG_fail
;
41317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41318 (arg1
)->RemoveGrowableCol(arg2
);
41320 wxPyEndAllowThreads(__tstate
);
41321 if (PyErr_Occurred()) SWIG_fail
;
41323 Py_INCREF(Py_None
); resultobj
= Py_None
;
41330 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41331 PyObject
*resultobj
;
41332 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41334 PyObject
* obj0
= 0 ;
41335 PyObject
* obj1
= 0 ;
41336 char *kwnames
[] = {
41337 (char *) "self",(char *) "direction", NULL
41340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
41341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41342 if (SWIG_arg_fail(1)) SWIG_fail
;
41344 arg2
= (int)(SWIG_As_int(obj1
));
41345 if (SWIG_arg_fail(2)) SWIG_fail
;
41348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41349 (arg1
)->SetFlexibleDirection(arg2
);
41351 wxPyEndAllowThreads(__tstate
);
41352 if (PyErr_Occurred()) SWIG_fail
;
41354 Py_INCREF(Py_None
); resultobj
= Py_None
;
41361 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41362 PyObject
*resultobj
;
41363 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41365 PyObject
* obj0
= 0 ;
41366 char *kwnames
[] = {
41367 (char *) "self", NULL
41370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
41371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41372 if (SWIG_arg_fail(1)) SWIG_fail
;
41374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41375 result
= (int)(arg1
)->GetFlexibleDirection();
41377 wxPyEndAllowThreads(__tstate
);
41378 if (PyErr_Occurred()) SWIG_fail
;
41381 resultobj
= SWIG_From_int((int)(result
));
41389 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41390 PyObject
*resultobj
;
41391 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41392 wxFlexSizerGrowMode arg2
;
41393 PyObject
* obj0
= 0 ;
41394 PyObject
* obj1
= 0 ;
41395 char *kwnames
[] = {
41396 (char *) "self",(char *) "mode", NULL
41399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
41400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41401 if (SWIG_arg_fail(1)) SWIG_fail
;
41403 arg2
= (wxFlexSizerGrowMode
)(SWIG_As_int(obj1
));
41404 if (SWIG_arg_fail(2)) SWIG_fail
;
41407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41408 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
41410 wxPyEndAllowThreads(__tstate
);
41411 if (PyErr_Occurred()) SWIG_fail
;
41413 Py_INCREF(Py_None
); resultobj
= Py_None
;
41420 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41421 PyObject
*resultobj
;
41422 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41423 wxFlexSizerGrowMode result
;
41424 PyObject
* obj0
= 0 ;
41425 char *kwnames
[] = {
41426 (char *) "self", NULL
41429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
41430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41431 if (SWIG_arg_fail(1)) SWIG_fail
;
41433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41434 result
= (wxFlexSizerGrowMode
)(arg1
)->GetNonFlexibleGrowMode();
41436 wxPyEndAllowThreads(__tstate
);
41437 if (PyErr_Occurred()) SWIG_fail
;
41439 resultobj
= SWIG_From_int((result
));
41446 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41447 PyObject
*resultobj
;
41448 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41449 wxArrayInt
*result
;
41450 PyObject
* obj0
= 0 ;
41451 char *kwnames
[] = {
41452 (char *) "self", NULL
41455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
41456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41457 if (SWIG_arg_fail(1)) SWIG_fail
;
41459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41461 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
41462 result
= (wxArrayInt
*) &_result_ref
;
41465 wxPyEndAllowThreads(__tstate
);
41466 if (PyErr_Occurred()) SWIG_fail
;
41469 resultobj
= PyList_New(0);
41471 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
41472 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
41473 PyList_Append(resultobj
, val
);
41483 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41484 PyObject
*resultobj
;
41485 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41486 wxArrayInt
*result
;
41487 PyObject
* obj0
= 0 ;
41488 char *kwnames
[] = {
41489 (char *) "self", NULL
41492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
41493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41494 if (SWIG_arg_fail(1)) SWIG_fail
;
41496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41498 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
41499 result
= (wxArrayInt
*) &_result_ref
;
41502 wxPyEndAllowThreads(__tstate
);
41503 if (PyErr_Occurred()) SWIG_fail
;
41506 resultobj
= PyList_New(0);
41508 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
41509 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
41510 PyList_Append(resultobj
, val
);
41520 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
41522 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41523 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
41525 return Py_BuildValue((char *)"");
41527 static PyObject
*_wrap_new_StdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41528 PyObject
*resultobj
;
41529 wxStdDialogButtonSizer
*result
;
41530 char *kwnames
[] = {
41534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StdDialogButtonSizer",kwnames
)) goto fail
;
41536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41537 result
= (wxStdDialogButtonSizer
*)new wxStdDialogButtonSizer();
41539 wxPyEndAllowThreads(__tstate
);
41540 if (PyErr_Occurred()) SWIG_fail
;
41542 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 1);
41549 static PyObject
*_wrap_StdDialogButtonSizer_AddButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41550 PyObject
*resultobj
;
41551 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41552 wxButton
*arg2
= (wxButton
*) 0 ;
41553 PyObject
* obj0
= 0 ;
41554 PyObject
* obj1
= 0 ;
41555 char *kwnames
[] = {
41556 (char *) "self",(char *) "button", NULL
41559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_AddButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41561 if (SWIG_arg_fail(1)) SWIG_fail
;
41562 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41563 if (SWIG_arg_fail(2)) SWIG_fail
;
41565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41566 (arg1
)->AddButton(arg2
);
41568 wxPyEndAllowThreads(__tstate
);
41569 if (PyErr_Occurred()) SWIG_fail
;
41571 Py_INCREF(Py_None
); resultobj
= Py_None
;
41578 static PyObject
*_wrap_StdDialogButtonSizer_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41579 PyObject
*resultobj
;
41580 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41581 PyObject
* obj0
= 0 ;
41582 char *kwnames
[] = {
41583 (char *) "self", NULL
41586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_Realize",kwnames
,&obj0
)) goto fail
;
41587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41588 if (SWIG_arg_fail(1)) SWIG_fail
;
41590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41593 wxPyEndAllowThreads(__tstate
);
41594 if (PyErr_Occurred()) SWIG_fail
;
41596 Py_INCREF(Py_None
); resultobj
= Py_None
;
41603 static PyObject
*_wrap_StdDialogButtonSizer_SetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41604 PyObject
*resultobj
;
41605 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41606 wxButton
*arg2
= (wxButton
*) 0 ;
41607 PyObject
* obj0
= 0 ;
41608 PyObject
* obj1
= 0 ;
41609 char *kwnames
[] = {
41610 (char *) "self",(char *) "button", NULL
41613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetAffirmativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41615 if (SWIG_arg_fail(1)) SWIG_fail
;
41616 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41617 if (SWIG_arg_fail(2)) SWIG_fail
;
41619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41620 (arg1
)->SetAffirmativeButton(arg2
);
41622 wxPyEndAllowThreads(__tstate
);
41623 if (PyErr_Occurred()) SWIG_fail
;
41625 Py_INCREF(Py_None
); resultobj
= Py_None
;
41632 static PyObject
*_wrap_StdDialogButtonSizer_SetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41633 PyObject
*resultobj
;
41634 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41635 wxButton
*arg2
= (wxButton
*) 0 ;
41636 PyObject
* obj0
= 0 ;
41637 PyObject
* obj1
= 0 ;
41638 char *kwnames
[] = {
41639 (char *) "self",(char *) "button", NULL
41642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetNegativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41644 if (SWIG_arg_fail(1)) SWIG_fail
;
41645 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41646 if (SWIG_arg_fail(2)) SWIG_fail
;
41648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41649 (arg1
)->SetNegativeButton(arg2
);
41651 wxPyEndAllowThreads(__tstate
);
41652 if (PyErr_Occurred()) SWIG_fail
;
41654 Py_INCREF(Py_None
); resultobj
= Py_None
;
41661 static PyObject
*_wrap_StdDialogButtonSizer_SetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41662 PyObject
*resultobj
;
41663 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41664 wxButton
*arg2
= (wxButton
*) 0 ;
41665 PyObject
* obj0
= 0 ;
41666 PyObject
* obj1
= 0 ;
41667 char *kwnames
[] = {
41668 (char *) "self",(char *) "button", NULL
41671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetCancelButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41673 if (SWIG_arg_fail(1)) SWIG_fail
;
41674 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41675 if (SWIG_arg_fail(2)) SWIG_fail
;
41677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41678 (arg1
)->SetCancelButton(arg2
);
41680 wxPyEndAllowThreads(__tstate
);
41681 if (PyErr_Occurred()) SWIG_fail
;
41683 Py_INCREF(Py_None
); resultobj
= Py_None
;
41690 static PyObject
*_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41691 PyObject
*resultobj
;
41692 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41694 PyObject
* obj0
= 0 ;
41695 char *kwnames
[] = {
41696 (char *) "self", NULL
41699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetAffirmativeButton",kwnames
,&obj0
)) goto fail
;
41700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41701 if (SWIG_arg_fail(1)) SWIG_fail
;
41703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41704 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetAffirmativeButton();
41706 wxPyEndAllowThreads(__tstate
);
41707 if (PyErr_Occurred()) SWIG_fail
;
41710 resultobj
= wxPyMake_wxObject(result
, 0);
41718 static PyObject
*_wrap_StdDialogButtonSizer_GetApplyButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41719 PyObject
*resultobj
;
41720 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41722 PyObject
* obj0
= 0 ;
41723 char *kwnames
[] = {
41724 (char *) "self", NULL
41727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetApplyButton",kwnames
,&obj0
)) goto fail
;
41728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41729 if (SWIG_arg_fail(1)) SWIG_fail
;
41731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41732 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetApplyButton();
41734 wxPyEndAllowThreads(__tstate
);
41735 if (PyErr_Occurred()) SWIG_fail
;
41738 resultobj
= wxPyMake_wxObject(result
, 0);
41746 static PyObject
*_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41747 PyObject
*resultobj
;
41748 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41750 PyObject
* obj0
= 0 ;
41751 char *kwnames
[] = {
41752 (char *) "self", NULL
41755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetNegativeButton",kwnames
,&obj0
)) goto fail
;
41756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41757 if (SWIG_arg_fail(1)) SWIG_fail
;
41759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41760 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetNegativeButton();
41762 wxPyEndAllowThreads(__tstate
);
41763 if (PyErr_Occurred()) SWIG_fail
;
41766 resultobj
= wxPyMake_wxObject(result
, 0);
41774 static PyObject
*_wrap_StdDialogButtonSizer_GetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41775 PyObject
*resultobj
;
41776 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41778 PyObject
* obj0
= 0 ;
41779 char *kwnames
[] = {
41780 (char *) "self", NULL
41783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetCancelButton",kwnames
,&obj0
)) goto fail
;
41784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41785 if (SWIG_arg_fail(1)) SWIG_fail
;
41787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41788 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetCancelButton();
41790 wxPyEndAllowThreads(__tstate
);
41791 if (PyErr_Occurred()) SWIG_fail
;
41794 resultobj
= wxPyMake_wxObject(result
, 0);
41802 static PyObject
*_wrap_StdDialogButtonSizer_GetHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41803 PyObject
*resultobj
;
41804 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41806 PyObject
* obj0
= 0 ;
41807 char *kwnames
[] = {
41808 (char *) "self", NULL
41811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetHelpButton",kwnames
,&obj0
)) goto fail
;
41812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41813 if (SWIG_arg_fail(1)) SWIG_fail
;
41815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41816 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetHelpButton();
41818 wxPyEndAllowThreads(__tstate
);
41819 if (PyErr_Occurred()) SWIG_fail
;
41822 resultobj
= wxPyMake_wxObject(result
, 0);
41830 static PyObject
* StdDialogButtonSizer_swigregister(PyObject
*, PyObject
*args
) {
41832 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41833 SWIG_TypeClientData(SWIGTYPE_p_wxStdDialogButtonSizer
, obj
);
41835 return Py_BuildValue((char *)"");
41837 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41838 PyObject
*resultobj
;
41839 int arg1
= (int) 0 ;
41840 int arg2
= (int) 0 ;
41841 wxGBPosition
*result
;
41842 PyObject
* obj0
= 0 ;
41843 PyObject
* obj1
= 0 ;
41844 char *kwnames
[] = {
41845 (char *) "row",(char *) "col", NULL
41848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
41851 arg1
= (int)(SWIG_As_int(obj0
));
41852 if (SWIG_arg_fail(1)) SWIG_fail
;
41857 arg2
= (int)(SWIG_As_int(obj1
));
41858 if (SWIG_arg_fail(2)) SWIG_fail
;
41862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41863 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
41865 wxPyEndAllowThreads(__tstate
);
41866 if (PyErr_Occurred()) SWIG_fail
;
41868 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
41875 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41876 PyObject
*resultobj
;
41877 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41879 PyObject
* obj0
= 0 ;
41880 char *kwnames
[] = {
41881 (char *) "self", NULL
41884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
41885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41886 if (SWIG_arg_fail(1)) SWIG_fail
;
41888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41889 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
41891 wxPyEndAllowThreads(__tstate
);
41892 if (PyErr_Occurred()) SWIG_fail
;
41895 resultobj
= SWIG_From_int((int)(result
));
41903 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41904 PyObject
*resultobj
;
41905 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41907 PyObject
* obj0
= 0 ;
41908 char *kwnames
[] = {
41909 (char *) "self", NULL
41912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
41913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41914 if (SWIG_arg_fail(1)) SWIG_fail
;
41916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41917 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
41919 wxPyEndAllowThreads(__tstate
);
41920 if (PyErr_Occurred()) SWIG_fail
;
41923 resultobj
= SWIG_From_int((int)(result
));
41931 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41932 PyObject
*resultobj
;
41933 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41935 PyObject
* obj0
= 0 ;
41936 PyObject
* obj1
= 0 ;
41937 char *kwnames
[] = {
41938 (char *) "self",(char *) "row", NULL
41941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
41942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41943 if (SWIG_arg_fail(1)) SWIG_fail
;
41945 arg2
= (int)(SWIG_As_int(obj1
));
41946 if (SWIG_arg_fail(2)) SWIG_fail
;
41949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41950 (arg1
)->SetRow(arg2
);
41952 wxPyEndAllowThreads(__tstate
);
41953 if (PyErr_Occurred()) SWIG_fail
;
41955 Py_INCREF(Py_None
); resultobj
= Py_None
;
41962 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41963 PyObject
*resultobj
;
41964 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41966 PyObject
* obj0
= 0 ;
41967 PyObject
* obj1
= 0 ;
41968 char *kwnames
[] = {
41969 (char *) "self",(char *) "col", NULL
41972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
41973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41974 if (SWIG_arg_fail(1)) SWIG_fail
;
41976 arg2
= (int)(SWIG_As_int(obj1
));
41977 if (SWIG_arg_fail(2)) SWIG_fail
;
41980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41981 (arg1
)->SetCol(arg2
);
41983 wxPyEndAllowThreads(__tstate
);
41984 if (PyErr_Occurred()) SWIG_fail
;
41986 Py_INCREF(Py_None
); resultobj
= Py_None
;
41993 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41994 PyObject
*resultobj
;
41995 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41996 wxGBPosition
*arg2
= 0 ;
41998 wxGBPosition temp2
;
41999 PyObject
* obj0
= 0 ;
42000 PyObject
* obj1
= 0 ;
42001 char *kwnames
[] = {
42002 (char *) "self",(char *) "other", NULL
42005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
42006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42007 if (SWIG_arg_fail(1)) SWIG_fail
;
42010 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42014 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
42016 wxPyEndAllowThreads(__tstate
);
42017 if (PyErr_Occurred()) SWIG_fail
;
42020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42028 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42029 PyObject
*resultobj
;
42030 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42031 wxGBPosition
*arg2
= 0 ;
42033 wxGBPosition temp2
;
42034 PyObject
* obj0
= 0 ;
42035 PyObject
* obj1
= 0 ;
42036 char *kwnames
[] = {
42037 (char *) "self",(char *) "other", NULL
42040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
42041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42042 if (SWIG_arg_fail(1)) SWIG_fail
;
42045 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42049 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
42051 wxPyEndAllowThreads(__tstate
);
42052 if (PyErr_Occurred()) SWIG_fail
;
42055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42063 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42064 PyObject
*resultobj
;
42065 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42066 int arg2
= (int) 0 ;
42067 int arg3
= (int) 0 ;
42068 PyObject
* obj0
= 0 ;
42069 PyObject
* obj1
= 0 ;
42070 PyObject
* obj2
= 0 ;
42071 char *kwnames
[] = {
42072 (char *) "self",(char *) "row",(char *) "col", NULL
42075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42077 if (SWIG_arg_fail(1)) SWIG_fail
;
42080 arg2
= (int)(SWIG_As_int(obj1
));
42081 if (SWIG_arg_fail(2)) SWIG_fail
;
42086 arg3
= (int)(SWIG_As_int(obj2
));
42087 if (SWIG_arg_fail(3)) SWIG_fail
;
42091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42092 wxGBPosition_Set(arg1
,arg2
,arg3
);
42094 wxPyEndAllowThreads(__tstate
);
42095 if (PyErr_Occurred()) SWIG_fail
;
42097 Py_INCREF(Py_None
); resultobj
= Py_None
;
42104 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42105 PyObject
*resultobj
;
42106 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42108 PyObject
* obj0
= 0 ;
42109 char *kwnames
[] = {
42110 (char *) "self", NULL
42113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
42114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42115 if (SWIG_arg_fail(1)) SWIG_fail
;
42117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42118 result
= (PyObject
*)wxGBPosition_Get(arg1
);
42120 wxPyEndAllowThreads(__tstate
);
42121 if (PyErr_Occurred()) SWIG_fail
;
42123 resultobj
= result
;
42130 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
42132 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42133 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
42135 return Py_BuildValue((char *)"");
42137 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42138 PyObject
*resultobj
;
42139 int arg1
= (int) 1 ;
42140 int arg2
= (int) 1 ;
42142 PyObject
* obj0
= 0 ;
42143 PyObject
* obj1
= 0 ;
42144 char *kwnames
[] = {
42145 (char *) "rowspan",(char *) "colspan", NULL
42148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
42151 arg1
= (int)(SWIG_As_int(obj0
));
42152 if (SWIG_arg_fail(1)) SWIG_fail
;
42157 arg2
= (int)(SWIG_As_int(obj1
));
42158 if (SWIG_arg_fail(2)) SWIG_fail
;
42162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42163 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
42165 wxPyEndAllowThreads(__tstate
);
42166 if (PyErr_Occurred()) SWIG_fail
;
42168 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
42175 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42176 PyObject
*resultobj
;
42177 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42179 PyObject
* obj0
= 0 ;
42180 char *kwnames
[] = {
42181 (char *) "self", NULL
42184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
42185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42186 if (SWIG_arg_fail(1)) SWIG_fail
;
42188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42189 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
42191 wxPyEndAllowThreads(__tstate
);
42192 if (PyErr_Occurred()) SWIG_fail
;
42195 resultobj
= SWIG_From_int((int)(result
));
42203 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42204 PyObject
*resultobj
;
42205 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42207 PyObject
* obj0
= 0 ;
42208 char *kwnames
[] = {
42209 (char *) "self", NULL
42212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
42213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42214 if (SWIG_arg_fail(1)) SWIG_fail
;
42216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42217 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
42219 wxPyEndAllowThreads(__tstate
);
42220 if (PyErr_Occurred()) SWIG_fail
;
42223 resultobj
= SWIG_From_int((int)(result
));
42231 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42232 PyObject
*resultobj
;
42233 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42235 PyObject
* obj0
= 0 ;
42236 PyObject
* obj1
= 0 ;
42237 char *kwnames
[] = {
42238 (char *) "self",(char *) "rowspan", NULL
42241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
42242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42243 if (SWIG_arg_fail(1)) SWIG_fail
;
42245 arg2
= (int)(SWIG_As_int(obj1
));
42246 if (SWIG_arg_fail(2)) SWIG_fail
;
42249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42250 (arg1
)->SetRowspan(arg2
);
42252 wxPyEndAllowThreads(__tstate
);
42253 if (PyErr_Occurred()) SWIG_fail
;
42255 Py_INCREF(Py_None
); resultobj
= Py_None
;
42262 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42263 PyObject
*resultobj
;
42264 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42266 PyObject
* obj0
= 0 ;
42267 PyObject
* obj1
= 0 ;
42268 char *kwnames
[] = {
42269 (char *) "self",(char *) "colspan", NULL
42272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
42273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42274 if (SWIG_arg_fail(1)) SWIG_fail
;
42276 arg2
= (int)(SWIG_As_int(obj1
));
42277 if (SWIG_arg_fail(2)) SWIG_fail
;
42280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42281 (arg1
)->SetColspan(arg2
);
42283 wxPyEndAllowThreads(__tstate
);
42284 if (PyErr_Occurred()) SWIG_fail
;
42286 Py_INCREF(Py_None
); resultobj
= Py_None
;
42293 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42294 PyObject
*resultobj
;
42295 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42296 wxGBSpan
*arg2
= 0 ;
42299 PyObject
* obj0
= 0 ;
42300 PyObject
* obj1
= 0 ;
42301 char *kwnames
[] = {
42302 (char *) "self",(char *) "other", NULL
42305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
42306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42307 if (SWIG_arg_fail(1)) SWIG_fail
;
42310 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42314 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
42316 wxPyEndAllowThreads(__tstate
);
42317 if (PyErr_Occurred()) SWIG_fail
;
42320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42328 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42329 PyObject
*resultobj
;
42330 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42331 wxGBSpan
*arg2
= 0 ;
42334 PyObject
* obj0
= 0 ;
42335 PyObject
* obj1
= 0 ;
42336 char *kwnames
[] = {
42337 (char *) "self",(char *) "other", NULL
42340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
42341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42342 if (SWIG_arg_fail(1)) SWIG_fail
;
42345 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42349 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
42351 wxPyEndAllowThreads(__tstate
);
42352 if (PyErr_Occurred()) SWIG_fail
;
42355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42363 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42364 PyObject
*resultobj
;
42365 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42366 int arg2
= (int) 1 ;
42367 int arg3
= (int) 1 ;
42368 PyObject
* obj0
= 0 ;
42369 PyObject
* obj1
= 0 ;
42370 PyObject
* obj2
= 0 ;
42371 char *kwnames
[] = {
42372 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
42375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42377 if (SWIG_arg_fail(1)) SWIG_fail
;
42380 arg2
= (int)(SWIG_As_int(obj1
));
42381 if (SWIG_arg_fail(2)) SWIG_fail
;
42386 arg3
= (int)(SWIG_As_int(obj2
));
42387 if (SWIG_arg_fail(3)) SWIG_fail
;
42391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42392 wxGBSpan_Set(arg1
,arg2
,arg3
);
42394 wxPyEndAllowThreads(__tstate
);
42395 if (PyErr_Occurred()) SWIG_fail
;
42397 Py_INCREF(Py_None
); resultobj
= Py_None
;
42404 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42405 PyObject
*resultobj
;
42406 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42408 PyObject
* obj0
= 0 ;
42409 char *kwnames
[] = {
42410 (char *) "self", NULL
42413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
42414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42415 if (SWIG_arg_fail(1)) SWIG_fail
;
42417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42418 result
= (PyObject
*)wxGBSpan_Get(arg1
);
42420 wxPyEndAllowThreads(__tstate
);
42421 if (PyErr_Occurred()) SWIG_fail
;
42423 resultobj
= result
;
42430 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
42432 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42433 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
42435 return Py_BuildValue((char *)"");
42437 static int _wrap_DefaultSpan_set(PyObject
*) {
42438 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
42443 static PyObject
*_wrap_DefaultSpan_get(void) {
42446 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
42451 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42452 PyObject
*resultobj
;
42453 wxGBSizerItem
*result
;
42454 char *kwnames
[] = {
42458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
42460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42461 result
= (wxGBSizerItem
*)new wxGBSizerItem();
42463 wxPyEndAllowThreads(__tstate
);
42464 if (PyErr_Occurred()) SWIG_fail
;
42466 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42473 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42474 PyObject
*resultobj
;
42475 wxWindow
*arg1
= (wxWindow
*) 0 ;
42476 wxGBPosition
*arg2
= 0 ;
42477 wxGBSpan
*arg3
= 0 ;
42480 PyObject
*arg6
= (PyObject
*) NULL
;
42481 wxGBSizerItem
*result
;
42482 wxGBPosition temp2
;
42484 PyObject
* obj0
= 0 ;
42485 PyObject
* obj1
= 0 ;
42486 PyObject
* obj2
= 0 ;
42487 PyObject
* obj3
= 0 ;
42488 PyObject
* obj4
= 0 ;
42489 PyObject
* obj5
= 0 ;
42490 char *kwnames
[] = {
42491 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
42495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42496 if (SWIG_arg_fail(1)) SWIG_fail
;
42499 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42503 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42506 arg4
= (int)(SWIG_As_int(obj3
));
42507 if (SWIG_arg_fail(4)) SWIG_fail
;
42510 arg5
= (int)(SWIG_As_int(obj4
));
42511 if (SWIG_arg_fail(5)) SWIG_fail
;
42517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42518 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
42520 wxPyEndAllowThreads(__tstate
);
42521 if (PyErr_Occurred()) SWIG_fail
;
42523 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42530 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42531 PyObject
*resultobj
;
42532 wxSizer
*arg1
= (wxSizer
*) 0 ;
42533 wxGBPosition
*arg2
= 0 ;
42534 wxGBSpan
*arg3
= 0 ;
42537 PyObject
*arg6
= (PyObject
*) NULL
;
42538 wxGBSizerItem
*result
;
42539 wxGBPosition temp2
;
42541 PyObject
* obj0
= 0 ;
42542 PyObject
* obj1
= 0 ;
42543 PyObject
* obj2
= 0 ;
42544 PyObject
* obj3
= 0 ;
42545 PyObject
* obj4
= 0 ;
42546 PyObject
* obj5
= 0 ;
42547 char *kwnames
[] = {
42548 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
42552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42553 if (SWIG_arg_fail(1)) SWIG_fail
;
42556 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42560 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42563 arg4
= (int)(SWIG_As_int(obj3
));
42564 if (SWIG_arg_fail(4)) SWIG_fail
;
42567 arg5
= (int)(SWIG_As_int(obj4
));
42568 if (SWIG_arg_fail(5)) SWIG_fail
;
42574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42575 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
42577 wxPyEndAllowThreads(__tstate
);
42578 if (PyErr_Occurred()) SWIG_fail
;
42580 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42587 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42588 PyObject
*resultobj
;
42591 wxGBPosition
*arg3
= 0 ;
42592 wxGBSpan
*arg4
= 0 ;
42595 PyObject
*arg7
= (PyObject
*) NULL
;
42596 wxGBSizerItem
*result
;
42597 wxGBPosition temp3
;
42599 PyObject
* obj0
= 0 ;
42600 PyObject
* obj1
= 0 ;
42601 PyObject
* obj2
= 0 ;
42602 PyObject
* obj3
= 0 ;
42603 PyObject
* obj4
= 0 ;
42604 PyObject
* obj5
= 0 ;
42605 PyObject
* obj6
= 0 ;
42606 char *kwnames
[] = {
42607 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
42612 arg1
= (int)(SWIG_As_int(obj0
));
42613 if (SWIG_arg_fail(1)) SWIG_fail
;
42616 arg2
= (int)(SWIG_As_int(obj1
));
42617 if (SWIG_arg_fail(2)) SWIG_fail
;
42621 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42625 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
42628 arg5
= (int)(SWIG_As_int(obj4
));
42629 if (SWIG_arg_fail(5)) SWIG_fail
;
42632 arg6
= (int)(SWIG_As_int(obj5
));
42633 if (SWIG_arg_fail(6)) SWIG_fail
;
42639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42640 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
42642 wxPyEndAllowThreads(__tstate
);
42643 if (PyErr_Occurred()) SWIG_fail
;
42645 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42652 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42653 PyObject
*resultobj
;
42654 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42655 wxGBPosition result
;
42656 PyObject
* obj0
= 0 ;
42657 char *kwnames
[] = {
42658 (char *) "self", NULL
42661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
42662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42663 if (SWIG_arg_fail(1)) SWIG_fail
;
42665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42666 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
42668 wxPyEndAllowThreads(__tstate
);
42669 if (PyErr_Occurred()) SWIG_fail
;
42672 wxGBPosition
* resultptr
;
42673 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42674 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42682 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42683 PyObject
*resultobj
;
42684 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42686 PyObject
* obj0
= 0 ;
42687 char *kwnames
[] = {
42688 (char *) "self", NULL
42691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
42692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42693 if (SWIG_arg_fail(1)) SWIG_fail
;
42695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42696 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
42698 wxPyEndAllowThreads(__tstate
);
42699 if (PyErr_Occurred()) SWIG_fail
;
42702 wxGBSpan
* resultptr
;
42703 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
42704 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
42712 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42713 PyObject
*resultobj
;
42714 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42715 wxGBPosition
*arg2
= 0 ;
42717 wxGBPosition temp2
;
42718 PyObject
* obj0
= 0 ;
42719 PyObject
* obj1
= 0 ;
42720 char *kwnames
[] = {
42721 (char *) "self",(char *) "pos", NULL
42724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
42725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42726 if (SWIG_arg_fail(1)) SWIG_fail
;
42729 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42733 result
= (bool)(arg1
)->SetPos((wxGBPosition
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_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42748 PyObject
*resultobj
;
42749 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42750 wxGBSpan
*arg2
= 0 ;
42753 PyObject
* obj0
= 0 ;
42754 PyObject
* obj1
= 0 ;
42755 char *kwnames
[] = {
42756 (char *) "self",(char *) "span", NULL
42759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
42760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42761 if (SWIG_arg_fail(1)) SWIG_fail
;
42764 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42768 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
42770 wxPyEndAllowThreads(__tstate
);
42771 if (PyErr_Occurred()) SWIG_fail
;
42774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42782 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42783 PyObject
*resultobj
;
42784 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42785 wxGBSizerItem
*arg2
= 0 ;
42787 PyObject
* obj0
= 0 ;
42788 PyObject
* obj1
= 0 ;
42789 char *kwnames
[] = {
42790 (char *) "self",(char *) "other", NULL
42793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
42794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42795 if (SWIG_arg_fail(1)) SWIG_fail
;
42797 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42798 if (SWIG_arg_fail(2)) SWIG_fail
;
42799 if (arg2
== NULL
) {
42800 SWIG_null_ref("wxGBSizerItem");
42802 if (SWIG_arg_fail(2)) SWIG_fail
;
42805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42806 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
42808 wxPyEndAllowThreads(__tstate
);
42809 if (PyErr_Occurred()) SWIG_fail
;
42812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42820 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42821 PyObject
*resultobj
;
42822 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42823 wxGBPosition
*arg2
= 0 ;
42824 wxGBSpan
*arg3
= 0 ;
42826 wxGBPosition temp2
;
42828 PyObject
* obj0
= 0 ;
42829 PyObject
* obj1
= 0 ;
42830 PyObject
* obj2
= 0 ;
42831 char *kwnames
[] = {
42832 (char *) "self",(char *) "pos",(char *) "span", NULL
42835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42837 if (SWIG_arg_fail(1)) SWIG_fail
;
42840 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42844 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42848 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
42850 wxPyEndAllowThreads(__tstate
);
42851 if (PyErr_Occurred()) SWIG_fail
;
42854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42862 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42863 PyObject
*resultobj
;
42864 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42865 wxGBPosition result
;
42866 PyObject
* obj0
= 0 ;
42867 char *kwnames
[] = {
42868 (char *) "self", NULL
42871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
42872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42873 if (SWIG_arg_fail(1)) SWIG_fail
;
42875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42876 result
= wxGBSizerItem_GetEndPos(arg1
);
42878 wxPyEndAllowThreads(__tstate
);
42879 if (PyErr_Occurred()) SWIG_fail
;
42882 wxGBPosition
* resultptr
;
42883 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42884 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42892 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42893 PyObject
*resultobj
;
42894 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42895 wxGridBagSizer
*result
;
42896 PyObject
* obj0
= 0 ;
42897 char *kwnames
[] = {
42898 (char *) "self", NULL
42901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
42902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42903 if (SWIG_arg_fail(1)) SWIG_fail
;
42905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42906 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
42908 wxPyEndAllowThreads(__tstate
);
42909 if (PyErr_Occurred()) SWIG_fail
;
42911 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
42918 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42919 PyObject
*resultobj
;
42920 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42921 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
42922 PyObject
* obj0
= 0 ;
42923 PyObject
* obj1
= 0 ;
42924 char *kwnames
[] = {
42925 (char *) "self",(char *) "sizer", NULL
42928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
42929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42930 if (SWIG_arg_fail(1)) SWIG_fail
;
42931 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42932 if (SWIG_arg_fail(2)) SWIG_fail
;
42934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42935 (arg1
)->SetGBSizer(arg2
);
42937 wxPyEndAllowThreads(__tstate
);
42938 if (PyErr_Occurred()) SWIG_fail
;
42940 Py_INCREF(Py_None
); resultobj
= Py_None
;
42947 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
42949 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42950 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
42952 return Py_BuildValue((char *)"");
42954 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42955 PyObject
*resultobj
;
42956 int arg1
= (int) 0 ;
42957 int arg2
= (int) 0 ;
42958 wxGridBagSizer
*result
;
42959 PyObject
* obj0
= 0 ;
42960 PyObject
* obj1
= 0 ;
42961 char *kwnames
[] = {
42962 (char *) "vgap",(char *) "hgap", NULL
42965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
42968 arg1
= (int)(SWIG_As_int(obj0
));
42969 if (SWIG_arg_fail(1)) SWIG_fail
;
42974 arg2
= (int)(SWIG_As_int(obj1
));
42975 if (SWIG_arg_fail(2)) SWIG_fail
;
42979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42980 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
42982 wxPyEndAllowThreads(__tstate
);
42983 if (PyErr_Occurred()) SWIG_fail
;
42985 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
42992 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42993 PyObject
*resultobj
;
42994 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42995 PyObject
*arg2
= (PyObject
*) 0 ;
42996 wxGBPosition
*arg3
= 0 ;
42997 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
42998 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
42999 int arg5
= (int) 0 ;
43000 int arg6
= (int) 0 ;
43001 PyObject
*arg7
= (PyObject
*) NULL
;
43002 wxGBSizerItem
*result
;
43003 wxGBPosition temp3
;
43005 PyObject
* obj0
= 0 ;
43006 PyObject
* obj1
= 0 ;
43007 PyObject
* obj2
= 0 ;
43008 PyObject
* obj3
= 0 ;
43009 PyObject
* obj4
= 0 ;
43010 PyObject
* obj5
= 0 ;
43011 PyObject
* obj6
= 0 ;
43012 char *kwnames
[] = {
43013 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
43016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
43017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43018 if (SWIG_arg_fail(1)) SWIG_fail
;
43022 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43027 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
43032 arg5
= (int)(SWIG_As_int(obj4
));
43033 if (SWIG_arg_fail(5)) SWIG_fail
;
43038 arg6
= (int)(SWIG_As_int(obj5
));
43039 if (SWIG_arg_fail(6)) SWIG_fail
;
43046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43047 result
= (wxGBSizerItem
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
43049 wxPyEndAllowThreads(__tstate
);
43050 if (PyErr_Occurred()) SWIG_fail
;
43052 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43059 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43060 PyObject
*resultobj
;
43061 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43062 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
43063 wxGBSizerItem
*result
;
43064 PyObject
* obj0
= 0 ;
43065 PyObject
* obj1
= 0 ;
43066 char *kwnames
[] = {
43067 (char *) "self",(char *) "item", NULL
43070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
43071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43072 if (SWIG_arg_fail(1)) SWIG_fail
;
43073 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43074 if (SWIG_arg_fail(2)) SWIG_fail
;
43076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43077 result
= (wxGBSizerItem
*)(arg1
)->Add(arg2
);
43079 wxPyEndAllowThreads(__tstate
);
43080 if (PyErr_Occurred()) SWIG_fail
;
43082 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43089 static PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43090 PyObject
*resultobj
;
43091 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43095 PyObject
* obj0
= 0 ;
43096 PyObject
* obj1
= 0 ;
43097 PyObject
* obj2
= 0 ;
43098 char *kwnames
[] = {
43099 (char *) "self",(char *) "row",(char *) "col", NULL
43102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43104 if (SWIG_arg_fail(1)) SWIG_fail
;
43106 arg2
= (int)(SWIG_As_int(obj1
));
43107 if (SWIG_arg_fail(2)) SWIG_fail
;
43110 arg3
= (int)(SWIG_As_int(obj2
));
43111 if (SWIG_arg_fail(3)) SWIG_fail
;
43114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43115 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
43117 wxPyEndAllowThreads(__tstate
);
43118 if (PyErr_Occurred()) SWIG_fail
;
43121 wxSize
* resultptr
;
43122 resultptr
= new wxSize((wxSize
&)(result
));
43123 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
43131 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43132 PyObject
*resultobj
;
43133 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43135 PyObject
* obj0
= 0 ;
43136 char *kwnames
[] = {
43137 (char *) "self", NULL
43140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
43141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43142 if (SWIG_arg_fail(1)) SWIG_fail
;
43144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43145 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
43147 wxPyEndAllowThreads(__tstate
);
43148 if (PyErr_Occurred()) SWIG_fail
;
43151 wxSize
* resultptr
;
43152 resultptr
= new wxSize((wxSize
&)(result
));
43153 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
43161 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43162 PyObject
*resultobj
;
43163 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43166 PyObject
* obj0
= 0 ;
43167 PyObject
* obj1
= 0 ;
43168 char *kwnames
[] = {
43169 (char *) "self",(char *) "sz", NULL
43172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
43173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43174 if (SWIG_arg_fail(1)) SWIG_fail
;
43177 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
43180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43181 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
43183 wxPyEndAllowThreads(__tstate
);
43184 if (PyErr_Occurred()) SWIG_fail
;
43186 Py_INCREF(Py_None
); resultobj
= Py_None
;
43193 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
43194 PyObject
*resultobj
;
43195 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43196 wxWindow
*arg2
= (wxWindow
*) 0 ;
43197 wxGBPosition result
;
43198 PyObject
* obj0
= 0 ;
43199 PyObject
* obj1
= 0 ;
43201 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43203 if (SWIG_arg_fail(1)) SWIG_fail
;
43204 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43205 if (SWIG_arg_fail(2)) SWIG_fail
;
43207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43208 result
= (arg1
)->GetItemPosition(arg2
);
43210 wxPyEndAllowThreads(__tstate
);
43211 if (PyErr_Occurred()) SWIG_fail
;
43214 wxGBPosition
* resultptr
;
43215 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43216 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43224 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
43225 PyObject
*resultobj
;
43226 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43227 wxSizer
*arg2
= (wxSizer
*) 0 ;
43228 wxGBPosition result
;
43229 PyObject
* obj0
= 0 ;
43230 PyObject
* obj1
= 0 ;
43232 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43234 if (SWIG_arg_fail(1)) SWIG_fail
;
43235 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43236 if (SWIG_arg_fail(2)) SWIG_fail
;
43238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43239 result
= (arg1
)->GetItemPosition(arg2
);
43241 wxPyEndAllowThreads(__tstate
);
43242 if (PyErr_Occurred()) SWIG_fail
;
43245 wxGBPosition
* resultptr
;
43246 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43247 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43255 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
43256 PyObject
*resultobj
;
43257 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43259 wxGBPosition result
;
43260 PyObject
* obj0
= 0 ;
43261 PyObject
* obj1
= 0 ;
43263 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43265 if (SWIG_arg_fail(1)) SWIG_fail
;
43267 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43268 if (SWIG_arg_fail(2)) SWIG_fail
;
43271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43272 result
= (arg1
)->GetItemPosition(arg2
);
43274 wxPyEndAllowThreads(__tstate
);
43275 if (PyErr_Occurred()) SWIG_fail
;
43278 wxGBPosition
* resultptr
;
43279 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43280 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43288 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
43293 argc
= PyObject_Length(args
);
43294 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43295 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43301 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43311 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43319 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
43327 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43337 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43345 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
43353 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43361 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43363 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
43368 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
43373 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
43374 PyObject
*resultobj
;
43375 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43376 wxWindow
*arg2
= (wxWindow
*) 0 ;
43377 wxGBPosition
*arg3
= 0 ;
43379 wxGBPosition temp3
;
43380 PyObject
* obj0
= 0 ;
43381 PyObject
* obj1
= 0 ;
43382 PyObject
* obj2
= 0 ;
43384 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43386 if (SWIG_arg_fail(1)) SWIG_fail
;
43387 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43388 if (SWIG_arg_fail(2)) SWIG_fail
;
43391 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43395 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43397 wxPyEndAllowThreads(__tstate
);
43398 if (PyErr_Occurred()) SWIG_fail
;
43401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43409 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
43410 PyObject
*resultobj
;
43411 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43412 wxSizer
*arg2
= (wxSizer
*) 0 ;
43413 wxGBPosition
*arg3
= 0 ;
43415 wxGBPosition temp3
;
43416 PyObject
* obj0
= 0 ;
43417 PyObject
* obj1
= 0 ;
43418 PyObject
* obj2
= 0 ;
43420 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43422 if (SWIG_arg_fail(1)) SWIG_fail
;
43423 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43424 if (SWIG_arg_fail(2)) SWIG_fail
;
43427 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43431 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43433 wxPyEndAllowThreads(__tstate
);
43434 if (PyErr_Occurred()) SWIG_fail
;
43437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43445 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
43446 PyObject
*resultobj
;
43447 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43449 wxGBPosition
*arg3
= 0 ;
43451 wxGBPosition temp3
;
43452 PyObject
* obj0
= 0 ;
43453 PyObject
* obj1
= 0 ;
43454 PyObject
* obj2
= 0 ;
43456 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43458 if (SWIG_arg_fail(1)) SWIG_fail
;
43460 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43461 if (SWIG_arg_fail(2)) SWIG_fail
;
43465 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43469 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43471 wxPyEndAllowThreads(__tstate
);
43472 if (PyErr_Occurred()) SWIG_fail
;
43475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43483 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
43488 argc
= PyObject_Length(args
);
43489 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
43490 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43496 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43506 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43515 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43518 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
43527 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43537 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43546 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43549 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
43558 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43566 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43569 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43572 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
43578 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
43583 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
43584 PyObject
*resultobj
;
43585 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43586 wxWindow
*arg2
= (wxWindow
*) 0 ;
43588 PyObject
* obj0
= 0 ;
43589 PyObject
* obj1
= 0 ;
43591 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43593 if (SWIG_arg_fail(1)) SWIG_fail
;
43594 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43595 if (SWIG_arg_fail(2)) SWIG_fail
;
43597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43598 result
= (arg1
)->GetItemSpan(arg2
);
43600 wxPyEndAllowThreads(__tstate
);
43601 if (PyErr_Occurred()) SWIG_fail
;
43604 wxGBSpan
* resultptr
;
43605 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43606 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43614 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
43615 PyObject
*resultobj
;
43616 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43617 wxSizer
*arg2
= (wxSizer
*) 0 ;
43619 PyObject
* obj0
= 0 ;
43620 PyObject
* obj1
= 0 ;
43622 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43624 if (SWIG_arg_fail(1)) SWIG_fail
;
43625 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43626 if (SWIG_arg_fail(2)) SWIG_fail
;
43628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43629 result
= (arg1
)->GetItemSpan(arg2
);
43631 wxPyEndAllowThreads(__tstate
);
43632 if (PyErr_Occurred()) SWIG_fail
;
43635 wxGBSpan
* resultptr
;
43636 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43637 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43645 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
43646 PyObject
*resultobj
;
43647 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43650 PyObject
* obj0
= 0 ;
43651 PyObject
* obj1
= 0 ;
43653 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43655 if (SWIG_arg_fail(1)) SWIG_fail
;
43657 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43658 if (SWIG_arg_fail(2)) SWIG_fail
;
43661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43662 result
= (arg1
)->GetItemSpan(arg2
);
43664 wxPyEndAllowThreads(__tstate
);
43665 if (PyErr_Occurred()) SWIG_fail
;
43668 wxGBSpan
* resultptr
;
43669 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43670 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43678 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
43683 argc
= PyObject_Length(args
);
43684 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43685 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43691 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43701 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43709 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
43717 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43727 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43735 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
43743 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43751 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43753 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
43758 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
43763 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
43764 PyObject
*resultobj
;
43765 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43766 wxWindow
*arg2
= (wxWindow
*) 0 ;
43767 wxGBSpan
*arg3
= 0 ;
43770 PyObject
* obj0
= 0 ;
43771 PyObject
* obj1
= 0 ;
43772 PyObject
* obj2
= 0 ;
43774 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43776 if (SWIG_arg_fail(1)) SWIG_fail
;
43777 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43778 if (SWIG_arg_fail(2)) SWIG_fail
;
43781 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43785 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43787 wxPyEndAllowThreads(__tstate
);
43788 if (PyErr_Occurred()) SWIG_fail
;
43791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43799 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
43800 PyObject
*resultobj
;
43801 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43802 wxSizer
*arg2
= (wxSizer
*) 0 ;
43803 wxGBSpan
*arg3
= 0 ;
43806 PyObject
* obj0
= 0 ;
43807 PyObject
* obj1
= 0 ;
43808 PyObject
* obj2
= 0 ;
43810 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43812 if (SWIG_arg_fail(1)) SWIG_fail
;
43813 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43814 if (SWIG_arg_fail(2)) SWIG_fail
;
43817 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43821 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43823 wxPyEndAllowThreads(__tstate
);
43824 if (PyErr_Occurred()) SWIG_fail
;
43827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43835 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
43836 PyObject
*resultobj
;
43837 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43839 wxGBSpan
*arg3
= 0 ;
43842 PyObject
* obj0
= 0 ;
43843 PyObject
* obj1
= 0 ;
43844 PyObject
* obj2
= 0 ;
43846 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43848 if (SWIG_arg_fail(1)) SWIG_fail
;
43850 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43851 if (SWIG_arg_fail(2)) SWIG_fail
;
43855 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43859 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43861 wxPyEndAllowThreads(__tstate
);
43862 if (PyErr_Occurred()) SWIG_fail
;
43865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43873 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
43878 argc
= PyObject_Length(args
);
43879 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
43880 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43886 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43896 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43905 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43908 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
43917 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43927 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43936 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43939 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
43948 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43956 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43959 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43962 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
43968 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
43973 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
43974 PyObject
*resultobj
;
43975 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43976 wxWindow
*arg2
= (wxWindow
*) 0 ;
43977 wxGBSizerItem
*result
;
43978 PyObject
* obj0
= 0 ;
43979 PyObject
* obj1
= 0 ;
43981 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
43982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43983 if (SWIG_arg_fail(1)) SWIG_fail
;
43984 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43985 if (SWIG_arg_fail(2)) SWIG_fail
;
43987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43988 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
43990 wxPyEndAllowThreads(__tstate
);
43991 if (PyErr_Occurred()) SWIG_fail
;
43993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
44000 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
44001 PyObject
*resultobj
;
44002 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44003 wxSizer
*arg2
= (wxSizer
*) 0 ;
44004 wxGBSizerItem
*result
;
44005 PyObject
* obj0
= 0 ;
44006 PyObject
* obj1
= 0 ;
44008 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
44009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44010 if (SWIG_arg_fail(1)) SWIG_fail
;
44011 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
44012 if (SWIG_arg_fail(2)) SWIG_fail
;
44014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44015 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
44017 wxPyEndAllowThreads(__tstate
);
44018 if (PyErr_Occurred()) SWIG_fail
;
44020 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
44027 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
44032 argc
= PyObject_Length(args
);
44033 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
44034 argv
[ii
] = PyTuple_GetItem(args
,ii
);
44040 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44050 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
44058 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
44066 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44076 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
44084 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
44089 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
44094 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44095 PyObject
*resultobj
;
44096 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44097 wxGBPosition
*arg2
= 0 ;
44098 wxGBSizerItem
*result
;
44099 wxGBPosition temp2
;
44100 PyObject
* obj0
= 0 ;
44101 PyObject
* obj1
= 0 ;
44102 char *kwnames
[] = {
44103 (char *) "self",(char *) "pos", NULL
44106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
44107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44108 if (SWIG_arg_fail(1)) SWIG_fail
;
44111 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
44114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44115 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
44117 wxPyEndAllowThreads(__tstate
);
44118 if (PyErr_Occurred()) SWIG_fail
;
44120 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
44127 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44128 PyObject
*resultobj
;
44129 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44130 wxPoint
*arg2
= 0 ;
44131 wxGBSizerItem
*result
;
44133 PyObject
* obj0
= 0 ;
44134 PyObject
* obj1
= 0 ;
44135 char *kwnames
[] = {
44136 (char *) "self",(char *) "pt", NULL
44139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
44140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44141 if (SWIG_arg_fail(1)) SWIG_fail
;
44144 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
44147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44148 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
44150 wxPyEndAllowThreads(__tstate
);
44151 if (PyErr_Occurred()) SWIG_fail
;
44153 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
44160 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44161 PyObject
*resultobj
;
44162 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44163 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
44164 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
44166 PyObject
* obj0
= 0 ;
44167 PyObject
* obj1
= 0 ;
44168 PyObject
* obj2
= 0 ;
44169 char *kwnames
[] = {
44170 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
44173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44175 if (SWIG_arg_fail(1)) SWIG_fail
;
44176 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44177 if (SWIG_arg_fail(2)) SWIG_fail
;
44179 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44180 if (SWIG_arg_fail(3)) SWIG_fail
;
44183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44184 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
44186 wxPyEndAllowThreads(__tstate
);
44187 if (PyErr_Occurred()) SWIG_fail
;
44190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44198 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44199 PyObject
*resultobj
;
44200 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44201 wxGBPosition
*arg2
= 0 ;
44202 wxGBSpan
*arg3
= 0 ;
44203 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
44205 wxGBPosition temp2
;
44207 PyObject
* obj0
= 0 ;
44208 PyObject
* obj1
= 0 ;
44209 PyObject
* obj2
= 0 ;
44210 PyObject
* obj3
= 0 ;
44211 char *kwnames
[] = {
44212 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
44215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44217 if (SWIG_arg_fail(1)) SWIG_fail
;
44220 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
44224 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
44227 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44228 if (SWIG_arg_fail(4)) SWIG_fail
;
44231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44232 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
44234 wxPyEndAllowThreads(__tstate
);
44235 if (PyErr_Occurred()) SWIG_fail
;
44238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44246 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
44248 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
44249 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
44251 return Py_BuildValue((char *)"");
44253 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44254 PyObject
*resultobj
;
44255 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44256 wxRelationship arg2
;
44257 wxWindow
*arg3
= (wxWindow
*) 0 ;
44259 int arg5
= (int) 0 ;
44260 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
44261 PyObject
* obj0
= 0 ;
44262 PyObject
* obj1
= 0 ;
44263 PyObject
* obj2
= 0 ;
44264 PyObject
* obj3
= 0 ;
44265 PyObject
* obj4
= 0 ;
44266 PyObject
* obj5
= 0 ;
44267 char *kwnames
[] = {
44268 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
44271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
44272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44273 if (SWIG_arg_fail(1)) SWIG_fail
;
44275 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
44276 if (SWIG_arg_fail(2)) SWIG_fail
;
44278 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44279 if (SWIG_arg_fail(3)) SWIG_fail
;
44281 arg4
= (wxEdge
)(SWIG_As_int(obj3
));
44282 if (SWIG_arg_fail(4)) SWIG_fail
;
44286 arg5
= (int)(SWIG_As_int(obj4
));
44287 if (SWIG_arg_fail(5)) SWIG_fail
;
44292 arg6
= (int)(SWIG_As_int(obj5
));
44293 if (SWIG_arg_fail(6)) SWIG_fail
;
44297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44298 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
44300 wxPyEndAllowThreads(__tstate
);
44301 if (PyErr_Occurred()) SWIG_fail
;
44303 Py_INCREF(Py_None
); resultobj
= Py_None
;
44310 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44311 PyObject
*resultobj
;
44312 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44313 wxWindow
*arg2
= (wxWindow
*) 0 ;
44314 int arg3
= (int) 0 ;
44315 PyObject
* obj0
= 0 ;
44316 PyObject
* obj1
= 0 ;
44317 PyObject
* obj2
= 0 ;
44318 char *kwnames
[] = {
44319 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44324 if (SWIG_arg_fail(1)) SWIG_fail
;
44325 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44326 if (SWIG_arg_fail(2)) SWIG_fail
;
44329 arg3
= (int)(SWIG_As_int(obj2
));
44330 if (SWIG_arg_fail(3)) SWIG_fail
;
44334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44335 (arg1
)->LeftOf(arg2
,arg3
);
44337 wxPyEndAllowThreads(__tstate
);
44338 if (PyErr_Occurred()) SWIG_fail
;
44340 Py_INCREF(Py_None
); resultobj
= Py_None
;
44347 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44348 PyObject
*resultobj
;
44349 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44350 wxWindow
*arg2
= (wxWindow
*) 0 ;
44351 int arg3
= (int) 0 ;
44352 PyObject
* obj0
= 0 ;
44353 PyObject
* obj1
= 0 ;
44354 PyObject
* obj2
= 0 ;
44355 char *kwnames
[] = {
44356 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44361 if (SWIG_arg_fail(1)) SWIG_fail
;
44362 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44363 if (SWIG_arg_fail(2)) SWIG_fail
;
44366 arg3
= (int)(SWIG_As_int(obj2
));
44367 if (SWIG_arg_fail(3)) SWIG_fail
;
44371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44372 (arg1
)->RightOf(arg2
,arg3
);
44374 wxPyEndAllowThreads(__tstate
);
44375 if (PyErr_Occurred()) SWIG_fail
;
44377 Py_INCREF(Py_None
); resultobj
= Py_None
;
44384 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44385 PyObject
*resultobj
;
44386 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44387 wxWindow
*arg2
= (wxWindow
*) 0 ;
44388 int arg3
= (int) 0 ;
44389 PyObject
* obj0
= 0 ;
44390 PyObject
* obj1
= 0 ;
44391 PyObject
* obj2
= 0 ;
44392 char *kwnames
[] = {
44393 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44398 if (SWIG_arg_fail(1)) SWIG_fail
;
44399 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44400 if (SWIG_arg_fail(2)) SWIG_fail
;
44403 arg3
= (int)(SWIG_As_int(obj2
));
44404 if (SWIG_arg_fail(3)) SWIG_fail
;
44408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44409 (arg1
)->Above(arg2
,arg3
);
44411 wxPyEndAllowThreads(__tstate
);
44412 if (PyErr_Occurred()) SWIG_fail
;
44414 Py_INCREF(Py_None
); resultobj
= Py_None
;
44421 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44422 PyObject
*resultobj
;
44423 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44424 wxWindow
*arg2
= (wxWindow
*) 0 ;
44425 int arg3
= (int) 0 ;
44426 PyObject
* obj0
= 0 ;
44427 PyObject
* obj1
= 0 ;
44428 PyObject
* obj2
= 0 ;
44429 char *kwnames
[] = {
44430 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44435 if (SWIG_arg_fail(1)) SWIG_fail
;
44436 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44437 if (SWIG_arg_fail(2)) SWIG_fail
;
44440 arg3
= (int)(SWIG_As_int(obj2
));
44441 if (SWIG_arg_fail(3)) SWIG_fail
;
44445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44446 (arg1
)->Below(arg2
,arg3
);
44448 wxPyEndAllowThreads(__tstate
);
44449 if (PyErr_Occurred()) SWIG_fail
;
44451 Py_INCREF(Py_None
); resultobj
= Py_None
;
44458 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44459 PyObject
*resultobj
;
44460 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44461 wxWindow
*arg2
= (wxWindow
*) 0 ;
44463 int arg4
= (int) 0 ;
44464 PyObject
* obj0
= 0 ;
44465 PyObject
* obj1
= 0 ;
44466 PyObject
* obj2
= 0 ;
44467 PyObject
* obj3
= 0 ;
44468 char *kwnames
[] = {
44469 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
44472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44474 if (SWIG_arg_fail(1)) SWIG_fail
;
44475 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44476 if (SWIG_arg_fail(2)) SWIG_fail
;
44478 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
44479 if (SWIG_arg_fail(3)) SWIG_fail
;
44483 arg4
= (int)(SWIG_As_int(obj3
));
44484 if (SWIG_arg_fail(4)) SWIG_fail
;
44488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44489 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
44491 wxPyEndAllowThreads(__tstate
);
44492 if (PyErr_Occurred()) SWIG_fail
;
44494 Py_INCREF(Py_None
); resultobj
= Py_None
;
44501 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44502 PyObject
*resultobj
;
44503 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44504 wxWindow
*arg2
= (wxWindow
*) 0 ;
44507 PyObject
* obj0
= 0 ;
44508 PyObject
* obj1
= 0 ;
44509 PyObject
* obj2
= 0 ;
44510 PyObject
* obj3
= 0 ;
44511 char *kwnames
[] = {
44512 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
44515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44517 if (SWIG_arg_fail(1)) SWIG_fail
;
44518 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44519 if (SWIG_arg_fail(2)) SWIG_fail
;
44521 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
44522 if (SWIG_arg_fail(3)) SWIG_fail
;
44525 arg4
= (int)(SWIG_As_int(obj3
));
44526 if (SWIG_arg_fail(4)) SWIG_fail
;
44529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44530 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
44532 wxPyEndAllowThreads(__tstate
);
44533 if (PyErr_Occurred()) SWIG_fail
;
44535 Py_INCREF(Py_None
); resultobj
= Py_None
;
44542 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44543 PyObject
*resultobj
;
44544 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44546 PyObject
* obj0
= 0 ;
44547 PyObject
* obj1
= 0 ;
44548 char *kwnames
[] = {
44549 (char *) "self",(char *) "val", NULL
44552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
44553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44554 if (SWIG_arg_fail(1)) SWIG_fail
;
44556 arg2
= (int)(SWIG_As_int(obj1
));
44557 if (SWIG_arg_fail(2)) SWIG_fail
;
44560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44561 (arg1
)->Absolute(arg2
);
44563 wxPyEndAllowThreads(__tstate
);
44564 if (PyErr_Occurred()) SWIG_fail
;
44566 Py_INCREF(Py_None
); resultobj
= Py_None
;
44573 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44574 PyObject
*resultobj
;
44575 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44576 PyObject
* obj0
= 0 ;
44577 char *kwnames
[] = {
44578 (char *) "self", NULL
44581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
44582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44583 if (SWIG_arg_fail(1)) SWIG_fail
;
44585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44586 (arg1
)->Unconstrained();
44588 wxPyEndAllowThreads(__tstate
);
44589 if (PyErr_Occurred()) SWIG_fail
;
44591 Py_INCREF(Py_None
); resultobj
= Py_None
;
44598 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44599 PyObject
*resultobj
;
44600 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44601 PyObject
* obj0
= 0 ;
44602 char *kwnames
[] = {
44603 (char *) "self", NULL
44606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
44607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44608 if (SWIG_arg_fail(1)) SWIG_fail
;
44610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44613 wxPyEndAllowThreads(__tstate
);
44614 if (PyErr_Occurred()) SWIG_fail
;
44616 Py_INCREF(Py_None
); resultobj
= Py_None
;
44623 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44624 PyObject
*resultobj
;
44625 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44627 PyObject
* obj0
= 0 ;
44628 char *kwnames
[] = {
44629 (char *) "self", NULL
44632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
44633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44634 if (SWIG_arg_fail(1)) SWIG_fail
;
44636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44637 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
44639 wxPyEndAllowThreads(__tstate
);
44640 if (PyErr_Occurred()) SWIG_fail
;
44643 resultobj
= wxPyMake_wxObject(result
, 0);
44651 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44652 PyObject
*resultobj
;
44653 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44655 PyObject
* obj0
= 0 ;
44656 char *kwnames
[] = {
44657 (char *) "self", NULL
44660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
44661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44662 if (SWIG_arg_fail(1)) SWIG_fail
;
44664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44665 result
= (wxEdge
)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
44667 wxPyEndAllowThreads(__tstate
);
44668 if (PyErr_Occurred()) SWIG_fail
;
44670 resultobj
= SWIG_From_int((result
));
44677 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44678 PyObject
*resultobj
;
44679 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44681 PyObject
* obj0
= 0 ;
44682 PyObject
* obj1
= 0 ;
44683 char *kwnames
[] = {
44684 (char *) "self",(char *) "which", NULL
44687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
44688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44689 if (SWIG_arg_fail(1)) SWIG_fail
;
44691 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
44692 if (SWIG_arg_fail(2)) SWIG_fail
;
44695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44696 (arg1
)->SetEdge((wxEdge
)arg2
);
44698 wxPyEndAllowThreads(__tstate
);
44699 if (PyErr_Occurred()) SWIG_fail
;
44701 Py_INCREF(Py_None
); resultobj
= Py_None
;
44708 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44709 PyObject
*resultobj
;
44710 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44712 PyObject
* obj0
= 0 ;
44713 PyObject
* obj1
= 0 ;
44714 char *kwnames
[] = {
44715 (char *) "self",(char *) "v", NULL
44718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
44719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44720 if (SWIG_arg_fail(1)) SWIG_fail
;
44722 arg2
= (int)(SWIG_As_int(obj1
));
44723 if (SWIG_arg_fail(2)) SWIG_fail
;
44726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44727 (arg1
)->SetValue(arg2
);
44729 wxPyEndAllowThreads(__tstate
);
44730 if (PyErr_Occurred()) SWIG_fail
;
44732 Py_INCREF(Py_None
); resultobj
= Py_None
;
44739 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44740 PyObject
*resultobj
;
44741 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44743 PyObject
* obj0
= 0 ;
44744 char *kwnames
[] = {
44745 (char *) "self", NULL
44748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
44749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44750 if (SWIG_arg_fail(1)) SWIG_fail
;
44752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44753 result
= (int)(arg1
)->GetMargin();
44755 wxPyEndAllowThreads(__tstate
);
44756 if (PyErr_Occurred()) SWIG_fail
;
44759 resultobj
= SWIG_From_int((int)(result
));
44767 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44768 PyObject
*resultobj
;
44769 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44771 PyObject
* obj0
= 0 ;
44772 PyObject
* obj1
= 0 ;
44773 char *kwnames
[] = {
44774 (char *) "self",(char *) "m", NULL
44777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
44778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44779 if (SWIG_arg_fail(1)) SWIG_fail
;
44781 arg2
= (int)(SWIG_As_int(obj1
));
44782 if (SWIG_arg_fail(2)) SWIG_fail
;
44785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44786 (arg1
)->SetMargin(arg2
);
44788 wxPyEndAllowThreads(__tstate
);
44789 if (PyErr_Occurred()) SWIG_fail
;
44791 Py_INCREF(Py_None
); resultobj
= Py_None
;
44798 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44799 PyObject
*resultobj
;
44800 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44802 PyObject
* obj0
= 0 ;
44803 char *kwnames
[] = {
44804 (char *) "self", NULL
44807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
44808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44809 if (SWIG_arg_fail(1)) SWIG_fail
;
44811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44812 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
44814 wxPyEndAllowThreads(__tstate
);
44815 if (PyErr_Occurred()) SWIG_fail
;
44818 resultobj
= SWIG_From_int((int)(result
));
44826 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44827 PyObject
*resultobj
;
44828 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44830 PyObject
* obj0
= 0 ;
44831 char *kwnames
[] = {
44832 (char *) "self", NULL
44835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
44836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44837 if (SWIG_arg_fail(1)) SWIG_fail
;
44839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44840 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
44842 wxPyEndAllowThreads(__tstate
);
44843 if (PyErr_Occurred()) SWIG_fail
;
44846 resultobj
= SWIG_From_int((int)(result
));
44854 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44855 PyObject
*resultobj
;
44856 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44858 PyObject
* obj0
= 0 ;
44859 char *kwnames
[] = {
44860 (char *) "self", NULL
44863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
44864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44865 if (SWIG_arg_fail(1)) SWIG_fail
;
44867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44868 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
44870 wxPyEndAllowThreads(__tstate
);
44871 if (PyErr_Occurred()) SWIG_fail
;
44874 resultobj
= SWIG_From_int((int)(result
));
44882 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44883 PyObject
*resultobj
;
44884 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44886 PyObject
* obj0
= 0 ;
44887 char *kwnames
[] = {
44888 (char *) "self", NULL
44891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
44892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44893 if (SWIG_arg_fail(1)) SWIG_fail
;
44895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44896 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
44898 wxPyEndAllowThreads(__tstate
);
44899 if (PyErr_Occurred()) SWIG_fail
;
44902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44910 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44911 PyObject
*resultobj
;
44912 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44914 PyObject
* obj0
= 0 ;
44915 PyObject
* obj1
= 0 ;
44916 char *kwnames
[] = {
44917 (char *) "self",(char *) "d", NULL
44920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
44921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44922 if (SWIG_arg_fail(1)) SWIG_fail
;
44924 arg2
= (bool)(SWIG_As_bool(obj1
));
44925 if (SWIG_arg_fail(2)) SWIG_fail
;
44928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44929 (arg1
)->SetDone(arg2
);
44931 wxPyEndAllowThreads(__tstate
);
44932 if (PyErr_Occurred()) SWIG_fail
;
44934 Py_INCREF(Py_None
); resultobj
= Py_None
;
44941 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44942 PyObject
*resultobj
;
44943 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44944 wxRelationship result
;
44945 PyObject
* obj0
= 0 ;
44946 char *kwnames
[] = {
44947 (char *) "self", NULL
44950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
44951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44952 if (SWIG_arg_fail(1)) SWIG_fail
;
44954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44955 result
= (wxRelationship
)(arg1
)->GetRelationship();
44957 wxPyEndAllowThreads(__tstate
);
44958 if (PyErr_Occurred()) SWIG_fail
;
44960 resultobj
= SWIG_From_int((result
));
44967 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44968 PyObject
*resultobj
;
44969 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44970 wxRelationship arg2
;
44971 PyObject
* obj0
= 0 ;
44972 PyObject
* obj1
= 0 ;
44973 char *kwnames
[] = {
44974 (char *) "self",(char *) "r", NULL
44977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
44978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44979 if (SWIG_arg_fail(1)) SWIG_fail
;
44981 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
44982 if (SWIG_arg_fail(2)) SWIG_fail
;
44985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44986 (arg1
)->SetRelationship((wxRelationship
)arg2
);
44988 wxPyEndAllowThreads(__tstate
);
44989 if (PyErr_Occurred()) SWIG_fail
;
44991 Py_INCREF(Py_None
); resultobj
= Py_None
;
44998 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44999 PyObject
*resultobj
;
45000 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45001 wxWindow
*arg2
= (wxWindow
*) 0 ;
45003 PyObject
* obj0
= 0 ;
45004 PyObject
* obj1
= 0 ;
45005 char *kwnames
[] = {
45006 (char *) "self",(char *) "otherW", NULL
45009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
45010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45011 if (SWIG_arg_fail(1)) SWIG_fail
;
45012 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45013 if (SWIG_arg_fail(2)) SWIG_fail
;
45015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45016 result
= (bool)(arg1
)->ResetIfWin(arg2
);
45018 wxPyEndAllowThreads(__tstate
);
45019 if (PyErr_Occurred()) SWIG_fail
;
45022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45030 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45031 PyObject
*resultobj
;
45032 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45033 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
45034 wxWindow
*arg3
= (wxWindow
*) 0 ;
45036 PyObject
* obj0
= 0 ;
45037 PyObject
* obj1
= 0 ;
45038 PyObject
* obj2
= 0 ;
45039 char *kwnames
[] = {
45040 (char *) "self",(char *) "constraints",(char *) "win", NULL
45043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
45044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45045 if (SWIG_arg_fail(1)) SWIG_fail
;
45046 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45047 if (SWIG_arg_fail(2)) SWIG_fail
;
45048 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45049 if (SWIG_arg_fail(3)) SWIG_fail
;
45051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45052 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
45054 wxPyEndAllowThreads(__tstate
);
45055 if (PyErr_Occurred()) SWIG_fail
;
45058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45066 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45067 PyObject
*resultobj
;
45068 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45070 wxWindow
*arg3
= (wxWindow
*) 0 ;
45071 wxWindow
*arg4
= (wxWindow
*) 0 ;
45073 PyObject
* obj0
= 0 ;
45074 PyObject
* obj1
= 0 ;
45075 PyObject
* obj2
= 0 ;
45076 PyObject
* obj3
= 0 ;
45077 char *kwnames
[] = {
45078 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
45081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
45082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45083 if (SWIG_arg_fail(1)) SWIG_fail
;
45085 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
45086 if (SWIG_arg_fail(2)) SWIG_fail
;
45088 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45089 if (SWIG_arg_fail(3)) SWIG_fail
;
45090 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45091 if (SWIG_arg_fail(4)) SWIG_fail
;
45093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45094 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
45096 wxPyEndAllowThreads(__tstate
);
45097 if (PyErr_Occurred()) SWIG_fail
;
45100 resultobj
= SWIG_From_int((int)(result
));
45108 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
45110 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
45111 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
45113 return Py_BuildValue((char *)"");
45115 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45116 PyObject
*resultobj
;
45117 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45118 wxIndividualLayoutConstraint
*result
;
45119 PyObject
* obj0
= 0 ;
45120 char *kwnames
[] = {
45121 (char *) "self", NULL
45124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
45125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45126 if (SWIG_arg_fail(1)) SWIG_fail
;
45127 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
45129 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45136 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45137 PyObject
*resultobj
;
45138 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45139 wxIndividualLayoutConstraint
*result
;
45140 PyObject
* obj0
= 0 ;
45141 char *kwnames
[] = {
45142 (char *) "self", NULL
45145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
45146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45147 if (SWIG_arg_fail(1)) SWIG_fail
;
45148 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
45150 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45157 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45158 PyObject
*resultobj
;
45159 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45160 wxIndividualLayoutConstraint
*result
;
45161 PyObject
* obj0
= 0 ;
45162 char *kwnames
[] = {
45163 (char *) "self", NULL
45166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
45167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45168 if (SWIG_arg_fail(1)) SWIG_fail
;
45169 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
45171 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45178 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45179 PyObject
*resultobj
;
45180 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45181 wxIndividualLayoutConstraint
*result
;
45182 PyObject
* obj0
= 0 ;
45183 char *kwnames
[] = {
45184 (char *) "self", NULL
45187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
45188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45189 if (SWIG_arg_fail(1)) SWIG_fail
;
45190 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
45192 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45199 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45200 PyObject
*resultobj
;
45201 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45202 wxIndividualLayoutConstraint
*result
;
45203 PyObject
* obj0
= 0 ;
45204 char *kwnames
[] = {
45205 (char *) "self", NULL
45208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
45209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45210 if (SWIG_arg_fail(1)) SWIG_fail
;
45211 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
45213 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45220 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45221 PyObject
*resultobj
;
45222 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45223 wxIndividualLayoutConstraint
*result
;
45224 PyObject
* obj0
= 0 ;
45225 char *kwnames
[] = {
45226 (char *) "self", NULL
45229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
45230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45231 if (SWIG_arg_fail(1)) SWIG_fail
;
45232 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
45234 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45241 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45242 PyObject
*resultobj
;
45243 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45244 wxIndividualLayoutConstraint
*result
;
45245 PyObject
* obj0
= 0 ;
45246 char *kwnames
[] = {
45247 (char *) "self", NULL
45250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
45251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45252 if (SWIG_arg_fail(1)) SWIG_fail
;
45253 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
45255 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45262 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45263 PyObject
*resultobj
;
45264 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45265 wxIndividualLayoutConstraint
*result
;
45266 PyObject
* obj0
= 0 ;
45267 char *kwnames
[] = {
45268 (char *) "self", NULL
45271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
45272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45273 if (SWIG_arg_fail(1)) SWIG_fail
;
45274 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
45276 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45283 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45284 PyObject
*resultobj
;
45285 wxLayoutConstraints
*result
;
45286 char *kwnames
[] = {
45290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
45292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45293 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
45295 wxPyEndAllowThreads(__tstate
);
45296 if (PyErr_Occurred()) SWIG_fail
;
45298 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
45305 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45306 PyObject
*resultobj
;
45307 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45308 wxWindow
*arg2
= (wxWindow
*) 0 ;
45309 int *arg3
= (int *) 0 ;
45313 PyObject
* obj0
= 0 ;
45314 PyObject
* obj1
= 0 ;
45315 char *kwnames
[] = {
45316 (char *) "self",(char *) "win", NULL
45319 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
45320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
45321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45322 if (SWIG_arg_fail(1)) SWIG_fail
;
45323 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45324 if (SWIG_arg_fail(2)) SWIG_fail
;
45326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45327 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
45329 wxPyEndAllowThreads(__tstate
);
45330 if (PyErr_Occurred()) SWIG_fail
;
45333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45335 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
45336 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
45343 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45344 PyObject
*resultobj
;
45345 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45347 PyObject
* obj0
= 0 ;
45348 char *kwnames
[] = {
45349 (char *) "self", NULL
45352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
45353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45354 if (SWIG_arg_fail(1)) SWIG_fail
;
45356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45357 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
45359 wxPyEndAllowThreads(__tstate
);
45360 if (PyErr_Occurred()) SWIG_fail
;
45363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45371 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
45373 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
45374 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
45376 return Py_BuildValue((char *)"");
45378 static PyMethodDef SwigMethods
[] = {
45379 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
45380 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
45381 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45382 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45383 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
45384 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45385 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45386 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45387 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45388 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45389 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45390 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45391 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45392 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45393 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45394 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45395 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45396 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45397 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45398 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45399 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45400 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45401 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45402 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45403 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45404 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
45405 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45406 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45407 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45408 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45409 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45410 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45411 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45412 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45413 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45414 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45415 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45416 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45417 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
45418 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45419 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45420 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45421 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45422 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45423 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45424 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45425 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45426 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45427 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45428 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45429 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45430 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45431 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45432 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
45433 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45434 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45435 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45436 { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45437 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45438 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45439 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45440 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45441 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45442 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45443 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45444 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45445 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45446 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45447 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45448 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45449 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45450 { (char *)"Rect_IsEmpty", (PyCFunction
) _wrap_Rect_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45451 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45452 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45453 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45454 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45455 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45456 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45457 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45458 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45459 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45460 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45461 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45462 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45463 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45464 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45465 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45466 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45467 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45468 { (char *)"Rect_Union", (PyCFunction
) _wrap_Rect_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45469 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45470 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45471 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45472 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45473 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45474 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45475 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45476 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45477 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45478 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45479 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45480 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45481 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45482 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45483 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45484 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45485 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45486 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
45487 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45488 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45489 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45490 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45491 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45492 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45493 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45494 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45495 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45496 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45497 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45498 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45499 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45500 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45501 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45502 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45503 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45504 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45505 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45506 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45507 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45508 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45509 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45510 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45511 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45512 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45513 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45514 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
45515 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45516 { (char *)"delete_InputStream", (PyCFunction
) _wrap_delete_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45517 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45518 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45519 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45520 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45521 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45522 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45523 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45524 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45525 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45526 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45527 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45528 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45529 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45530 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45531 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45532 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45533 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
45534 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45535 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
45536 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45537 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45538 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45539 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45540 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45541 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45542 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45543 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
45544 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
45545 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45546 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45547 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45548 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45549 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45550 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45551 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45552 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45553 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45554 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45555 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45556 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
45557 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45558 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45559 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45560 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45561 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45562 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45563 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45564 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45565 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45566 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45567 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45568 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
45569 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45570 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45571 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45572 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
45573 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45574 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45575 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45576 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45577 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45578 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
45579 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45580 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45581 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45582 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45583 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45584 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45585 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45586 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45587 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45588 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
45589 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45590 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45591 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45592 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45593 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45594 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45595 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45596 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45597 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45598 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
45599 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45600 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45601 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45602 { (char *)"ImageHistogram_GetCount", (PyCFunction
) _wrap_ImageHistogram_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45603 { (char *)"ImageHistogram_GetCountRGB", (PyCFunction
) _wrap_ImageHistogram_GetCountRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45604 { (char *)"ImageHistogram_GetCountColour", (PyCFunction
) _wrap_ImageHistogram_GetCountColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45605 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
45606 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45607 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45608 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45609 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45610 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45611 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45612 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45613 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45614 { (char *)"new_ImageFromDataWithAlpha", (PyCFunction
) _wrap_new_ImageFromDataWithAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45615 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45616 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45617 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45618 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45619 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45620 { (char *)"Image_Resize", (PyCFunction
) _wrap_Image_Resize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45621 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45622 { (char *)"Image_SetRGBRect", (PyCFunction
) _wrap_Image_SetRGBRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45623 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45624 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45625 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45626 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45627 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45628 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45629 { (char *)"Image_InitAlpha", (PyCFunction
) _wrap_Image_InitAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45630 { (char *)"Image_IsTransparent", (PyCFunction
) _wrap_Image_IsTransparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45631 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45632 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45633 { (char *)"Image_ConvertColourToAlpha", (PyCFunction
) _wrap_Image_ConvertColourToAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45634 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45635 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45636 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45637 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45638 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45639 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45640 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45641 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45642 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45643 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45644 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45645 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45646 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45647 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45648 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45649 { (char *)"Image_Size", (PyCFunction
) _wrap_Image_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45650 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45651 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45652 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45653 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45654 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45655 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45656 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45657 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45658 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45659 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45660 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45661 { (char *)"Image_GetOrFindMaskColour", (PyCFunction
) _wrap_Image_GetOrFindMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45662 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45663 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45664 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45665 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45666 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45667 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45668 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45669 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45670 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45671 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45672 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45673 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45674 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45675 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45676 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45677 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45678 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45679 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45680 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45681 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45682 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45683 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45684 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45685 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
45686 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45687 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
45688 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45689 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
45690 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45691 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
45692 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45693 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
45694 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45695 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
45696 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45697 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
45698 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45699 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
45700 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45701 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
45702 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45703 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
45704 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45705 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
45706 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45707 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
45708 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45709 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
45710 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45711 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45712 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45713 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45714 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45715 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45716 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45717 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45718 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45719 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45720 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45721 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45722 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45723 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
45724 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45725 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45726 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45727 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45728 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45729 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45730 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45731 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45732 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45733 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45734 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45735 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45736 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45737 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45738 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45739 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45740 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45741 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
45742 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45743 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45744 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
45745 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45746 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45747 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
45748 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45749 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45750 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45751 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45752 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45753 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45754 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45755 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45756 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45757 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45758 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45759 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
45760 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45761 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45762 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45763 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45764 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
45765 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45766 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45767 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45768 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45769 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45770 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
45771 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45772 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45773 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45774 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45775 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45776 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
45777 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45778 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45779 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45780 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45781 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45782 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45783 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45784 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45785 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45786 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45787 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45788 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45789 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45790 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45791 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45792 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45793 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45794 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45795 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45796 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45797 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45798 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45799 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45800 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45801 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45802 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45803 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45804 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45805 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45806 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45807 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45808 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45809 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45810 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45811 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45812 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45813 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45814 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45815 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45816 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45817 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45818 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45819 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45820 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45821 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45822 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45823 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45824 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45825 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45826 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45827 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45828 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45829 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45830 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45831 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45832 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45833 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45834 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45835 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45836 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45837 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45838 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45839 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
45840 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45841 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45842 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45843 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45844 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45845 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45846 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
45847 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45848 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45849 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45850 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45851 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45852 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45853 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45854 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45855 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45856 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45857 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45858 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45859 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45860 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45861 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45862 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45863 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45864 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45865 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45866 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45867 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45868 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45869 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45870 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45871 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45872 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45873 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45874 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45875 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45876 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45877 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45878 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45879 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45880 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45881 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45882 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
45883 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45884 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45885 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45886 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45887 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45888 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45889 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45890 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45891 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45892 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
45893 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45894 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45895 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45896 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45897 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45898 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
45899 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45900 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
45901 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45902 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
45903 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45904 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45905 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
45906 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45907 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45908 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45909 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
45910 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45911 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45912 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
45913 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45914 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45915 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
45916 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45917 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
45918 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45919 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45920 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45921 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45922 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
45923 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45924 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45925 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45926 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45927 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45928 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45929 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45930 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
45931 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45932 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45933 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45934 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
45935 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45936 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45937 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
45938 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45939 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
45940 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45941 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45942 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45943 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
45944 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45945 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45946 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45947 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45948 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45949 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45950 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45951 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45952 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45953 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45954 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45955 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45956 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45957 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45958 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45959 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45960 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
45961 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45962 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45963 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45964 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45965 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45966 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45967 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45968 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45969 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45970 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45971 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45972 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45973 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45974 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45975 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
45976 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45977 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45978 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45979 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45980 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45981 { (char *)"NavigationKeyEvent_IsFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_IsFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45982 { (char *)"NavigationKeyEvent_SetFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_SetFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45983 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45984 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45985 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45986 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
45987 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45988 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45989 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
45990 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45991 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45992 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
45993 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45994 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45995 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45996 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
45997 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45998 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45999 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46000 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46001 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46002 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46003 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
46004 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46005 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46006 { (char *)"PyEvent__SetSelf", (PyCFunction
) _wrap_PyEvent__SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46007 { (char *)"PyEvent__GetSelf", (PyCFunction
) _wrap_PyEvent__GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46008 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
46009 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46010 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46011 { (char *)"PyCommandEvent__SetSelf", (PyCFunction
) _wrap_PyCommandEvent__SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46012 { (char *)"PyCommandEvent__GetSelf", (PyCFunction
) _wrap_PyCommandEvent__GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46013 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
46014 { (char *)"new_DateEvent", (PyCFunction
) _wrap_new_DateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46015 { (char *)"DateEvent_GetDate", (PyCFunction
) _wrap_DateEvent_GetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46016 { (char *)"DateEvent_SetDate", (PyCFunction
) _wrap_DateEvent_SetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46017 { (char *)"DateEvent_swigregister", DateEvent_swigregister
, METH_VARARGS
, NULL
},
46018 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46019 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46020 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46021 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46022 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46023 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46024 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46025 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46026 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46027 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46028 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46029 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46030 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46031 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
) _wrap_PyApp_IsMainLoopRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46032 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46033 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46034 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46035 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46036 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46037 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46038 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46039 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46040 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46041 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46042 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46043 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46044 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46045 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46046 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46047 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46048 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46049 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46050 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46051 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46052 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46053 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46054 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46055 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46056 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46057 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46058 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46059 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46060 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46061 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46062 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
46063 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46064 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46065 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46066 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46067 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46068 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46069 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46070 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46071 { (char *)"SetDefaultPyEncoding", (PyCFunction
) _wrap_SetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46072 { (char *)"GetDefaultPyEncoding", (PyCFunction
) _wrap_GetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46073 { (char *)"new_EventLoop", (PyCFunction
) _wrap_new_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46074 { (char *)"delete_EventLoop", (PyCFunction
) _wrap_delete_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46075 { (char *)"EventLoop_Run", (PyCFunction
) _wrap_EventLoop_Run
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46076 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46077 { (char *)"EventLoop_Pending", (PyCFunction
) _wrap_EventLoop_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46078 { (char *)"EventLoop_Dispatch", (PyCFunction
) _wrap_EventLoop_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46079 { (char *)"EventLoop_IsRunning", (PyCFunction
) _wrap_EventLoop_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46080 { (char *)"EventLoop_GetActive", (PyCFunction
) _wrap_EventLoop_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46081 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46082 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
46083 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46084 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46085 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46086 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46087 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46088 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46089 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
46090 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46091 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46092 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46093 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
46094 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46095 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46096 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46097 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46098 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46099 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46100 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46101 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46102 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46103 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
46104 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46105 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46106 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46107 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46108 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46109 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46110 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46111 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46112 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46113 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46114 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46115 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46116 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46117 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46118 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46119 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46120 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46121 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46122 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46123 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46124 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46125 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46126 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46127 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46128 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46129 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46130 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46131 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46132 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46133 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46134 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46135 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46136 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46137 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46138 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46139 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46140 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46141 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46142 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46143 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46144 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46145 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46146 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46147 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46148 { (char *)"Window_CacheBestSize", (PyCFunction
) _wrap_Window_CacheBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46149 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46150 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46151 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46152 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46153 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46154 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46155 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46156 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46157 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46158 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46159 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46160 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46161 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46162 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46163 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46164 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46165 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46166 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46167 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46168 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46169 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46170 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46171 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46172 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46173 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46174 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46175 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46176 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46177 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46178 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46179 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46180 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46181 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46182 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46183 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46184 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46185 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46186 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46187 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46188 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46189 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46190 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46191 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46192 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46193 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46194 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46195 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46196 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46197 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46198 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46199 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46200 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46201 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46202 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46203 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46204 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46205 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46206 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46207 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46208 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46209 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46210 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46211 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46212 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46213 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46214 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46215 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46216 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46217 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46218 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46219 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46220 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46221 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46222 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46223 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46224 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46225 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46226 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46227 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46228 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46229 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46230 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46231 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46232 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46233 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46234 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46235 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46236 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46237 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46238 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46239 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46240 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46241 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46242 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46243 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46244 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46245 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46246 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46247 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46248 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46249 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46250 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46251 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46252 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46253 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46254 { (char *)"Window_InheritsBackgroundColour", (PyCFunction
) _wrap_Window_InheritsBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46255 { (char *)"Window_UseBgCol", (PyCFunction
) _wrap_Window_UseBgCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46256 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46257 { (char *)"Window_GetBackgroundStyle", (PyCFunction
) _wrap_Window_GetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46258 { (char *)"Window_HasTransparentBackground", (PyCFunction
) _wrap_Window_HasTransparentBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46259 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46260 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46261 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46262 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46263 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46264 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46265 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46266 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46267 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46268 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46269 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46270 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46271 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46272 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46273 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46274 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46275 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46276 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
46277 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46278 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46279 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46280 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46281 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46282 { (char *)"Window_DissociateHandle", (PyCFunction
) _wrap_Window_DissociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46283 { (char *)"Window_OnPaint", (PyCFunction
) _wrap_Window_OnPaint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46284 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46285 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46286 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46287 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46288 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46289 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46290 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46291 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46292 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46293 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46294 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46295 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46296 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46297 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46298 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46299 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46300 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46301 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46302 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46303 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46304 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46305 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46306 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46307 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46308 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46309 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46310 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46311 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46312 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46313 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46314 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46315 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46316 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46317 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46318 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
46319 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46320 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46321 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46322 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46323 { (char *)"GetTopLevelWindows", (PyCFunction
) _wrap_GetTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46324 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46325 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46326 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46327 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46328 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46329 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46330 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46331 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46332 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46333 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
46334 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46335 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46336 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
46337 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46338 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46339 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46340 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46341 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46342 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46343 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46344 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46345 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46346 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46347 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46348 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46349 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46350 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46351 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46352 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46353 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46354 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46355 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46356 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46357 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46358 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46359 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46360 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46361 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46362 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46363 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46364 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46365 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46366 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46367 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46368 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46369 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46370 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46371 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46372 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46373 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46374 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46375 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46376 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46377 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46378 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46379 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46380 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46381 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46382 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46383 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46384 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46385 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46386 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46387 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46388 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46389 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46390 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46391 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
46392 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46393 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46394 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46395 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46396 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46397 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46398 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46399 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46400 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46401 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46402 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46403 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46404 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46405 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46406 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46407 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46408 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46409 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46410 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46411 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46412 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46413 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46414 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46415 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46416 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46417 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46418 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
46419 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46420 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46421 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46422 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46423 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46424 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46425 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46426 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46427 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46428 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46429 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46430 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46431 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46432 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46433 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46434 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46435 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46436 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46437 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46438 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46439 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46440 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46441 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46442 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46443 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46444 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46445 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46446 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46447 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46448 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46449 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46450 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46451 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46452 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46453 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46454 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46455 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46456 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46457 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46458 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46459 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46460 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46461 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46462 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
46463 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46464 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46465 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46466 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46467 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46468 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46469 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46470 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
46471 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46472 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46473 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46474 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46475 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46476 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46477 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46478 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46479 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46480 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46481 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46482 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46483 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46484 { (char *)"ItemContainer_SetSelection", (PyCFunction
) _wrap_ItemContainer_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46485 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46486 { (char *)"ItemContainer_SetStringSelection", (PyCFunction
) _wrap_ItemContainer_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46487 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46488 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46489 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
46490 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
46491 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46492 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46493 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46494 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46495 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46496 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46497 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46498 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46499 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46500 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46501 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46502 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46503 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46504 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46505 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46506 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46507 { (char *)"SizerItem_GetRect", (PyCFunction
) _wrap_SizerItem_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46508 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46509 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46510 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46511 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46512 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46513 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46514 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46515 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46516 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46517 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46518 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46519 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46520 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46521 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46522 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46523 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46524 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46525 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46526 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46527 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
46528 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46529 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46530 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46531 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46532 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46533 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46534 { (char *)"Sizer_GetItem", (PyCFunction
) _wrap_Sizer_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46535 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46536 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46537 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46538 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46539 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46540 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46541 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46542 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46543 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46544 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46545 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46546 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46547 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46548 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46549 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46550 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46551 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46552 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46553 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46554 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46555 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46556 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46557 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
46558 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46559 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46560 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
46561 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46562 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46563 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46564 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
46565 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46566 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46567 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
46568 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46569 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46570 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46571 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46572 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46573 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46574 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46575 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46576 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46577 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
46578 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46579 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46580 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46581 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46582 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46583 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46584 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46585 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46586 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46587 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46588 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46589 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
46590 { (char *)"new_StdDialogButtonSizer", (PyCFunction
) _wrap_new_StdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46591 { (char *)"StdDialogButtonSizer_AddButton", (PyCFunction
) _wrap_StdDialogButtonSizer_AddButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46592 { (char *)"StdDialogButtonSizer_Realize", (PyCFunction
) _wrap_StdDialogButtonSizer_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46593 { (char *)"StdDialogButtonSizer_SetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46594 { (char *)"StdDialogButtonSizer_SetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46595 { (char *)"StdDialogButtonSizer_SetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46596 { (char *)"StdDialogButtonSizer_GetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46597 { (char *)"StdDialogButtonSizer_GetApplyButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetApplyButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46598 { (char *)"StdDialogButtonSizer_GetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46599 { (char *)"StdDialogButtonSizer_GetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46600 { (char *)"StdDialogButtonSizer_GetHelpButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46601 { (char *)"StdDialogButtonSizer_swigregister", StdDialogButtonSizer_swigregister
, METH_VARARGS
, NULL
},
46602 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46603 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46604 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46605 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46606 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46607 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46608 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46609 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46610 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46611 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
46612 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46613 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46614 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46615 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46616 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46617 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46618 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46619 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46620 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46621 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
46622 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46623 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46624 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46625 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46626 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46627 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46628 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46629 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46630 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46631 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46632 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46633 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46634 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46635 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
46636 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46637 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46638 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46639 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46640 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46641 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46642 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
46643 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
46644 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
46645 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
46646 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
46647 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46648 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46649 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46650 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46651 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
46652 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46653 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46654 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46655 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46656 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46657 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46658 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46659 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46660 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46661 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46662 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46663 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46664 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46665 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46666 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46667 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46668 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46669 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46670 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46671 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46672 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46673 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46674 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46675 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46676 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46677 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46678 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
46679 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46680 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46681 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46682 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46683 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46684 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46685 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46686 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46687 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46688 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46689 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46690 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
46691 { NULL
, NULL
, 0, NULL
}
46695 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
46697 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
46698 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
46700 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
46701 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
46703 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
46704 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46706 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
46707 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46709 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
46710 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46712 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
46713 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
46715 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
46716 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46718 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
46719 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
46721 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
46722 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46724 static void *_p_wxStdDialogButtonSizerTo_p_wxBoxSizer(void *x
) {
46725 return (void *)((wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46727 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
46728 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46730 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
46731 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
46733 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
46734 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
46736 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
46737 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
46739 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
46740 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
46742 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
46743 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
46745 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
46746 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
46748 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
46749 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
46751 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
46752 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
46754 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
46755 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46757 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
46758 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
46760 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
46761 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46763 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
46764 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46766 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
46767 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
46769 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
46770 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
46772 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
46773 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
46775 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
46776 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
46778 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
46779 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
46781 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
46782 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
46784 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
46785 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
46787 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
46788 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
46790 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
46791 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46793 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
46794 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46796 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
46797 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46799 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
46800 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46802 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
46803 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46805 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
46806 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
46808 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
46809 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
46811 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
46812 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46814 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
46815 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
46817 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
46818 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
46820 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
46821 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46823 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
46824 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46826 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
46827 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46829 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
46830 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
46832 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
46833 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
46835 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
46836 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46838 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
46839 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46841 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
46842 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46844 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
46845 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
46847 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
46848 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
46850 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
46851 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
46853 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
46854 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
46856 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
46857 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46859 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
46860 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
46862 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
46863 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
46865 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
46866 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
46868 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
46869 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
46871 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
46872 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
46874 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
46875 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
46877 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
46878 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
46880 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
46881 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
46883 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
46884 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
46886 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
46887 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
46889 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
46890 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46892 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
46893 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
46895 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
46896 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
46898 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
46899 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46901 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
46902 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46904 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
46905 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
46907 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
46908 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
46910 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
46911 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
46913 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
46914 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
46916 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
46917 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
46919 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
46920 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
46922 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
46923 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
46925 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
46926 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
46928 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46929 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
46931 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46932 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
46934 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46935 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
46937 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
46938 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
46940 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
46941 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
46943 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
46944 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
46946 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
46947 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
46949 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
46950 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
46952 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
46953 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46955 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
46956 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
46958 static void *_p_wxSizerTo_p_wxObject(void *x
) {
46959 return (void *)((wxObject
*) ((wxSizer
*) x
));
46961 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
46962 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46964 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
46965 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46967 static void *_p_wxEventTo_p_wxObject(void *x
) {
46968 return (void *)((wxObject
*) ((wxEvent
*) x
));
46970 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
46971 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46973 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
46974 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
46976 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
46977 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
46979 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
46980 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
46982 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
46983 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
46985 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
46986 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46988 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
46989 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46991 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
46992 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46994 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
46995 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46997 static void *_p_wxControlTo_p_wxObject(void *x
) {
46998 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
47000 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
47001 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
47003 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
47004 return (void *)((wxObject
*) ((wxFSFile
*) x
));
47006 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
47007 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
47009 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
47010 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
47012 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
47013 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47015 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
47016 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
47018 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
47019 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
47021 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
47022 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
47024 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
47025 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
47027 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
47028 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47030 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
47031 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
47033 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
47034 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
47036 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
47037 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
47039 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
47040 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
47042 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
47043 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
47045 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
47046 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
47048 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
47049 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
47051 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
47052 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
47054 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
47055 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
47057 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
47058 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
47060 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
47061 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
47063 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
47064 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
47066 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
47067 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
47069 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
47070 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
47072 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
47073 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
47075 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
47076 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
47078 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
47079 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
47081 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
47082 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
47084 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
47085 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
47087 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
47088 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
47090 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
47091 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
47093 static void *_p_wxImageTo_p_wxObject(void *x
) {
47094 return (void *)((wxObject
*) ((wxImage
*) x
));
47096 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
47097 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
47099 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
47100 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47102 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
47103 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
47105 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
47106 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
47108 static void *_p_wxWindowTo_p_wxObject(void *x
) {
47109 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
47111 static void *_p_wxMenuTo_p_wxObject(void *x
) {
47112 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
47114 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
47115 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
47117 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
47118 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
47120 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
47121 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47123 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
47124 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
47126 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
47127 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
47129 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
47130 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
47132 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
47133 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
47135 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
47136 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
47138 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
47139 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47141 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
47142 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
47144 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
47145 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
47147 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
47148 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
47150 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
47151 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47153 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
47154 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
47156 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
47157 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
47159 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
47160 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
47162 static void *_p_wxControlTo_p_wxWindow(void *x
) {
47163 return (void *)((wxWindow
*) ((wxControl
*) x
));
47165 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
47166 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
47168 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
47169 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
47171 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
47172 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47174 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
47175 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
47177 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
47178 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47180 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
47181 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
47183 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
47184 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47186 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
47187 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47189 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
47190 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47192 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
47193 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47195 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
47196 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47198 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
47199 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
47201 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}};
47202 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}};
47203 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}};
47204 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}};
47205 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}};
47206 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}};
47207 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}};
47208 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}};
47209 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}};
47210 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}};
47211 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}};
47212 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}};
47213 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}};
47214 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}};
47215 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}};
47216 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}};
47217 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}};
47218 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}};
47219 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}};
47220 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}};
47221 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}};
47222 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}};
47223 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}};
47224 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}};
47225 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}};
47226 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}};
47227 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}};
47228 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}};
47229 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}};
47230 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}};
47231 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}};
47232 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}};
47233 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}};
47234 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}};
47235 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}};
47236 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}};
47237 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}};
47238 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}};
47239 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}};
47240 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}};
47241 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}};
47242 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}};
47243 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}};
47244 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}};
47245 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}};
47246 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}};
47247 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}};
47248 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}};
47249 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}};
47250 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}};
47251 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}};
47252 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}};
47253 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}};
47254 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}};
47255 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}};
47256 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}};
47257 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}};
47258 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}};
47259 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}};
47260 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}};
47261 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}};
47262 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}};
47263 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}};
47264 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}};
47265 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}};
47266 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}};
47267 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}};
47268 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}};
47269 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}};
47270 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}};
47271 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}};
47272 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}};
47273 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}};
47274 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}};
47275 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}};
47276 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}};
47277 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}};
47278 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}};
47279 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}};
47280 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}};
47281 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}};
47282 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}};
47283 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}};
47284 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}};
47285 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}};
47286 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}};
47287 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}};
47288 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}};
47289 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}};
47290 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}};
47291 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}};
47292 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}};
47293 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}};
47294 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}};
47295 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}};
47296 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}};
47297 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}};
47298 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}};
47299 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}};
47300 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}};
47301 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}};
47302 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}};
47303 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}};
47304 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}};
47305 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}};
47306 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}};
47307 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}};
47308 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}};
47309 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}};
47310 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}};
47311 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}};
47312 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}};
47313 static swig_type_info _swigt__p_unsigned_char
[] = {{"_p_unsigned_char", 0, "unsigned char *|byte *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47314 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}};
47315 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}};
47316 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}};
47317 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}};
47318 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}};
47319 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}};
47320 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}};
47321 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}};
47322 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}};
47323 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}};
47324 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}};
47325 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}};
47326 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}};
47327 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}};
47328 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}};
47330 static swig_type_info
*swig_types_initial
[] = {
47331 _swigt__p_wxLayoutConstraints
,
47332 _swigt__p_wxRealPoint
,
47333 _swigt__p_wxSizerItem
,
47334 _swigt__p_wxGBSizerItem
,
47335 _swigt__p_wxScrollEvent
,
47336 _swigt__p_wxEventLoop
,
47337 _swigt__p_wxIndividualLayoutConstraint
,
47339 _swigt__p_wxBoxSizer
,
47340 _swigt__p_wxStaticBoxSizer
,
47341 _swigt__p_wxGridBagSizer
,
47342 _swigt__p_wxAcceleratorEntry
,
47343 _swigt__p_wxUpdateUIEvent
,
47347 _swigt__p_wxGridSizer
,
47348 _swigt__p_wxFlexGridSizer
,
47349 _swigt__p_wxInitDialogEvent
,
47350 _swigt__p_wxItemContainer
,
47351 _swigt__p_wxNcPaintEvent
,
47352 _swigt__p_wxPaintEvent
,
47353 _swigt__p_wxSysColourChangedEvent
,
47354 _swigt__p_wxMouseCaptureChangedEvent
,
47355 _swigt__p_wxDisplayChangedEvent
,
47356 _swigt__p_wxPaletteChangedEvent
,
47357 _swigt__p_wxControl
,
47359 _swigt__p_wxMenuBarBase
,
47360 _swigt__p_wxSetCursorEvent
,
47361 _swigt__p_wxFSFile
,
47364 _swigt__std__ptrdiff_t
,
47365 _swigt__p_wxRegion
,
47366 _swigt__p_wxPoint2D
,
47370 _swigt__p_wxPySizer
,
47371 _swigt__p_wxVisualAttributes
,
47372 _swigt__p_wxNotifyEvent
,
47373 _swigt__p_wxPyEvent
,
47374 _swigt__p_wxPropagationDisabler
,
47375 _swigt__p_form_ops_t
,
47376 _swigt__p_wxAppTraits
,
47377 _swigt__p_wxArrayString
,
47378 _swigt__p_wxShowEvent
,
47379 _swigt__p_wxToolTip
,
47380 _swigt__p_wxMoveEvent
,
47381 _swigt__p_wxSizeEvent
,
47382 _swigt__p_wxActivateEvent
,
47383 _swigt__p_wxIconizeEvent
,
47384 _swigt__p_wxMaximizeEvent
,
47385 _swigt__p_wxQueryNewPaletteEvent
,
47386 _swigt__p_wxWindowCreateEvent
,
47387 _swigt__p_wxIdleEvent
,
47388 _swigt__p_wxDateEvent
,
47389 _swigt__p_wxMenuItem
,
47390 _swigt__p_wxStaticBox
,
47392 _swigt__p_wxDuplexMode
,
47393 _swigt__p_wxTIFFHandler
,
47394 _swigt__p_wxXPMHandler
,
47395 _swigt__p_wxPNMHandler
,
47396 _swigt__p_wxJPEGHandler
,
47397 _swigt__p_wxPCXHandler
,
47398 _swigt__p_wxGIFHandler
,
47399 _swigt__p_wxPNGHandler
,
47400 _swigt__p_wxANIHandler
,
47401 _swigt__p_wxMemoryFSHandler
,
47402 _swigt__p_wxZipFSHandler
,
47403 _swigt__p_wxInternetFSHandler
,
47404 _swigt__p_wxPyFileSystemHandler
,
47405 _swigt__p_wxEvtHandler
,
47406 _swigt__p_wxCURHandler
,
47407 _swigt__p_wxICOHandler
,
47408 _swigt__p_wxBMPHandler
,
47409 _swigt__p_wxImageHandler
,
47410 _swigt__p_wxFileSystemHandler
,
47412 _swigt__p_wxButton
,
47413 _swigt__p_wxGBSpan
,
47414 _swigt__p_wxPropagateOnce
,
47415 _swigt__p_wxAcceleratorTable
,
47416 _swigt__p_wxStdDialogButtonSizer
,
47418 _swigt__p_wxGBPosition
,
47421 _swigt__p_wxScrollWinEvent
,
47422 _swigt__p_wxPaperSize
,
47423 _swigt__p_wxImageHistogram
,
47425 _swigt__p_wxCursor
,
47426 _swigt__p_wxObject
,
47427 _swigt__p_wxInputStream
,
47428 _swigt__p_wxOutputStream
,
47429 _swigt__p_wxPyInputStream
,
47430 _swigt__p_wxDateTime
,
47431 _swigt__p_wxKeyEvent
,
47432 _swigt__p_wxNavigationKeyEvent
,
47433 _swigt__p_wxWindowDestroyEvent
,
47434 _swigt__p_unsigned_long
,
47435 _swigt__p_wxWindow
,
47436 _swigt__p_wxMenuBar
,
47437 _swigt__p_wxFileSystem
,
47438 _swigt__p_wxBitmap
,
47439 _swigt__unsigned_int
,
47440 _swigt__p_unsigned_int
,
47441 _swigt__p_wxMenuEvent
,
47442 _swigt__p_wxContextMenuEvent
,
47443 _swigt__p_unsigned_char
,
47444 _swigt__p_wxEraseEvent
,
47445 _swigt__p_wxMouseEvent
,
47446 _swigt__p_wxCloseEvent
,
47448 _swigt__p_wxCommandEvent
,
47449 _swigt__p_wxPyCommandEvent
,
47450 _swigt__p_wxPyDropTarget
,
47451 _swigt__p_wxQuantize
,
47452 _swigt__p_wxFocusEvent
,
47453 _swigt__p_wxChildFocusEvent
,
47454 _swigt__p_wxDropFilesEvent
,
47455 _swigt__p_wxControlWithItems
,
47456 _swigt__p_wxColour
,
47457 _swigt__p_wxValidator
,
47458 _swigt__p_wxPyValidator
,
47463 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
47465 static swig_const_info swig_const_table
[] = {
47466 {0, 0, 0, 0.0, 0, 0}};
47477 /* Python-specific SWIG API */
47478 #define SWIG_newvarlink() SWIG_Python_newvarlink()
47479 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
47480 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
47482 /* -----------------------------------------------------------------------------
47483 * global variable support code.
47484 * ----------------------------------------------------------------------------- */
47486 typedef struct swig_globalvar
{
47487 char *name
; /* Name of global variable */
47488 PyObject
*(*get_attr
)(); /* Return the current value */
47489 int (*set_attr
)(PyObject
*); /* Set the value */
47490 struct swig_globalvar
*next
;
47493 typedef struct swig_varlinkobject
{
47495 swig_globalvar
*vars
;
47496 } swig_varlinkobject
;
47499 swig_varlink_repr(swig_varlinkobject
*v
) {
47501 return PyString_FromString("<Swig global variables>");
47505 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
47506 swig_globalvar
*var
;
47508 fprintf(fp
,"Swig global variables { ");
47509 for (var
= v
->vars
; var
; var
=var
->next
) {
47510 fprintf(fp
,"%s", var
->name
);
47511 if (var
->next
) fprintf(fp
,", ");
47513 fprintf(fp
," }\n");
47518 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
47519 swig_globalvar
*var
= v
->vars
;
47521 if (strcmp(var
->name
,n
) == 0) {
47522 return (*var
->get_attr
)();
47526 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
47531 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
47532 swig_globalvar
*var
= v
->vars
;
47534 if (strcmp(var
->name
,n
) == 0) {
47535 return (*var
->set_attr
)(p
);
47539 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
47543 static PyTypeObject varlinktype
= {
47544 PyObject_HEAD_INIT(0)
47545 0, /* Number of items in variable part (ob_size) */
47546 (char *)"swigvarlink", /* Type name (tp_name) */
47547 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
47548 0, /* Itemsize (tp_itemsize) */
47549 0, /* Deallocator (tp_dealloc) */
47550 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
47551 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
47552 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
47553 0, /* tp_compare */
47554 (reprfunc
) swig_varlink_repr
, /* tp_repr */
47555 0, /* tp_as_number */
47556 0, /* tp_as_sequence */
47557 0, /* tp_as_mapping */
47561 0, /* tp_getattro */
47562 0, /* tp_setattro */
47563 0, /* tp_as_buffer */
47566 #if PY_VERSION_HEX >= 0x02000000
47567 0, /* tp_traverse */
47570 #if PY_VERSION_HEX >= 0x02010000
47571 0, /* tp_richcompare */
47572 0, /* tp_weaklistoffset */
47574 #if PY_VERSION_HEX >= 0x02020000
47575 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
47577 #if PY_VERSION_HEX >= 0x02030000
47580 #ifdef COUNT_ALLOCS
47581 0,0,0,0 /* tp_alloc -> tp_next */
47585 /* Create a variable linking object for use later */
47587 SWIG_Python_newvarlink(void) {
47588 swig_varlinkobject
*result
= 0;
47589 result
= PyMem_NEW(swig_varlinkobject
,1);
47590 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
47591 result
->ob_type
= &varlinktype
;
47593 result
->ob_refcnt
= 0;
47594 Py_XINCREF((PyObject
*) result
);
47595 return ((PyObject
*) result
);
47599 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
47600 swig_varlinkobject
*v
;
47601 swig_globalvar
*gv
;
47602 v
= (swig_varlinkobject
*) p
;
47603 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
47604 gv
->name
= (char *) malloc(strlen(name
)+1);
47605 strcpy(gv
->name
,name
);
47606 gv
->get_attr
= get_attr
;
47607 gv
->set_attr
= set_attr
;
47608 gv
->next
= v
->vars
;
47612 /* -----------------------------------------------------------------------------
47613 * constants/methods manipulation
47614 * ----------------------------------------------------------------------------- */
47616 /* Install Constants */
47618 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
47621 for (i
= 0; constants
[i
].type
; i
++) {
47622 switch(constants
[i
].type
) {
47624 obj
= PyInt_FromLong(constants
[i
].lvalue
);
47626 case SWIG_PY_FLOAT
:
47627 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
47629 case SWIG_PY_STRING
:
47630 if (constants
[i
].pvalue
) {
47631 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
47633 Py_INCREF(Py_None
);
47637 case SWIG_PY_POINTER
:
47638 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
47640 case SWIG_PY_BINARY
:
47641 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
47648 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
47654 /* -----------------------------------------------------------------------------*/
47655 /* Fix SwigMethods to carry the callback ptrs when needed */
47656 /* -----------------------------------------------------------------------------*/
47659 SWIG_Python_FixMethods(PyMethodDef
*methods
,
47660 swig_const_info
*const_table
,
47661 swig_type_info
**types
,
47662 swig_type_info
**types_initial
) {
47664 for (i
= 0; methods
[i
].ml_name
; ++i
) {
47665 char *c
= methods
[i
].ml_doc
;
47666 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
47668 swig_const_info
*ci
= 0;
47669 char *name
= c
+ 10;
47670 for (j
= 0; const_table
[j
].type
; j
++) {
47671 if (strncmp(const_table
[j
].name
, name
,
47672 strlen(const_table
[j
].name
)) == 0) {
47673 ci
= &(const_table
[j
]);
47678 size_t shift
= (ci
->ptype
) - types
;
47679 swig_type_info
*ty
= types_initial
[shift
];
47680 size_t ldoc
= (c
- methods
[i
].ml_doc
);
47681 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
47682 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
47684 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
47685 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
47687 strncpy(buff
, "swig_ptr: ", 10);
47689 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
47690 methods
[i
].ml_doc
= ndoc
;
47696 /* -----------------------------------------------------------------------------*
47697 * Initialize type list
47698 * -----------------------------------------------------------------------------*/
47700 #if PY_MAJOR_VERSION < 2
47701 /* PyModule_AddObject function was introduced in Python 2.0. The following function
47702 is copied out of Python/modsupport.c in python version 2.3.4 */
47704 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
47707 if (!PyModule_Check(m
)) {
47708 PyErr_SetString(PyExc_TypeError
,
47709 "PyModule_AddObject() needs module as first arg");
47713 PyErr_SetString(PyExc_TypeError
,
47714 "PyModule_AddObject() needs non-NULL value");
47718 dict
= PyModule_GetDict(m
);
47719 if (dict
== NULL
) {
47720 /* Internal error -- modules must have a dict! */
47721 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
47722 PyModule_GetName(m
));
47725 if (PyDict_SetItemString(dict
, name
, o
))
47732 static swig_type_info
**
47733 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
47734 static PyMethodDef swig_empty_runtime_method_table
[] = {
47736 NULL
, NULL
, 0, NULL
47740 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
47741 swig_empty_runtime_method_table
);
47742 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
47743 if (pointer
&& module) {
47744 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
47746 return type_list_handle
;
47749 static swig_type_info
**
47750 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
47751 swig_type_info
**type_pointer
;
47753 /* first check if module already created */
47754 type_pointer
= SWIG_Python_GetTypeListHandle();
47755 if (type_pointer
) {
47756 return type_pointer
;
47758 /* create a new module and variable */
47759 return SWIG_Python_SetTypeListHandle(type_list_handle
);
47767 /* -----------------------------------------------------------------------------*
47768 * Partial Init method
47769 * -----------------------------------------------------------------------------*/
47771 #ifdef SWIG_LINK_RUNTIME
47775 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
47781 SWIGEXPORT(void) SWIG_init(void) {
47782 static PyObject
*SWIG_globals
= 0;
47783 static int typeinit
= 0;
47786 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
47788 /* Fix SwigMethods to carry the callback ptrs when needed */
47789 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
47791 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
47792 d
= PyModule_GetDict(m
);
47795 #ifdef SWIG_LINK_RUNTIME
47796 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
47798 # ifndef SWIG_STATIC_RUNTIME
47799 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
47802 for (i
= 0; swig_types_initial
[i
]; i
++) {
47803 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
47807 SWIG_InstallConstants(d
,swig_const_table
);
47810 #ifndef wxPyUSE_EXPORT
47811 // Make our API structure a CObject so other modules can import it
47812 // from this module.
47813 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
47814 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
47819 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_From_int((int)(wxNOT_FOUND
)));
47822 PyDict_SetItemString(d
,"VSCROLL", SWIG_From_int((int)(wxVSCROLL
)));
47825 PyDict_SetItemString(d
,"HSCROLL", SWIG_From_int((int)(wxHSCROLL
)));
47828 PyDict_SetItemString(d
,"CAPTION", SWIG_From_int((int)(wxCAPTION
)));
47831 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_From_int((int)(wxDOUBLE_BORDER
)));
47834 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_From_int((int)(wxSUNKEN_BORDER
)));
47837 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_From_int((int)(wxRAISED_BORDER
)));
47840 PyDict_SetItemString(d
,"BORDER", SWIG_From_int((int)(wxBORDER
)));
47843 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_From_int((int)(wxSIMPLE_BORDER
)));
47846 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_From_int((int)(wxSTATIC_BORDER
)));
47849 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_From_int((int)(wxTRANSPARENT_WINDOW
)));
47852 PyDict_SetItemString(d
,"NO_BORDER", SWIG_From_int((int)(wxNO_BORDER
)));
47855 PyDict_SetItemString(d
,"DEFAULT_CONTROL_BORDER", SWIG_From_int((int)(wxDEFAULT_CONTROL_BORDER
)));
47858 PyDict_SetItemString(d
,"DEFAULT_STATUSBAR_STYLE", SWIG_From_int((int)(wxDEFAULT_STATUSBAR_STYLE
)));
47861 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_From_int((int)(wxTAB_TRAVERSAL
)));
47864 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_From_int((int)(wxWANTS_CHARS
)));
47867 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_From_int((int)(wxPOPUP_WINDOW
)));
47870 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_From_int((int)(wxCENTER_FRAME
)));
47873 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_From_int((int)(wxCENTRE_ON_SCREEN
)));
47876 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_From_int((int)(wxCENTER_ON_SCREEN
)));
47879 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_From_int((int)(wxCLIP_CHILDREN
)));
47882 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_From_int((int)(wxCLIP_SIBLINGS
)));
47885 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_From_int((int)(wxALWAYS_SHOW_SB
)));
47888 PyDict_SetItemString(d
,"RETAINED", SWIG_From_int((int)(wxRETAINED
)));
47891 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_From_int((int)(wxBACKINGSTORE
)));
47894 PyDict_SetItemString(d
,"COLOURED", SWIG_From_int((int)(wxCOLOURED
)));
47897 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_From_int((int)(wxFIXED_LENGTH
)));
47900 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_From_int((int)(wxLB_NEEDED_SB
)));
47903 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_From_int((int)(wxLB_ALWAYS_SB
)));
47906 PyDict_SetItemString(d
,"LB_SORT", SWIG_From_int((int)(wxLB_SORT
)));
47909 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_From_int((int)(wxLB_SINGLE
)));
47912 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_From_int((int)(wxLB_MULTIPLE
)));
47915 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_From_int((int)(wxLB_EXTENDED
)));
47918 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_From_int((int)(wxLB_OWNERDRAW
)));
47921 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_From_int((int)(wxLB_HSCROLL
)));
47924 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_From_int((int)(wxPROCESS_ENTER
)));
47927 PyDict_SetItemString(d
,"PASSWORD", SWIG_From_int((int)(wxPASSWORD
)));
47930 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_From_int((int)(wxCB_SIMPLE
)));
47933 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_From_int((int)(wxCB_DROPDOWN
)));
47936 PyDict_SetItemString(d
,"CB_SORT", SWIG_From_int((int)(wxCB_SORT
)));
47939 PyDict_SetItemString(d
,"CB_READONLY", SWIG_From_int((int)(wxCB_READONLY
)));
47942 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_From_int((int)(wxRA_HORIZONTAL
)));
47945 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_From_int((int)(wxRA_VERTICAL
)));
47948 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_From_int((int)(wxRA_SPECIFY_ROWS
)));
47951 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_From_int((int)(wxRA_SPECIFY_COLS
)));
47954 PyDict_SetItemString(d
,"RA_USE_CHECKBOX", SWIG_From_int((int)(wxRA_USE_CHECKBOX
)));
47957 PyDict_SetItemString(d
,"RB_GROUP", SWIG_From_int((int)(wxRB_GROUP
)));
47960 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_From_int((int)(wxRB_SINGLE
)));
47963 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_From_int((int)(wxSB_HORIZONTAL
)));
47966 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_From_int((int)(wxSB_VERTICAL
)));
47969 PyDict_SetItemString(d
,"RB_USE_CHECKBOX", SWIG_From_int((int)(wxRB_USE_CHECKBOX
)));
47972 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_From_int((int)(wxST_SIZEGRIP
)));
47975 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_From_int((int)(wxST_NO_AUTORESIZE
)));
47978 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_From_int((int)(wxFLOOD_SURFACE
)));
47981 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_From_int((int)(wxFLOOD_BORDER
)));
47984 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_From_int((int)(wxODDEVEN_RULE
)));
47987 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_From_int((int)(wxWINDING_RULE
)));
47990 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_From_int((int)(wxTOOL_TOP
)));
47993 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_From_int((int)(wxTOOL_BOTTOM
)));
47996 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_From_int((int)(wxTOOL_LEFT
)));
47999 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_From_int((int)(wxTOOL_RIGHT
)));
48002 PyDict_SetItemString(d
,"OK", SWIG_From_int((int)(wxOK
)));
48005 PyDict_SetItemString(d
,"YES_NO", SWIG_From_int((int)(wxYES_NO
)));
48008 PyDict_SetItemString(d
,"CANCEL", SWIG_From_int((int)(wxCANCEL
)));
48011 PyDict_SetItemString(d
,"YES", SWIG_From_int((int)(wxYES
)));
48014 PyDict_SetItemString(d
,"NO", SWIG_From_int((int)(wxNO
)));
48017 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_From_int((int)(wxNO_DEFAULT
)));
48020 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_From_int((int)(wxYES_DEFAULT
)));
48023 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_From_int((int)(wxICON_EXCLAMATION
)));
48026 PyDict_SetItemString(d
,"ICON_HAND", SWIG_From_int((int)(wxICON_HAND
)));
48029 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_From_int((int)(wxICON_QUESTION
)));
48032 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_From_int((int)(wxICON_INFORMATION
)));
48035 PyDict_SetItemString(d
,"ICON_STOP", SWIG_From_int((int)(wxICON_STOP
)));
48038 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_From_int((int)(wxICON_ASTERISK
)));
48041 PyDict_SetItemString(d
,"ICON_MASK", SWIG_From_int((int)(wxICON_MASK
)));
48044 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_From_int((int)(wxICON_WARNING
)));
48047 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_From_int((int)(wxICON_ERROR
)));
48050 PyDict_SetItemString(d
,"FORWARD", SWIG_From_int((int)(wxFORWARD
)));
48053 PyDict_SetItemString(d
,"BACKWARD", SWIG_From_int((int)(wxBACKWARD
)));
48056 PyDict_SetItemString(d
,"RESET", SWIG_From_int((int)(wxRESET
)));
48059 PyDict_SetItemString(d
,"HELP", SWIG_From_int((int)(wxHELP
)));
48062 PyDict_SetItemString(d
,"MORE", SWIG_From_int((int)(wxMORE
)));
48065 PyDict_SetItemString(d
,"SETUP", SWIG_From_int((int)(wxSETUP
)));
48068 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_From_int((int)(wxSIZE_AUTO_WIDTH
)));
48071 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)(wxSIZE_AUTO_HEIGHT
)));
48074 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_From_int((int)(wxSIZE_AUTO
)));
48077 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_From_int((int)(wxSIZE_USE_EXISTING
)));
48080 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)(wxSIZE_ALLOW_MINUS_ONE
)));
48083 PyDict_SetItemString(d
,"PORTRAIT", SWIG_From_int((int)(wxPORTRAIT
)));
48086 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_From_int((int)(wxLANDSCAPE
)));
48089 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_From_int((int)(wxPRINT_QUALITY_HIGH
)));
48092 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)(wxPRINT_QUALITY_MEDIUM
)));
48095 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_From_int((int)(wxPRINT_QUALITY_LOW
)));
48098 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)(wxPRINT_QUALITY_DRAFT
)));
48101 PyDict_SetItemString(d
,"ID_ANY", SWIG_From_int((int)(wxID_ANY
)));
48104 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_From_int((int)(wxID_SEPARATOR
)));
48107 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_From_int((int)(wxID_LOWEST
)));
48110 PyDict_SetItemString(d
,"ID_OPEN", SWIG_From_int((int)(wxID_OPEN
)));
48113 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_From_int((int)(wxID_CLOSE
)));
48116 PyDict_SetItemString(d
,"ID_NEW", SWIG_From_int((int)(wxID_NEW
)));
48119 PyDict_SetItemString(d
,"ID_SAVE", SWIG_From_int((int)(wxID_SAVE
)));
48122 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_From_int((int)(wxID_SAVEAS
)));
48125 PyDict_SetItemString(d
,"ID_REVERT", SWIG_From_int((int)(wxID_REVERT
)));
48128 PyDict_SetItemString(d
,"ID_EXIT", SWIG_From_int((int)(wxID_EXIT
)));
48131 PyDict_SetItemString(d
,"ID_UNDO", SWIG_From_int((int)(wxID_UNDO
)));
48134 PyDict_SetItemString(d
,"ID_REDO", SWIG_From_int((int)(wxID_REDO
)));
48137 PyDict_SetItemString(d
,"ID_HELP", SWIG_From_int((int)(wxID_HELP
)));
48140 PyDict_SetItemString(d
,"ID_PRINT", SWIG_From_int((int)(wxID_PRINT
)));
48143 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_From_int((int)(wxID_PRINT_SETUP
)));
48146 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_From_int((int)(wxID_PREVIEW
)));
48149 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_From_int((int)(wxID_ABOUT
)));
48152 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_From_int((int)(wxID_HELP_CONTENTS
)));
48155 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_From_int((int)(wxID_HELP_COMMANDS
)));
48158 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_From_int((int)(wxID_HELP_PROCEDURES
)));
48161 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_From_int((int)(wxID_HELP_CONTEXT
)));
48164 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_From_int((int)(wxID_CLOSE_ALL
)));
48167 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_From_int((int)(wxID_PREFERENCES
)));
48170 PyDict_SetItemString(d
,"ID_CUT", SWIG_From_int((int)(wxID_CUT
)));
48173 PyDict_SetItemString(d
,"ID_COPY", SWIG_From_int((int)(wxID_COPY
)));
48176 PyDict_SetItemString(d
,"ID_PASTE", SWIG_From_int((int)(wxID_PASTE
)));
48179 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_From_int((int)(wxID_CLEAR
)));
48182 PyDict_SetItemString(d
,"ID_FIND", SWIG_From_int((int)(wxID_FIND
)));
48185 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_From_int((int)(wxID_DUPLICATE
)));
48188 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_From_int((int)(wxID_SELECTALL
)));
48191 PyDict_SetItemString(d
,"ID_DELETE", SWIG_From_int((int)(wxID_DELETE
)));
48194 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_From_int((int)(wxID_REPLACE
)));
48197 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_From_int((int)(wxID_REPLACE_ALL
)));
48200 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_From_int((int)(wxID_PROPERTIES
)));
48203 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_From_int((int)(wxID_VIEW_DETAILS
)));
48206 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_From_int((int)(wxID_VIEW_LARGEICONS
)));
48209 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_From_int((int)(wxID_VIEW_SMALLICONS
)));
48212 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_From_int((int)(wxID_VIEW_LIST
)));
48215 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_From_int((int)(wxID_VIEW_SORTDATE
)));
48218 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_From_int((int)(wxID_VIEW_SORTNAME
)));
48221 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_From_int((int)(wxID_VIEW_SORTSIZE
)));
48224 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_From_int((int)(wxID_VIEW_SORTTYPE
)));
48227 PyDict_SetItemString(d
,"ID_FILE1", SWIG_From_int((int)(wxID_FILE1
)));
48230 PyDict_SetItemString(d
,"ID_FILE2", SWIG_From_int((int)(wxID_FILE2
)));
48233 PyDict_SetItemString(d
,"ID_FILE3", SWIG_From_int((int)(wxID_FILE3
)));
48236 PyDict_SetItemString(d
,"ID_FILE4", SWIG_From_int((int)(wxID_FILE4
)));
48239 PyDict_SetItemString(d
,"ID_FILE5", SWIG_From_int((int)(wxID_FILE5
)));
48242 PyDict_SetItemString(d
,"ID_FILE6", SWIG_From_int((int)(wxID_FILE6
)));
48245 PyDict_SetItemString(d
,"ID_FILE7", SWIG_From_int((int)(wxID_FILE7
)));
48248 PyDict_SetItemString(d
,"ID_FILE8", SWIG_From_int((int)(wxID_FILE8
)));
48251 PyDict_SetItemString(d
,"ID_FILE9", SWIG_From_int((int)(wxID_FILE9
)));
48254 PyDict_SetItemString(d
,"ID_OK", SWIG_From_int((int)(wxID_OK
)));
48257 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_From_int((int)(wxID_CANCEL
)));
48260 PyDict_SetItemString(d
,"ID_APPLY", SWIG_From_int((int)(wxID_APPLY
)));
48263 PyDict_SetItemString(d
,"ID_YES", SWIG_From_int((int)(wxID_YES
)));
48266 PyDict_SetItemString(d
,"ID_NO", SWIG_From_int((int)(wxID_NO
)));
48269 PyDict_SetItemString(d
,"ID_STATIC", SWIG_From_int((int)(wxID_STATIC
)));
48272 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_From_int((int)(wxID_FORWARD
)));
48275 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_From_int((int)(wxID_BACKWARD
)));
48278 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_From_int((int)(wxID_DEFAULT
)));
48281 PyDict_SetItemString(d
,"ID_MORE", SWIG_From_int((int)(wxID_MORE
)));
48284 PyDict_SetItemString(d
,"ID_SETUP", SWIG_From_int((int)(wxID_SETUP
)));
48287 PyDict_SetItemString(d
,"ID_RESET", SWIG_From_int((int)(wxID_RESET
)));
48290 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_From_int((int)(wxID_CONTEXT_HELP
)));
48293 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_From_int((int)(wxID_YESTOALL
)));
48296 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_From_int((int)(wxID_NOTOALL
)));
48299 PyDict_SetItemString(d
,"ID_ABORT", SWIG_From_int((int)(wxID_ABORT
)));
48302 PyDict_SetItemString(d
,"ID_RETRY", SWIG_From_int((int)(wxID_RETRY
)));
48305 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_From_int((int)(wxID_IGNORE
)));
48308 PyDict_SetItemString(d
,"ID_ADD", SWIG_From_int((int)(wxID_ADD
)));
48311 PyDict_SetItemString(d
,"ID_REMOVE", SWIG_From_int((int)(wxID_REMOVE
)));
48314 PyDict_SetItemString(d
,"ID_UP", SWIG_From_int((int)(wxID_UP
)));
48317 PyDict_SetItemString(d
,"ID_DOWN", SWIG_From_int((int)(wxID_DOWN
)));
48320 PyDict_SetItemString(d
,"ID_HOME", SWIG_From_int((int)(wxID_HOME
)));
48323 PyDict_SetItemString(d
,"ID_REFRESH", SWIG_From_int((int)(wxID_REFRESH
)));
48326 PyDict_SetItemString(d
,"ID_STOP", SWIG_From_int((int)(wxID_STOP
)));
48329 PyDict_SetItemString(d
,"ID_INDEX", SWIG_From_int((int)(wxID_INDEX
)));
48332 PyDict_SetItemString(d
,"ID_BOLD", SWIG_From_int((int)(wxID_BOLD
)));
48335 PyDict_SetItemString(d
,"ID_ITALIC", SWIG_From_int((int)(wxID_ITALIC
)));
48338 PyDict_SetItemString(d
,"ID_JUSTIFY_CENTER", SWIG_From_int((int)(wxID_JUSTIFY_CENTER
)));
48341 PyDict_SetItemString(d
,"ID_JUSTIFY_FILL", SWIG_From_int((int)(wxID_JUSTIFY_FILL
)));
48344 PyDict_SetItemString(d
,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)(wxID_JUSTIFY_RIGHT
)));
48347 PyDict_SetItemString(d
,"ID_JUSTIFY_LEFT", SWIG_From_int((int)(wxID_JUSTIFY_LEFT
)));
48350 PyDict_SetItemString(d
,"ID_UNDERLINE", SWIG_From_int((int)(wxID_UNDERLINE
)));
48353 PyDict_SetItemString(d
,"ID_INDENT", SWIG_From_int((int)(wxID_INDENT
)));
48356 PyDict_SetItemString(d
,"ID_UNINDENT", SWIG_From_int((int)(wxID_UNINDENT
)));
48359 PyDict_SetItemString(d
,"ID_ZOOM_100", SWIG_From_int((int)(wxID_ZOOM_100
)));
48362 PyDict_SetItemString(d
,"ID_ZOOM_FIT", SWIG_From_int((int)(wxID_ZOOM_FIT
)));
48365 PyDict_SetItemString(d
,"ID_ZOOM_IN", SWIG_From_int((int)(wxID_ZOOM_IN
)));
48368 PyDict_SetItemString(d
,"ID_ZOOM_OUT", SWIG_From_int((int)(wxID_ZOOM_OUT
)));
48371 PyDict_SetItemString(d
,"ID_UNDELETE", SWIG_From_int((int)(wxID_UNDELETE
)));
48374 PyDict_SetItemString(d
,"ID_REVERT_TO_SAVED", SWIG_From_int((int)(wxID_REVERT_TO_SAVED
)));
48377 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_From_int((int)(wxID_HIGHEST
)));
48380 PyDict_SetItemString(d
,"OPEN", SWIG_From_int((int)(wxOPEN
)));
48383 PyDict_SetItemString(d
,"SAVE", SWIG_From_int((int)(wxSAVE
)));
48386 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_From_int((int)(wxHIDE_READONLY
)));
48389 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_From_int((int)(wxOVERWRITE_PROMPT
)));
48392 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_From_int((int)(wxFILE_MUST_EXIST
)));
48395 PyDict_SetItemString(d
,"MULTIPLE", SWIG_From_int((int)(wxMULTIPLE
)));
48398 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_From_int((int)(wxCHANGE_DIR
)));
48401 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_From_int((int)(wxACCEL_ALT
)));
48404 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_From_int((int)(wxACCEL_CTRL
)));
48407 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_From_int((int)(wxACCEL_SHIFT
)));
48410 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_From_int((int)(wxACCEL_NORMAL
)));
48413 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_From_int((int)(wxPD_AUTO_HIDE
)));
48416 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_From_int((int)(wxPD_APP_MODAL
)));
48419 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_From_int((int)(wxPD_CAN_ABORT
)));
48422 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_From_int((int)(wxPD_ELAPSED_TIME
)));
48425 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_From_int((int)(wxPD_ESTIMATED_TIME
)));
48428 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_From_int((int)(wxPD_REMAINING_TIME
)));
48431 PyDict_SetItemString(d
,"PD_SMOOTH", SWIG_From_int((int)(wxPD_SMOOTH
)));
48434 PyDict_SetItemString(d
,"PD_CAN_SKIP", SWIG_From_int((int)(wxPD_CAN_SKIP
)));
48437 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)(wxDD_NEW_DIR_BUTTON
)));
48440 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_From_int((int)(wxDD_DEFAULT_STYLE
)));
48443 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_From_int((int)(wxMENU_TEAROFF
)));
48446 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_From_int((int)(wxMB_DOCKABLE
)));
48449 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxNO_FULL_REPAINT_ON_RESIZE
)));
48452 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxFULL_REPAINT_ON_RESIZE
)));
48455 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_From_int((int)(wxLI_HORIZONTAL
)));
48458 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_From_int((int)(wxLI_VERTICAL
)));
48461 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)(wxWS_EX_VALIDATE_RECURSIVELY
)));
48464 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)(wxWS_EX_BLOCK_EVENTS
)));
48467 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_From_int((int)(wxWS_EX_TRANSIENT
)));
48470 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)(wxWS_EX_THEMED_BACKGROUND
)));
48473 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)(wxWS_EX_PROCESS_IDLE
)));
48476 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)(wxWS_EX_PROCESS_UI_UPDATES
)));
48479 PyDict_SetItemString(d
,"MM_TEXT", SWIG_From_int((int)(wxMM_TEXT
)));
48482 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_From_int((int)(wxMM_LOMETRIC
)));
48485 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_From_int((int)(wxMM_HIMETRIC
)));
48488 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_From_int((int)(wxMM_LOENGLISH
)));
48491 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_From_int((int)(wxMM_HIENGLISH
)));
48494 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_From_int((int)(wxMM_TWIPS
)));
48497 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_From_int((int)(wxMM_ISOTROPIC
)));
48500 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_From_int((int)(wxMM_ANISOTROPIC
)));
48503 PyDict_SetItemString(d
,"MM_POINTS", SWIG_From_int((int)(wxMM_POINTS
)));
48506 PyDict_SetItemString(d
,"MM_METRIC", SWIG_From_int((int)(wxMM_METRIC
)));
48509 PyDict_SetItemString(d
,"CENTRE", SWIG_From_int((int)(wxCENTRE
)));
48512 PyDict_SetItemString(d
,"CENTER", SWIG_From_int((int)(wxCENTER
)));
48515 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_From_int((int)(wxHORIZONTAL
)));
48518 PyDict_SetItemString(d
,"VERTICAL", SWIG_From_int((int)(wxVERTICAL
)));
48521 PyDict_SetItemString(d
,"BOTH", SWIG_From_int((int)(wxBOTH
)));
48524 PyDict_SetItemString(d
,"LEFT", SWIG_From_int((int)(wxLEFT
)));
48527 PyDict_SetItemString(d
,"RIGHT", SWIG_From_int((int)(wxRIGHT
)));
48530 PyDict_SetItemString(d
,"UP", SWIG_From_int((int)(wxUP
)));
48533 PyDict_SetItemString(d
,"DOWN", SWIG_From_int((int)(wxDOWN
)));
48536 PyDict_SetItemString(d
,"TOP", SWIG_From_int((int)(wxTOP
)));
48539 PyDict_SetItemString(d
,"BOTTOM", SWIG_From_int((int)(wxBOTTOM
)));
48542 PyDict_SetItemString(d
,"NORTH", SWIG_From_int((int)(wxNORTH
)));
48545 PyDict_SetItemString(d
,"SOUTH", SWIG_From_int((int)(wxSOUTH
)));
48548 PyDict_SetItemString(d
,"WEST", SWIG_From_int((int)(wxWEST
)));
48551 PyDict_SetItemString(d
,"EAST", SWIG_From_int((int)(wxEAST
)));
48554 PyDict_SetItemString(d
,"ALL", SWIG_From_int((int)(wxALL
)));
48557 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_From_int((int)(wxALIGN_NOT
)));
48560 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTER_HORIZONTAL
)));
48563 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTRE_HORIZONTAL
)));
48566 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_From_int((int)(wxALIGN_LEFT
)));
48569 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_From_int((int)(wxALIGN_TOP
)));
48572 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_From_int((int)(wxALIGN_RIGHT
)));
48575 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_From_int((int)(wxALIGN_BOTTOM
)));
48578 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTER_VERTICAL
)));
48581 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTRE_VERTICAL
)));
48584 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_From_int((int)(wxALIGN_CENTER
)));
48587 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_From_int((int)(wxALIGN_CENTRE
)));
48590 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_From_int((int)(wxALIGN_MASK
)));
48593 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_From_int((int)(wxSTRETCH_NOT
)));
48596 PyDict_SetItemString(d
,"SHRINK", SWIG_From_int((int)(wxSHRINK
)));
48599 PyDict_SetItemString(d
,"GROW", SWIG_From_int((int)(wxGROW
)));
48602 PyDict_SetItemString(d
,"EXPAND", SWIG_From_int((int)(wxEXPAND
)));
48605 PyDict_SetItemString(d
,"SHAPED", SWIG_From_int((int)(wxSHAPED
)));
48608 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_From_int((int)(wxFIXED_MINSIZE
)));
48611 PyDict_SetItemString(d
,"TILE", SWIG_From_int((int)(wxTILE
)));
48614 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_From_int((int)(wxADJUST_MINSIZE
)));
48617 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_From_int((int)(wxBORDER_DEFAULT
)));
48620 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_From_int((int)(wxBORDER_NONE
)));
48623 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_From_int((int)(wxBORDER_STATIC
)));
48626 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_From_int((int)(wxBORDER_SIMPLE
)));
48629 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_From_int((int)(wxBORDER_RAISED
)));
48632 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_From_int((int)(wxBORDER_SUNKEN
)));
48635 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_From_int((int)(wxBORDER_DOUBLE
)));
48638 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_From_int((int)(wxBORDER_MASK
)));
48641 PyDict_SetItemString(d
,"BG_STYLE_SYSTEM", SWIG_From_int((int)(wxBG_STYLE_SYSTEM
)));
48644 PyDict_SetItemString(d
,"BG_STYLE_COLOUR", SWIG_From_int((int)(wxBG_STYLE_COLOUR
)));
48647 PyDict_SetItemString(d
,"BG_STYLE_CUSTOM", SWIG_From_int((int)(wxBG_STYLE_CUSTOM
)));
48650 PyDict_SetItemString(d
,"DEFAULT", SWIG_From_int((int)(wxDEFAULT
)));
48653 PyDict_SetItemString(d
,"DECORATIVE", SWIG_From_int((int)(wxDECORATIVE
)));
48656 PyDict_SetItemString(d
,"ROMAN", SWIG_From_int((int)(wxROMAN
)));
48659 PyDict_SetItemString(d
,"SCRIPT", SWIG_From_int((int)(wxSCRIPT
)));
48662 PyDict_SetItemString(d
,"SWISS", SWIG_From_int((int)(wxSWISS
)));
48665 PyDict_SetItemString(d
,"MODERN", SWIG_From_int((int)(wxMODERN
)));
48668 PyDict_SetItemString(d
,"TELETYPE", SWIG_From_int((int)(wxTELETYPE
)));
48671 PyDict_SetItemString(d
,"VARIABLE", SWIG_From_int((int)(wxVARIABLE
)));
48674 PyDict_SetItemString(d
,"FIXED", SWIG_From_int((int)(wxFIXED
)));
48677 PyDict_SetItemString(d
,"NORMAL", SWIG_From_int((int)(wxNORMAL
)));
48680 PyDict_SetItemString(d
,"LIGHT", SWIG_From_int((int)(wxLIGHT
)));
48683 PyDict_SetItemString(d
,"BOLD", SWIG_From_int((int)(wxBOLD
)));
48686 PyDict_SetItemString(d
,"ITALIC", SWIG_From_int((int)(wxITALIC
)));
48689 PyDict_SetItemString(d
,"SLANT", SWIG_From_int((int)(wxSLANT
)));
48692 PyDict_SetItemString(d
,"SOLID", SWIG_From_int((int)(wxSOLID
)));
48695 PyDict_SetItemString(d
,"DOT", SWIG_From_int((int)(wxDOT
)));
48698 PyDict_SetItemString(d
,"LONG_DASH", SWIG_From_int((int)(wxLONG_DASH
)));
48701 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_From_int((int)(wxSHORT_DASH
)));
48704 PyDict_SetItemString(d
,"DOT_DASH", SWIG_From_int((int)(wxDOT_DASH
)));
48707 PyDict_SetItemString(d
,"USER_DASH", SWIG_From_int((int)(wxUSER_DASH
)));
48710 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_From_int((int)(wxTRANSPARENT
)));
48713 PyDict_SetItemString(d
,"STIPPLE", SWIG_From_int((int)(wxSTIPPLE
)));
48716 PyDict_SetItemString(d
,"STIPPLE_MASK", SWIG_From_int((int)(wxSTIPPLE_MASK
)));
48719 PyDict_SetItemString(d
,"STIPPLE_MASK_OPAQUE", SWIG_From_int((int)(wxSTIPPLE_MASK_OPAQUE
)));
48722 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_From_int((int)(wxBDIAGONAL_HATCH
)));
48725 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_From_int((int)(wxCROSSDIAG_HATCH
)));
48728 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_From_int((int)(wxFDIAGONAL_HATCH
)));
48731 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_From_int((int)(wxCROSS_HATCH
)));
48734 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_From_int((int)(wxHORIZONTAL_HATCH
)));
48737 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_From_int((int)(wxVERTICAL_HATCH
)));
48740 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_From_int((int)(wxJOIN_BEVEL
)));
48743 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_From_int((int)(wxJOIN_MITER
)));
48746 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_From_int((int)(wxJOIN_ROUND
)));
48749 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_From_int((int)(wxCAP_ROUND
)));
48752 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_From_int((int)(wxCAP_PROJECTING
)));
48755 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_From_int((int)(wxCAP_BUTT
)));
48758 PyDict_SetItemString(d
,"CLEAR", SWIG_From_int((int)(wxCLEAR
)));
48761 PyDict_SetItemString(d
,"XOR", SWIG_From_int((int)(wxXOR
)));
48764 PyDict_SetItemString(d
,"INVERT", SWIG_From_int((int)(wxINVERT
)));
48767 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_From_int((int)(wxOR_REVERSE
)));
48770 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_From_int((int)(wxAND_REVERSE
)));
48773 PyDict_SetItemString(d
,"COPY", SWIG_From_int((int)(wxCOPY
)));
48776 PyDict_SetItemString(d
,"AND", SWIG_From_int((int)(wxAND
)));
48779 PyDict_SetItemString(d
,"AND_INVERT", SWIG_From_int((int)(wxAND_INVERT
)));
48782 PyDict_SetItemString(d
,"NO_OP", SWIG_From_int((int)(wxNO_OP
)));
48785 PyDict_SetItemString(d
,"NOR", SWIG_From_int((int)(wxNOR
)));
48788 PyDict_SetItemString(d
,"EQUIV", SWIG_From_int((int)(wxEQUIV
)));
48791 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_From_int((int)(wxSRC_INVERT
)));
48794 PyDict_SetItemString(d
,"OR_INVERT", SWIG_From_int((int)(wxOR_INVERT
)));
48797 PyDict_SetItemString(d
,"NAND", SWIG_From_int((int)(wxNAND
)));
48800 PyDict_SetItemString(d
,"OR", SWIG_From_int((int)(wxOR
)));
48803 PyDict_SetItemString(d
,"SET", SWIG_From_int((int)(wxSET
)));
48806 PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)(WXK_BACK
)));
48809 PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)(WXK_TAB
)));
48812 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)(WXK_RETURN
)));
48815 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)(WXK_ESCAPE
)));
48818 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)(WXK_SPACE
)));
48821 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)(WXK_DELETE
)));
48824 PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)(WXK_START
)));
48827 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)(WXK_LBUTTON
)));
48830 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)(WXK_RBUTTON
)));
48833 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)(WXK_CANCEL
)));
48836 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)(WXK_MBUTTON
)));
48839 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)(WXK_CLEAR
)));
48842 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)(WXK_SHIFT
)));
48845 PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)(WXK_ALT
)));
48848 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)(WXK_CONTROL
)));
48851 PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)(WXK_MENU
)));
48854 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)(WXK_PAUSE
)));
48857 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)(WXK_CAPITAL
)));
48860 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)(WXK_PRIOR
)));
48863 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)(WXK_NEXT
)));
48866 PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)(WXK_END
)));
48869 PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)(WXK_HOME
)));
48872 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)(WXK_LEFT
)));
48875 PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)(WXK_UP
)));
48878 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)(WXK_RIGHT
)));
48881 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)(WXK_DOWN
)));
48884 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)(WXK_SELECT
)));
48887 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)(WXK_PRINT
)));
48890 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)(WXK_EXECUTE
)));
48893 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)(WXK_SNAPSHOT
)));
48896 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)(WXK_INSERT
)));
48899 PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)(WXK_HELP
)));
48902 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)(WXK_NUMPAD0
)));
48905 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)(WXK_NUMPAD1
)));
48908 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)(WXK_NUMPAD2
)));
48911 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)(WXK_NUMPAD3
)));
48914 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)(WXK_NUMPAD4
)));
48917 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)(WXK_NUMPAD5
)));
48920 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)(WXK_NUMPAD6
)));
48923 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)(WXK_NUMPAD7
)));
48926 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)(WXK_NUMPAD8
)));
48929 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)(WXK_NUMPAD9
)));
48932 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)(WXK_MULTIPLY
)));
48935 PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)(WXK_ADD
)));
48938 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)(WXK_SEPARATOR
)));
48941 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)(WXK_SUBTRACT
)));
48944 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)(WXK_DECIMAL
)));
48947 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)(WXK_DIVIDE
)));
48950 PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)(WXK_F1
)));
48953 PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)(WXK_F2
)));
48956 PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)(WXK_F3
)));
48959 PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)(WXK_F4
)));
48962 PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)(WXK_F5
)));
48965 PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)(WXK_F6
)));
48968 PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)(WXK_F7
)));
48971 PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)(WXK_F8
)));
48974 PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)(WXK_F9
)));
48977 PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)(WXK_F10
)));
48980 PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)(WXK_F11
)));
48983 PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)(WXK_F12
)));
48986 PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)(WXK_F13
)));
48989 PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)(WXK_F14
)));
48992 PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)(WXK_F15
)));
48995 PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)(WXK_F16
)));
48998 PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)(WXK_F17
)));
49001 PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)(WXK_F18
)));
49004 PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)(WXK_F19
)));
49007 PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)(WXK_F20
)));
49010 PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)(WXK_F21
)));
49013 PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)(WXK_F22
)));
49016 PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)(WXK_F23
)));
49019 PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)(WXK_F24
)));
49022 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)(WXK_NUMLOCK
)));
49025 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)(WXK_SCROLL
)));
49028 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)(WXK_PAGEUP
)));
49031 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)(WXK_PAGEDOWN
)));
49034 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)(WXK_NUMPAD_SPACE
)));
49037 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)(WXK_NUMPAD_TAB
)));
49040 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)(WXK_NUMPAD_ENTER
)));
49043 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)(WXK_NUMPAD_F1
)));
49046 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)(WXK_NUMPAD_F2
)));
49049 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)(WXK_NUMPAD_F3
)));
49052 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)(WXK_NUMPAD_F4
)));
49055 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)(WXK_NUMPAD_HOME
)));
49058 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)(WXK_NUMPAD_LEFT
)));
49061 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)(WXK_NUMPAD_UP
)));
49064 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)(WXK_NUMPAD_RIGHT
)));
49067 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)(WXK_NUMPAD_DOWN
)));
49070 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)(WXK_NUMPAD_PRIOR
)));
49073 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)(WXK_NUMPAD_PAGEUP
)));
49076 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)(WXK_NUMPAD_NEXT
)));
49079 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)(WXK_NUMPAD_PAGEDOWN
)));
49082 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)(WXK_NUMPAD_END
)));
49085 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)(WXK_NUMPAD_BEGIN
)));
49088 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)(WXK_NUMPAD_INSERT
)));
49091 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)(WXK_NUMPAD_DELETE
)));
49094 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)(WXK_NUMPAD_EQUAL
)));
49097 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)(WXK_NUMPAD_MULTIPLY
)));
49100 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)(WXK_NUMPAD_ADD
)));
49103 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)(WXK_NUMPAD_SEPARATOR
)));
49106 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)(WXK_NUMPAD_SUBTRACT
)));
49109 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)(WXK_NUMPAD_DECIMAL
)));
49112 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)(WXK_NUMPAD_DIVIDE
)));
49115 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)(WXK_WINDOWS_LEFT
)));
49118 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)(WXK_WINDOWS_RIGHT
)));
49121 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)(WXK_WINDOWS_MENU
)));
49124 PyDict_SetItemString(d
,"WXK_COMMAND", SWIG_From_int((int)(WXK_COMMAND
)));
49127 PyDict_SetItemString(d
,"WXK_SPECIAL1", SWIG_From_int((int)(WXK_SPECIAL1
)));
49130 PyDict_SetItemString(d
,"WXK_SPECIAL2", SWIG_From_int((int)(WXK_SPECIAL2
)));
49133 PyDict_SetItemString(d
,"WXK_SPECIAL3", SWIG_From_int((int)(WXK_SPECIAL3
)));
49136 PyDict_SetItemString(d
,"WXK_SPECIAL4", SWIG_From_int((int)(WXK_SPECIAL4
)));
49139 PyDict_SetItemString(d
,"WXK_SPECIAL5", SWIG_From_int((int)(WXK_SPECIAL5
)));
49142 PyDict_SetItemString(d
,"WXK_SPECIAL6", SWIG_From_int((int)(WXK_SPECIAL6
)));
49145 PyDict_SetItemString(d
,"WXK_SPECIAL7", SWIG_From_int((int)(WXK_SPECIAL7
)));
49148 PyDict_SetItemString(d
,"WXK_SPECIAL8", SWIG_From_int((int)(WXK_SPECIAL8
)));
49151 PyDict_SetItemString(d
,"WXK_SPECIAL9", SWIG_From_int((int)(WXK_SPECIAL9
)));
49154 PyDict_SetItemString(d
,"WXK_SPECIAL10", SWIG_From_int((int)(WXK_SPECIAL10
)));
49157 PyDict_SetItemString(d
,"WXK_SPECIAL11", SWIG_From_int((int)(WXK_SPECIAL11
)));
49160 PyDict_SetItemString(d
,"WXK_SPECIAL12", SWIG_From_int((int)(WXK_SPECIAL12
)));
49163 PyDict_SetItemString(d
,"WXK_SPECIAL13", SWIG_From_int((int)(WXK_SPECIAL13
)));
49166 PyDict_SetItemString(d
,"WXK_SPECIAL14", SWIG_From_int((int)(WXK_SPECIAL14
)));
49169 PyDict_SetItemString(d
,"WXK_SPECIAL15", SWIG_From_int((int)(WXK_SPECIAL15
)));
49172 PyDict_SetItemString(d
,"WXK_SPECIAL16", SWIG_From_int((int)(WXK_SPECIAL16
)));
49175 PyDict_SetItemString(d
,"WXK_SPECIAL17", SWIG_From_int((int)(WXK_SPECIAL17
)));
49178 PyDict_SetItemString(d
,"WXK_SPECIAL18", SWIG_From_int((int)(WXK_SPECIAL18
)));
49181 PyDict_SetItemString(d
,"WXK_SPECIAL19", SWIG_From_int((int)(WXK_SPECIAL19
)));
49184 PyDict_SetItemString(d
,"WXK_SPECIAL20", SWIG_From_int((int)(WXK_SPECIAL20
)));
49187 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_From_int((int)(wxPAPER_NONE
)));
49190 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_From_int((int)(wxPAPER_LETTER
)));
49193 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_From_int((int)(wxPAPER_LEGAL
)));
49196 PyDict_SetItemString(d
,"PAPER_A4", SWIG_From_int((int)(wxPAPER_A4
)));
49199 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_From_int((int)(wxPAPER_CSHEET
)));
49202 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_From_int((int)(wxPAPER_DSHEET
)));
49205 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_From_int((int)(wxPAPER_ESHEET
)));
49208 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_From_int((int)(wxPAPER_LETTERSMALL
)));
49211 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_From_int((int)(wxPAPER_TABLOID
)));
49214 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_From_int((int)(wxPAPER_LEDGER
)));
49217 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_From_int((int)(wxPAPER_STATEMENT
)));
49220 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_From_int((int)(wxPAPER_EXECUTIVE
)));
49223 PyDict_SetItemString(d
,"PAPER_A3", SWIG_From_int((int)(wxPAPER_A3
)));
49226 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_From_int((int)(wxPAPER_A4SMALL
)));
49229 PyDict_SetItemString(d
,"PAPER_A5", SWIG_From_int((int)(wxPAPER_A5
)));
49232 PyDict_SetItemString(d
,"PAPER_B4", SWIG_From_int((int)(wxPAPER_B4
)));
49235 PyDict_SetItemString(d
,"PAPER_B5", SWIG_From_int((int)(wxPAPER_B5
)));
49238 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_From_int((int)(wxPAPER_FOLIO
)));
49241 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_From_int((int)(wxPAPER_QUARTO
)));
49244 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_From_int((int)(wxPAPER_10X14
)));
49247 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_From_int((int)(wxPAPER_11X17
)));
49250 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_From_int((int)(wxPAPER_NOTE
)));
49253 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_From_int((int)(wxPAPER_ENV_9
)));
49256 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_From_int((int)(wxPAPER_ENV_10
)));
49259 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_From_int((int)(wxPAPER_ENV_11
)));
49262 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_From_int((int)(wxPAPER_ENV_12
)));
49265 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_From_int((int)(wxPAPER_ENV_14
)));
49268 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_From_int((int)(wxPAPER_ENV_DL
)));
49271 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_From_int((int)(wxPAPER_ENV_C5
)));
49274 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_From_int((int)(wxPAPER_ENV_C3
)));
49277 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_From_int((int)(wxPAPER_ENV_C4
)));
49280 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_From_int((int)(wxPAPER_ENV_C6
)));
49283 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_From_int((int)(wxPAPER_ENV_C65
)));
49286 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_From_int((int)(wxPAPER_ENV_B4
)));
49289 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_From_int((int)(wxPAPER_ENV_B5
)));
49292 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_From_int((int)(wxPAPER_ENV_B6
)));
49295 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_From_int((int)(wxPAPER_ENV_ITALY
)));
49298 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_From_int((int)(wxPAPER_ENV_MONARCH
)));
49301 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_From_int((int)(wxPAPER_ENV_PERSONAL
)));
49304 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_From_int((int)(wxPAPER_FANFOLD_US
)));
49307 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_STD_GERMAN
)));
49310 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_LGL_GERMAN
)));
49313 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_From_int((int)(wxPAPER_ISO_B4
)));
49316 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)(wxPAPER_JAPANESE_POSTCARD
)));
49319 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_From_int((int)(wxPAPER_9X11
)));
49322 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_From_int((int)(wxPAPER_10X11
)));
49325 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_From_int((int)(wxPAPER_15X11
)));
49328 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_From_int((int)(wxPAPER_ENV_INVITE
)));
49331 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA
)));
49334 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)(wxPAPER_LEGAL_EXTRA
)));
49337 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)(wxPAPER_TABLOID_EXTRA
)));
49340 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_From_int((int)(wxPAPER_A4_EXTRA
)));
49343 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_TRANSVERSE
)));
49346 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A4_TRANSVERSE
)));
49349 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA_TRANSVERSE
)));
49352 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_From_int((int)(wxPAPER_A_PLUS
)));
49355 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_From_int((int)(wxPAPER_B_PLUS
)));
49358 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_From_int((int)(wxPAPER_LETTER_PLUS
)));
49361 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_From_int((int)(wxPAPER_A4_PLUS
)));
49364 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A5_TRANSVERSE
)));
49367 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_B5_TRANSVERSE
)));
49370 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_From_int((int)(wxPAPER_A3_EXTRA
)));
49373 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_From_int((int)(wxPAPER_A5_EXTRA
)));
49376 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_From_int((int)(wxPAPER_B5_EXTRA
)));
49379 PyDict_SetItemString(d
,"PAPER_A2", SWIG_From_int((int)(wxPAPER_A2
)));
49382 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_TRANSVERSE
)));
49385 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_EXTRA_TRANSVERSE
)));
49388 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_From_int((int)(wxDUPLEX_SIMPLEX
)));
49391 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_From_int((int)(wxDUPLEX_HORIZONTAL
)));
49394 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_From_int((int)(wxDUPLEX_VERTICAL
)));
49397 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_From_int((int)(wxITEM_SEPARATOR
)));
49400 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_From_int((int)(wxITEM_NORMAL
)));
49403 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_From_int((int)(wxITEM_CHECK
)));
49406 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_From_int((int)(wxITEM_RADIO
)));
49409 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_From_int((int)(wxITEM_MAX
)));
49412 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_From_int((int)(wxHT_NOWHERE
)));
49415 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)(wxHT_SCROLLBAR_FIRST
)));
49418 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_1
)));
49421 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_2
)));
49424 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_1
)));
49427 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_2
)));
49430 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)(wxHT_SCROLLBAR_THUMB
)));
49433 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_1
)));
49436 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_2
)));
49439 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_From_int((int)(wxHT_SCROLLBAR_LAST
)));
49442 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)(wxHT_WINDOW_OUTSIDE
)));
49445 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_From_int((int)(wxHT_WINDOW_INSIDE
)));
49448 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_VERT_SCROLLBAR
)));
49451 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_HORZ_SCROLLBAR
)));
49454 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_From_int((int)(wxHT_WINDOW_CORNER
)));
49457 PyDict_SetItemString(d
,"HT_MAX", SWIG_From_int((int)(wxHT_MAX
)));
49460 PyDict_SetItemString(d
,"MOD_NONE", SWIG_From_int((int)(wxMOD_NONE
)));
49463 PyDict_SetItemString(d
,"MOD_ALT", SWIG_From_int((int)(wxMOD_ALT
)));
49466 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_From_int((int)(wxMOD_CONTROL
)));
49469 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_From_int((int)(wxMOD_SHIFT
)));
49472 PyDict_SetItemString(d
,"MOD_WIN", SWIG_From_int((int)(wxMOD_WIN
)));
49475 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_From_int((int)(wxUPDATE_UI_NONE
)));
49478 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_From_int((int)(wxUPDATE_UI_RECURSE
)));
49481 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)(wxUPDATE_UI_FROMIDLE
)));
49483 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
49484 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
49486 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_From_int((int)(wxBITMAP_TYPE_INVALID
)));
49489 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_From_int((int)(wxBITMAP_TYPE_BMP
)));
49492 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_From_int((int)(wxBITMAP_TYPE_ICO
)));
49495 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_From_int((int)(wxBITMAP_TYPE_CUR
)));
49498 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_From_int((int)(wxBITMAP_TYPE_XBM
)));
49501 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XBM_DATA
)));
49504 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_From_int((int)(wxBITMAP_TYPE_XPM
)));
49507 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XPM_DATA
)));
49510 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_From_int((int)(wxBITMAP_TYPE_TIF
)));
49513 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_From_int((int)(wxBITMAP_TYPE_GIF
)));
49516 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_From_int((int)(wxBITMAP_TYPE_PNG
)));
49519 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_From_int((int)(wxBITMAP_TYPE_JPEG
)));
49522 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_From_int((int)(wxBITMAP_TYPE_PNM
)));
49525 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_From_int((int)(wxBITMAP_TYPE_PCX
)));
49528 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_From_int((int)(wxBITMAP_TYPE_PICT
)));
49531 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_From_int((int)(wxBITMAP_TYPE_ICON
)));
49534 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_From_int((int)(wxBITMAP_TYPE_ANI
)));
49537 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_From_int((int)(wxBITMAP_TYPE_IFF
)));
49540 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)(wxBITMAP_TYPE_MACCURSOR
)));
49543 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_From_int((int)(wxBITMAP_TYPE_ANY
)));
49546 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_From_int((int)(wxCURSOR_NONE
)));
49549 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_From_int((int)(wxCURSOR_ARROW
)));
49552 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)(wxCURSOR_RIGHT_ARROW
)));
49555 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_From_int((int)(wxCURSOR_BULLSEYE
)));
49558 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_From_int((int)(wxCURSOR_CHAR
)));
49561 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_From_int((int)(wxCURSOR_CROSS
)));
49564 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_From_int((int)(wxCURSOR_HAND
)));
49567 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_From_int((int)(wxCURSOR_IBEAM
)));
49570 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)(wxCURSOR_LEFT_BUTTON
)));
49573 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_From_int((int)(wxCURSOR_MAGNIFIER
)));
49576 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)(wxCURSOR_MIDDLE_BUTTON
)));
49579 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_From_int((int)(wxCURSOR_NO_ENTRY
)));
49582 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)(wxCURSOR_PAINT_BRUSH
)));
49585 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_From_int((int)(wxCURSOR_PENCIL
)));
49588 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_From_int((int)(wxCURSOR_POINT_LEFT
)));
49591 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_From_int((int)(wxCURSOR_POINT_RIGHT
)));
49594 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)(wxCURSOR_QUESTION_ARROW
)));
49597 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)(wxCURSOR_RIGHT_BUTTON
)));
49600 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_From_int((int)(wxCURSOR_SIZENESW
)));
49603 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_From_int((int)(wxCURSOR_SIZENS
)));
49606 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_From_int((int)(wxCURSOR_SIZENWSE
)));
49609 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_From_int((int)(wxCURSOR_SIZEWE
)));
49612 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_From_int((int)(wxCURSOR_SIZING
)));
49615 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_From_int((int)(wxCURSOR_SPRAYCAN
)));
49618 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_From_int((int)(wxCURSOR_WAIT
)));
49621 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_From_int((int)(wxCURSOR_WATCH
)));
49624 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_From_int((int)(wxCURSOR_BLANK
)));
49627 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_From_int((int)(wxCURSOR_DEFAULT
)));
49630 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_From_int((int)(wxCURSOR_COPY_ARROW
)));
49633 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_From_int((int)(wxCURSOR_ARROWWAIT
)));
49636 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_From_int((int)(wxCURSOR_MAX
)));
49638 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
49639 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
49641 PyDict_SetItemString(d
,"FromStart", SWIG_From_int((int)(wxFromStart
)));
49644 PyDict_SetItemString(d
,"FromCurrent", SWIG_From_int((int)(wxFromCurrent
)));
49647 PyDict_SetItemString(d
,"FromEnd", SWIG_From_int((int)(wxFromEnd
)));
49650 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
49653 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
49656 PyDict_SetItemString(d
,"IMAGE_ALPHA_TRANSPARENT", SWIG_From_int((int)(wxIMAGE_ALPHA_TRANSPARENT
)));
49659 PyDict_SetItemString(d
,"IMAGE_ALPHA_THRESHOLD", SWIG_From_int((int)(wxIMAGE_ALPHA_THRESHOLD
)));
49662 PyDict_SetItemString(d
,"IMAGE_ALPHA_OPAQUE", SWIG_From_int((int)(wxIMAGE_ALPHA_OPAQUE
)));
49664 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
49665 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_FILENAME",_wrap_IMAGE_OPTION_FILENAME_get
, _wrap_IMAGE_OPTION_FILENAME_set
);
49666 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
49667 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
49668 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
49669 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
49670 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONX",_wrap_IMAGE_OPTION_RESOLUTIONX_get
, _wrap_IMAGE_OPTION_RESOLUTIONX_set
);
49671 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONY",_wrap_IMAGE_OPTION_RESOLUTIONY_get
, _wrap_IMAGE_OPTION_RESOLUTIONY_set
);
49672 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
49673 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_QUALITY",_wrap_IMAGE_OPTION_QUALITY_get
, _wrap_IMAGE_OPTION_QUALITY_set
);
49675 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)(wxIMAGE_RESOLUTION_INCHES
)));
49678 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)(wxIMAGE_RESOLUTION_CM
)));
49680 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BITSPERSAMPLE",_wrap_IMAGE_OPTION_BITSPERSAMPLE_get
, _wrap_IMAGE_OPTION_BITSPERSAMPLE_set
);
49681 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_SAMPLESPERPIXEL",_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get
, _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set
);
49682 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_COMPRESSION",_wrap_IMAGE_OPTION_COMPRESSION_get
, _wrap_IMAGE_OPTION_COMPRESSION_set
);
49683 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_IMAGEDESCRIPTOR",_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get
, _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set
);
49684 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_PNG_FORMAT",_wrap_IMAGE_OPTION_PNG_FORMAT_get
, _wrap_IMAGE_OPTION_PNG_FORMAT_set
);
49685 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_PNG_BITDEPTH",_wrap_IMAGE_OPTION_PNG_BITDEPTH_get
, _wrap_IMAGE_OPTION_PNG_BITDEPTH_set
);
49687 PyDict_SetItemString(d
,"PNG_TYPE_COLOUR", SWIG_From_int((int)(wxPNG_TYPE_COLOUR
)));
49690 PyDict_SetItemString(d
,"PNG_TYPE_GREY", SWIG_From_int((int)(wxPNG_TYPE_GREY
)));
49693 PyDict_SetItemString(d
,"PNG_TYPE_GREY_RED", SWIG_From_int((int)(wxPNG_TYPE_GREY_RED
)));
49696 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_From_int((int)(wxBMP_24BPP
)));
49699 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_From_int((int)(wxBMP_8BPP
)));
49702 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_From_int((int)(wxBMP_8BPP_GREY
)));
49705 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_From_int((int)(wxBMP_8BPP_GRAY
)));
49708 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_From_int((int)(wxBMP_8BPP_RED
)));
49711 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_From_int((int)(wxBMP_8BPP_PALETTE
)));
49714 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_From_int((int)(wxBMP_4BPP
)));
49717 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_From_int((int)(wxBMP_1BPP
)));
49720 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_From_int((int)(wxBMP_1BPP_BW
)));
49723 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
)));
49726 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)(wxQUANTIZE_FILL_DESTINATION_IMAGE
)));
49729 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)(wxEVENT_PROPAGATE_NONE
)));
49732 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)(wxEVENT_PROPAGATE_MAX
)));
49734 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
49735 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
49736 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
49737 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
49738 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
49739 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
49740 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
49741 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
49742 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
49743 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
49744 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
49745 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
49746 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
49747 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
49748 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
49749 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
49750 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
49751 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
49752 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
49753 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
49754 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
49755 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
49756 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
49757 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
49758 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
49759 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
49760 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
49761 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
49762 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
49763 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
49764 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
49765 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
49766 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
49767 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
49768 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
49769 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
49770 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
49771 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
49772 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
49773 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
49774 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
49775 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
49776 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
49777 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
49778 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
49779 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
49780 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
49781 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
49782 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
49783 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
49784 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
49785 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
49786 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
49787 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
49788 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
49789 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
49790 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
49791 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
49792 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
49793 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
49794 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
49795 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
49796 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
49797 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
49798 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
49799 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
49800 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
49801 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
49802 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
49803 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
49804 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
49805 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
49806 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
49807 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
49808 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
49809 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
49810 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
49811 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
49812 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
49813 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
49814 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
49815 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
49816 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
49817 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
49818 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
49819 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
49820 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
49821 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
49822 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
49823 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
49824 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
49825 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
49826 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
49827 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
49828 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
49829 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
49830 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
49831 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
49832 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
49833 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
49834 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
49835 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
49836 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
49837 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
49838 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
49839 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
49840 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
49841 PyDict_SetItemString(d
, "wxEVT_HIBERNATE", PyInt_FromLong(wxEVT_HIBERNATE
));
49842 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
49843 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
49844 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
49845 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
49846 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
49847 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
49848 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
49850 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_From_int((int)(wxMOUSE_BTN_ANY
)));
49853 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_From_int((int)(wxMOUSE_BTN_NONE
)));
49856 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_From_int((int)(wxMOUSE_BTN_LEFT
)));
49859 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)(wxMOUSE_BTN_MIDDLE
)));
49862 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_From_int((int)(wxMOUSE_BTN_RIGHT
)));
49865 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_ALL
)));
49868 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_SPECIFIED
)));
49871 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)(wxNavigationKeyEvent::IsBackward
)));
49874 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_From_int((int)(wxNavigationKeyEvent::IsForward
)));
49877 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_From_int((int)(wxNavigationKeyEvent::WinChange
)));
49880 PyDict_SetItemString(d
,"NavigationKeyEvent_FromTab", SWIG_From_int((int)(wxNavigationKeyEvent::FromTab
)));
49883 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_From_int((int)(wxIDLE_PROCESS_ALL
)));
49886 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)(wxIDLE_PROCESS_SPECIFIED
)));
49888 PyDict_SetItemString(d
, "wxEVT_DATE_CHANGED", PyInt_FromLong(wxEVT_DATE_CHANGED
));
49890 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)(wxPYAPP_ASSERT_SUPPRESS
)));
49893 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)(wxPYAPP_ASSERT_EXCEPTION
)));
49896 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)(wxPYAPP_ASSERT_DIALOG
)));
49899 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_From_int((int)(wxPYAPP_ASSERT_LOG
)));
49902 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_From_int((int)(wxPRINT_WINDOWS
)));
49905 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_From_int((int)(wxPRINT_POSTSCRIPT
)));
49907 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
49908 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
49910 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)(wxWINDOW_VARIANT_NORMAL
)));
49913 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)(wxWINDOW_VARIANT_SMALL
)));
49916 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_From_int((int)(wxWINDOW_VARIANT_MINI
)));
49919 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)(wxWINDOW_VARIANT_LARGE
)));
49922 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_From_int((int)(wxWINDOW_VARIANT_MAX
)));
49924 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
49925 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
49927 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_From_int((int)(wxFLEX_GROWMODE_NONE
)));
49930 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)(wxFLEX_GROWMODE_SPECIFIED
)));
49933 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_From_int((int)(wxFLEX_GROWMODE_ALL
)));
49935 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
49937 PyDict_SetItemString(d
,"Left", SWIG_From_int((int)(wxLeft
)));
49940 PyDict_SetItemString(d
,"Top", SWIG_From_int((int)(wxTop
)));
49943 PyDict_SetItemString(d
,"Right", SWIG_From_int((int)(wxRight
)));
49946 PyDict_SetItemString(d
,"Bottom", SWIG_From_int((int)(wxBottom
)));
49949 PyDict_SetItemString(d
,"Width", SWIG_From_int((int)(wxWidth
)));
49952 PyDict_SetItemString(d
,"Height", SWIG_From_int((int)(wxHeight
)));
49955 PyDict_SetItemString(d
,"Centre", SWIG_From_int((int)(wxCentre
)));
49958 PyDict_SetItemString(d
,"Center", SWIG_From_int((int)(wxCenter
)));
49961 PyDict_SetItemString(d
,"CentreX", SWIG_From_int((int)(wxCentreX
)));
49964 PyDict_SetItemString(d
,"CentreY", SWIG_From_int((int)(wxCentreY
)));
49967 PyDict_SetItemString(d
,"Unconstrained", SWIG_From_int((int)(wxUnconstrained
)));
49970 PyDict_SetItemString(d
,"AsIs", SWIG_From_int((int)(wxAsIs
)));
49973 PyDict_SetItemString(d
,"PercentOf", SWIG_From_int((int)(wxPercentOf
)));
49976 PyDict_SetItemString(d
,"Above", SWIG_From_int((int)(wxAbove
)));
49979 PyDict_SetItemString(d
,"Below", SWIG_From_int((int)(wxBelow
)));
49982 PyDict_SetItemString(d
,"LeftOf", SWIG_From_int((int)(wxLeftOf
)));
49985 PyDict_SetItemString(d
,"RightOf", SWIG_From_int((int)(wxRightOf
)));
49988 PyDict_SetItemString(d
,"SameAs", SWIG_From_int((int)(wxSameAs
)));
49991 PyDict_SetItemString(d
,"Absolute", SWIG_From_int((int)(wxAbsolute
)));
49994 // Initialize threading, some globals and such
49998 // Although these are defined in __version__ they need to be here too so
49999 // that an assert can be done to ensure that the wxPython and the wxWindows
50001 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
50002 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
50003 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));